Skip to content

Commit d66f45c

Browse files
committed
Updated sources
1 parent f7a55eb commit d66f45c

4 files changed

Lines changed: 253 additions & 34 deletions

File tree

src/GroupDocs.Conversion.Cloud.Sdk/GroupDocs.Conversion.Cloud.Sdk.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0;net20</TargetFrameworks>
5-
<AssemblyVersion>25.4.0.0</AssemblyVersion>
6-
<FileVersion>25.4.0.0</FileVersion>
7-
<Version>25.4</Version>
5+
<AssemblyVersion>25.5.0.0</AssemblyVersion>
6+
<FileVersion>25.5.0.0</FileVersion>
7+
<Version>25.5</Version>
88
<StyleCopTreatErrorsAsWarnings>false</StyleCopTreatErrorsAsWarnings>
99
<Company>GroupDocs</Company>
1010
<Authors>GroupDocs Product Team</Authors>

src/GroupDocs.Conversion.Cloud.Sdk/GroupDocs.Conversion.Cloud.Sdk.xml

Lines changed: 117 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/GroupDocs.Conversion.Cloud.Sdk/Model/PresentationLoadOptions.cs

Lines changed: 99 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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
}

src/GroupDocs.Conversion.Cloud.Sdk/Model/SpreadsheetLoadOptions.cs

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,39 @@ namespace GroupDocs.Conversion.Cloud.Sdk.Model
3838
/// </summary>
3939
public class SpreadsheetLoadOptions : LoadOptions
4040
{
41+
/// <summary>
42+
/// Represents the way comments are printed with the sheet. Default is PrintNoComments.
43+
/// </summary>
44+
/// <value>Represents the way comments are printed with the sheet. Default is PrintNoComments.</value>
45+
[JsonConverter(typeof(StringEnumConverter))]
46+
public enum PrintCommentsEnum
47+
{
48+
/// <summary>
49+
/// Enum PrintInPlace for "PrintInPlace"
50+
/// </summary>
51+
PrintInPlace,
52+
53+
/// <summary>
54+
/// Enum PrintNoComments for "PrintNoComments"
55+
/// </summary>
56+
PrintNoComments,
57+
58+
/// <summary>
59+
/// Enum PrintSheetEnd for "PrintSheetEnd"
60+
/// </summary>
61+
PrintSheetEnd,
62+
63+
/// <summary>
64+
/// Enum PrintWithThreadedComments for "PrintWithThreadedComments"
65+
/// </summary>
66+
PrintWithThreadedComments
67+
}
68+
69+
/// <summary>
70+
/// Represents the way comments are printed with the sheet. Default is PrintNoComments.
71+
/// </summary>
72+
public PrintCommentsEnum? PrintComments { get; set; }
73+
4174
/// <summary>
4275
/// Default font for Cells document. The following font will be used if a font is missing.
4376
/// </summary>
@@ -78,11 +111,6 @@ public class SpreadsheetLoadOptions : LoadOptions
78111
/// </summary>
79112
public string Password { get; set; }
80113

81-
/// <summary>
82-
/// Hide comments
83-
/// </summary>
84-
public bool? HideComments { get; set; }
85-
86114
/// <summary>
87115
/// Get the string presentation of the object
88116
/// </summary>
@@ -99,7 +127,7 @@ public override string ToString()
99127
sb.Append(" ConvertRange: ").Append(this.ConvertRange).Append("\n");
100128
sb.Append(" SkipEmptyRowsAndColumns: ").Append(this.SkipEmptyRowsAndColumns).Append("\n");
101129
sb.Append(" Password: ").Append(this.Password).Append("\n");
102-
sb.Append(" HideComments: ").Append(this.HideComments).Append("\n");
130+
sb.Append(" PrintComments: ").Append(this.PrintComments).Append("\n");
103131
sb.Append("}\n");
104132
return sb.ToString();
105133
}

0 commit comments

Comments
 (0)