mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-05 01:27:10 +00:00
Improved reading and writing large Office files without copying them into memory (#1243)
This commit is contained in:
1 parent
918572c158
commit
dbe609a9a7
37 files changed
+1161
-471
No files matched your search
@@ -3,12 +3,13 @@ namespace AIStudio.Tools.PowerPoint;
|
||||
/// <summary>
|
||||
/// What became of creating a presentation file.
|
||||
/// </summary>
|
||||
/// <param name="IsWritten">Whether the presentation was written. It is not when the template changed since the slides were planned, and they no longer fit it; the target stays untouched then.</param>
|
||||
/// <param name="IsWritten">Whether the presentation was written. It is not when the template changed since the slides were planned, and they no longer fit it, or while the presentation was written; the target stays untouched then.</param>
|
||||
/// <param name="SkippedPictures">The numbers of the pictures which could not be placed: unreadable, or in a format PowerPoint does not show. Their slots stay empty.</param>
|
||||
internal sealed record PresentationFileResult(bool IsWritten, IReadOnlyList<int> SkippedPictures)
|
||||
{
|
||||
/// <summary>
|
||||
/// The template changed since the slides were planned, and they no longer fit it. Nothing was written.
|
||||
/// The template changed since the slides were planned, and they no longer fit it, or it changed while the presentation
|
||||
/// was written. Nothing was written.
|
||||
/// </summary>
|
||||
public static readonly PresentationFileResult TEMPLATE_CHANGED = new(false, []);
|
||||
}
|
||||
Reference in new issue
Block a user