mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-14 02:13:47 +00:00
Improved docx and odt import (#890)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
ed52abfd37
commit
6eab9dc574
14 files changed
+363
-42
No files matched your search
@@ -4,5 +4,10 @@ namespace AIStudio.Tools;
|
||||
|
||||
public sealed class SlideTextContent(string textContent) : ISlideContent
|
||||
{
|
||||
public StringBuilder Text => new(textContent);
|
||||
//
|
||||
// One builder per slide, created once: an expression-bodied property would hand out a fresh
|
||||
// builder on every access, so appending further text to a slide would write into a throwaway
|
||||
// object and the text would never reach the slide.
|
||||
//
|
||||
public StringBuilder Text { get; } = new(textContent);
|
||||
}
|
||||
Reference in new issue
Block a user