@@ -39,30 +39,111 @@ namespace GroupDocs.Conversion.Cloud.Sdk.Model
3939 public class PresentationLoadOptions : LoadOptions
4040 {
4141 /// <summary>
42- /// Default font for rendering the presentation. The following font will be used if a presentation font is missing.
42+ /// Represents the way comments are printed with the slide. Default is None.
43+ /// </summary>
44+ /// <value>Represents the way comments are printed with the slide. Default is None.</value>
45+ [ JsonConverter ( typeof ( StringEnumConverter ) ) ]
46+ public enum CommentsPositionEnum
47+ {
48+ /// <summary>
49+ /// Enum None for "None"
50+ /// </summary>
51+ None ,
52+
53+ /// <summary>
54+ /// Enum Bottom for "Bottom"
55+ /// </summary>
56+ Bottom ,
57+
58+ /// <summary>
59+ /// Enum Right for "Right"
60+ /// </summary>
61+ Right
62+ }
63+
64+ /// <summary>
65+ /// Represents the way notes are printed with the slide. Default is None.
66+ /// </summary>
67+ /// <value>Represents the way notes are printed with the slide. Default is None.</value>
68+ [ JsonConverter ( typeof ( StringEnumConverter ) ) ]
69+ public enum NotesPositionEnum
70+ {
71+ /// <summary>
72+ /// Enum None for "None"
73+ /// </summary>
74+ None ,
75+
76+ /// <summary>
77+ /// Enum BottomTruncated for "BottomTruncated"
78+ /// </summary>
79+ BottomTruncated ,
80+
81+ /// <summary>
82+ /// Enum BottomFull for "BottomFull"
83+ /// </summary>
84+ BottomFull
85+ }
86+
87+ /// <summary>
88+ /// Represents the way comments are printed with the slide. Default is None.
89+ /// </summary>
90+ public CommentsPositionEnum ? CommentsPosition { get ; set ; }
91+
92+ /// <summary>
93+ /// Represents the way notes are printed with the slide. Default is None.
94+ /// </summary>
95+ public NotesPositionEnum ? NotesPosition { get ; set ; }
96+
97+ /// <summary>
98+ /// Determines whether the document structure should be preserved when converting to PDF (default is false).
4399 /// </summary>
44- public string DefaultFont { get ; set ; }
100+ public bool ? PreserveDocumentStructure { get ; set ; }
45101
46102 /// <summary>
47- /// Substitute specific fonts when converting Slides document .
103+ /// Value indicating whether custom document properties should be cleared .
48104 /// </summary>
49- public Dictionary < string , string > FontSubstitutes { get ; set ; }
105+ public bool ? ClearCustomDocumentProperties { get ; set ; }
50106
51107 /// <summary>
52- /// Set password to unprotect protected document
108+ /// Value indicating whether built in document properties should be cleared.
53109 /// </summary>
54- public string Password { get ; set ; }
110+ public bool ? ClearBuiltInDocumentProperties { get ; set ; }
55111
56112 /// <summary>
57- /// Hide comments
113+ /// Implements GroupDocs.Conversion.Contracts.IDocumentsContainerLoadOptions.Depth Default: 1
58114 /// </summary>
59- public bool ? HideComments { get ; set ; }
115+ public int ? Depth { get ; set ; }
60116
61117 /// <summary>
62- /// Show hidden slides
118+ /// Implements GroupDocs.Conversion.Contracts.IDocumentsContainerLoadOptions.ConvertOwned Default is false
119+ /// </summary>
120+ public bool ? ConvertOwned { get ; set ; }
121+
122+ /// <summary>
123+ /// Implements GroupDocs.Conversion.Contracts.IDocumentsContainerLoadOptions.ConvertOwner Default is true
124+ /// </summary>
125+ public bool ? ConvertOwner { get ; set ; }
126+
127+ /// <summary>
128+ /// Show hidden slides.
63129 /// </summary>
64130 public bool ? ShowHiddenSlides { get ; set ; }
65131
132+ /// <summary>
133+ /// Default font for rendering the presentation. The following font will be used if a presentation font is missing.
134+ /// </summary>
135+ public string DefaultFont { get ; set ; }
136+
137+ /// <summary>
138+ /// Substitute specific fonts when converting Slides document.
139+ /// </summary>
140+ public Dictionary < string , string > FontSubstitutes { get ; set ; }
141+
142+ /// <summary>
143+ /// Set password to unprotect protected document
144+ /// </summary>
145+ public string Password { get ; set ; }
146+
66147 /// <summary>
67148 /// Get the string presentation of the object
68149 /// </summary>
@@ -71,11 +152,18 @@ public override string ToString()
71152 {
72153 var sb = new StringBuilder ( ) ;
73154 sb . Append ( "class PresentationLoadOptions {\n " ) ;
155+ sb . Append ( " PreserveDocumentStructure: " ) . Append ( this . PreserveDocumentStructure ) . Append ( "\n " ) ;
156+ sb . Append ( " ClearCustomDocumentProperties: " ) . Append ( this . ClearCustomDocumentProperties ) . Append ( "\n " ) ;
157+ sb . Append ( " ClearBuiltInDocumentProperties: " ) . Append ( this . ClearBuiltInDocumentProperties ) . Append ( "\n " ) ;
158+ sb . Append ( " Depth: " ) . Append ( this . Depth ) . Append ( "\n " ) ;
159+ sb . Append ( " ConvertOwned: " ) . Append ( this . ConvertOwned ) . Append ( "\n " ) ;
160+ sb . Append ( " ConvertOwner: " ) . Append ( this . ConvertOwner ) . Append ( "\n " ) ;
161+ sb . Append ( " ShowHiddenSlides: " ) . Append ( this . ShowHiddenSlides ) . Append ( "\n " ) ;
74162 sb . Append ( " DefaultFont: " ) . Append ( this . DefaultFont ) . Append ( "\n " ) ;
75163 sb . Append ( " FontSubstitutes: " ) . Append ( this . FontSubstitutes ) . Append ( "\n " ) ;
76164 sb . Append ( " Password: " ) . Append ( this . Password ) . Append ( "\n " ) ;
77- sb . Append ( " HideComments : " ) . Append ( this . HideComments ) . Append ( "\n " ) ;
78- sb . Append ( " ShowHiddenSlides : " ) . Append ( this . ShowHiddenSlides ) . Append ( "\n " ) ;
165+ sb . Append ( " CommentsPosition : " ) . Append ( this . CommentsPosition ) . Append ( "\n " ) ;
166+ sb . Append ( " NotesPosition : " ) . Append ( this . NotesPosition ) . Append ( "\n " ) ;
79167 sb . Append ( "}\n " ) ;
80168 return sb . ToString ( ) ;
81169 }
0 commit comments