diff --git a/Aspose.Words.Cloud.Sdk.Tests/Api/Report/BuildReportTests.cs b/Aspose.Words.Cloud.Sdk.Tests/Api/Report/BuildReportTests.cs index 1b6bd40e..5694281c 100644 --- a/Aspose.Words.Cloud.Sdk.Tests/Api/Report/BuildReportTests.cs +++ b/Aspose.Words.Cloud.Sdk.Tests/Api/Report/BuildReportTests.cs @@ -82,7 +82,7 @@ public async Task TestBuildReport() File.ReadAllBytes(LocalTestDataFolder + reportingFolder + "/" + localDocumentFile) ); - var requestReportEngineSettingsReportBuildOptions = new List() + var requestReportEngineSettingsReportBuildOptions = new List() { ReportBuildOptions.AllowMissingMembers, ReportBuildOptions.RemoveEmptyParagraphs diff --git a/Aspose.Words.Cloud.Sdk.Tests/BaseApiTest.cs b/Aspose.Words.Cloud.Sdk.Tests/BaseApiTest.cs index 25104461..a27a30c4 100644 --- a/Aspose.Words.Cloud.Sdk.Tests/BaseApiTest.cs +++ b/Aspose.Words.Cloud.Sdk.Tests/BaseApiTest.cs @@ -28,6 +28,7 @@ namespace Aspose.Words.Cloud.Sdk.Tests using System; using System.IO; using System.Linq; + using System.Reflection; using System.Text; using System.Threading.Tasks; @@ -88,7 +89,9 @@ public async Task TestHandleErrors() public void TestApiCoverage() { var methods = typeof(WordsApi).GetMethods() - .Where(p => p.IsPublic && p.DeclaringType != typeof(object) && !(p.IsSpecialName && p.Name.StartsWith("get_"))) + .Where(p => p.IsPublic && p.DeclaringType != typeof(object)) + .Where(p => !(p.IsSpecialName && p.Name.StartsWith("get_"))) + .Where(p => !p.GetCustomAttributes(true).Any()) .Select(p => p.Name) .ToList(); var unitTestFolder = Path.Combine(DirectoryHelper.GetRootSdkFolder(), "Aspose.Words.Cloud.Sdk.Tests"); diff --git a/Aspose.Words.Cloud.Sdk/Api/WordsApi.cs b/Aspose.Words.Cloud.Sdk/Api/WordsApi.cs index d6d17d6d..ae63060c 100644 --- a/Aspose.Words.Cloud.Sdk/Api/WordsApi.cs +++ b/Aspose.Words.Cloud.Sdk/Api/WordsApi.cs @@ -224,6 +224,7 @@ public async Task CompareDocumentOnline(CompareDo } /// + /// Compress and resize images inside the document. /// The default settings allows to reduce the size of the document without any visible degradation of images quality. /// /// Request. @@ -235,6 +236,7 @@ public async Task CompressDocument(CompressDocumentRequest req /// /// Compress and resize images inside the document. + /// The default settings allows to reduce the size of the document without any visible degradation of images quality. /// /// Request. /// @@ -302,6 +304,7 @@ public async Task CopyStylesFromTemplate(CopyStylesFromTemplateRe } /// + /// Creates a new document in cloud storage in the format, determined by the file extension. /// Supported all save format extensions. /// /// Request. @@ -399,6 +402,7 @@ public async Task DeleteBookmarks(DeleteBookmarksRequest request) } /// + /// Removes a border from the document node. /// The 'nodePath' parameter should refer to a paragraph, a cell or a row. /// /// Request. @@ -410,6 +414,7 @@ public async Task DeleteBorder(DeleteBorderRequest request) /// /// Removes a border from the document node. + /// The 'nodePath' parameter should refer to a paragraph, a cell or a row. /// /// Request. /// @@ -419,6 +424,7 @@ public async Task DeleteBorderOnline(DeleteBorderOnl } /// + /// Removes borders from the document node. /// The 'nodePath' parameter should refer to a paragraph, a cell or a row. /// /// Request. @@ -430,6 +436,7 @@ public async Task DeleteBorders(DeleteBordersRequest request) /// /// Removes borders from the document node. + /// The 'nodePath' parameter should refer to a paragraph, a cell or a row. /// /// Request. /// @@ -996,6 +1003,7 @@ public async Task GetBookmarksOnline(GetBookmarksOnlineReques } /// + /// Reads a border from the document node. /// The 'nodePath' parameter should refer to a paragraph, a cell or a row. /// /// Request. @@ -1007,6 +1015,7 @@ public async Task GetBorder(GetBorderRequest request) /// /// Reads a border from the document node. + /// The 'nodePath' parameter should refer to a paragraph, a cell or a row. /// /// Request. /// @@ -2820,7 +2829,7 @@ public async Task SaveAs(SaveAsRequest request) } /// - /// Converts a document to the specified format. + /// Converts a document in cloud storage to the specified format. /// /// Request. /// @@ -2854,16 +2863,18 @@ public async Task SaveAsRangeOnline(SaveAsRangeOnline /// /// Request. /// + [System.Obsolete("This operation will be removed in the future.")] public async Task SaveAsTiff(SaveAsTiffRequest request) { return (SaveResponse)await request.DeserializeResponse(await this.apiInvoker.InvokeApi(async () => request.CreateHttpRequest(this.configuration, this))); } /// - /// Converts a document to TIFF format using detailed conversion settings. + /// Converts a document in cloud storage to TIFF format using detailed conversion settings. /// /// Request. /// + [System.Obsolete("This operation will be removed in the future.")] public async Task SaveAsTiffOnline(SaveAsTiffOnlineRequest request) { return (SaveAsTiffOnlineResponse)await request.DeserializeResponse(await this.apiInvoker.InvokeApi(async () => request.CreateHttpRequest(this.configuration, this))); @@ -2950,6 +2961,7 @@ public async Task UpdateBookmarkOnline(UpdateBookm } /// + /// Updates a border in the document node. /// The 'nodePath' parameter should refer to a paragraph, a cell or a row. /// /// Request. @@ -2961,6 +2973,7 @@ public async Task UpdateBorder(UpdateBorderRequest request) /// /// Updates a border in the document node. + /// The 'nodePath' parameter should refer to a paragraph, a cell or a row. /// /// Request. /// diff --git a/Aspose.Words.Cloud.Sdk/Aspose.Words.Cloud.Sdk.csproj b/Aspose.Words.Cloud.Sdk/Aspose.Words.Cloud.Sdk.csproj index 107b26ba..2a71ad34 100644 --- a/Aspose.Words.Cloud.Sdk/Aspose.Words.Cloud.Sdk.csproj +++ b/Aspose.Words.Cloud.Sdk/Aspose.Words.Cloud.Sdk.csproj @@ -2,9 +2,9 @@ netstandard2.0 - 23.9.0.0 - 23.9.0.0 - 23.9.0.0 + 23.10.0.0 + 23.10.0.0 + 23.10.0.0 false true diff --git a/Aspose.Words.Cloud.Sdk/Internal/ApiInvoker.cs b/Aspose.Words.Cloud.Sdk/Internal/ApiInvoker.cs index fe71f9ab..8414230f 100644 --- a/Aspose.Words.Cloud.Sdk/Internal/ApiInvoker.cs +++ b/Aspose.Words.Cloud.Sdk/Internal/ApiInvoker.cs @@ -58,7 +58,7 @@ internal class ApiInvoker public ApiInvoker(List requestHandlers, int timeout) { this.AddDefaultHeader(AsposeClientHeaderName, ".net sdk"); - this.AddDefaultHeader(AsposeClientVersionHeaderName, "23.9"); + this.AddDefaultHeader(AsposeClientVersionHeaderName, "23.10"); this.requestHandlers = requestHandlers; this.HttpClient = new HttpClient { Timeout = TimeSpan.FromSeconds(timeout), }; } diff --git a/Aspose.Words.Cloud.Sdk/Internal/SerializationHelper.cs b/Aspose.Words.Cloud.Sdk/Internal/SerializationHelper.cs index 423072d4..db548042 100644 --- a/Aspose.Words.Cloud.Sdk/Internal/SerializationHelper.cs +++ b/Aspose.Words.Cloud.Sdk/Internal/SerializationHelper.cs @@ -104,6 +104,7 @@ internal class SerializationHelper { "DrawingObjectsResponse, _", typeof(DrawingObjectsResponse) }, { "DrawingObjectUpdate, _", typeof(DrawingObjectUpdate) }, { "EmfSaveOptionsData, _", typeof(EmfSaveOptionsData) }, + { "EpsSaveOptionsData, _", typeof(EpsSaveOptionsData) }, { "EpubSaveOptionsData, _", typeof(EpubSaveOptionsData) }, { "Error, _", typeof(Error) }, { "ErrorDetails, _", typeof(ErrorDetails) }, @@ -125,7 +126,6 @@ internal class SerializationHelper { "FlatOpcTemplateMacroSaveOptionsData, _", typeof(FlatOpcTemplateMacroSaveOptionsData) }, { "FlatOpcTemplateSaveOptionsData, _", typeof(FlatOpcTemplateSaveOptionsData) }, { "Font, _", typeof(Font) }, - { "FontDto, _", typeof(FontDto) }, { "FontInfo, _", typeof(FontInfo) }, { "FontResponse, _", typeof(FontResponse) }, { "Footnote, _", typeof(Footnote) }, @@ -216,10 +216,8 @@ internal class SerializationHelper { "PsSaveOptionsData, _", typeof(PsSaveOptionsData) }, { "PublicKeyResponse, _", typeof(PublicKeyResponse) }, { "RangeDocument, _", typeof(RangeDocument) }, - { "RangeDocumentDto, _", typeof(RangeDocumentDto) }, { "RangeTextResponse, _", typeof(RangeTextResponse) }, { "ReplaceRange, _", typeof(ReplaceRange) }, - { "ReplaceRangeDto, _", typeof(ReplaceRangeDto) }, { "ReplaceTextParameters, _", typeof(ReplaceTextParameters) }, { "ReplaceTextResponse, _", typeof(ReplaceTextResponse) }, { "ReportBuildOptions, _", typeof(ReportBuildOptions) }, @@ -268,26 +266,20 @@ internal class SerializationHelper { "Table, _", typeof(Table) }, { "TableCell, _", typeof(TableCell) }, { "TableCellFormat, _", typeof(TableCellFormat) }, - { "TableCellFormatDto, _", typeof(TableCellFormatDto) }, { "TableCellFormatResponse, _", typeof(TableCellFormatResponse) }, { "TableCellInsert, _", typeof(TableCellInsert) }, - { "TableCellInsertDto, _", typeof(TableCellInsertDto) }, { "TableCellResponse, _", typeof(TableCellResponse) }, { "TableInsert, _", typeof(TableInsert) }, - { "TableInsertDto, _", typeof(TableInsertDto) }, { "TableLink, _", typeof(TableLink) }, { "TableLinkCollection, _", typeof(TableLinkCollection) }, { "TableLinkCollectionResponse, _", typeof(TableLinkCollectionResponse) }, { "TableProperties, _", typeof(TableProperties) }, - { "TablePropertiesDto, _", typeof(TablePropertiesDto) }, { "TablePropertiesResponse, _", typeof(TablePropertiesResponse) }, { "TableResponse, _", typeof(TableResponse) }, { "TableRow, _", typeof(TableRow) }, { "TableRowFormat, _", typeof(TableRowFormat) }, - { "TableRowFormatDto, _", typeof(TableRowFormatDto) }, { "TableRowFormatResponse, _", typeof(TableRowFormatResponse) }, { "TableRowInsert, _", typeof(TableRowInsert) }, - { "TableRowInsertDto, _", typeof(TableRowInsertDto) }, { "TableRowResponse, _", typeof(TableRowResponse) }, { "TabStop, _", typeof(TabStop) }, { "TabStopInsert, _", typeof(TabStopInsert) }, diff --git a/Aspose.Words.Cloud.Sdk/Model/BmpSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/BmpSaveOptionsData.cs index 2870e867..08fb6fed 100644 --- a/Aspose.Words.Cloud.Sdk/Model/BmpSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/BmpSaveOptionsData.cs @@ -81,6 +81,8 @@ public override string ToString() sb.Append(" UseAntiAliasing: ").Append(this.UseAntiAliasing).Append("\n"); sb.Append(" UseHighQualityRendering: ").Append(this.UseHighQualityRendering).Append("\n"); sb.Append(" VerticalResolution: ").Append(this.VerticalResolution).Append("\n"); + sb.Append(" ImageHeight: ").Append(this.ImageHeight).Append("\n"); + sb.Append(" ImageWidth: ").Append(this.ImageWidth).Append("\n"); sb.Append(" UseGdiEmfRenderer: ").Append(this.UseGdiEmfRenderer).Append("\n"); sb.Append(" SaveFormat: ").Append(this.SaveFormat).Append("\n"); sb.Append("}\n"); diff --git a/Aspose.Words.Cloud.Sdk/Model/BookmarkInsert.cs b/Aspose.Words.Cloud.Sdk/Model/BookmarkInsert.cs index 92217cda..cf894a40 100644 --- a/Aspose.Words.Cloud.Sdk/Model/BookmarkInsert.cs +++ b/Aspose.Words.Cloud.Sdk/Model/BookmarkInsert.cs @@ -39,14 +39,14 @@ namespace Aspose.Words.Cloud.Sdk.Model public class BookmarkInsert : BookmarkData, IModel { /// - /// Gets or sets the link to end bookmark node. + /// Gets or sets the link to start bookmark node. /// - public virtual NewDocumentPosition EndRange { get; set; } + public virtual NewDocumentPosition StartRange { get; set; } /// - /// Gets or sets the link to start bookmark node. + /// Gets or sets the link to end bookmark node. /// - public virtual NewDocumentPosition StartRange { get; set; } + public virtual NewDocumentPosition EndRange { get; set; } /// /// Get the string presentation of the object. @@ -58,8 +58,8 @@ public override string ToString() sb.Append("class BookmarkInsert {\n"); sb.Append(" Name: ").Append(this.Name).Append("\n"); sb.Append(" Text: ").Append(this.Text).Append("\n"); - sb.Append(" EndRange: ").Append(this.EndRange).Append("\n"); sb.Append(" StartRange: ").Append(this.StartRange).Append("\n"); + sb.Append(" EndRange: ").Append(this.EndRange).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/Aspose.Words.Cloud.Sdk/Model/BookmarkResponse.cs b/Aspose.Words.Cloud.Sdk/Model/BookmarkResponse.cs index 66399b77..d0f8f144 100644 --- a/Aspose.Words.Cloud.Sdk/Model/BookmarkResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/BookmarkResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a bookmark. + /// This response should be returned by the service when handling: GET bookmarks/{bookmarkName}. /// public class BookmarkResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/BookmarksOutlineLevelData.cs b/Aspose.Words.Cloud.Sdk/Model/BookmarksOutlineLevelData.cs index 01e0f4e0..9d685f7c 100644 --- a/Aspose.Words.Cloud.Sdk/Model/BookmarksOutlineLevelData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/BookmarksOutlineLevelData.cs @@ -41,7 +41,7 @@ public class BookmarksOutlineLevelData : IModel /// /// Gets or sets the bookmark's level. /// - public virtual int BookmarksOutlineLevel { get; set; } + public virtual int? BookmarksOutlineLevel { get; set; } /// /// Gets or sets the bookmark's name. diff --git a/Aspose.Words.Cloud.Sdk/Model/BookmarksResponse.cs b/Aspose.Words.Cloud.Sdk/Model/BookmarksResponse.cs index 664ed041..e48adc89 100644 --- a/Aspose.Words.Cloud.Sdk/Model/BookmarksResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/BookmarksResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of bookmarks. + /// This response should be returned by the service when handling: GET bookmarks. /// public class BookmarksResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/Border.cs b/Aspose.Words.Cloud.Sdk/Model/Border.cs index a965d9d8..71b01dfc 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Border.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Border.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// Represents a border of an object. + /// Borders can be applied to various document elements including paragraph, run of text inside a paragraph or a table cell. /// public class Border : LinkElement, IModel { @@ -92,6 +93,7 @@ public enum BorderTypeEnum /// /// Gets or sets the border style. + /// If you set line style to none, then line width is automatically changed to zero. /// [JsonConverter(typeof(StringEnumConverter))] public enum LineStyleEnum @@ -244,21 +246,25 @@ public enum LineStyleEnum /// /// Gets or sets the distance of the border from text or from the page edge in points. + /// Has no effect and will be automatically reset to zero for borders of table cells. /// public virtual double? DistanceFromText { get; set; } /// /// Gets or sets the border style. + /// If you set line style to none, then line width is automatically changed to zero. /// public virtual LineStyleEnum? LineStyle { get; set; } /// /// Gets or sets the border width in points. + /// If you set line width greater than zero when line style is none, the line style is automatically changed to single line. /// public virtual double? LineWidth { get; set; } /// /// Gets or sets a value indicating whether the border has a shadow. + /// In Microsoft Word, for a border to have a shadow, the borders on all four sides (left, top, right and bottom) should be of the same type, width, color and all should have the Shadow property set to true. /// public virtual bool? Shadow { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/BorderResponse.cs b/Aspose.Words.Cloud.Sdk/Model/BorderResponse.cs index 4292da3e..c0e89035 100644 --- a/Aspose.Words.Cloud.Sdk/Model/BorderResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/BorderResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a border. + /// This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. /// public class BorderResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/BordersResponse.cs b/Aspose.Words.Cloud.Sdk/Model/BordersResponse.cs index 80aafc34..cbd584a2 100644 --- a/Aspose.Words.Cloud.Sdk/Model/BordersResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/BordersResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of borders. + /// This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. /// public class BordersResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/ClassificationResponse.cs b/Aspose.Words.Cloud.Sdk/Model/ClassificationResponse.cs index 0c641fab..5fa17996 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ClassificationResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ClassificationResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with data on multi-class text classification. + /// This response is returned by the Service when handling "PUT https://api.aspose.cloud/v4.0/words/classify" REST API requests. /// public class ClassificationResponse : WordsResponse, IModel { @@ -46,7 +47,7 @@ public class ClassificationResponse : WordsResponse, IModel /// /// Gets or sets the best class probability. /// - public virtual double BestClassProbability { get; set; } + public virtual double? BestClassProbability { get; set; } /// /// Gets or sets the array of best classes results. diff --git a/Aspose.Words.Cloud.Sdk/Model/ClassificationResult.cs b/Aspose.Words.Cloud.Sdk/Model/ClassificationResult.cs index 29b90465..42fb190e 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ClassificationResult.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ClassificationResult.cs @@ -46,7 +46,7 @@ public class ClassificationResult : IModel /// /// Gets or sets the probability of class. /// - public virtual double ClassProbability { get; set; } + public virtual double? ClassProbability { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/Comment.cs b/Aspose.Words.Cloud.Sdk/Model/Comment.cs index 3baecca3..3d7d32b1 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Comment.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Comment.cs @@ -50,11 +50,13 @@ public class Comment : CommentLink, IModel /// /// Gets or sets the author name for a comment. + /// Cannot be null.Default is empty string. /// public virtual string Author { get; set; } /// /// Gets or sets the initials of the user associated with a specific comment. + /// Cannot be null.Default is empty string. /// public virtual string Initial { get; set; } @@ -65,6 +67,7 @@ public class Comment : CommentLink, IModel /// /// Gets or sets text of the comment. + /// This method allows to quickly set text of a comment from a string. The string can contain paragraph breaks, this will create paragraphs of text in the comment accordingly. /// public virtual string Text { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/CommentBase.cs b/Aspose.Words.Cloud.Sdk/Model/CommentBase.cs index db7b9d56..157e271d 100644 --- a/Aspose.Words.Cloud.Sdk/Model/CommentBase.cs +++ b/Aspose.Words.Cloud.Sdk/Model/CommentBase.cs @@ -50,21 +50,25 @@ public abstract class CommentBase : IModel /// /// Gets or sets the author name for a comment. + /// Cannot be null.Default is empty string. /// public virtual string Author { get; set; } /// - /// Gets or sets the date and time that the comment was made. + /// Gets or sets the initials of the user associated with a specific comment. + /// Cannot be null.Default is empty string. /// - public virtual DateTime? DateTime { get; set; } + public virtual string Initial { get; set; } /// - /// Gets or sets the initials of the user associated with a specific comment. + /// Gets or sets the date and time that the comment was made. + /// Default is MinValue03.01.0001. /// - public virtual string Initial { get; set; } + public virtual DateTime? DateTime { get; set; } /// /// Gets or sets text of the comment. + /// This method allows to quickly set text of a comment from a string. The string can contain paragraph breaks, this will create paragraphs of text in the comment accordingly. /// public virtual string Text { get; set; } @@ -79,8 +83,8 @@ public override string ToString() sb.Append(" RangeStart: ").Append(this.RangeStart).Append("\n"); sb.Append(" RangeEnd: ").Append(this.RangeEnd).Append("\n"); sb.Append(" Author: ").Append(this.Author).Append("\n"); - sb.Append(" DateTime: ").Append(this.DateTime).Append("\n"); sb.Append(" Initial: ").Append(this.Initial).Append("\n"); + sb.Append(" DateTime: ").Append(this.DateTime).Append("\n"); sb.Append(" Text: ").Append(this.Text).Append("\n"); sb.Append("}\n"); return sb.ToString(); diff --git a/Aspose.Words.Cloud.Sdk/Model/CommentInsert.cs b/Aspose.Words.Cloud.Sdk/Model/CommentInsert.cs index f21920a0..63dd5409 100644 --- a/Aspose.Words.Cloud.Sdk/Model/CommentInsert.cs +++ b/Aspose.Words.Cloud.Sdk/Model/CommentInsert.cs @@ -49,8 +49,8 @@ public override string ToString() sb.Append(" RangeStart: ").Append(this.RangeStart).Append("\n"); sb.Append(" RangeEnd: ").Append(this.RangeEnd).Append("\n"); sb.Append(" Author: ").Append(this.Author).Append("\n"); - sb.Append(" DateTime: ").Append(this.DateTime).Append("\n"); sb.Append(" Initial: ").Append(this.Initial).Append("\n"); + sb.Append(" DateTime: ").Append(this.DateTime).Append("\n"); sb.Append(" Text: ").Append(this.Text).Append("\n"); sb.Append("}\n"); return sb.ToString(); diff --git a/Aspose.Words.Cloud.Sdk/Model/CommentResponse.cs b/Aspose.Words.Cloud.Sdk/Model/CommentResponse.cs index 2708dace..8be10a7c 100644 --- a/Aspose.Words.Cloud.Sdk/Model/CommentResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/CommentResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a comment. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/comments/0" REST API requests. /// public class CommentResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/CommentUpdate.cs b/Aspose.Words.Cloud.Sdk/Model/CommentUpdate.cs index e4381770..588566a4 100644 --- a/Aspose.Words.Cloud.Sdk/Model/CommentUpdate.cs +++ b/Aspose.Words.Cloud.Sdk/Model/CommentUpdate.cs @@ -49,8 +49,8 @@ public override string ToString() sb.Append(" RangeStart: ").Append(this.RangeStart).Append("\n"); sb.Append(" RangeEnd: ").Append(this.RangeEnd).Append("\n"); sb.Append(" Author: ").Append(this.Author).Append("\n"); - sb.Append(" DateTime: ").Append(this.DateTime).Append("\n"); sb.Append(" Initial: ").Append(this.Initial).Append("\n"); + sb.Append(" DateTime: ").Append(this.DateTime).Append("\n"); sb.Append(" Text: ").Append(this.Text).Append("\n"); sb.Append("}\n"); return sb.ToString(); diff --git a/Aspose.Words.Cloud.Sdk/Model/CommentsResponse.cs b/Aspose.Words.Cloud.Sdk/Model/CommentsResponse.cs index 09ad72a4..f96106dd 100644 --- a/Aspose.Words.Cloud.Sdk/Model/CommentsResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/CommentsResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of comments. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/comments" REST API requests. /// public class CommentsResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/CsvDataLoadOptions.cs b/Aspose.Words.Cloud.Sdk/Model/CsvDataLoadOptions.cs index 331deb99..63d3b319 100644 --- a/Aspose.Words.Cloud.Sdk/Model/CsvDataLoadOptions.cs +++ b/Aspose.Words.Cloud.Sdk/Model/CsvDataLoadOptions.cs @@ -36,26 +36,31 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// Represents options for parsing CSV data. /// To learn more, visit the LINQ Reporting Engine documentation article. + /// An instance of this class can be passed into constructors of CsvDataSource. /// public class CsvDataLoadOptions : IModel { /// /// Gets or sets the character that is used to comment lines of CSV data. + /// The default value is '#' (number sign). /// public virtual string CommentChar { get; set; } /// /// Gets or sets the character to be used as a column delimiter. + /// The default value is ',' (comma). /// public virtual string Delimiter { get; set; } /// /// Gets or sets a value indicating whether the first record of CSV data contains column names. + /// The default value is false. /// - public virtual bool HasHeaders { get; set; } + public virtual bool? HasHeaders { get; set; } /// /// Gets or sets the character that is used to quote field values. + /// The default value is '"' (quotation mark).Double the character to place it into quoted text. /// public virtual string QuoteChar { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/CustomXmlPart.cs b/Aspose.Words.Cloud.Sdk/Model/CustomXmlPart.cs index 7fac8ee5..22d04c54 100644 --- a/Aspose.Words.Cloud.Sdk/Model/CustomXmlPart.cs +++ b/Aspose.Words.Cloud.Sdk/Model/CustomXmlPart.cs @@ -40,11 +40,13 @@ public class CustomXmlPart : CustomXmlPartLink, IModel { /// /// Gets or sets the custom xml part id. + /// Cannot be null. /// public virtual string Id { get; set; } /// /// Gets or sets the custom xml part data. + /// Cannot be null.Default is empty string. /// public virtual string Data { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/CustomXmlPartResponse.cs b/Aspose.Words.Cloud.Sdk/Model/CustomXmlPartResponse.cs index ae9d373d..0cc7a5ad 100644 --- a/Aspose.Words.Cloud.Sdk/Model/CustomXmlPartResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/CustomXmlPartResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a custom xml part. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/customXmlParts/0" REST API requests. /// public class CustomXmlPartResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/CustomXmlPartsResponse.cs b/Aspose.Words.Cloud.Sdk/Model/CustomXmlPartsResponse.cs index 4771b47f..a8d457b6 100644 --- a/Aspose.Words.Cloud.Sdk/Model/CustomXmlPartsResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/CustomXmlPartsResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of custom xml parts. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/customXmlParts" REST API requests. /// public class CustomXmlPartsResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/Document.cs b/Aspose.Words.Cloud.Sdk/Model/Document.cs index f574edd0..6b3138e8 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Document.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Document.cs @@ -168,17 +168,17 @@ public enum SourceFormatEnum /// /// Gets or sets a value indicating whether the document is encrypted and requires a password to open. /// - public virtual bool IsEncrypted { get; set; } + public virtual bool? IsEncrypted { get; set; } /// /// Gets or sets a value indicating whether the document contains a digital signature. This property merely informs that a digital signature is present on a document, but it does not specify whether the signature is valid or not. /// - public virtual bool IsSigned { get; set; } + public virtual bool? IsSigned { get; set; } /// /// Gets or sets the original format of the document. /// - public virtual SourceFormatEnum SourceFormat { get; set; } + public virtual SourceFormatEnum? SourceFormat { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/DocumentEntry.cs b/Aspose.Words.Cloud.Sdk/Model/DocumentEntry.cs index 70f2f205..ff373aec 100644 --- a/Aspose.Words.Cloud.Sdk/Model/DocumentEntry.cs +++ b/Aspose.Words.Cloud.Sdk/Model/DocumentEntry.cs @@ -68,7 +68,7 @@ public enum ImportFormatModeEnum /// /// Gets or sets the option that controls formatting will be used: appended or destination document. Can be KeepSourceFormatting or UseDestinationStyles. /// - public virtual ImportFormatModeEnum ImportFormatMode { get; set; } + public virtual ImportFormatModeEnum? ImportFormatMode { get; set; } /// /// Collect all files content properties. diff --git a/Aspose.Words.Cloud.Sdk/Model/DocumentPropertiesResponse.cs b/Aspose.Words.Cloud.Sdk/Model/DocumentPropertiesResponse.cs index fd530c3b..6e919617 100644 --- a/Aspose.Words.Cloud.Sdk/Model/DocumentPropertiesResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/DocumentPropertiesResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of document properties. + /// This response should be returned by the service when handling: GET /documentProperties. /// public class DocumentPropertiesResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/DocumentProperty.cs b/Aspose.Words.Cloud.Sdk/Model/DocumentProperty.cs index 17e396ab..94ad0022 100644 --- a/Aspose.Words.Cloud.Sdk/Model/DocumentProperty.cs +++ b/Aspose.Words.Cloud.Sdk/Model/DocumentProperty.cs @@ -52,7 +52,7 @@ public class DocumentProperty : LinkElement, IModel /// Gets or sets a value indicating whether the property is built-in or not. /// If true the property is built-in, if false the property is custom. /// - public virtual bool BuiltIn { get; set; } + public virtual bool? BuiltIn { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/DocumentPropertyResponse.cs b/Aspose.Words.Cloud.Sdk/Model/DocumentPropertyResponse.cs index 12bad5f4..43fe5a94 100644 --- a/Aspose.Words.Cloud.Sdk/Model/DocumentPropertyResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/DocumentPropertyResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a document property. + /// This response should be returned by the service when handling: GET documentProperties/{propertyName}. /// public class DocumentPropertyResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/DocumentStatData.cs b/Aspose.Words.Cloud.Sdk/Model/DocumentStatData.cs index f1565a8a..eb75a812 100644 --- a/Aspose.Words.Cloud.Sdk/Model/DocumentStatData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/DocumentStatData.cs @@ -46,17 +46,17 @@ public class DocumentStatData : IModel /// /// Gets or sets the total count of pages in the document. /// - public virtual int PageCount { get; set; } + public virtual int? PageCount { get; set; } /// /// Gets or sets the total count of paragraphs in the document. /// - public virtual int ParagraphCount { get; set; } + public virtual int? ParagraphCount { get; set; } /// /// Gets or sets the total count of words in the document. /// - public virtual int WordCount { get; set; } + public virtual int? WordCount { get; set; } /// /// Gets or sets the detailed statistics on all pages. diff --git a/Aspose.Words.Cloud.Sdk/Model/DownsampleOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/DownsampleOptionsData.cs index 04872af8..3fef985b 100644 --- a/Aspose.Words.Cloud.Sdk/Model/DownsampleOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/DownsampleOptionsData.cs @@ -40,16 +40,19 @@ public class DownsampleOptionsData : IModel { /// /// Gets or sets a value indicating whether images should be downsampled. + /// The default value is true. /// public virtual bool? DownsampleImages { get; set; } /// /// Gets or sets the resolution in pixels per inch which the images should be downsampled to. + /// The default value is 220 ppi. /// public virtual int? Resolution { get; set; } /// /// Gets or sets the threshold resolution in pixels per inch. If resolution of an image in the document is less than threshold value, the downsampling algorithm will not be applied. A value of 0 means the threshold check is not used and all images that can be reduced in size are downsampled. + /// The default value is 0. /// public virtual int? ResolutionThreshold { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/DrawingObjectInsert.cs b/Aspose.Words.Cloud.Sdk/Model/DrawingObjectInsert.cs index 9c6ba86c..56e4dd2a 100644 --- a/Aspose.Words.Cloud.Sdk/Model/DrawingObjectInsert.cs +++ b/Aspose.Words.Cloud.Sdk/Model/DrawingObjectInsert.cs @@ -184,16 +184,6 @@ public enum WrapTypeEnum Through, } - /// - /// Gets or sets the height of the DrawingObject in points. - /// - public virtual double Height { get; set; } - - /// - /// Gets or sets the distance in points from the origin to the left side of the image. - /// - public virtual double Left { get; set; } - /// /// Gets or sets the position, before which the DrawingObject will be inserted. /// @@ -202,27 +192,37 @@ public enum WrapTypeEnum /// /// Gets or sets the relative horizontal position, from which the distance to the image is measured. /// - public virtual RelativeHorizontalPositionEnum RelativeHorizontalPosition { get; set; } + public virtual RelativeHorizontalPositionEnum? RelativeHorizontalPosition { get; set; } + + /// + /// Gets or sets the distance in points from the origin to the left side of the image. + /// + public virtual double? Left { get; set; } /// /// Gets or sets the relative vertical position, from which the distance to the image is measured. /// - public virtual RelativeVerticalPositionEnum RelativeVerticalPosition { get; set; } + public virtual RelativeVerticalPositionEnum? RelativeVerticalPosition { get; set; } /// /// Gets or sets the distance in points from the origin to the top side of the image. /// - public virtual double Top { get; set; } + public virtual double? Top { get; set; } /// /// Gets or sets the width of the DrawingObjects in points. /// - public virtual double Width { get; set; } + public virtual double? Width { get; set; } + + /// + /// Gets or sets the height of the DrawingObject in points. + /// + public virtual double? Height { get; set; } /// /// Gets or sets the option indicating how to wrap text around the image. /// - public virtual WrapTypeEnum WrapType { get; set; } + public virtual WrapTypeEnum? WrapType { get; set; } /// /// Get the string presentation of the object. @@ -232,13 +232,13 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class DrawingObjectInsert {\n"); - sb.Append(" Height: ").Append(this.Height).Append("\n"); - sb.Append(" Left: ").Append(this.Left).Append("\n"); sb.Append(" Position: ").Append(this.Position).Append("\n"); sb.Append(" RelativeHorizontalPosition: ").Append(this.RelativeHorizontalPosition).Append("\n"); + sb.Append(" Left: ").Append(this.Left).Append("\n"); sb.Append(" RelativeVerticalPosition: ").Append(this.RelativeVerticalPosition).Append("\n"); sb.Append(" Top: ").Append(this.Top).Append("\n"); sb.Append(" Width: ").Append(this.Width).Append("\n"); + sb.Append(" Height: ").Append(this.Height).Append("\n"); sb.Append(" WrapType: ").Append(this.WrapType).Append("\n"); sb.Append("}\n"); return sb.ToString(); diff --git a/Aspose.Words.Cloud.Sdk/Model/DrawingObjectUpdate.cs b/Aspose.Words.Cloud.Sdk/Model/DrawingObjectUpdate.cs index f567c741..d7c7fd49 100644 --- a/Aspose.Words.Cloud.Sdk/Model/DrawingObjectUpdate.cs +++ b/Aspose.Words.Cloud.Sdk/Model/DrawingObjectUpdate.cs @@ -185,20 +185,15 @@ public enum WrapTypeEnum } /// - /// Gets or sets the height of the DrawingObject in points. + /// Gets or sets the relative horizontal position, from which the distance to the image is measured. /// - public virtual double? Height { get; set; } + public virtual RelativeHorizontalPositionEnum? RelativeHorizontalPosition { get; set; } /// /// Gets or sets the distance in points from the origin to the left side of the image. /// public virtual double? Left { get; set; } - /// - /// Gets or sets the relative horizontal position, from which the distance to the image is measured. - /// - public virtual RelativeHorizontalPositionEnum? RelativeHorizontalPosition { get; set; } - /// /// Gets or sets the relative vertical position, from which the distance to the image measured. /// @@ -214,6 +209,11 @@ public enum WrapTypeEnum /// public virtual double? Width { get; set; } + /// + /// Gets or sets the height of the DrawingObject in points. + /// + public virtual double? Height { get; set; } + /// /// Gets or sets the option that controls how to wrap text around the image. /// @@ -227,12 +227,12 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class DrawingObjectUpdate {\n"); - sb.Append(" Height: ").Append(this.Height).Append("\n"); - sb.Append(" Left: ").Append(this.Left).Append("\n"); sb.Append(" RelativeHorizontalPosition: ").Append(this.RelativeHorizontalPosition).Append("\n"); + sb.Append(" Left: ").Append(this.Left).Append("\n"); sb.Append(" RelativeVerticalPosition: ").Append(this.RelativeVerticalPosition).Append("\n"); sb.Append(" Top: ").Append(this.Top).Append("\n"); sb.Append(" Width: ").Append(this.Width).Append("\n"); + sb.Append(" Height: ").Append(this.Height).Append("\n"); sb.Append(" WrapType: ").Append(this.WrapType).Append("\n"); sb.Append("}\n"); return sb.ToString(); diff --git a/Aspose.Words.Cloud.Sdk/Model/DrawingObjectsResponse.cs b/Aspose.Words.Cloud.Sdk/Model/DrawingObjectsResponse.cs index a09d06d6..f22a90a6 100644 --- a/Aspose.Words.Cloud.Sdk/Model/DrawingObjectsResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/DrawingObjectsResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of DrawingObjects. + /// This response should be returned by the service when handling: GET /drawingObjects. /// public class DrawingObjectsResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/EmfSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/EmfSaveOptionsData.cs index ff6ed171..ae952154 100644 --- a/Aspose.Words.Cloud.Sdk/Model/EmfSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/EmfSaveOptionsData.cs @@ -81,6 +81,8 @@ public override string ToString() sb.Append(" UseAntiAliasing: ").Append(this.UseAntiAliasing).Append("\n"); sb.Append(" UseHighQualityRendering: ").Append(this.UseHighQualityRendering).Append("\n"); sb.Append(" VerticalResolution: ").Append(this.VerticalResolution).Append("\n"); + sb.Append(" ImageHeight: ").Append(this.ImageHeight).Append("\n"); + sb.Append(" ImageWidth: ").Append(this.ImageWidth).Append("\n"); sb.Append(" UseGdiEmfRenderer: ").Append(this.UseGdiEmfRenderer).Append("\n"); sb.Append(" SaveFormat: ").Append(this.SaveFormat).Append("\n"); sb.Append("}\n"); diff --git a/Aspose.Words.Cloud.Sdk/Model/EpsSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/EpsSaveOptionsData.cs new file mode 100644 index 00000000..8f837a72 --- /dev/null +++ b/Aspose.Words.Cloud.Sdk/Model/EpsSaveOptionsData.cs @@ -0,0 +1,92 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) 2023 Aspose.Words for Cloud +// +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace Aspose.Words.Cloud.Sdk.Model +{ + using System; + using System.Collections; + using System.Collections.Generic; + using System.Runtime.Serialization; + using System.Text; + using Newtonsoft.Json; + using Newtonsoft.Json.Converters; + + /// + /// Container class for eps save options. + /// + public class EpsSaveOptionsData : ImageSaveOptionsData, IModel + { + /// + /// Gets the format of save. + /// + public override string SaveFormat { get; } = "eps"; + + /// + /// Get the string presentation of the object. + /// + /// String presentation of the object. + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class EpsSaveOptionsData {\n"); + sb.Append(" AllowEmbeddingPostScriptFonts: ").Append(this.AllowEmbeddingPostScriptFonts).Append("\n"); + sb.Append(" CustomTimeZoneInfoData: ").Append(this.CustomTimeZoneInfoData).Append("\n"); + sb.Append(" Dml3DEffectsRenderingMode: ").Append(this.Dml3DEffectsRenderingMode).Append("\n"); + sb.Append(" DmlEffectsRenderingMode: ").Append(this.DmlEffectsRenderingMode).Append("\n"); + sb.Append(" DmlRenderingMode: ").Append(this.DmlRenderingMode).Append("\n"); + sb.Append(" FileName: ").Append(this.FileName).Append("\n"); + sb.Append(" ImlRenderingMode: ").Append(this.ImlRenderingMode).Append("\n"); + sb.Append(" UpdateCreatedTimeProperty: ").Append(this.UpdateCreatedTimeProperty).Append("\n"); + sb.Append(" UpdateFields: ").Append(this.UpdateFields).Append("\n"); + sb.Append(" UpdateLastPrintedProperty: ").Append(this.UpdateLastPrintedProperty).Append("\n"); + sb.Append(" UpdateLastSavedTimeProperty: ").Append(this.UpdateLastSavedTimeProperty).Append("\n"); + sb.Append(" ZipOutput: ").Append(this.ZipOutput).Append("\n"); + sb.Append(" ColorMode: ").Append(this.ColorMode).Append("\n"); + sb.Append(" JpegQuality: ").Append(this.JpegQuality).Append("\n"); + sb.Append(" MetafileRenderingOptions: ").Append(this.MetafileRenderingOptions).Append("\n"); + sb.Append(" NumeralFormat: ").Append(this.NumeralFormat).Append("\n"); + sb.Append(" OptimizeOutput: ").Append(this.OptimizeOutput).Append("\n"); + sb.Append(" PageCount: ").Append(this.PageCount).Append("\n"); + sb.Append(" PageIndex: ").Append(this.PageIndex).Append("\n"); + sb.Append(" HorizontalResolution: ").Append(this.HorizontalResolution).Append("\n"); + sb.Append(" ImageBrightness: ").Append(this.ImageBrightness).Append("\n"); + sb.Append(" ImageColorMode: ").Append(this.ImageColorMode).Append("\n"); + sb.Append(" ImageContrast: ").Append(this.ImageContrast).Append("\n"); + sb.Append(" PaperColor: ").Append(this.PaperColor).Append("\n"); + sb.Append(" PixelFormat: ").Append(this.PixelFormat).Append("\n"); + sb.Append(" Resolution: ").Append(this.Resolution).Append("\n"); + sb.Append(" Scale: ").Append(this.Scale).Append("\n"); + sb.Append(" UseAntiAliasing: ").Append(this.UseAntiAliasing).Append("\n"); + sb.Append(" UseHighQualityRendering: ").Append(this.UseHighQualityRendering).Append("\n"); + sb.Append(" VerticalResolution: ").Append(this.VerticalResolution).Append("\n"); + sb.Append(" ImageHeight: ").Append(this.ImageHeight).Append("\n"); + sb.Append(" ImageWidth: ").Append(this.ImageWidth).Append("\n"); + sb.Append(" UseGdiEmfRenderer: ").Append(this.UseGdiEmfRenderer).Append("\n"); + sb.Append(" SaveFormat: ").Append(this.SaveFormat).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + } +} diff --git a/Aspose.Words.Cloud.Sdk/Model/Error.cs b/Aspose.Words.Cloud.Sdk/Model/Error.cs index 1329952a..db39e106 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Error.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Error.cs @@ -39,22 +39,22 @@ namespace Aspose.Words.Cloud.Sdk.Model public class Error : IModel { /// - /// Code. + /// Gets or sets Code. /// public virtual string Code { get; set; } /// - /// Description. + /// Gets or sets Description. /// public virtual string Description { get; set; } /// - /// Inner Error. + /// Gets or sets InnerError. /// public virtual ErrorDetails InnerError { get; set; } /// - /// Message. + /// Gets or sets Message. /// public virtual string Message { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/ErrorDetails.cs b/Aspose.Words.Cloud.Sdk/Model/ErrorDetails.cs index 73494814..55f0d95f 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ErrorDetails.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ErrorDetails.cs @@ -39,12 +39,12 @@ namespace Aspose.Words.Cloud.Sdk.Model public class ErrorDetails : IModel { /// - /// Error datetime. + /// Gets or sets ErrorDateTime. /// - public virtual DateTime ErrorDateTime { get; set; } + public virtual DateTime? ErrorDateTime { get; set; } /// - /// The request id. + /// Gets or sets RequestId. /// public virtual string RequestId { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/FieldBase.cs b/Aspose.Words.Cloud.Sdk/Model/FieldBase.cs index d667b4fb..5b7b9202 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FieldBase.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FieldBase.cs @@ -39,14 +39,14 @@ namespace Aspose.Words.Cloud.Sdk.Model public abstract class FieldBase : IModel { /// - /// Gets or sets the field code. + /// Gets or sets the LCID of the field. /// - public virtual string FieldCode { get; set; } + public virtual string LocaleId { get; set; } /// - /// Gets or sets the LCID of the field. + /// Gets or sets the field code. /// - public virtual string LocaleId { get; set; } + public virtual string FieldCode { get; set; } /// /// Get the string presentation of the object. @@ -56,8 +56,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class FieldBase {\n"); - sb.Append(" FieldCode: ").Append(this.FieldCode).Append("\n"); sb.Append(" LocaleId: ").Append(this.LocaleId).Append("\n"); + sb.Append(" FieldCode: ").Append(this.FieldCode).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/Aspose.Words.Cloud.Sdk/Model/FieldInsert.cs b/Aspose.Words.Cloud.Sdk/Model/FieldInsert.cs index e49ef43a..9d2edbe3 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FieldInsert.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FieldInsert.cs @@ -46,8 +46,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class FieldInsert {\n"); - sb.Append(" FieldCode: ").Append(this.FieldCode).Append("\n"); sb.Append(" LocaleId: ").Append(this.LocaleId).Append("\n"); + sb.Append(" FieldCode: ").Append(this.FieldCode).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/Aspose.Words.Cloud.Sdk/Model/FieldNamesResponse.cs b/Aspose.Words.Cloud.Sdk/Model/FieldNamesResponse.cs index 1051348c..6022ae5c 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FieldNamesResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FieldNamesResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of mail merge fields. + /// This response should be returned by the service when handling: GET /{name}/mailMergeFieldNames. /// public class FieldNamesResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/FieldOptions.cs b/Aspose.Words.Cloud.Sdk/Model/FieldOptions.cs index 3bfab432..a823e87a 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FieldOptions.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FieldOptions.cs @@ -97,11 +97,6 @@ public enum FieldUpdateCultureSourceEnum FieldCode, } - /// - /// Gets or sets BuiltIn Templates Paths. - /// - public virtual List BuiltInTemplatesPaths { get; set; } - /// /// Gets or sets Curren tUser. /// @@ -164,6 +159,11 @@ public enum FieldUpdateCultureSourceEnum /// public virtual bool? UseInvariantCultureNumberFormat { get; set; } + /// + /// Gets or sets BuiltIn Templates Paths. + /// + public virtual List BuiltInTemplatesPaths { get; set; } + /// /// Get the string presentation of the object. /// @@ -172,7 +172,6 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class FieldOptions {\n"); - sb.Append(" BuiltInTemplatesPaths: ").Append(this.BuiltInTemplatesPaths).Append("\n"); sb.Append(" CurrentUser: ").Append(this.CurrentUser).Append("\n"); sb.Append(" CustomTocStyleSeparator: ").Append(this.CustomTocStyleSeparator).Append("\n"); sb.Append(" DefaultDocumentAuthor: ").Append(this.DefaultDocumentAuthor).Append("\n"); @@ -185,6 +184,7 @@ public override string ToString() sb.Append(" PreProcessCultureName: ").Append(this.PreProcessCultureName).Append("\n"); sb.Append(" TemplateName: ").Append(this.TemplateName).Append("\n"); sb.Append(" UseInvariantCultureNumberFormat: ").Append(this.UseInvariantCultureNumberFormat).Append("\n"); + sb.Append(" BuiltInTemplatesPaths: ").Append(this.BuiltInTemplatesPaths).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/Aspose.Words.Cloud.Sdk/Model/FieldResponse.cs b/Aspose.Words.Cloud.Sdk/Model/FieldResponse.cs index f967a3be..174bb2ce 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FieldResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FieldResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a field. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/fields/{1}" REST API requests. /// public class FieldResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/FieldUpdate.cs b/Aspose.Words.Cloud.Sdk/Model/FieldUpdate.cs index 003a3611..57c05681 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FieldUpdate.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FieldUpdate.cs @@ -46,8 +46,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class FieldUpdate {\n"); - sb.Append(" FieldCode: ").Append(this.FieldCode).Append("\n"); sb.Append(" LocaleId: ").Append(this.LocaleId).Append("\n"); + sb.Append(" FieldCode: ").Append(this.FieldCode).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/Aspose.Words.Cloud.Sdk/Model/FieldsResponse.cs b/Aspose.Words.Cloud.Sdk/Model/FieldsResponse.cs index 82fd3ee0..d8d82191 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FieldsResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FieldsResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of fields. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/{nodePath}/fields" REST API requests. /// public class FieldsResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/FixedPageSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/FixedPageSaveOptionsData.cs index 2768404a..e8a76c75 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FixedPageSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FixedPageSaveOptionsData.cs @@ -41,6 +41,8 @@ public abstract class FixedPageSaveOptionsData : SaveOptionsData, IModel /// /// Gets or sets the value determining how colors are rendered. /// { Normal | Grayscale}. + /// The default value is Normal. + /// This property is used when the document is exported to fixed page formats. /// [JsonConverter(typeof(StringEnumConverter))] public enum ColorModeEnum @@ -91,6 +93,8 @@ public enum NumeralFormatEnum /// /// Gets or sets the value determining how colors are rendered. /// { Normal | Grayscale}. + /// The default value is Normal. + /// This property is used when the document is exported to fixed page formats. /// public virtual ColorModeEnum? ColorMode { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Font.cs b/Aspose.Words.Cloud.Sdk/Model/Font.cs index 02b51edc..6e1c7ebf 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Font.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Font.cs @@ -2081,6 +2081,7 @@ public enum UnderlineEnum /// /// Gets or sets a value indicating whether the contents of this run shall have right-to-left characteristics. + /// This property, when on, shall not be used with strongly left-to-right text. Any behavior under that condition is unspecified. This property, when off, shall not be used with strong right-to-left text. Any behavior under that condition is unspecified.When the contents of this run are displayed, all characters shall be treated as complex script characters for formatting purposes. This means that BoldBi, ItalicBi, SizeBi and a corresponding font name will be used when rendering this run.Also, when the contents of this run are displayed, this property acts as a right-to-left override for characters which are classified as "weak types" and "neutral types". /// public virtual bool? Bidi { get; set; } @@ -2151,16 +2152,19 @@ public enum UnderlineEnum /// /// Gets or sets the locale identifier (language) of the formatted characters. + /// For the list of locale identifiers see http://www.microsoft.com/globaldev/reference/lcid-all.mspx. /// public virtual int? LocaleId { get; set; } /// /// Gets or sets the locale identifier (language) of the formatted right-to-left characters. + /// For the list of locale identifiers see http://www.microsoft.com/globaldev/reference/lcid-all.mspx. /// public virtual int? LocaleIdBi { get; set; } /// /// Gets or sets the locale identifier (language) of the formatted Asian characters. + /// For the list of locale identifiers see http://www.microsoft.com/globaldev/reference/lcid-all.mspx. /// public virtual int? LocaleIdFarEast { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/FontDto.cs b/Aspose.Words.Cloud.Sdk/Model/FontDto.cs deleted file mode 100644 index 43d6dcd3..00000000 --- a/Aspose.Words.Cloud.Sdk/Model/FontDto.cs +++ /dev/null @@ -1,53 +0,0 @@ -// -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2023 Aspose.Words for Cloud -// -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -// -// -------------------------------------------------------------------------------------------------------------------- - -namespace Aspose.Words.Cloud.Sdk.Model -{ - using System; - using System.Collections; - using System.Collections.Generic; - using System.Runtime.Serialization; - using System.Text; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - - /// - /// FontDto. - /// - public class FontDto : IModel - { - /// - /// Get the string presentation of the object. - /// - /// String presentation of the object. - public override string ToString() - { - var sb = new StringBuilder(); - sb.Append("class FontDto {\n"); - sb.Append("}\n"); - return sb.ToString(); - } - } -} diff --git a/Aspose.Words.Cloud.Sdk/Model/FontResponse.cs b/Aspose.Words.Cloud.Sdk/Model/FontResponse.cs index caeb475b..2cc11bd9 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FontResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FontResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a font. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/runs/{1}/font" REST API requests. /// public class FontResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/Footnote.cs b/Aspose.Words.Cloud.Sdk/Model/Footnote.cs index 6a6698fa..3dfe4ef2 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Footnote.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Footnote.cs @@ -68,11 +68,13 @@ public enum FootnoteTypeEnum /// /// Gets or sets the custom reference mark to be used for this footnote. /// Default value is Empty, meaning auto-numbered footnotes are used. + /// RTF-format can only store 1 symbol as custom reference mark, so upon export only the first symbol will be written others will be discard. /// public virtual string ReferenceMark { get; set; } /// /// Gets or sets text of the footnote. + /// This method allows to quickly set text of a footnote from a string. The string can contain paragraph breaks, this will create paragraphs of text in the footnote accordingly. /// public virtual string Text { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/FootnoteBase.cs b/Aspose.Words.Cloud.Sdk/Model/FootnoteBase.cs index 848af726..9f4ca374 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FootnoteBase.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FootnoteBase.cs @@ -56,23 +56,25 @@ public enum FootnoteTypeEnum } /// - /// Gets or sets the option, that specifies whether this is a footnote or endnote. + /// Gets or sets the link to comment range start node. /// - public virtual FootnoteTypeEnum? FootnoteType { get; set; } + public virtual NewDocumentPosition Position { get; set; } /// - /// Gets or sets the link to comment range start node. + /// Gets or sets the option, that specifies whether this is a footnote or endnote. /// - public virtual NewDocumentPosition Position { get; set; } + public virtual FootnoteTypeEnum? FootnoteType { get; set; } /// /// Gets or sets the custom reference mark to be used for this footnote. /// Default value is Empty, meaning auto-numbered footnotes are used. + /// RTF-format can only store 1 symbol as custom reference mark, so upon export only the first symbol will be written others will be discard. /// public virtual string ReferenceMark { get; set; } /// /// Gets or sets text of the footnote. + /// This method allows to quickly set text of a footnote from a string. The string can contain paragraph breaks, this will create paragraphs of text in the footnote accordingly. /// public virtual string Text { get; set; } @@ -84,8 +86,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class FootnoteBase {\n"); - sb.Append(" FootnoteType: ").Append(this.FootnoteType).Append("\n"); sb.Append(" Position: ").Append(this.Position).Append("\n"); + sb.Append(" FootnoteType: ").Append(this.FootnoteType).Append("\n"); sb.Append(" ReferenceMark: ").Append(this.ReferenceMark).Append("\n"); sb.Append(" Text: ").Append(this.Text).Append("\n"); sb.Append("}\n"); diff --git a/Aspose.Words.Cloud.Sdk/Model/FootnoteInsert.cs b/Aspose.Words.Cloud.Sdk/Model/FootnoteInsert.cs index a0c340dd..d04d2ede 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FootnoteInsert.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FootnoteInsert.cs @@ -46,8 +46,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class FootnoteInsert {\n"); - sb.Append(" FootnoteType: ").Append(this.FootnoteType).Append("\n"); sb.Append(" Position: ").Append(this.Position).Append("\n"); + sb.Append(" FootnoteType: ").Append(this.FootnoteType).Append("\n"); sb.Append(" ReferenceMark: ").Append(this.ReferenceMark).Append("\n"); sb.Append(" Text: ").Append(this.Text).Append("\n"); sb.Append("}\n"); diff --git a/Aspose.Words.Cloud.Sdk/Model/FootnoteResponse.cs b/Aspose.Words.Cloud.Sdk/Model/FootnoteResponse.cs index f865c581..630923b7 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FootnoteResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FootnoteResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a footnote. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/footnote/0" REST API requests. /// public class FootnoteResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/FootnoteUpdate.cs b/Aspose.Words.Cloud.Sdk/Model/FootnoteUpdate.cs index 84805018..33d56847 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FootnoteUpdate.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FootnoteUpdate.cs @@ -46,8 +46,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class FootnoteUpdate {\n"); - sb.Append(" FootnoteType: ").Append(this.FootnoteType).Append("\n"); sb.Append(" Position: ").Append(this.Position).Append("\n"); + sb.Append(" FootnoteType: ").Append(this.FootnoteType).Append("\n"); sb.Append(" ReferenceMark: ").Append(this.ReferenceMark).Append("\n"); sb.Append(" Text: ").Append(this.Text).Append("\n"); sb.Append("}\n"); diff --git a/Aspose.Words.Cloud.Sdk/Model/FootnotesResponse.cs b/Aspose.Words.Cloud.Sdk/Model/FootnotesResponse.cs index 009c6c17..3b738057 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FootnotesResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FootnotesResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of footnotes. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/footnotes" REST API requests. /// public class FootnotesResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/FootnotesStatData.cs b/Aspose.Words.Cloud.Sdk/Model/FootnotesStatData.cs index aaa30be0..4bfba4d8 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FootnotesStatData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FootnotesStatData.cs @@ -41,12 +41,12 @@ public class FootnotesStatData : IModel /// /// Gets or sets the total count of paragraphs in footnotes. /// - public virtual int ParagraphCount { get; set; } + public virtual int? ParagraphCount { get; set; } /// /// Gets or sets the total count of words in footnotes. /// - public virtual int WordCount { get; set; } + public virtual int? WordCount { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/FormField.cs b/Aspose.Words.Cloud.Sdk/Model/FormField.cs index f367f1c2..eb3582e7 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FormField.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FormField.cs @@ -45,41 +45,49 @@ public abstract class FormField : NodeLink, IModel /// /// Gets or sets a value indicating whether a form field is enabled. + /// If a form field is enabled, its contents can be changed as the form is filled in. /// public virtual bool? Enabled { get; set; } /// /// Gets or sets text, displayed in the status bar when a form field has the focus. + /// If the OwnStatus property is set to true, the StatusText property specifies the status bar text. If the OwnStatus property is set to false, the StatusText property specifies the name of an AutoText entry that contains status bar text for the form field. /// public virtual string StatusText { get; set; } /// /// Gets or sets a value indicating whether the source of the text that's displayed in the status bar when a form field has the focus. + /// If true, the text specified by the StatusText property is displayed. If false, the text of the AutoText entry specified by the StatusText property is displayed. /// public virtual bool? OwnStatus { get; set; } /// /// Gets or sets text, displayed in a message box when the form field has the focus and the user presses F1. + /// If the OwnHelp property is set to True, HelpText specifies the text string value. If OwnHelp is set to False, HelpText specifies the name of an AutoText entry that contains help text for the form field. /// public virtual string HelpText { get; set; } /// /// Gets or sets a value indicating whether the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. + /// If True, the text specified by the HelpText property is displayed. If False, the text in the AutoText entry specified by the HelpText property is displayed. /// public virtual bool? OwnHelp { get; set; } /// /// Gets or sets a value indicating whether references to the specified form field are automatically updated whenever the field is exited. + /// Setting CalculateOnExit only affects the behavior of the form field when the document is opened in Microsoft Word. Aspose.Words never updates references to the form field. /// public virtual bool? CalculateOnExit { get; set; } /// /// Gets or sets the entry macro name for the form field. + /// The entry macro runs when the form field gets the focus in Microsoft Word. /// public virtual string EntryMacro { get; set; } /// /// Gets or sets the exit macro name for the form field. + /// The exit macro runs when the form field loses the focus in Microsoft Word. /// public virtual string ExitMacro { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/FormFieldCheckbox.cs b/Aspose.Words.Cloud.Sdk/Model/FormFieldCheckbox.cs index 6de6402e..df0fef16 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FormFieldCheckbox.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FormFieldCheckbox.cs @@ -51,7 +51,7 @@ public class FormFieldCheckbox : FormField, IModel /// /// Gets or sets the checked status of the check box form field. /// - public virtual bool Checked { get; set; } + public virtual bool? Checked { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/FormFieldDropDown.cs b/Aspose.Words.Cloud.Sdk/Model/FormFieldDropDown.cs index 52549f8a..49a296c2 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FormFieldDropDown.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FormFieldDropDown.cs @@ -40,6 +40,7 @@ public class FormFieldDropDown : FormField, IModel { /// /// Gets or sets the items array of a dropdown form field. + /// Microsoft Word allows maximum 25 items in a dropdown form field. /// public virtual List DropDownItems { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/FormFieldResponse.cs b/Aspose.Words.Cloud.Sdk/Model/FormFieldResponse.cs index 5f99e4cd..5372e859 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FormFieldResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FormFieldResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a form field. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/form fields/{1}" REST API requests. /// public class FormFieldResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/FormFieldTextInput.cs b/Aspose.Words.Cloud.Sdk/Model/FormFieldTextInput.cs index e23067ca..224cd668 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FormFieldTextInput.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FormFieldTextInput.cs @@ -77,6 +77,7 @@ public enum TextInputTypeEnum /// /// Gets or sets text formatting for the text form field. + /// If the text form field contains regular text, then valid format strings are "", "UPPERCASE", "LOWERCASE", "FIRST CAPITAL" and "TITLE CASE". The strings are case-insensitive.If the text form field contains a number or a date/time value, then valid format strings are number or date and time format strings. /// public virtual string TextInputFormat { get; set; } @@ -87,6 +88,7 @@ public enum TextInputTypeEnum /// /// Gets or sets the default string or a calculation expression of the text form field. + /// The meaning of this property depends on the value of the TextInputType property.When TextInputType is Regular or Number, this string specifies the default string for the text form field. This string is the content that Microsoft Word will display in the document when the form field is empty.When TextInputType is Calculated, then this string holds the expression to be calculated. The expression needs to be a formula valid according to Microsoft Word formula field requirements. When you set a new expression using this property, Aspose.Words calculates the formula result automatically and inserts it into the form field. /// public virtual string TextInputDefault { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/FormFieldsResponse.cs b/Aspose.Words.Cloud.Sdk/Model/FormFieldsResponse.cs index 87d18dbe..fcab9ca9 100644 --- a/Aspose.Words.Cloud.Sdk/Model/FormFieldsResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/FormFieldsResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of form fields. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/{nodePath}/form fields" REST API requests. /// public class FormFieldsResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/GifSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/GifSaveOptionsData.cs index 48e26303..b138c5f6 100644 --- a/Aspose.Words.Cloud.Sdk/Model/GifSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/GifSaveOptionsData.cs @@ -81,6 +81,8 @@ public override string ToString() sb.Append(" UseAntiAliasing: ").Append(this.UseAntiAliasing).Append("\n"); sb.Append(" UseHighQualityRendering: ").Append(this.UseHighQualityRendering).Append("\n"); sb.Append(" VerticalResolution: ").Append(this.VerticalResolution).Append("\n"); + sb.Append(" ImageHeight: ").Append(this.ImageHeight).Append("\n"); + sb.Append(" ImageWidth: ").Append(this.ImageWidth).Append("\n"); sb.Append(" UseGdiEmfRenderer: ").Append(this.UseGdiEmfRenderer).Append("\n"); sb.Append(" SaveFormat: ").Append(this.SaveFormat).Append("\n"); sb.Append("}\n"); diff --git a/Aspose.Words.Cloud.Sdk/Model/HeaderFooterLink.cs b/Aspose.Words.Cloud.Sdk/Model/HeaderFooterLink.cs index 723c3d63..855eb875 100644 --- a/Aspose.Words.Cloud.Sdk/Model/HeaderFooterLink.cs +++ b/Aspose.Words.Cloud.Sdk/Model/HeaderFooterLink.cs @@ -78,7 +78,7 @@ public enum TypeEnum /// /// Gets or sets the paragraph's text. /// - public virtual TypeEnum Type { get; set; } + public virtual TypeEnum? Type { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/HeaderFooterResponse.cs b/Aspose.Words.Cloud.Sdk/Model/HeaderFooterResponse.cs index 5af7035d..e7cfb588 100644 --- a/Aspose.Words.Cloud.Sdk/Model/HeaderFooterResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/HeaderFooterResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a HeaderFooter. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/headersfooters/{0}" REST API requests. /// public class HeaderFooterResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/HeaderFootersResponse.cs b/Aspose.Words.Cloud.Sdk/Model/HeaderFootersResponse.cs index a0d4115d..f0a8e3d1 100644 --- a/Aspose.Words.Cloud.Sdk/Model/HeaderFootersResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/HeaderFootersResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of HeaderFooter elements. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/headersfooters" REST API requests. /// public class HeaderFootersResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/HtmlFixedSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/HtmlFixedSaveOptionsData.cs index d27d96a4..1595b0cd 100644 --- a/Aspose.Words.Cloud.Sdk/Model/HtmlFixedSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/HtmlFixedSaveOptionsData.cs @@ -124,6 +124,10 @@ public enum PageHorizontalAlignmentEnum /// Gets or sets the margin around pages in HTML document. /// The margins value is measured in points and should be equal to or greater than 0. /// Default value is 10 points. + /// Depends on the value of PageHorizontalAlignment property: + /// Defines top, bottom and left page margins if the value is Left. + /// Defines top, bottom and right page margins if the value is Right. + /// Defines top and bottom page margins if the value is Center. /// public virtual double? PageMargins { get; set; } @@ -139,6 +143,7 @@ public enum PageHorizontalAlignmentEnum /// /// Gets or sets a value indicating whether "@font-face" CSS rules should be placed into a separate file "fontFaces.css" when a document is being saved with external stylesheet (that is, when Aspose.Words.Saving.HtmlFixedSaveOptions.ExportEmbeddedCss is false). The default value is false, all CSS rules are written into single file "styles.css". + /// Setting this property to true restores the old behavior (separate files) for compatibility with legacy code. /// public virtual bool? SaveFontFaceCssSeparately { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/HtmlSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/HtmlSaveOptionsData.cs index 32593167..6b369c3b 100644 --- a/Aspose.Words.Cloud.Sdk/Model/HtmlSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/HtmlSaveOptionsData.cs @@ -273,6 +273,8 @@ public enum TableWidthOutputModeEnum /// /// Gets or sets the flag, that controls how drop-down form fields are saved to HTML. /// The default value is false. + /// When set to true, exports drop-down form fields as normal text. + /// When false, exports drop-down form fields as SELECT element in HTML. /// public virtual bool? ExportDropDownFormFieldAsText { get; set; } @@ -309,12 +311,14 @@ public enum TableWidthOutputModeEnum /// /// Gets or sets a value indicating whether the original URL should be used as the URL of the linked images. /// The default value is false. + /// If value is set to true - ResourceFolder value is used as the URL of linked images and linked images are not loaded into document's folder or ImagesFolder.If value is set to false - linked images are loaded into document's folder or ImagesFolder and URL of each linked image is constructed depending on document's folder, ImagesFolder and ImagesFolderAlias properties. /// public virtual bool? ExportOriginalUrlForLinkedImages { get; set; } /// /// Gets or sets a value indicating whether page margins are exported to HTML, MHTML or EPUB. /// The default value is false. + /// Aspose.Words does not show area of page margins by default. If any elements are completely or partially clipped by the document edge the displayed area can be extended with this option. /// public virtual bool? ExportPageMargins { get; set; } @@ -330,6 +334,7 @@ public enum TableWidthOutputModeEnum /// /// Gets or sets a value indicating whether to write the roundtrip information when saving to HTML. The default value is true. + /// Saving of the roundtrip information allows to restore document properties such as tab stops, comments, headers and footers during the HTML documents loading back into a Document object.When true, the roundtrip information is exported as -aw-* CSS properties of the corresponding HTML elements.When false, causes no roundtrip information to be output into produced files. /// public virtual bool? ExportRoundtripInformation { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/HyperlinkResponse.cs b/Aspose.Words.Cloud.Sdk/Model/HyperlinkResponse.cs index 3636e217..6be718e3 100644 --- a/Aspose.Words.Cloud.Sdk/Model/HyperlinkResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/HyperlinkResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a hyperlink. + /// This response should be returned by the service when handling: GET /{name}/hyperlinks/{hyperlinkIndex}. /// public class HyperlinkResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/HyperlinksResponse.cs b/Aspose.Words.Cloud.Sdk/Model/HyperlinksResponse.cs index aaef4146..964effe3 100644 --- a/Aspose.Words.Cloud.Sdk/Model/HyperlinksResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/HyperlinksResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of hyperlinks. + /// This response should be returned by the service when handling "GET /{name}/hyperlinks" REST API calls. /// public class HyperlinksResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/ImageEntryList.cs b/Aspose.Words.Cloud.Sdk/Model/ImageEntryList.cs index 74cfded2..98bdcc92 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ImageEntryList.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ImageEntryList.cs @@ -40,6 +40,7 @@ public class ImageEntryList : BaseEntryList, IFileReference, IModel { /// /// Gets or sets a value indicating whether each image should be added to a new page in the document. + /// This value only has an effect when adding images to a document that supports pagination. /// public virtual bool? AppendEachImageOnNewPage { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/ImageSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/ImageSaveOptionsData.cs index 80981d37..afe3b9ae 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ImageSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ImageSaveOptionsData.cs @@ -183,8 +183,23 @@ public enum PixelFormatEnum /// public virtual double? VerticalResolution { get; set; } + /// + /// Gets or sets the height of a generated image in pixels. + /// This property has effect only when saving to raster image formats + /// and used in pair with ImageWidth. + /// + public virtual int? ImageHeight { get; set; } + + /// + /// Gets or sets the width of a generated image in pixels. + /// This property has effect only when saving to raster image formats + /// and used in pair with ImageHeight. + /// + public virtual int? ImageWidth { get; set; } + /// /// Gets or sets a value indicating whether to use GDI+ or Aspose.Words metafile renderer when saving to EMF. + /// If set to true - GDI+ metafile renderer is used. I.e. content is written to GDI+ graphics object and saved to metafile.If set to false - Aspose.Words metafile renderer is used. I.e. content is written directly to the metafile format with Aspose.Words.The default value is true.Has effect only when saving to EMF. /// public virtual bool? UseGdiEmfRenderer { get; set; } @@ -227,6 +242,8 @@ public override string ToString() sb.Append(" UseAntiAliasing: ").Append(this.UseAntiAliasing).Append("\n"); sb.Append(" UseHighQualityRendering: ").Append(this.UseHighQualityRendering).Append("\n"); sb.Append(" VerticalResolution: ").Append(this.VerticalResolution).Append("\n"); + sb.Append(" ImageHeight: ").Append(this.ImageHeight).Append("\n"); + sb.Append(" ImageWidth: ").Append(this.ImageWidth).Append("\n"); sb.Append(" UseGdiEmfRenderer: ").Append(this.UseGdiEmfRenderer).Append("\n"); sb.Append("}\n"); return sb.ToString(); diff --git a/Aspose.Words.Cloud.Sdk/Model/InfoResponse.cs b/Aspose.Words.Cloud.Sdk/Model/InfoResponse.cs index c463abef..61ab1a42 100644 --- a/Aspose.Words.Cloud.Sdk/Model/InfoResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/InfoResponse.cs @@ -39,17 +39,17 @@ namespace Aspose.Words.Cloud.Sdk.Model public class InfoResponse : WordsResponse, IModel { /// - /// Gets or sets additional info. + /// Gets or sets AdditionalInfo. /// public virtual List AdditionalInfo { get; set; } /// - /// Gets or sets application name. + /// Gets or sets Name. /// public virtual string Name { get; set; } /// - /// Gets or sets version. + /// Gets or sets Version. /// public virtual string Version { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/JpegSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/JpegSaveOptionsData.cs index ea01bf97..c2f9b504 100644 --- a/Aspose.Words.Cloud.Sdk/Model/JpegSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/JpegSaveOptionsData.cs @@ -81,6 +81,8 @@ public override string ToString() sb.Append(" UseAntiAliasing: ").Append(this.UseAntiAliasing).Append("\n"); sb.Append(" UseHighQualityRendering: ").Append(this.UseHighQualityRendering).Append("\n"); sb.Append(" VerticalResolution: ").Append(this.VerticalResolution).Append("\n"); + sb.Append(" ImageHeight: ").Append(this.ImageHeight).Append("\n"); + sb.Append(" ImageWidth: ").Append(this.ImageWidth).Append("\n"); sb.Append(" UseGdiEmfRenderer: ").Append(this.UseGdiEmfRenderer).Append("\n"); sb.Append(" SaveFormat: ").Append(this.SaveFormat).Append("\n"); sb.Append("}\n"); diff --git a/Aspose.Words.Cloud.Sdk/Model/JsonDataLoadOptions.cs b/Aspose.Words.Cloud.Sdk/Model/JsonDataLoadOptions.cs index 74c6ccdd..93496fcc 100644 --- a/Aspose.Words.Cloud.Sdk/Model/JsonDataLoadOptions.cs +++ b/Aspose.Words.Cloud.Sdk/Model/JsonDataLoadOptions.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// Represents options for parsing JSON data. + /// An instance of this class can be passed into constructors of Aspose.Words.Reporting.JsonDataSource. /// public class JsonDataLoadOptions : IModel { @@ -61,12 +62,26 @@ public enum SimpleValueParseModeEnum /// Gets or sets a value indicating whether a generated data source will always contain /// an object for a JSON root element. If a JSON root element contains a single complex /// property, such an object is not created by default. + /// The default value is false. /// - public virtual bool AlwaysGenerateRootObject { get; set; } + public virtual bool? AlwaysGenerateRootObject { get; set; } /// /// Gets or sets exact formats for parsing JSON date-time values while loading JSON. /// The default is null. + /// Strings encoded using Microsoft® JSON date-time format (for example, "/Date(1224043200000)/") + /// are always recognized as date-time values regardless of a value of this property. + /// The property defines additional formats to be used while parsing date-time values + /// from strings in the following way: + /// • When Aspose.Words.Reporting.JsonDataLoadOptions.ExactDateTimeParseFormats is + /// null, the ISO-8601 format and all date-time formats supported for the current, + /// English USA, and English New Zealand cultures are used additionally in the mentioned + /// order. + /// • When Aspose.Words.Reporting.JsonDataLoadOptions.ExactDateTimeParseFormats contains + /// strings, they are used as additional date-time formats utilizing the current + /// culture. + /// • When Aspose.Words.Reporting.JsonDataLoadOptions.ExactDateTimeParseFormats is + /// empty, no additional date-time formats are used. /// public virtual List ExactDateTimeParseFormats { get; set; } @@ -75,7 +90,7 @@ public enum SimpleValueParseModeEnum /// and string) while loading JSON. Such a mode does not affect parsing of date-time /// values. The default is Aspose.Words.Reporting.JsonSimpleValueParseMode.Loose. /// - public virtual SimpleValueParseModeEnum SimpleValueParseMode { get; set; } + public virtual SimpleValueParseModeEnum? SimpleValueParseMode { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/ListFormat.cs b/Aspose.Words.Cloud.Sdk/Model/ListFormat.cs index ba6cc8bb..5b229387 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ListFormat.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ListFormat.cs @@ -40,18 +40,20 @@ public class ListFormat : LinkElement, IModel { /// /// Gets or sets the list level number (0 to 8) for the paragraph. + /// In Word documents, lists may consist of 1 or 9 levels, numbered 0 to 8. Has effect only when the Aspose.Words.ListFormat.List property is set to reference a valid list. Aspose.Words.ListFormat.List. /// - public virtual int ListLevelNumber { get; set; } + public virtual int? ListLevelNumber { get; set; } /// /// Gets or sets the list id of this paragraph. + /// The list that is being assigned to this property must belong to the current document.The list that is being assigned to this property must not be a list style definition. /// public virtual int? ListId { get; set; } /// /// Gets or sets a value indicating whether the paragraph has bulleted or numbered formatting applied to it. /// - public virtual bool IsListItem { get; set; } + public virtual bool? IsListItem { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/ListFormatUpdate.cs b/Aspose.Words.Cloud.Sdk/Model/ListFormatUpdate.cs index e9d98e9a..65fcb6ed 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ListFormatUpdate.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ListFormatUpdate.cs @@ -39,14 +39,17 @@ namespace Aspose.Words.Cloud.Sdk.Model public class ListFormatUpdate : IModel { /// - /// Gets or sets the list id of this paragraph. + /// Gets or sets the list level number (0 to 8) for the paragraph. + /// In Word documents, lists may consist of 1 or 9 levels, numbered 0 to 8. Has effect only when the Aspose.Words.ListFormat.List property is set to reference a valid list. Aspose.Words.ListFormat.List. /// - public virtual int? ListId { get; set; } + public virtual int? ListLevelNumber { get; set; } /// - /// Gets or sets the list level number (0 to 8) for the paragraph. + /// Gets or sets the list id of this paragraph. + /// The list that is being assigned to this property must belong to the current document. + /// The list that is being assigned to this property must not be a list style definition. /// - public virtual int? ListLevelNumber { get; set; } + public virtual int? ListId { get; set; } /// /// Get the string presentation of the object. @@ -56,8 +59,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class ListFormatUpdate {\n"); - sb.Append(" ListId: ").Append(this.ListId).Append("\n"); sb.Append(" ListLevelNumber: ").Append(this.ListLevelNumber).Append("\n"); + sb.Append(" ListId: ").Append(this.ListId).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/Aspose.Words.Cloud.Sdk/Model/ListInfo.cs b/Aspose.Words.Cloud.Sdk/Model/ListInfo.cs index b069d518..c40af7cd 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ListInfo.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ListInfo.cs @@ -40,36 +40,43 @@ public class ListInfo : LinkElement, IModel { /// /// Gets or sets the unique identifier of the list. + /// You do not normally need to use this property. But if you use it, you normally do so in conjunction with the Aspose.Words.Lists.ListCollection.GetListByListId(System.Int32) method to find a list by its identifier. /// - public virtual int ListId { get; set; } + public virtual int? ListId { get; set; } /// /// Gets or sets a value indicating whether the list contains 9 levels; false when 1 level. + /// The lists that you create with Aspose.Words are always multi-level lists and contain 9 levels. Microsoft Word 2003 and later always create multi-level lists with 9 levels. But in some documents, created with earlier versions of Microsoft Word you might encounter lists that have 1 level only. /// - public virtual bool IsMultiLevel { get; set; } + public virtual bool? IsMultiLevel { get; set; } /// /// Gets or sets a value indicating whether list should be restarted at each section. The default value is false. + /// This option is supported only in RTF, DOC and DOCX document formats. This option will be written to DOCX only if Aspose.Words.Saving.OoxmlCompliance is higher then Aspose.Words.Saving.OoxmlCompliance.Ecma376_2006. /// - public virtual bool IsRestartAtEachSection { get; set; } + public virtual bool? IsRestartAtEachSection { get; set; } /// /// Gets or sets a value indicating whether this list is a definition of a list style. + /// When this property is true, the Aspose.Words.Lists.List.Style property returns the list style that this list defines. By modifying properties of a list that defines a list style, you modify The properties of the list style. A list that is a definition of a list style cannot be applied directly to paragraphs to make them numbered. Aspose.Words.Lists.List.Style Aspose.Words.Lists.List.IsListStyleReference. /// - public virtual bool IsListStyleDefinition { get; set; } + public virtual bool? IsListStyleDefinition { get; set; } /// /// Gets or sets a value indicating whether this list is a reference to a list style. + /// Note, modifying properties of a list that is a reference to list style has no effect. The list formatting specified in the list style itself always takes precedence. Aspose.Words.Lists.List.Style Aspose.Words.Lists.List.IsListStyleDefinition. /// - public virtual bool IsListStyleReference { get; set; } + public virtual bool? IsListStyleReference { get; set; } /// /// Gets or sets the list style that this list references or defines. + /// If this list is not associated with a list style, the property will return null. A list could be a reference to a list style, in this case Aspose.Words.Lists.List.IsListStyleReference will be true. A list could be a definition of a list style, in this case Aspose.Words.Lists.List.IsListStyleDefinition will be true. Such a list cannot be applied to paragraphs in the document directly. /// public virtual Style Style { get; set; } /// /// Gets or sets the collection of list levels for this list. + /// Use this property to access and modify formatting individual to each level of the list. /// public virtual ListLevels ListLevels { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/ListInsert.cs b/Aspose.Words.Cloud.Sdk/Model/ListInsert.cs index c111c7b1..990fb497 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ListInsert.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ListInsert.cs @@ -40,6 +40,7 @@ public class ListInsert : IModel { /// /// Gets or sets the option that controls how list should be restarted at each section. + /// This option is supported only in RTF, DOC and DOCX document formats. This option will be written to DOCX only if Aspose.Words.Saving.OoxmlCompliance is higher then Aspose.Words.Saving.OoxmlCompliance.Ecma376_2006. /// [JsonConverter(typeof(StringEnumConverter))] public enum TemplateEnum @@ -157,8 +158,9 @@ public enum TemplateEnum /// /// Gets or sets the option that controls how list should be restarted at each section. + /// This option is supported only in RTF, DOC and DOCX document formats. This option will be written to DOCX only if Aspose.Words.Saving.OoxmlCompliance is higher then Aspose.Words.Saving.OoxmlCompliance.Ecma376_2006. /// - public virtual TemplateEnum Template { get; set; } + public virtual TemplateEnum? Template { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/ListLevel.cs b/Aspose.Words.Cloud.Sdk/Model/ListLevel.cs index 02c7b4b5..3b9a422d 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ListLevel.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ListLevel.cs @@ -357,6 +357,7 @@ public enum NumberStyleEnum /// /// Gets or sets the justification of the actual number of the list item. + /// The list label is justified relative to the Aspose.Words.Lists.ListLevel.NumberPosition property. /// [JsonConverter(typeof(StringEnumConverter))] public enum AlignmentEnum @@ -401,38 +402,42 @@ public enum TrailingCharacterEnum /// /// Gets or sets the starting number for this list level. + /// Default value is 1. /// - public virtual int StartAt { get; set; } + public virtual int? StartAt { get; set; } /// /// Gets or sets the number style for this list level. /// - public virtual NumberStyleEnum NumberStyle { get; set; } + public virtual NumberStyleEnum? NumberStyle { get; set; } /// /// Gets or sets the number format for the list level. + /// Among normal text characters, the string can contain placeholder characters \\x0000 to \\x0008 representing the numbers from the corresponding list levels. For example, the string "\\x0000.\\x0001)" will generate a list label that looks something like "1.5)". The number "1" is the current number from the 1st list level, the number "5" is the current number from the 2nd list level. Null is not allowed, but an empty string meaning no number is valid. /// public virtual string NumberFormat { get; set; } /// /// Gets or sets the justification of the actual number of the list item. + /// The list label is justified relative to the Aspose.Words.Lists.ListLevel.NumberPosition property. /// - public virtual AlignmentEnum Alignment { get; set; } + public virtual AlignmentEnum? Alignment { get; set; } /// /// Gets or sets a value indicating whether the level turns all inherited numbers to Arabic, false if it preserves their number style. /// - public virtual bool IsLegal { get; set; } + public virtual bool? IsLegal { get; set; } /// /// Gets or sets the list level, that must appear before the specified list level restarts numbering. + /// The value of -1 means the numbering will continue. /// - public virtual int RestartAfterLevel { get; set; } + public virtual int? RestartAfterLevel { get; set; } /// /// Gets or sets the character inserted after the number for the list level. /// - public virtual TrailingCharacterEnum TrailingCharacter { get; set; } + public virtual TrailingCharacterEnum? TrailingCharacter { get; set; } /// /// Gets or sets character formatting used for the list label. @@ -441,21 +446,28 @@ public enum TrailingCharacterEnum /// /// Gets or sets the tab position (in points) for the list level. + /// Has effect only when Aspose.Words.Lists.ListLevel.TrailingCharacter is a tab. + /// Aspose.Words.Lists.ListLevel.NumberPosition Aspose.Words.Lists.ListLevel.TextPosition. /// - public virtual double TabPosition { get; set; } + public virtual double? TabPosition { get; set; } /// /// Gets or sets the position (in points) of the number or bullet for the list level. + /// Aspose.Words.Lists.ListLevel.NumberPosition corresponds to LeftIndent plus FirstLineIndent of the paragraph. Aspose.Words.Lists.ListLevel.TextPosition Aspose.Words.Lists.ListLevel.TabPosition. /// - public virtual double NumberPosition { get; set; } + public virtual double? NumberPosition { get; set; } /// /// Gets or sets the position (in points) for the second line of wrapping text for the list level. + /// Aspose.Words.Lists.ListLevel.TextPosition corresponds to LeftIndent of the paragraph. + /// Aspose.Words.Lists.ListLevel.NumberPosition Aspose.Words.Lists.ListLevel.TabPosition. /// - public virtual double TextPosition { get; set; } + public virtual double? TextPosition { get; set; } /// /// Gets or sets the paragraph style that is linked to this list level. + /// This property is null when the list level is not linked to a paragraph style. + /// This property can be set to null. /// public virtual Style LinkedStyle { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/ListLevelUpdate.cs b/Aspose.Words.Cloud.Sdk/Model/ListLevelUpdate.cs index c89fb017..578c7d41 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ListLevelUpdate.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ListLevelUpdate.cs @@ -38,28 +38,6 @@ namespace Aspose.Words.Cloud.Sdk.Model /// public class ListLevelUpdate : IModel { - /// - /// Gets or sets the justification of the actual number of the list item. - /// - [JsonConverter(typeof(StringEnumConverter))] - public enum AlignmentEnum - { - /// - /// Enum value "Left" - /// - Left, - - /// - /// Enum value "Center" - /// - Center, - - /// - /// Enum value "Right" - /// - Right, - } - /// /// Gets or sets the number style for this list level. /// @@ -377,6 +355,30 @@ public enum NumberStyleEnum Custom, } + /// + /// Gets or sets the justification of the actual number of the list item. + /// The list label is justified relative to the Aspose.Words.Lists.ListLevel.NumberPosition + /// property. + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum AlignmentEnum + { + /// + /// Enum value "Left" + /// + Left, + + /// + /// Enum value "Center" + /// + Center, + + /// + /// Enum value "Right" + /// + Right, + } + /// /// Gets or sets the character to be inserted after the number for the list level. /// @@ -400,54 +402,64 @@ public enum TrailingCharacterEnum } /// - /// Gets or sets the justification of the actual number of the list item. + /// Gets or sets the starting number for this list level. + /// Default value is 1. /// - public virtual AlignmentEnum? Alignment { get; set; } + public virtual int? StartAt { get; set; } /// - /// Gets or sets a value indicating whether the level turns all inherited numbers to Arabic, false if it preserves their number style. + /// Gets or sets the number style for this list level. /// - public virtual bool? IsLegal { get; set; } + public virtual NumberStyleEnum? NumberStyle { get; set; } /// /// Gets or sets the number format for the list level. + /// Among normal text characters, the string can contain placeholder characters \\x0000 to \\x0008 representing the numbers from the corresponding list levels. For example, the string "\\x0000.\\x0001)" will generate a list label that looks something like "1.5)". The number "1" is the current number from the 1st list level, the number "5" is the current number from the 2nd list level. Null is not allowed, but an empty string meaning no number is valid. /// public virtual string NumberFormat { get; set; } /// - /// Gets or sets the position (in points) of the number or bullet for the list level. + /// Gets or sets the justification of the actual number of the list item. + /// The list label is justified relative to the Aspose.Words.Lists.ListLevel.NumberPosition + /// property. /// - public virtual double? NumberPosition { get; set; } + public virtual AlignmentEnum? Alignment { get; set; } /// - /// Gets or sets the number style for this list level. + /// Gets or sets a value indicating whether the level turns all inherited numbers to Arabic, false if it preserves their number style. /// - public virtual NumberStyleEnum? NumberStyle { get; set; } + public virtual bool? IsLegal { get; set; } /// /// Gets or sets the list level that must appear before the specified list level restarts numbering. + /// The value of -1 means the numbering will continue. /// public virtual int? RestartAfterLevel { get; set; } /// - /// Gets or sets the starting number for this list level. + /// Gets or sets the character to be inserted after the number for the list level. /// - public virtual int? StartAt { get; set; } + public virtual TrailingCharacterEnum? TrailingCharacter { get; set; } /// /// Gets or sets the tab position (in points) for the list level. + /// Has effect only when Aspose.Words.Lists.ListLevel.TrailingCharacter is a tab. + /// Aspose.Words.Lists.ListLevel.NumberPosition Aspose.Words.Lists.ListLevel.TextPosition. /// public virtual double? TabPosition { get; set; } /// - /// Gets or sets the position (in points) for the second line of wrapping text for the list level. + /// Gets or sets the position (in points) of the number or bullet for the list level. + /// Aspose.Words.Lists.ListLevel.NumberPosition corresponds to LeftIndent plus FirstLineIndent of the paragraph. Aspose.Words.Lists.ListLevel.TextPosition Aspose.Words.Lists.ListLevel.TabPosition. /// - public virtual double? TextPosition { get; set; } + public virtual double? NumberPosition { get; set; } /// - /// Gets or sets the character to be inserted after the number for the list level. + /// Gets or sets the position (in points) for the second line of wrapping text for the list level. + /// Aspose.Words.Lists.ListLevel.TextPosition corresponds to LeftIndent of the paragraph. + /// Aspose.Words.Lists.ListLevel.NumberPosition Aspose.Words.Lists.ListLevel.TabPosition. /// - public virtual TrailingCharacterEnum? TrailingCharacter { get; set; } + public virtual double? TextPosition { get; set; } /// /// Get the string presentation of the object. @@ -457,16 +469,16 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class ListLevelUpdate {\n"); + sb.Append(" StartAt: ").Append(this.StartAt).Append("\n"); + sb.Append(" NumberStyle: ").Append(this.NumberStyle).Append("\n"); + sb.Append(" NumberFormat: ").Append(this.NumberFormat).Append("\n"); sb.Append(" Alignment: ").Append(this.Alignment).Append("\n"); sb.Append(" IsLegal: ").Append(this.IsLegal).Append("\n"); - sb.Append(" NumberFormat: ").Append(this.NumberFormat).Append("\n"); - sb.Append(" NumberPosition: ").Append(this.NumberPosition).Append("\n"); - sb.Append(" NumberStyle: ").Append(this.NumberStyle).Append("\n"); sb.Append(" RestartAfterLevel: ").Append(this.RestartAfterLevel).Append("\n"); - sb.Append(" StartAt: ").Append(this.StartAt).Append("\n"); + sb.Append(" TrailingCharacter: ").Append(this.TrailingCharacter).Append("\n"); sb.Append(" TabPosition: ").Append(this.TabPosition).Append("\n"); + sb.Append(" NumberPosition: ").Append(this.NumberPosition).Append("\n"); sb.Append(" TextPosition: ").Append(this.TextPosition).Append("\n"); - sb.Append(" TrailingCharacter: ").Append(this.TrailingCharacter).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/Aspose.Words.Cloud.Sdk/Model/ListLevels.cs b/Aspose.Words.Cloud.Sdk/Model/ListLevels.cs index 9608051f..08435394 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ListLevels.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ListLevels.cs @@ -40,6 +40,7 @@ public class ListLevels : LinkElement, IModel { /// /// Gets or sets the collection of list levels for this list. + /// Use this property to access and modify formatting individual to each level of the list. /// public virtual List ListLevel { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/ListResponse.cs b/Aspose.Words.Cloud.Sdk/Model/ListResponse.cs index 742d27a3..0ec588bc 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ListResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ListResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a list information. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/lists/{n}" REST API requests. /// public class ListResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/ListUpdate.cs b/Aspose.Words.Cloud.Sdk/Model/ListUpdate.cs index 2635aee7..f625aeab 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ListUpdate.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ListUpdate.cs @@ -40,6 +40,7 @@ public class ListUpdate : IModel { /// /// Gets or sets a value indicating whether list should be restarted at each section. The default value is false. + /// This option is supported only in RTF, DOC and DOCX document formats. This option will be written to DOCX only if Aspose.Words.Saving.OoxmlCompliance is higher than Aspose.Words.Saving.OoxmlCompliance.Ecma376_2006. /// public virtual bool? IsRestartAtEachSection { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/ListsResponse.cs b/Aspose.Words.Cloud.Sdk/Model/ListsResponse.cs index b2c8322c..b2c81206 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ListsResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ListsResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of lists, contained in the document. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/lists" REST API requests. /// public class ListsResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/MetafileRenderingOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/MetafileRenderingOptionsData.cs index bdead113..da724714 100644 --- a/Aspose.Words.Cloud.Sdk/Model/MetafileRenderingOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/MetafileRenderingOptionsData.cs @@ -89,6 +89,7 @@ public enum RenderingModeEnum /// /// Gets or sets a value indicating whether the raster operations should be emulated. + /// Specific raster operations could be used in metafiles. They can not be rendered directly to vector graphics. Emulating raster operations requires partial rasterization of the resulting vector graphics which may affect the metafile rendering performance. When this value is set to true, Aspose.Words emulates the raster operations. The resulting output maybe partially rasterized and performance might be slower. When this value is set to false, Aspose.Words does not emulate the raster operations. When Aspose.Words encounters a raster operation in a metafile it fallbacks to rendering the metafile into a bitmap by using the operating system. This option is used only when metafile is rendered as vector graphics. The default value is true. /// public virtual bool? EmulateRasterOperations { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/MhtmlSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/MhtmlSaveOptionsData.cs index cd768e43..d1803d3f 100644 --- a/Aspose.Words.Cloud.Sdk/Model/MhtmlSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/MhtmlSaveOptionsData.cs @@ -40,6 +40,7 @@ public class MhtmlSaveOptionsData : HtmlSaveOptionsData, IModel { /// /// Gets or sets a value indicating whether to use CID (Content-ID) URLs to reference resources (images, fonts, CSS) included in MHTML documents. The default value is false. + /// By default, resources in MHTML documents are referenced by file name (for example, "image.png"), which are matched against "Content-Location" headers of MIME parts. This option enables an alternative method, where references to resource files are written as CID (Content-ID) URLs (for example, "cid:image.png") and are matched against "Content-ID" headers. In theory, there should be no difference between the two referencing methods and either of them should work fine in any browser or mail agent. In practice, however, some agents fail to fetch resources by file name. If your browser or mail agent refuses to load resources included in an MTHML document (doesn't show images or doesn't load CSS styles), try exporting the document with CID URLs. /// public virtual bool? ExportCidUrlsForMhtmlResources { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/OdtSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/OdtSaveOptionsData.cs index ce22a9f1..6fa00998 100644 --- a/Aspose.Words.Cloud.Sdk/Model/OdtSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/OdtSaveOptionsData.cs @@ -69,6 +69,7 @@ public enum MeasureUnitEnum /// /// Gets or sets the password to encrypt document. + /// In order to save document without encryption this property should be null or empty string. /// public virtual string Password { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/OfficeMathObject.cs b/Aspose.Words.Cloud.Sdk/Model/OfficeMathObject.cs index ade3c7ab..28358ac2 100644 --- a/Aspose.Words.Cloud.Sdk/Model/OfficeMathObject.cs +++ b/Aspose.Words.Cloud.Sdk/Model/OfficeMathObject.cs @@ -40,6 +40,7 @@ public class OfficeMathObject : OfficeMathLink, IModel { /// /// Gets or sets the display format type of the OfficeMath object. This display format defines whether an equation is displayed inline with the text or displayed on its own line. + /// Display format type has effect for top level Office Math only.Returned display format type is always Inline for nested Office Math. /// [JsonConverter(typeof(StringEnumConverter))] public enum DisplayTypeEnum @@ -57,6 +58,7 @@ public enum DisplayTypeEnum /// /// Gets or sets the justification of the OfficeMath object. + /// Justification cannot be set to the Office Math with display format type Inline.Inline justification cannot be set to the Office Math with display format type Display.Corresponding DisplayType has to be set before setting Office Math justification. /// [JsonConverter(typeof(StringEnumConverter))] public enum JustificationEnum @@ -256,11 +258,13 @@ public enum MathObjectTypeEnum /// /// Gets or sets the display format type of the OfficeMath object. This display format defines whether an equation is displayed inline with the text or displayed on its own line. + /// Display format type has effect for top level Office Math only.Returned display format type is always Inline for nested Office Math. /// public virtual DisplayTypeEnum? DisplayType { get; set; } /// /// Gets or sets the justification of the OfficeMath object. + /// Justification cannot be set to the Office Math with display format type Inline.Inline justification cannot be set to the Office Math with display format type Display.Corresponding DisplayType has to be set before setting Office Math justification. /// public virtual JustificationEnum? Justification { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/OfficeMathObjectResponse.cs b/Aspose.Words.Cloud.Sdk/Model/OfficeMathObjectResponse.cs index 661c80a6..d6b5bee2 100644 --- a/Aspose.Words.Cloud.Sdk/Model/OfficeMathObjectResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/OfficeMathObjectResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a OfficeMath object. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/officeMathObjects/0" REST API requests. /// public class OfficeMathObjectResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/OfficeMathObjectsResponse.cs b/Aspose.Words.Cloud.Sdk/Model/OfficeMathObjectsResponse.cs index 70373966..fee8f072 100644 --- a/Aspose.Words.Cloud.Sdk/Model/OfficeMathObjectsResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/OfficeMathObjectsResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of OfficeMath objects. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/OfficeMathObjects" REST API requests. /// public class OfficeMathObjectsResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/OptimizationOptions.cs b/Aspose.Words.Cloud.Sdk/Model/OptimizationOptions.cs index 6fc07150..be32026c 100644 --- a/Aspose.Words.Cloud.Sdk/Model/OptimizationOptions.cs +++ b/Aspose.Words.Cloud.Sdk/Model/OptimizationOptions.cs @@ -88,7 +88,7 @@ public enum MsWordVersionEnum /// /// Gets or sets the specific MSWord version. /// - public virtual MsWordVersionEnum MsWordVersion { get; set; } + public virtual MsWordVersionEnum? MsWordVersion { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/OutlineOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/OutlineOptionsData.cs index 64fc91fd..1ae5d03c 100644 --- a/Aspose.Words.Cloud.Sdk/Model/OutlineOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/OutlineOptionsData.cs @@ -38,11 +38,6 @@ namespace Aspose.Words.Cloud.Sdk.Model /// public class OutlineOptionsData : IModel { - /// - /// Gets or sets the individual bookmarks outline level. - /// - public virtual List BookmarksOutlineLevels { get; set; } - /// /// Gets or sets a value indicating whether to create missing outline levels when the document is exported. The default value is false. /// @@ -50,6 +45,7 @@ public class OutlineOptionsData : IModel /// /// Gets or sets a value indicating whether to create outlines for headings (paragraphs formatted with the Heading styles) inside tables. + /// The default value is false. /// public virtual bool? CreateOutlinesForHeadingsInTables { get; set; } @@ -68,6 +64,11 @@ public class OutlineOptionsData : IModel /// public virtual int? HeadingsOutlineLevels { get; set; } + /// + /// Gets or sets the individual bookmarks outline level. + /// + public virtual List BookmarksOutlineLevels { get; set; } + /// /// Get the string presentation of the object. /// @@ -76,12 +77,12 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class OutlineOptionsData {\n"); - sb.Append(" BookmarksOutlineLevels: ").Append(this.BookmarksOutlineLevels).Append("\n"); sb.Append(" CreateMissingOutlineLevels: ").Append(this.CreateMissingOutlineLevels).Append("\n"); sb.Append(" CreateOutlinesForHeadingsInTables: ").Append(this.CreateOutlinesForHeadingsInTables).Append("\n"); sb.Append(" DefaultBookmarksOutlineLevel: ").Append(this.DefaultBookmarksOutlineLevel).Append("\n"); sb.Append(" ExpandedOutlineLevels: ").Append(this.ExpandedOutlineLevels).Append("\n"); sb.Append(" HeadingsOutlineLevels: ").Append(this.HeadingsOutlineLevels).Append("\n"); + sb.Append(" BookmarksOutlineLevels: ").Append(this.BookmarksOutlineLevels).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/Aspose.Words.Cloud.Sdk/Model/PageNumber.cs b/Aspose.Words.Cloud.Sdk/Model/PageNumber.cs index 9e268a26..b39c636c 100644 --- a/Aspose.Words.Cloud.Sdk/Model/PageNumber.cs +++ b/Aspose.Words.Cloud.Sdk/Model/PageNumber.cs @@ -51,7 +51,7 @@ public class PageNumber : IModel /// /// Gets or sets a value indicating whether if true the page number is added at the top of the page, else at the bottom. /// - public virtual bool IsTop { get; set; } + public virtual bool? IsTop { get; set; } /// /// Gets or sets the starting page number of the document. @@ -61,7 +61,7 @@ public class PageNumber : IModel /// /// Gets or sets a value indicating whether if true the page number is added on first page too. /// - public virtual bool SetPageNumberOnFirstPage { get; set; } + public virtual bool? SetPageNumberOnFirstPage { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/PageSetup.cs b/Aspose.Words.Cloud.Sdk/Model/PageSetup.cs index 2941eefc..89da22b0 100644 --- a/Aspose.Words.Cloud.Sdk/Model/PageSetup.cs +++ b/Aspose.Words.Cloud.Sdk/Model/PageSetup.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// Represents the page setup properties of a section. + /// PageSetup object contains all the page setup attributes of a section (left margin, bottom margin, paper size, and so on) as properties. /// public class PageSetup : LinkElement, IModel { @@ -101,6 +102,7 @@ public enum LineNumberRestartModeEnum /// /// Gets or sets the orientation of the page. + /// Changing Orientation swaps PageWidth and PageHeight. /// [JsonConverter(typeof(StringEnumConverter))] public enum OrientationEnum @@ -435,6 +437,7 @@ public enum PageNumberStyleEnum /// /// Gets or sets the paper size. + /// Setting this property updates PageWidth and PageHeight values. Setting this value to Custom does not change existing values. /// [JsonConverter(typeof(StringEnumConverter))] public enum PaperSizeEnum @@ -591,6 +594,7 @@ public enum VerticalAlignmentEnum /// /// Gets or sets a value indicating whether this section contains bidirectional (complex scripts) text. + /// When true, the columns in this section are laid out from right to left. /// public virtual bool? Bidi { get; set; } @@ -652,6 +656,7 @@ public enum VerticalAlignmentEnum /// /// Gets or sets the distance between the right edge of line numbers and the left edge of the document. + /// Set this property to zero for automatic distance between the line numbers and text of the document. /// public virtual double? LineNumberDistanceFromText { get; set; } @@ -667,6 +672,7 @@ public enum VerticalAlignmentEnum /// /// Gets or sets the orientation of the page. + /// Changing Orientation swaps PageWidth and PageHeight. /// public virtual OrientationEnum? Orientation { get; set; } @@ -688,6 +694,7 @@ public enum VerticalAlignmentEnum /// /// Gets or sets the starting page number of the section. + /// The RestartPageNumbering property, if set to false, will override the PageStartingNumber property so that page numbering can continue from the previous section. /// public virtual int? PageStartingNumber { get; set; } @@ -698,11 +705,13 @@ public enum VerticalAlignmentEnum /// /// Gets or sets the paper size. + /// Setting this property updates PageWidth and PageHeight values. Setting this value to Custom does not change existing values. /// public virtual PaperSizeEnum? PaperSize { get; set; } /// /// Gets or sets a value indicating whether page numbering restarts at the beginning of the section. + /// If set to false, the RestartPageNumbering property will override the PageStartingNumber property so that page numbering can continue from the previous section. /// public virtual bool? RestartPageNumbering { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/PageStatData.cs b/Aspose.Words.Cloud.Sdk/Model/PageStatData.cs index 8d1652c7..89eff0e9 100644 --- a/Aspose.Words.Cloud.Sdk/Model/PageStatData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/PageStatData.cs @@ -46,17 +46,17 @@ public class PageStatData : IModel /// /// Gets or sets the total count of paragraphs in the page. /// - public virtual int ParagraphCount { get; set; } + public virtual int? ParagraphCount { get; set; } /// /// Gets or sets the total count of words in the page. /// - public virtual int WordCount { get; set; } + public virtual int? WordCount { get; set; } /// /// Gets or sets the page number. /// - public virtual int PageNumber { get; set; } + public virtual int? PageNumber { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/ParagraphFormatBase.cs b/Aspose.Words.Cloud.Sdk/Model/ParagraphFormatBase.cs index 057bb11b..8964cc1d 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ParagraphFormatBase.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ParagraphFormatBase.cs @@ -2110,6 +2110,7 @@ public enum StyleIdentifierEnum /// /// Gets or sets a value indicating whether this is a right-to-left paragraph. + /// When true, the runs and other inline objects in this paragraph are laid out right to left. /// public virtual bool? Bidi { get; set; } @@ -2141,6 +2142,7 @@ public enum StyleIdentifierEnum /// /// Gets or sets the line spacing (in points) for the paragraph. + /// When LineSpacingRule property is set to AtLeast, the line spacing can be greater than or equal to, but never less than the specified LineSpacing value.When LineSpacingRule property is set to Exactly, the line spacing never changes from the specified LineSpacing value, even if a larger font is used within the paragraph. /// public virtual double? LineSpacing { get; set; } @@ -2156,6 +2158,7 @@ public enum StyleIdentifierEnum /// /// Gets or sets a value indicating whether SpaceBefore and SpaceAfter will be ignored between the paragraphs of the same style. + /// This setting only takes affect when applied to a paragraph style. If applied to a paragraph directly, it has no effect. /// public virtual bool? NoSpaceBetweenParagraphsOfSameStyle { get; set; } @@ -2176,21 +2179,25 @@ public enum StyleIdentifierEnum /// /// Gets or sets the amount of spacing (in points) after the paragraph. + /// Has no effect when SpaceAfterAuto is true. /// public virtual double? SpaceAfter { get; set; } /// /// Gets or sets a value indicating whether the amount of spacing after the paragraph is set automatically. + /// When set to true, overrides the effect of SpaceAfter. /// public virtual bool? SpaceAfterAuto { get; set; } /// /// Gets or sets the amount of spacing (in points) before the paragraph. + /// Has no effect when SpaceBeforeAuto is true. /// public virtual double? SpaceBefore { get; set; } /// /// Gets or sets a value indicating whether the amount of spacing before the paragraph is set automatically. + /// When set to true, overrides the effect of SpaceBefore. /// public virtual bool? SpaceBeforeAuto { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/ParagraphFormatResponse.cs b/Aspose.Words.Cloud.Sdk/Model/ParagraphFormatResponse.cs index f13f639d..6690580d 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ParagraphFormatResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ParagraphFormatResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with the formatting properties of a paragraph. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/format" REST API requests. /// public class ParagraphFormatResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/ParagraphLinkCollectionResponse.cs b/Aspose.Words.Cloud.Sdk/Model/ParagraphLinkCollectionResponse.cs index a62c1948..88b8dc9b 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ParagraphLinkCollectionResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ParagraphLinkCollectionResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of paragraphs. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs" REST API requests. /// public class ParagraphLinkCollectionResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/ParagraphListFormatResponse.cs b/Aspose.Words.Cloud.Sdk/Model/ParagraphListFormatResponse.cs index 87485bfc..52aef092 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ParagraphListFormatResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ParagraphListFormatResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a list format for a paragraph. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/listFormat" REST API requests. /// public class ParagraphListFormatResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/ParagraphResponse.cs b/Aspose.Words.Cloud.Sdk/Model/ParagraphResponse.cs index 5a96fb0f..0478d953 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ParagraphResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ParagraphResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a paragraph. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}" REST API requests. /// public class ParagraphResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/PclSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/PclSaveOptionsData.cs index 05876e17..86cd4cdc 100644 --- a/Aspose.Words.Cloud.Sdk/Model/PclSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/PclSaveOptionsData.cs @@ -40,11 +40,13 @@ public class PclSaveOptionsData : FixedPageSaveOptionsData, IModel { /// /// Gets or sets the font name, that will be used if no expected font is found in printer and built-in fonts collections. + /// If no fallback is found, "Arial" font is used. /// public virtual string FalllbackFontName { get; set; } /// /// Gets or sets a value indicating whether complex transformed elements should be rasterized before saving to PCL document.. The default value is true. + /// PCL doesn't support some kind of transformations that are used by Aspose Words. E.g. rotated, skewed images and texture brushes. To properly render such elements rasterization process is used, i.e. saving to image and clipping. This process can take additional time and memory. If flag is set to false, some content in output may be different as compared with the source document. /// public virtual bool? RasterizeTransformedElements { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/PdfEncryptionDetailsData.cs b/Aspose.Words.Cloud.Sdk/Model/PdfEncryptionDetailsData.cs index 47b3c7a0..05c620bb 100644 --- a/Aspose.Words.Cloud.Sdk/Model/PdfEncryptionDetailsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/PdfEncryptionDetailsData.cs @@ -46,7 +46,7 @@ public class PdfEncryptionDetailsData : IModel /// /// Gets or sets the operations that are allowed to a user on the encrypted PDF document. /// - public virtual List Permissions { get; set; } + public virtual List Permissions { get; set; } /// /// Gets or sets the user password required for opening the encrypted PDF document. diff --git a/Aspose.Words.Cloud.Sdk/Model/PdfSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/PdfSaveOptionsData.cs index 6ea2339d..637505c3 100644 --- a/Aspose.Words.Cloud.Sdk/Model/PdfSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/PdfSaveOptionsData.cs @@ -155,6 +155,7 @@ public enum HeaderFooterBookmarksExportModeEnum /// /// Gets or sets the option that controls how the color space will be selected for the images in PDF document. + /// The default value is "Auto". If "SimpleCmyk" value is specified, ImageCompression option is ignored and Flate compression is used for all images in the document. /// [JsonConverter(typeof(StringEnumConverter))] public enum ImageColorSpaceExportModeEnum @@ -263,6 +264,8 @@ public enum ZoomBehaviorEnum /// /// Gets or sets a value determining whether or not to cache graphics placed in document's background. + /// Default value is true and background graphics are written to the PDF document as an xObject. When the value is false background graphics are not cached. Some shapes are not supported for caching(shapes with fields, bookmarks, HRefs). Document background graphic is various shapes, charts, images placed in the footer or header, + /// well as background and border of a page. /// public virtual bool? CacheBackgroundGraphics { get; set; } @@ -291,6 +294,8 @@ public enum ZoomBehaviorEnum /// /// Gets or sets a value indicating whether the window’s title bar should display the document title taken from the Title entry of the document information dictionary. + /// If false, the title bar should instead display the name of the PDF file containing the document. + /// The default value is false. /// public virtual bool? DisplayDocTitle { get; set; } @@ -301,6 +306,11 @@ public enum ZoomBehaviorEnum /// /// Gets or sets a value determining whether or not to embed attachments to the PDF document. + /// Default value is false and attachments are not embedded. + /// When the value is true attachments are embedded to the PDF document. + /// Embedding attachments is not supported when saving to PDF/A and PDF/UA compliance. + /// false value will be used automatically. + /// Embedding attachments is not supported when encryption is enabled. false value will be used automatically. /// public virtual bool? EmbedAttachments { get; set; } @@ -321,6 +331,9 @@ public enum ZoomBehaviorEnum /// /// Gets or sets a value determining whether or not to create a "Span" tag in the document structure to export the text language. + /// Default value is false and "Lang" attribute is attached to a marked-content sequence in a page content stream. + /// When the value is true "Span" tag is created for the text with non-default language and "Lang" attribute is attached to this tag. + /// This value is ignored when Aspose.Words.Saving.PdfSaveOptions.ExportDocumentStructure is false. /// public virtual bool? ExportLanguageToSpanTag { get; set; } @@ -337,6 +350,7 @@ public enum ZoomBehaviorEnum /// /// Gets or sets the option that controls how the color space will be selected for the images in PDF document. + /// The default value is "Auto". If "SimpleCmyk" value is specified, ImageCompression option is ignored and Flate compression is used for all images in the document. /// public virtual ImageColorSpaceExportModeEnum? ImageColorSpaceExportMode { get; set; } @@ -347,6 +361,7 @@ public enum ZoomBehaviorEnum /// /// Gets or sets a value indicating whether image interpolation shall be performed by a conforming reader. When false is specified, the flag is not written to the output document and the default behavior of reader is used instead. + /// When the resolution of a source image is significantly lower than that of the output device, each source sample covers many device pixels. As a result, images can appear jaggy or blocky. These visual artifacts can be reduced by applying an image interpolation algorithm during rendering. Instead of painting all pixels covered by a source sample with the same color, image interpolation attempts to produce a smooth transition between adjacent sample values. A conforming Reader may choose to not implement this feature of PDF, or may use any specific implementation of interpolation that it wishes. The default value is false. /// public virtual bool? InterpolateImages { get; set; } @@ -367,6 +382,8 @@ public enum ZoomBehaviorEnum /// /// Gets or sets a value indicating whether to preblend transparent images with black background color. + /// Preblending images may improve PDF document visual appearance in Adobe Reader and remove anti-aliasing artifacts.In order to properly display preblended images, PDF viewer application must support /Matte entry in soft-mask image dictionary. + /// Also preblending images may decrease PDF rendering performance.The default value is false. /// public virtual bool? PreblendImages { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/PngSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/PngSaveOptionsData.cs index a10d6803..2390a73a 100644 --- a/Aspose.Words.Cloud.Sdk/Model/PngSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/PngSaveOptionsData.cs @@ -81,6 +81,8 @@ public override string ToString() sb.Append(" UseAntiAliasing: ").Append(this.UseAntiAliasing).Append("\n"); sb.Append(" UseHighQualityRendering: ").Append(this.UseHighQualityRendering).Append("\n"); sb.Append(" VerticalResolution: ").Append(this.VerticalResolution).Append("\n"); + sb.Append(" ImageHeight: ").Append(this.ImageHeight).Append("\n"); + sb.Append(" ImageWidth: ").Append(this.ImageWidth).Append("\n"); sb.Append(" UseGdiEmfRenderer: ").Append(this.UseGdiEmfRenderer).Append("\n"); sb.Append(" SaveFormat: ").Append(this.SaveFormat).Append("\n"); sb.Append("}\n"); diff --git a/Aspose.Words.Cloud.Sdk/Model/PreferredWidth.cs b/Aspose.Words.Cloud.Sdk/Model/PreferredWidth.cs index a8397366..445cf42f 100644 --- a/Aspose.Words.Cloud.Sdk/Model/PreferredWidth.cs +++ b/Aspose.Words.Cloud.Sdk/Model/PreferredWidth.cs @@ -63,7 +63,7 @@ public enum TypeEnum /// /// Gets or sets the unit of measure used for this preferred width value. /// - public virtual TypeEnum Type { get; set; } + public virtual TypeEnum? Type { get; set; } /// /// Gets or sets the preferred width value. The unit of measure is specified in the Type property. diff --git a/Aspose.Words.Cloud.Sdk/Model/RangeDocumentDto.cs b/Aspose.Words.Cloud.Sdk/Model/RangeDocumentDto.cs deleted file mode 100644 index aa45dd2f..00000000 --- a/Aspose.Words.Cloud.Sdk/Model/RangeDocumentDto.cs +++ /dev/null @@ -1,59 +0,0 @@ -// -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2023 Aspose.Words for Cloud -// -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -// -// -------------------------------------------------------------------------------------------------------------------- - -namespace Aspose.Words.Cloud.Sdk.Model -{ - using System; - using System.Collections; - using System.Collections.Generic; - using System.Runtime.Serialization; - using System.Text; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - - /// - /// DTO container with a Range element. - /// - public class RangeDocumentDto : IModel - { - /// - /// Gets or sets the name for a new document. - /// - public virtual string DocumentName { get; set; } - - /// - /// Get the string presentation of the object. - /// - /// String presentation of the object. - public override string ToString() - { - var sb = new StringBuilder(); - sb.Append("class RangeDocumentDto {\n"); - sb.Append(" DocumentName: ").Append(this.DocumentName).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - } -} diff --git a/Aspose.Words.Cloud.Sdk/Model/RangeTextResponse.cs b/Aspose.Words.Cloud.Sdk/Model/RangeTextResponse.cs index f8ec98e4..446e1ea3 100644 --- a/Aspose.Words.Cloud.Sdk/Model/RangeTextResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/RangeTextResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a range's text. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/range/{0}/{1}/" REST API requests. /// public class RangeTextResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/ReplaceRangeDto.cs b/Aspose.Words.Cloud.Sdk/Model/ReplaceRangeDto.cs deleted file mode 100644 index cb4ecfb2..00000000 --- a/Aspose.Words.Cloud.Sdk/Model/ReplaceRangeDto.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2023 Aspose.Words for Cloud -// -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -// -// -------------------------------------------------------------------------------------------------------------------- - -namespace Aspose.Words.Cloud.Sdk.Model -{ - using System; - using System.Collections; - using System.Collections.Generic; - using System.Runtime.Serialization; - using System.Text; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - - /// - /// DTO container with a range element. - /// - public class ReplaceRangeDto : IModel - { - /// - /// Gets or sets the range's text type. - /// - [JsonConverter(typeof(StringEnumConverter))] - public enum TextTypeEnum - { - /// - /// Enum value "Text" - /// - Text, - - /// - /// Enum value "Html" - /// - Html, - } - - /// - /// Gets or sets the range's text. - /// - public virtual string Text { get; set; } - - /// - /// Gets or sets the range's text type. - /// - public virtual TextTypeEnum? TextType { get; set; } - - /// - /// Get the string presentation of the object. - /// - /// String presentation of the object. - public override string ToString() - { - var sb = new StringBuilder(); - sb.Append("class ReplaceRangeDto {\n"); - sb.Append(" Text: ").Append(this.Text).Append("\n"); - sb.Append(" TextType: ").Append(this.TextType).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - } -} diff --git a/Aspose.Words.Cloud.Sdk/Model/ReplaceTextParameters.cs b/Aspose.Words.Cloud.Sdk/Model/ReplaceTextParameters.cs index fa25af95..0a26a9b0 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ReplaceTextParameters.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ReplaceTextParameters.cs @@ -41,17 +41,17 @@ public class ReplaceTextParameters : IModel /// /// Gets or sets a value indicating whether flag, true means the search is case-sensitive; false means the search is not case-sensitive. /// - public virtual bool IsMatchCase { get; set; } + public virtual bool? IsMatchCase { get; set; } /// /// Gets or sets a value indicating whether flag, means that only whole word matched are replaced. /// - public virtual bool IsMatchWholeWord { get; set; } + public virtual bool? IsMatchWholeWord { get; set; } /// /// Gets or sets a value indicating whether flag, means that OldValue contains regex expression. /// - public virtual bool IsOldValueRegex { get; set; } + public virtual bool? IsOldValueRegex { get; set; } /// /// Gets or sets the new text value to replace by. diff --git a/Aspose.Words.Cloud.Sdk/Model/ReplaceTextResponse.cs b/Aspose.Words.Cloud.Sdk/Model/ReplaceTextResponse.cs index a31405b8..fb6d07f4 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ReplaceTextResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ReplaceTextResponse.cs @@ -46,7 +46,7 @@ public class ReplaceTextResponse : WordsResponse, IModel /// /// Gets or sets the number of occurrences of the captured text in the document. /// - public virtual int Matches { get; set; } + public virtual int? Matches { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/ReportEngineSettings.cs b/Aspose.Words.Cloud.Sdk/Model/ReportEngineSettings.cs index 1cba7a47..239872aa 100644 --- a/Aspose.Words.Cloud.Sdk/Model/ReportEngineSettings.cs +++ b/Aspose.Words.Cloud.Sdk/Model/ReportEngineSettings.cs @@ -73,7 +73,7 @@ public enum DataSourceTypeEnum /// /// Gets or sets type of datasource. /// - public virtual DataSourceTypeEnum DataSourceType { get; set; } + public virtual DataSourceTypeEnum? DataSourceType { get; set; } /// /// Gets or sets the options for parsing JSON data. @@ -83,7 +83,7 @@ public enum DataSourceTypeEnum /// /// Gets or sets type of options to build report. /// - public virtual List ReportBuildOptions { get; set; } + public virtual List ReportBuildOptions { get; set; } /// /// Gets or sets the options for parsing XML data. diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/CopyFileRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/CopyFileRequest.cs index 9ee4041e..86a482b3 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/CopyFileRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/CopyFileRequest.cs @@ -97,6 +97,12 @@ public CopyFileRequest(string destPath, string srcPath, string srcStorageName = /// The http request instance. public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryptor encryptor) { + // verify the required parameter 'destPath' is set + if (this.DestPath == null) + { + throw new ApiException(400, "Missing required parameter 'destPath' when calling CopyFile"); + } + // verify the required parameter 'srcPath' is set if (this.SrcPath == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/CopyFolderRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/CopyFolderRequest.cs index d91b1753..9e3ac9fc 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/CopyFolderRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/CopyFolderRequest.cs @@ -90,6 +90,12 @@ public CopyFolderRequest(string destPath, string srcPath, string srcStorageName /// The http request instance. public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryptor encryptor) { + // verify the required parameter 'destPath' is set + if (this.DestPath == null) + { + throw new ApiException(400, "Missing required parameter 'destPath' when calling CopyFolder"); + } + // verify the required parameter 'srcPath' is set if (this.SrcPath == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeaderFooterOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeaderFooterOnlineRequest.cs index a4cf9983..d8002f43 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeaderFooterOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeaderFooterOnlineRequest.cs @@ -131,6 +131,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling DeleteHeaderFooterOnline"); } + // verify the required parameter 'sectionPath' is set + if (this.SectionPath == null) + { + throw new ApiException(400, "Missing required parameter 'sectionPath' when calling DeleteHeaderFooterOnline"); + } + var path = configuration.GetApiRootUrl() + "/words/online/delete/{sectionPath}/headersfooters/{index}"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeaderFooterRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeaderFooterRequest.cs index a920c3b3..c6c94e40 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeaderFooterRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeaderFooterRequest.cs @@ -145,6 +145,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling DeleteHeaderFooter"); } + // verify the required parameter 'sectionPath' is set + if (this.SectionPath == null) + { + throw new ApiException(400, "Missing required parameter 'sectionPath' when calling DeleteHeaderFooter"); + } + var path = configuration.GetApiRootUrl() + "/words/{name}/{sectionPath}/headersfooters/{index}"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeadersFootersOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeadersFootersOnlineRequest.cs index a0a92fd0..7e37b30b 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeadersFootersOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeadersFootersOnlineRequest.cs @@ -131,6 +131,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling DeleteHeadersFootersOnline"); } + // verify the required parameter 'sectionPath' is set + if (this.SectionPath == null) + { + throw new ApiException(400, "Missing required parameter 'sectionPath' when calling DeleteHeadersFootersOnline"); + } + var path = configuration.GetApiRootUrl() + "/words/online/delete/{sectionPath}/headersfooters"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeadersFootersRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeadersFootersRequest.cs index f0efbe6b..9dd23735 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeadersFootersRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteHeadersFootersRequest.cs @@ -145,6 +145,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling DeleteHeadersFooters"); } + // verify the required parameter 'sectionPath' is set + if (this.SectionPath == null) + { + throw new ApiException(400, "Missing required parameter 'sectionPath' when calling DeleteHeadersFooters"); + } + var path = configuration.GetApiRootUrl() + "/words/{name}/{sectionPath}/headersfooters"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteRunOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteRunOnlineRequest.cs index f3b655b6..411eda45 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteRunOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteRunOnlineRequest.cs @@ -131,6 +131,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling DeleteRunOnline"); } + // verify the required parameter 'paragraphPath' is set + if (this.ParagraphPath == null) + { + throw new ApiException(400, "Missing required parameter 'paragraphPath' when calling DeleteRunOnline"); + } + var path = configuration.GetApiRootUrl() + "/words/online/delete/{paragraphPath}/runs/{index}"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteRunRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteRunRequest.cs index 91bf7ed0..dc632997 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteRunRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteRunRequest.cs @@ -145,6 +145,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling DeleteRun"); } + // verify the required parameter 'paragraphPath' is set + if (this.ParagraphPath == null) + { + throw new ApiException(400, "Missing required parameter 'paragraphPath' when calling DeleteRun"); + } + var path = configuration.GetApiRootUrl() + "/words/{name}/{paragraphPath}/runs/{index}"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableCellOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableCellOnlineRequest.cs index 644c7ffd..e7d6a8f2 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableCellOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableCellOnlineRequest.cs @@ -131,6 +131,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling DeleteTableCellOnline"); } + // verify the required parameter 'tableRowPath' is set + if (this.TableRowPath == null) + { + throw new ApiException(400, "Missing required parameter 'tableRowPath' when calling DeleteTableCellOnline"); + } + var path = configuration.GetApiRootUrl() + "/words/online/delete/{tableRowPath}/cells/{index}"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableCellRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableCellRequest.cs index 32fd3a7d..4741e6df 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableCellRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableCellRequest.cs @@ -145,6 +145,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling DeleteTableCell"); } + // verify the required parameter 'tableRowPath' is set + if (this.TableRowPath == null) + { + throw new ApiException(400, "Missing required parameter 'tableRowPath' when calling DeleteTableCell"); + } + var path = configuration.GetApiRootUrl() + "/words/{name}/{tableRowPath}/cells/{index}"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableRowOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableRowOnlineRequest.cs index 16c286c5..221dafcd 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableRowOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableRowOnlineRequest.cs @@ -131,6 +131,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling DeleteTableRowOnline"); } + // verify the required parameter 'tablePath' is set + if (this.TablePath == null) + { + throw new ApiException(400, "Missing required parameter 'tablePath' when calling DeleteTableRowOnline"); + } + var path = configuration.GetApiRootUrl() + "/words/online/delete/{tablePath}/rows/{index}"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableRowRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableRowRequest.cs index e04c2131..50b19b6a 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableRowRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/DeleteTableRowRequest.cs @@ -145,6 +145,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling DeleteTableRow"); } + // verify the required parameter 'tablePath' is set + if (this.TablePath == null) + { + throw new ApiException(400, "Missing required parameter 'tablePath' when calling DeleteTableRow"); + } + var path = configuration.GetApiRootUrl() + "/words/{name}/{tablePath}/rows/{index}"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetHeaderFootersOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetHeaderFootersOnlineRequest.cs index 37360425..2bffbc8e 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetHeaderFootersOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetHeaderFootersOnlineRequest.cs @@ -110,6 +110,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling GetHeaderFootersOnline"); } + // verify the required parameter 'sectionPath' is set + if (this.SectionPath == null) + { + throw new ApiException(400, "Missing required parameter 'sectionPath' when calling GetHeaderFootersOnline"); + } + var path = configuration.GetApiRootUrl() + "/words/online/get/{sectionPath}/headersfooters"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetHeaderFootersRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetHeaderFootersRequest.cs index bae2a00e..c8c7ee2e 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetHeaderFootersRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetHeaderFootersRequest.cs @@ -124,6 +124,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling GetHeaderFooters"); } + // verify the required parameter 'sectionPath' is set + if (this.SectionPath == null) + { + throw new ApiException(400, "Missing required parameter 'sectionPath' when calling GetHeaderFooters"); + } + var path = configuration.GetApiRootUrl() + "/words/{name}/{sectionPath}/headersfooters"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunFontOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunFontOnlineRequest.cs index 55f2d4f3..81401c60 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunFontOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunFontOnlineRequest.cs @@ -110,6 +110,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling GetRunFontOnline"); } + // verify the required parameter 'paragraphPath' is set + if (this.ParagraphPath == null) + { + throw new ApiException(400, "Missing required parameter 'paragraphPath' when calling GetRunFontOnline"); + } + var path = configuration.GetApiRootUrl() + "/words/online/get/{paragraphPath}/runs/{index}/font"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunFontRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunFontRequest.cs index abfae357..fbb05f76 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunFontRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunFontRequest.cs @@ -124,6 +124,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling GetRunFont"); } + // verify the required parameter 'paragraphPath' is set + if (this.ParagraphPath == null) + { + throw new ApiException(400, "Missing required parameter 'paragraphPath' when calling GetRunFont"); + } + var path = configuration.GetApiRootUrl() + "/words/{name}/{paragraphPath}/runs/{index}/font"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunOnlineRequest.cs index 3cca797b..db180016 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunOnlineRequest.cs @@ -110,6 +110,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling GetRunOnline"); } + // verify the required parameter 'paragraphPath' is set + if (this.ParagraphPath == null) + { + throw new ApiException(400, "Missing required parameter 'paragraphPath' when calling GetRunOnline"); + } + var path = configuration.GetApiRootUrl() + "/words/online/get/{paragraphPath}/runs/{index}"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunRequest.cs index e9debe87..07da0994 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunRequest.cs @@ -124,6 +124,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling GetRun"); } + // verify the required parameter 'paragraphPath' is set + if (this.ParagraphPath == null) + { + throw new ApiException(400, "Missing required parameter 'paragraphPath' when calling GetRun"); + } + var path = configuration.GetApiRootUrl() + "/words/{name}/{paragraphPath}/runs/{index}"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunsOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunsOnlineRequest.cs index 78d12711..0c9c809b 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunsOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunsOnlineRequest.cs @@ -103,6 +103,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling GetRunsOnline"); } + // verify the required parameter 'paragraphPath' is set + if (this.ParagraphPath == null) + { + throw new ApiException(400, "Missing required parameter 'paragraphPath' when calling GetRunsOnline"); + } + var path = configuration.GetApiRootUrl() + "/words/online/get/{paragraphPath}/runs"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunsRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunsRequest.cs index 31d66385..61257d25 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunsRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetRunsRequest.cs @@ -117,6 +117,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling GetRuns"); } + // verify the required parameter 'paragraphPath' is set + if (this.ParagraphPath == null) + { + throw new ApiException(400, "Missing required parameter 'paragraphPath' when calling GetRuns"); + } + var path = configuration.GetApiRootUrl() + "/words/{name}/{paragraphPath}/runs"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellFormatOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellFormatOnlineRequest.cs index 7e81ca65..e39f9edb 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellFormatOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellFormatOnlineRequest.cs @@ -110,6 +110,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling GetTableCellFormatOnline"); } + // verify the required parameter 'tableRowPath' is set + if (this.TableRowPath == null) + { + throw new ApiException(400, "Missing required parameter 'tableRowPath' when calling GetTableCellFormatOnline"); + } + var path = configuration.GetApiRootUrl() + "/words/online/get/{tableRowPath}/cells/{index}/cellformat"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellFormatRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellFormatRequest.cs index 321890c7..4e4cc209 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellFormatRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellFormatRequest.cs @@ -124,6 +124,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling GetTableCellFormat"); } + // verify the required parameter 'tableRowPath' is set + if (this.TableRowPath == null) + { + throw new ApiException(400, "Missing required parameter 'tableRowPath' when calling GetTableCellFormat"); + } + var path = configuration.GetApiRootUrl() + "/words/{name}/{tableRowPath}/cells/{index}/cellformat"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellOnlineRequest.cs index 0d1494dc..5373dd26 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellOnlineRequest.cs @@ -110,6 +110,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling GetTableCellOnline"); } + // verify the required parameter 'tableRowPath' is set + if (this.TableRowPath == null) + { + throw new ApiException(400, "Missing required parameter 'tableRowPath' when calling GetTableCellOnline"); + } + var path = configuration.GetApiRootUrl() + "/words/online/get/{tableRowPath}/cells/{index}"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellRequest.cs index e791cc1e..17a218d9 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableCellRequest.cs @@ -124,6 +124,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling GetTableCell"); } + // verify the required parameter 'tableRowPath' is set + if (this.TableRowPath == null) + { + throw new ApiException(400, "Missing required parameter 'tableRowPath' when calling GetTableCell"); + } + var path = configuration.GetApiRootUrl() + "/words/{name}/{tableRowPath}/cells/{index}"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowFormatOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowFormatOnlineRequest.cs index fbb04a90..c02aac83 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowFormatOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowFormatOnlineRequest.cs @@ -110,6 +110,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling GetTableRowFormatOnline"); } + // verify the required parameter 'tablePath' is set + if (this.TablePath == null) + { + throw new ApiException(400, "Missing required parameter 'tablePath' when calling GetTableRowFormatOnline"); + } + var path = configuration.GetApiRootUrl() + "/words/online/get/{tablePath}/rows/{index}/rowformat"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowFormatRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowFormatRequest.cs index 4b23ffea..6fadfd3c 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowFormatRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowFormatRequest.cs @@ -124,6 +124,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling GetTableRowFormat"); } + // verify the required parameter 'tablePath' is set + if (this.TablePath == null) + { + throw new ApiException(400, "Missing required parameter 'tablePath' when calling GetTableRowFormat"); + } + var path = configuration.GetApiRootUrl() + "/words/{name}/{tablePath}/rows/{index}/rowformat"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowOnlineRequest.cs index 6b387b4a..409ef586 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowOnlineRequest.cs @@ -110,6 +110,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling GetTableRowOnline"); } + // verify the required parameter 'tablePath' is set + if (this.TablePath == null) + { + throw new ApiException(400, "Missing required parameter 'tablePath' when calling GetTableRowOnline"); + } + var path = configuration.GetApiRootUrl() + "/words/online/get/{tablePath}/rows/{index}"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowRequest.cs index 399ca365..da0a797c 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/GetTableRowRequest.cs @@ -124,6 +124,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling GetTableRow"); } + // verify the required parameter 'tablePath' is set + if (this.TablePath == null) + { + throw new ApiException(400, "Missing required parameter 'tablePath' when calling GetTableRow"); + } + var path = configuration.GetApiRootUrl() + "/words/{name}/{tablePath}/rows/{index}"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertHeaderFooterOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertHeaderFooterOnlineRequest.cs index 2a014bf7..c3e958c4 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertHeaderFooterOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertHeaderFooterOnlineRequest.cs @@ -131,6 +131,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling InsertHeaderFooterOnline"); } + // verify the required parameter 'sectionPath' is set + if (this.SectionPath == null) + { + throw new ApiException(400, "Missing required parameter 'sectionPath' when calling InsertHeaderFooterOnline"); + } + // verify the required parameter 'headerFooterType' is set if (this.HeaderFooterType == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertHeaderFooterRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertHeaderFooterRequest.cs index 10852f11..0434174e 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertHeaderFooterRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertHeaderFooterRequest.cs @@ -145,6 +145,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling InsertHeaderFooter"); } + // verify the required parameter 'sectionPath' is set + if (this.SectionPath == null) + { + throw new ApiException(400, "Missing required parameter 'sectionPath' when calling InsertHeaderFooter"); + } + // verify the required parameter 'headerFooterType' is set if (this.HeaderFooterType == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertRunOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertRunOnlineRequest.cs index dd29ee6b..fc2ff247 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertRunOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertRunOnlineRequest.cs @@ -138,6 +138,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling InsertRunOnline"); } + // verify the required parameter 'paragraphPath' is set + if (this.ParagraphPath == null) + { + throw new ApiException(400, "Missing required parameter 'paragraphPath' when calling InsertRunOnline"); + } + // verify the required parameter 'run' is set if (this.Run == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertRunRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertRunRequest.cs index bd9588ce..1f774d83 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertRunRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertRunRequest.cs @@ -152,6 +152,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling InsertRun"); } + // verify the required parameter 'paragraphPath' is set + if (this.ParagraphPath == null) + { + throw new ApiException(400, "Missing required parameter 'paragraphPath' when calling InsertRun"); + } + // verify the required parameter 'run' is set if (this.Run == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableCellOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableCellOnlineRequest.cs index 589894a7..5ca9b79a 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableCellOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableCellOnlineRequest.cs @@ -131,6 +131,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling InsertTableCellOnline"); } + // verify the required parameter 'tableRowPath' is set + if (this.TableRowPath == null) + { + throw new ApiException(400, "Missing required parameter 'tableRowPath' when calling InsertTableCellOnline"); + } + // verify the required parameter 'cell' is set if (this.Cell == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableCellRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableCellRequest.cs index 044c09e4..b084ace5 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableCellRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableCellRequest.cs @@ -145,6 +145,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling InsertTableCell"); } + // verify the required parameter 'tableRowPath' is set + if (this.TableRowPath == null) + { + throw new ApiException(400, "Missing required parameter 'tableRowPath' when calling InsertTableCell"); + } + // verify the required parameter 'cell' is set if (this.Cell == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableRowOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableRowOnlineRequest.cs index aa1fc9ea..70a9f042 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableRowOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableRowOnlineRequest.cs @@ -131,6 +131,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling InsertTableRowOnline"); } + // verify the required parameter 'tablePath' is set + if (this.TablePath == null) + { + throw new ApiException(400, "Missing required parameter 'tablePath' when calling InsertTableRowOnline"); + } + // verify the required parameter 'row' is set if (this.Row == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableRowRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableRowRequest.cs index b6739a93..23c6fd6e 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableRowRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertTableRowRequest.cs @@ -145,6 +145,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling InsertTableRow"); } + // verify the required parameter 'tablePath' is set + if (this.TablePath == null) + { + throw new ApiException(400, "Missing required parameter 'tablePath' when calling InsertTableRow"); + } + // verify the required parameter 'row' is set if (this.Row == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertWatermarkImageOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertWatermarkImageOnlineRequest.cs index 63a133e9..599b2a28 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/InsertWatermarkImageOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/InsertWatermarkImageOnlineRequest.cs @@ -60,7 +60,7 @@ public InsertWatermarkImageOnlineRequest() /// The date and time to use for revisions. /// The rotation angle of the watermark. /// The filename of the image. If the parameter value is missing — the image data is expected in the request content. - public InsertWatermarkImageOnlineRequest(System.IO.Stream document, System.IO.Stream imageFile, string loadEncoding = null, string password = null, string encryptedPassword = null, string destFileName = null, string revisionAuthor = null, string revisionDateTime = null, double? rotationAngle = null, string image = null) + public InsertWatermarkImageOnlineRequest(System.IO.Stream document, System.IO.Stream imageFile = null, string loadEncoding = null, string password = null, string encryptedPassword = null, string destFileName = null, string revisionAuthor = null, string revisionDateTime = null, double? rotationAngle = null, string image = null) { this.Document = document; this.ImageFile = imageFile; @@ -138,12 +138,6 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling InsertWatermarkImageOnline"); } - // verify the required parameter 'imageFile' is set - if (this.ImageFile == null) - { - throw new ApiException(400, "Missing required parameter 'imageFile' when calling InsertWatermarkImageOnline"); - } - var path = configuration.GetApiRootUrl() + "/words/online/post/watermarks/images"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/MoveFileRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/MoveFileRequest.cs index 7c739b07..f939a05a 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/MoveFileRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/MoveFileRequest.cs @@ -97,6 +97,12 @@ public MoveFileRequest(string destPath, string srcPath, string srcStorageName = /// The http request instance. public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryptor encryptor) { + // verify the required parameter 'destPath' is set + if (this.DestPath == null) + { + throw new ApiException(400, "Missing required parameter 'destPath' when calling MoveFile"); + } + // verify the required parameter 'srcPath' is set if (this.SrcPath == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/MoveFolderRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/MoveFolderRequest.cs index 72ec36f7..a179583f 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/MoveFolderRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/MoveFolderRequest.cs @@ -90,6 +90,12 @@ public MoveFolderRequest(string destPath, string srcPath, string srcStorageName /// The http request instance. public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryptor encryptor) { + // verify the required parameter 'destPath' is set + if (this.DestPath == null) + { + throw new ApiException(400, "Missing required parameter 'destPath' when calling MoveFolder"); + } + // verify the required parameter 'srcPath' is set if (this.SrcPath == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/SearchOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/SearchOnlineRequest.cs index 2cbbf7ef..d8440f9f 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/SearchOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/SearchOnlineRequest.cs @@ -103,6 +103,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling SearchOnline"); } + // verify the required parameter 'pattern' is set + if (this.Pattern == null) + { + throw new ApiException(400, "Missing required parameter 'pattern' when calling SearchOnline"); + } + var path = configuration.GetApiRootUrl() + "/words/online/get/search"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/SearchRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/SearchRequest.cs index 8817e285..54ba1051 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/SearchRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/SearchRequest.cs @@ -117,6 +117,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling Search"); } + // verify the required parameter 'pattern' is set + if (this.Pattern == null) + { + throw new ApiException(400, "Missing required parameter 'pattern' when calling Search"); + } + var path = configuration.GetApiRootUrl() + "/words/{name}/search"; path = Regex .Replace(path, "\\*", string.Empty) diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunFontOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunFontOnlineRequest.cs index 70e663cf..49d8e629 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunFontOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunFontOnlineRequest.cs @@ -138,6 +138,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling UpdateRunFontOnline"); } + // verify the required parameter 'paragraphPath' is set + if (this.ParagraphPath == null) + { + throw new ApiException(400, "Missing required parameter 'paragraphPath' when calling UpdateRunFontOnline"); + } + // verify the required parameter 'fontDto' is set if (this.FontDto == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunFontRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunFontRequest.cs index a871b9b2..463c4f32 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunFontRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunFontRequest.cs @@ -152,6 +152,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling UpdateRunFont"); } + // verify the required parameter 'paragraphPath' is set + if (this.ParagraphPath == null) + { + throw new ApiException(400, "Missing required parameter 'paragraphPath' when calling UpdateRunFont"); + } + // verify the required parameter 'fontDto' is set if (this.FontDto == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunOnlineRequest.cs index b58e75e3..3d186b40 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunOnlineRequest.cs @@ -138,6 +138,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling UpdateRunOnline"); } + // verify the required parameter 'paragraphPath' is set + if (this.ParagraphPath == null) + { + throw new ApiException(400, "Missing required parameter 'paragraphPath' when calling UpdateRunOnline"); + } + // verify the required parameter 'run' is set if (this.Run == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunRequest.cs index ffda5fb0..cf85dc2e 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateRunRequest.cs @@ -152,6 +152,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling UpdateRun"); } + // verify the required parameter 'paragraphPath' is set + if (this.ParagraphPath == null) + { + throw new ApiException(400, "Missing required parameter 'paragraphPath' when calling UpdateRun"); + } + // verify the required parameter 'run' is set if (this.Run == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableCellFormatOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableCellFormatOnlineRequest.cs index 2008692d..13a17de6 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableCellFormatOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableCellFormatOnlineRequest.cs @@ -138,6 +138,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling UpdateTableCellFormatOnline"); } + // verify the required parameter 'tableRowPath' is set + if (this.TableRowPath == null) + { + throw new ApiException(400, "Missing required parameter 'tableRowPath' when calling UpdateTableCellFormatOnline"); + } + // verify the required parameter 'format' is set if (this.Format == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableCellFormatRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableCellFormatRequest.cs index 86e60239..fe8459f3 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableCellFormatRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableCellFormatRequest.cs @@ -152,6 +152,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling UpdateTableCellFormat"); } + // verify the required parameter 'tableRowPath' is set + if (this.TableRowPath == null) + { + throw new ApiException(400, "Missing required parameter 'tableRowPath' when calling UpdateTableCellFormat"); + } + // verify the required parameter 'format' is set if (this.Format == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableRowFormatOnlineRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableRowFormatOnlineRequest.cs index bd0c5895..2c8cd811 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableRowFormatOnlineRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableRowFormatOnlineRequest.cs @@ -138,6 +138,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'document' when calling UpdateTableRowFormatOnline"); } + // verify the required parameter 'tablePath' is set + if (this.TablePath == null) + { + throw new ApiException(400, "Missing required parameter 'tablePath' when calling UpdateTableRowFormatOnline"); + } + // verify the required parameter 'format' is set if (this.Format == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableRowFormatRequest.cs b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableRowFormatRequest.cs index 9f085bd9..73ee1ae2 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableRowFormatRequest.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Requests/UpdateTableRowFormatRequest.cs @@ -152,6 +152,12 @@ public HttpRequestMessage CreateHttpRequest(Configuration configuration, IEncryp throw new ApiException(400, "Missing required parameter 'name' when calling UpdateTableRowFormat"); } + // verify the required parameter 'tablePath' is set + if (this.TablePath == null) + { + throw new ApiException(400, "Missing required parameter 'tablePath' when calling UpdateTableRowFormat"); + } + // verify the required parameter 'format' is set if (this.Format == null) { diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/AcceptAllRevisionsOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/AcceptAllRevisionsOnlineResponse.cs index e12b83b3..306e3234 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/AcceptAllRevisionsOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/AcceptAllRevisionsOnlineResponse.cs @@ -35,7 +35,7 @@ public class AcceptAllRevisionsOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a result of the modification operations for the revisions collection (now these are acceptAll and rejectAll). /// The document after modification. public AcceptAllRevisionsOnlineResponse(RevisionsModificationResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public AcceptAllRevisionsOnlineResponse(RevisionsModificationResponse model, Sys } /// - /// The response model. + /// The REST response with a result of the modification operations for the revisions collection (now these are acceptAll and rejectAll). /// public RevisionsModificationResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/AppendDocumentOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/AppendDocumentOnlineResponse.cs index 0110b71a..f1901558 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/AppendDocumentOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/AppendDocumentOnlineResponse.cs @@ -35,7 +35,7 @@ public class AppendDocumentOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a document description. /// The document after modification. public AppendDocumentOnlineResponse(DocumentResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public AppendDocumentOnlineResponse(DocumentResponse model, System.Collections.G } /// - /// The response model. + /// The REST response with a document description. /// public DocumentResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/ApplyStyleToDocumentElementOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/ApplyStyleToDocumentElementOnlineResponse.cs index 36f7f1f8..c1dd100c 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/ApplyStyleToDocumentElementOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/ApplyStyleToDocumentElementOnlineResponse.cs @@ -35,7 +35,7 @@ public class ApplyStyleToDocumentElementOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The base class for all responses. /// The document after modification. public ApplyStyleToDocumentElementOnlineResponse(WordsResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public ApplyStyleToDocumentElementOnlineResponse(WordsResponse model, System.Col } /// - /// The response model. + /// The base class for all responses. /// public WordsResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/CompareDocumentOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/CompareDocumentOnlineResponse.cs index 95a1db75..b46053ab 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/CompareDocumentOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/CompareDocumentOnlineResponse.cs @@ -35,7 +35,7 @@ public class CompareDocumentOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a document description. /// The document after modification. public CompareDocumentOnlineResponse(DocumentResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public CompareDocumentOnlineResponse(DocumentResponse model, System.Collections. } /// - /// The response model. + /// The REST response with a document description. /// public DocumentResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/CompressDocumentOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/CompressDocumentOnlineResponse.cs index 00705b3c..40f20378 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/CompressDocumentOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/CompressDocumentOnlineResponse.cs @@ -35,7 +35,7 @@ public class CompressDocumentOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response of compressed document. /// The document after modification. public CompressDocumentOnlineResponse(CompressResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public CompressDocumentOnlineResponse(CompressResponse model, System.Collections } /// - /// The response model. + /// The REST response of compressed document. /// public CompressResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/CopyStyleOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/CopyStyleOnlineResponse.cs index 1640c12e..b602c6e8 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/CopyStyleOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/CopyStyleOnlineResponse.cs @@ -35,7 +35,7 @@ public class CopyStyleOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a style. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/styles/{0}" REST API requests. /// The document after modification. public CopyStyleOnlineResponse(StyleResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public CopyStyleOnlineResponse(StyleResponse model, System.Collections.Generic.D } /// - /// The response model. + /// The REST response with a style. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/styles/{0}" REST API requests. /// public StyleResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/CreateOrUpdateDocumentPropertyOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/CreateOrUpdateDocumentPropertyOnlineResponse.cs index 2f35588a..33bdebae 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/CreateOrUpdateDocumentPropertyOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/CreateOrUpdateDocumentPropertyOnlineResponse.cs @@ -35,7 +35,7 @@ public class CreateOrUpdateDocumentPropertyOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a document property. This response should be returned by the service when handling: GET documentProperties/{propertyName}. /// The document after modification. public CreateOrUpdateDocumentPropertyOnlineResponse(DocumentPropertyResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public CreateOrUpdateDocumentPropertyOnlineResponse(DocumentPropertyResponse mod } /// - /// The response model. + /// The REST response with a document property. + /// This response should be returned by the service when handling: GET documentProperties/{propertyName}. /// public DocumentPropertyResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteAllParagraphTabStopsOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteAllParagraphTabStopsOnlineResponse.cs index dfb1e427..c1345de8 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteAllParagraphTabStopsOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteAllParagraphTabStopsOnlineResponse.cs @@ -35,7 +35,7 @@ public class DeleteAllParagraphTabStopsOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with an array of tab stops. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/tabstops" REST API requests. /// The document after modification. public DeleteAllParagraphTabStopsOnlineResponse(TabStopsResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public DeleteAllParagraphTabStopsOnlineResponse(TabStopsResponse model, System.C } /// - /// The response model. + /// The REST response with an array of tab stops. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/tabstops" REST API requests. /// public TabStopsResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteBorderOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteBorderOnlineResponse.cs index 7e9d234f..f54f24fb 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteBorderOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteBorderOnlineResponse.cs @@ -35,7 +35,7 @@ public class DeleteBorderOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a border. This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. /// The document after modification. public DeleteBorderOnlineResponse(BorderResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public DeleteBorderOnlineResponse(BorderResponse model, System.Collections.Gener } /// - /// The response model. + /// The REST response with a border. + /// This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. /// public BorderResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteBordersOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteBordersOnlineResponse.cs index eb7d2ea9..09dc2d0d 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteBordersOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteBordersOnlineResponse.cs @@ -35,7 +35,7 @@ public class DeleteBordersOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a collection of borders. This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. /// The document after modification. public DeleteBordersOnlineResponse(BordersResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public DeleteBordersOnlineResponse(BordersResponse model, System.Collections.Gen } /// - /// The response model. + /// The REST response with a collection of borders. + /// This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. /// public BordersResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteParagraphListFormatOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteParagraphListFormatOnlineResponse.cs index 86c17700..6a5e6c9f 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteParagraphListFormatOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteParagraphListFormatOnlineResponse.cs @@ -35,7 +35,7 @@ public class DeleteParagraphListFormatOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a list format for a paragraph. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/listFormat" REST API requests. /// The document after modification. public DeleteParagraphListFormatOnlineResponse(ParagraphListFormatResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public DeleteParagraphListFormatOnlineResponse(ParagraphListFormatResponse model } /// - /// The response model. + /// The REST response with a list format for a paragraph. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/listFormat" REST API requests. /// public ParagraphListFormatResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteParagraphTabStopOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteParagraphTabStopOnlineResponse.cs index 9aa5c649..f41f7930 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteParagraphTabStopOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteParagraphTabStopOnlineResponse.cs @@ -35,7 +35,7 @@ public class DeleteParagraphTabStopOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with an array of tab stops. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/tabstops" REST API requests. /// The document after modification. public DeleteParagraphTabStopOnlineResponse(TabStopsResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public DeleteParagraphTabStopOnlineResponse(TabStopsResponse model, System.Colle } /// - /// The response model. + /// The REST response with an array of tab stops. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/tabstops" REST API requests. /// public TabStopsResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteWatermarkOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteWatermarkOnlineResponse.cs index d4c47156..cda3b069 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteWatermarkOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/DeleteWatermarkOnlineResponse.cs @@ -35,7 +35,7 @@ public class DeleteWatermarkOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a document description. /// The document after modification. public DeleteWatermarkOnlineResponse(DocumentResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public DeleteWatermarkOnlineResponse(DocumentResponse model, System.Collections. } /// - /// The response model. + /// The REST response with a document description. /// public DocumentResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertBookmarkOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertBookmarkOnlineResponse.cs index 05791818..9999c122 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertBookmarkOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertBookmarkOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertBookmarkOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a bookmark. This response should be returned by the service when handling: GET bookmarks/{bookmarkName}. /// The document after modification. public InsertBookmarkOnlineResponse(BookmarkResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public InsertBookmarkOnlineResponse(BookmarkResponse model, System.Collections.G } /// - /// The response model. + /// The REST response with a bookmark. + /// This response should be returned by the service when handling: GET bookmarks/{bookmarkName}. /// public BookmarkResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertCommentOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertCommentOnlineResponse.cs index ab66572a..dae42271 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertCommentOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertCommentOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertCommentOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a comment. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/comments/0" REST API requests. /// The document after modification. public InsertCommentOnlineResponse(CommentResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public InsertCommentOnlineResponse(CommentResponse model, System.Collections.Gen } /// - /// The response model. + /// The REST response with a comment. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/comments/0" REST API requests. /// public CommentResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertCustomXmlPartOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertCustomXmlPartOnlineResponse.cs index d180d157..5e10874c 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertCustomXmlPartOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertCustomXmlPartOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertCustomXmlPartOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a custom xml part. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/customXmlParts/0" REST API requests. /// The document after modification. public InsertCustomXmlPartOnlineResponse(CustomXmlPartResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public InsertCustomXmlPartOnlineResponse(CustomXmlPartResponse model, System.Col } /// - /// The response model. + /// The REST response with a custom xml part. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/customXmlParts/0" REST API requests. /// public CustomXmlPartResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertDrawingObjectOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertDrawingObjectOnlineResponse.cs index 93ab439b..e8e2f363 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertDrawingObjectOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertDrawingObjectOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertDrawingObjectOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a DrawingObject. /// The document after modification. public InsertDrawingObjectOnlineResponse(DrawingObjectResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public InsertDrawingObjectOnlineResponse(DrawingObjectResponse model, System.Col } /// - /// The response model. + /// The REST response with a DrawingObject. /// public DrawingObjectResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertFieldOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertFieldOnlineResponse.cs index 83889e3f..fec32df5 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertFieldOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertFieldOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertFieldOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a field. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/fields/{1}" REST API requests. /// The document after modification. public InsertFieldOnlineResponse(FieldResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public InsertFieldOnlineResponse(FieldResponse model, System.Collections.Generic } /// - /// The response model. + /// The REST response with a field. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/fields/{1}" REST API requests. /// public FieldResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertFootnoteOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertFootnoteOnlineResponse.cs index 4606440f..6fbb433a 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertFootnoteOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertFootnoteOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertFootnoteOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a footnote. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/footnote/0" REST API requests. /// The document after modification. public InsertFootnoteOnlineResponse(FootnoteResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public InsertFootnoteOnlineResponse(FootnoteResponse model, System.Collections.G } /// - /// The response model. + /// The REST response with a footnote. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/footnote/0" REST API requests. /// public FootnoteResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertFormFieldOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertFormFieldOnlineResponse.cs index f4bf51bd..bf4bf6f6 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertFormFieldOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertFormFieldOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertFormFieldOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a form field. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/form fields/{1}" REST API requests. /// The document after modification. public InsertFormFieldOnlineResponse(FormFieldResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public InsertFormFieldOnlineResponse(FormFieldResponse model, System.Collections } /// - /// The response model. + /// The REST response with a form field. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/form fields/{1}" REST API requests. /// public FormFieldResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertHeaderFooterOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertHeaderFooterOnlineResponse.cs index 3c113433..579e46f5 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertHeaderFooterOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertHeaderFooterOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertHeaderFooterOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a HeaderFooter. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/headersfooters/{0}" REST API requests. /// The document after modification. public InsertHeaderFooterOnlineResponse(HeaderFooterResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public InsertHeaderFooterOnlineResponse(HeaderFooterResponse model, System.Colle } /// - /// The response model. + /// The REST response with a HeaderFooter. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/headersfooters/{0}" REST API requests. /// public HeaderFooterResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertListOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertListOnlineResponse.cs index 927056a7..1744510e 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertListOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertListOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertListOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a list information. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/lists/{n}" REST API requests. /// The document after modification. public InsertListOnlineResponse(ListResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public InsertListOnlineResponse(ListResponse model, System.Collections.Generic.D } /// - /// The response model. + /// The REST response with a list information. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/lists/{n}" REST API requests. /// public ListResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertOrUpdateParagraphTabStopOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertOrUpdateParagraphTabStopOnlineResponse.cs index a4bd3a88..f57a6f10 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertOrUpdateParagraphTabStopOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertOrUpdateParagraphTabStopOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertOrUpdateParagraphTabStopOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with an array of tab stops. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/tabstops" REST API requests. /// The document after modification. public InsertOrUpdateParagraphTabStopOnlineResponse(TabStopsResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public InsertOrUpdateParagraphTabStopOnlineResponse(TabStopsResponse model, Syst } /// - /// The response model. + /// The REST response with an array of tab stops. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/tabstops" REST API requests. /// public TabStopsResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertPageNumbersOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertPageNumbersOnlineResponse.cs index 157514fe..c65b01df 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertPageNumbersOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertPageNumbersOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertPageNumbersOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a document description. /// The document after modification. public InsertPageNumbersOnlineResponse(DocumentResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public InsertPageNumbersOnlineResponse(DocumentResponse model, System.Collection } /// - /// The response model. + /// The REST response with a document description. /// public DocumentResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertParagraphOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertParagraphOnlineResponse.cs index b2755fe4..c96fd453 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertParagraphOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertParagraphOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertParagraphOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a paragraph. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}" REST API requests. /// The document after modification. public InsertParagraphOnlineResponse(ParagraphResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public InsertParagraphOnlineResponse(ParagraphResponse model, System.Collections } /// - /// The response model. + /// The REST response with a paragraph. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}" REST API requests. /// public ParagraphResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertRunOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertRunOnlineResponse.cs index 2c7807f2..7fbd5c15 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertRunOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertRunOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertRunOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a Run element. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/runs/{1}" REST API requests. /// The document after modification. public InsertRunOnlineResponse(RunResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public InsertRunOnlineResponse(RunResponse model, System.Collections.Generic.Dic } /// - /// The response model. + /// The REST response with a Run element. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/runs/{1}" REST API requests. /// public RunResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertStructuredDocumentTagOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertStructuredDocumentTagOnlineResponse.cs index b14d7779..1964e608 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertStructuredDocumentTagOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertStructuredDocumentTagOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertStructuredDocumentTagOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a StructuredDocumentTag. /// The document after modification. public InsertStructuredDocumentTagOnlineResponse(StructuredDocumentTagResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public InsertStructuredDocumentTagOnlineResponse(StructuredDocumentTagResponse m } /// - /// The response model. + /// The REST response with a StructuredDocumentTag. /// public StructuredDocumentTagResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertStyleOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertStyleOnlineResponse.cs index a96d76b7..dbab5596 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertStyleOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertStyleOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertStyleOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a style. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/styles/{0}" REST API requests. /// The document after modification. public InsertStyleOnlineResponse(StyleResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public InsertStyleOnlineResponse(StyleResponse model, System.Collections.Generic } /// - /// The response model. + /// The REST response with a style. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/styles/{0}" REST API requests. /// public StyleResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertTableCellOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertTableCellOnlineResponse.cs index fe459f5f..5fb9c685 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertTableCellOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertTableCellOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertTableCellOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a table cell. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}" REST API requests. /// The document after modification. public InsertTableCellOnlineResponse(TableCellResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public InsertTableCellOnlineResponse(TableCellResponse model, System.Collections } /// - /// The response model. + /// The REST response with a table cell. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}" REST API requests. /// public TableCellResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertTableOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertTableOnlineResponse.cs index bcf7b65d..8d26eb7d 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertTableOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertTableOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertTableOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a table. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}" REST API requests. /// The document after modification. public InsertTableOnlineResponse(TableResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public InsertTableOnlineResponse(TableResponse model, System.Collections.Generic } /// - /// The response model. + /// The REST response with a table. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}" REST API requests. /// public TableResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertTableRowOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertTableRowOnlineResponse.cs index 75d07b8c..098a8762 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertTableRowOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertTableRowOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertTableRowOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a table row. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}" REST API requests. /// The document after modification. public InsertTableRowOnlineResponse(TableRowResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public InsertTableRowOnlineResponse(TableRowResponse model, System.Collections.G } /// - /// The response model. + /// The REST response with a table row. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}" REST API requests. /// public TableRowResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertWatermarkImageOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertWatermarkImageOnlineResponse.cs index 19fd1d58..c0eaa406 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertWatermarkImageOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertWatermarkImageOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertWatermarkImageOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a document description. /// The document after modification. public InsertWatermarkImageOnlineResponse(DocumentResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public InsertWatermarkImageOnlineResponse(DocumentResponse model, System.Collect } /// - /// The response model. + /// The REST response with a document description. /// public DocumentResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertWatermarkTextOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertWatermarkTextOnlineResponse.cs index 59b6bb50..8bc855fc 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/InsertWatermarkTextOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/InsertWatermarkTextOnlineResponse.cs @@ -35,7 +35,7 @@ public class InsertWatermarkTextOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a document description. /// The document after modification. public InsertWatermarkTextOnlineResponse(DocumentResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public InsertWatermarkTextOnlineResponse(DocumentResponse model, System.Collecti } /// - /// The response model. + /// The REST response with a document description. /// public DocumentResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/ProtectDocumentOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/ProtectDocumentOnlineResponse.cs index 93e7ea95..ffad1eb1 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/ProtectDocumentOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/ProtectDocumentOnlineResponse.cs @@ -35,7 +35,7 @@ public class ProtectDocumentOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with data on document's protection. /// The document after modification. public ProtectDocumentOnlineResponse(ProtectionDataResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public ProtectDocumentOnlineResponse(ProtectionDataResponse model, System.Collec } /// - /// The response model. + /// The REST response with data on document's protection. /// public ProtectionDataResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/RejectAllRevisionsOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/RejectAllRevisionsOnlineResponse.cs index f3f41820..5a733471 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/RejectAllRevisionsOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/RejectAllRevisionsOnlineResponse.cs @@ -35,7 +35,7 @@ public class RejectAllRevisionsOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a result of the modification operations for the revisions collection (now these are acceptAll and rejectAll). /// The document after modification. public RejectAllRevisionsOnlineResponse(RevisionsModificationResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public RejectAllRevisionsOnlineResponse(RevisionsModificationResponse model, Sys } /// - /// The response model. + /// The REST response with a result of the modification operations for the revisions collection (now these are acceptAll and rejectAll). /// public RevisionsModificationResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/RemoveRangeOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/RemoveRangeOnlineResponse.cs index f606a2ce..5aaaecc7 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/RemoveRangeOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/RemoveRangeOnlineResponse.cs @@ -35,7 +35,7 @@ public class RemoveRangeOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a document description. /// The document after modification. public RemoveRangeOnlineResponse(DocumentResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public RemoveRangeOnlineResponse(DocumentResponse model, System.Collections.Gene } /// - /// The response model. + /// The REST response with a document description. /// public DocumentResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/ReplaceTextOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/ReplaceTextOnlineResponse.cs index 6cc43738..cbe40cc2 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/ReplaceTextOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/ReplaceTextOnlineResponse.cs @@ -35,7 +35,7 @@ public class ReplaceTextOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a number of occurrences of the captured text in the document. /// The document after modification. public ReplaceTextOnlineResponse(ReplaceTextResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public ReplaceTextOnlineResponse(ReplaceTextResponse model, System.Collections.G } /// - /// The response model. + /// The REST response with a number of occurrences of the captured text in the document. /// public ReplaceTextResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/ReplaceWithTextOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/ReplaceWithTextOnlineResponse.cs index 917b686d..5a9dbba3 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/ReplaceWithTextOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/ReplaceWithTextOnlineResponse.cs @@ -35,7 +35,7 @@ public class ReplaceWithTextOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a document description. /// The document after modification. public ReplaceWithTextOnlineResponse(DocumentResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public ReplaceWithTextOnlineResponse(DocumentResponse model, System.Collections. } /// - /// The response model. + /// The REST response with a document description. /// public DocumentResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/SaveAsOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/SaveAsOnlineResponse.cs index 54996bdf..b3faeb1d 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/SaveAsOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/SaveAsOnlineResponse.cs @@ -35,7 +35,7 @@ public class SaveAsOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a save result. /// The document after modification. public SaveAsOnlineResponse(SaveResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public SaveAsOnlineResponse(SaveResponse model, System.Collections.Generic.Dicti } /// - /// The response model. + /// The REST response with a save result. /// public SaveResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/SaveAsRangeOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/SaveAsRangeOnlineResponse.cs index ad1015c1..baa97f47 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/SaveAsRangeOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/SaveAsRangeOnlineResponse.cs @@ -35,7 +35,7 @@ public class SaveAsRangeOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a document description. /// The document after modification. public SaveAsRangeOnlineResponse(DocumentResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public SaveAsRangeOnlineResponse(DocumentResponse model, System.Collections.Gene } /// - /// The response model. + /// The REST response with a document description. /// public DocumentResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/SaveAsTiffOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/SaveAsTiffOnlineResponse.cs index 15aa1c84..52c67f03 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/SaveAsTiffOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/SaveAsTiffOnlineResponse.cs @@ -35,7 +35,7 @@ public class SaveAsTiffOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a save result. /// The document after modification. public SaveAsTiffOnlineResponse(SaveResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public SaveAsTiffOnlineResponse(SaveResponse model, System.Collections.Generic.D } /// - /// The response model. + /// The REST response with a save result. /// public SaveResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/SplitDocumentOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/SplitDocumentOnlineResponse.cs index 9fc2f3b1..11cf3d47 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/SplitDocumentOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/SplitDocumentOnlineResponse.cs @@ -35,7 +35,7 @@ public class SplitDocumentOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a result of document splitting. This response should be returned by the service when handling: POST /{name}/split. /// The document after modification. public SplitDocumentOnlineResponse(SplitDocumentResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public SplitDocumentOnlineResponse(SplitDocumentResponse model, System.Collectio } /// - /// The response model. + /// The REST response with a result of document splitting. + /// This response should be returned by the service when handling: POST /{name}/split. /// public SplitDocumentResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UnprotectDocumentOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UnprotectDocumentOnlineResponse.cs index a0fb8577..c54da5be 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UnprotectDocumentOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UnprotectDocumentOnlineResponse.cs @@ -35,7 +35,7 @@ public class UnprotectDocumentOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with data on document's protection. /// The document after modification. public UnprotectDocumentOnlineResponse(ProtectionDataResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public UnprotectDocumentOnlineResponse(ProtectionDataResponse model, System.Coll } /// - /// The response model. + /// The REST response with data on document's protection. /// public ProtectionDataResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateBookmarkOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateBookmarkOnlineResponse.cs index 38449cda..7505a4b5 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateBookmarkOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateBookmarkOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateBookmarkOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a bookmark. This response should be returned by the service when handling: GET bookmarks/{bookmarkName}. /// The document after modification. public UpdateBookmarkOnlineResponse(BookmarkResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateBookmarkOnlineResponse(BookmarkResponse model, System.Collections.G } /// - /// The response model. + /// The REST response with a bookmark. + /// This response should be returned by the service when handling: GET bookmarks/{bookmarkName}. /// public BookmarkResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateBorderOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateBorderOnlineResponse.cs index a839f63b..1c91b447 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateBorderOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateBorderOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateBorderOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a border. This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. /// The document after modification. public UpdateBorderOnlineResponse(BorderResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateBorderOnlineResponse(BorderResponse model, System.Collections.Gener } /// - /// The response model. + /// The REST response with a border. + /// This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. /// public BorderResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateCommentOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateCommentOnlineResponse.cs index 09ed6474..7c3138a9 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateCommentOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateCommentOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateCommentOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a comment. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/comments/0" REST API requests. /// The document after modification. public UpdateCommentOnlineResponse(CommentResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateCommentOnlineResponse(CommentResponse model, System.Collections.Gen } /// - /// The response model. + /// The REST response with a comment. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/comments/0" REST API requests. /// public CommentResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateCustomXmlPartOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateCustomXmlPartOnlineResponse.cs index 304ef56a..929a38b2 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateCustomXmlPartOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateCustomXmlPartOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateCustomXmlPartOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a custom xml part. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/customXmlParts/0" REST API requests. /// The document after modification. public UpdateCustomXmlPartOnlineResponse(CustomXmlPartResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateCustomXmlPartOnlineResponse(CustomXmlPartResponse model, System.Col } /// - /// The response model. + /// The REST response with a custom xml part. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/customXmlParts/0" REST API requests. /// public CustomXmlPartResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateDrawingObjectOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateDrawingObjectOnlineResponse.cs index 6f24565d..9060536c 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateDrawingObjectOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateDrawingObjectOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateDrawingObjectOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a DrawingObject. /// The document after modification. public UpdateDrawingObjectOnlineResponse(DrawingObjectResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public UpdateDrawingObjectOnlineResponse(DrawingObjectResponse model, System.Col } /// - /// The response model. + /// The REST response with a DrawingObject. /// public DrawingObjectResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFieldOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFieldOnlineResponse.cs index e330a803..a021a2db 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFieldOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFieldOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateFieldOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a field. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/fields/{1}" REST API requests. /// The document after modification. public UpdateFieldOnlineResponse(FieldResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateFieldOnlineResponse(FieldResponse model, System.Collections.Generic } /// - /// The response model. + /// The REST response with a field. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/fields/{1}" REST API requests. /// public FieldResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFieldsOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFieldsOnlineResponse.cs index 574d76b0..48f27302 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFieldsOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFieldsOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateFieldsOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a document description. /// The document after modification. public UpdateFieldsOnlineResponse(DocumentResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public UpdateFieldsOnlineResponse(DocumentResponse model, System.Collections.Gen } /// - /// The response model. + /// The REST response with a document description. /// public DocumentResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFootnoteOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFootnoteOnlineResponse.cs index 5cba7e43..3bf2d38f 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFootnoteOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFootnoteOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateFootnoteOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a footnote. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/footnote/0" REST API requests. /// The document after modification. public UpdateFootnoteOnlineResponse(FootnoteResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateFootnoteOnlineResponse(FootnoteResponse model, System.Collections.G } /// - /// The response model. + /// The REST response with a footnote. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/footnote/0" REST API requests. /// public FootnoteResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFormFieldOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFormFieldOnlineResponse.cs index f6e3ccf3..61a51e7b 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFormFieldOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateFormFieldOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateFormFieldOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a form field. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/form fields/{1}" REST API requests. /// The document after modification. public UpdateFormFieldOnlineResponse(FormFieldResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateFormFieldOnlineResponse(FormFieldResponse model, System.Collections } /// - /// The response model. + /// The REST response with a form field. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/form fields/{1}" REST API requests. /// public FormFieldResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateListLevelOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateListLevelOnlineResponse.cs index a9e94433..9878c5bf 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateListLevelOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateListLevelOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateListLevelOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a list information. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/lists/{n}" REST API requests. /// The document after modification. public UpdateListLevelOnlineResponse(ListResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateListLevelOnlineResponse(ListResponse model, System.Collections.Gene } /// - /// The response model. + /// The REST response with a list information. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/lists/{n}" REST API requests. /// public ListResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateListOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateListOnlineResponse.cs index 717e1344..7151f88b 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateListOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateListOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateListOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a list information. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/lists/{n}" REST API requests. /// The document after modification. public UpdateListOnlineResponse(ListResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateListOnlineResponse(ListResponse model, System.Collections.Generic.D } /// - /// The response model. + /// The REST response with a list information. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/lists/{n}" REST API requests. /// public ListResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateParagraphFormatOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateParagraphFormatOnlineResponse.cs index 82828e69..61eff90d 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateParagraphFormatOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateParagraphFormatOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateParagraphFormatOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with the formatting properties of a paragraph. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/format" REST API requests. /// The document after modification. public UpdateParagraphFormatOnlineResponse(ParagraphFormatResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateParagraphFormatOnlineResponse(ParagraphFormatResponse model, System } /// - /// The response model. + /// The REST response with the formatting properties of a paragraph. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/format" REST API requests. /// public ParagraphFormatResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateParagraphListFormatOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateParagraphListFormatOnlineResponse.cs index bf2665af..aa6783a1 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateParagraphListFormatOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateParagraphListFormatOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateParagraphListFormatOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a list format for a paragraph. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/listFormat" REST API requests. /// The document after modification. public UpdateParagraphListFormatOnlineResponse(ParagraphListFormatResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateParagraphListFormatOnlineResponse(ParagraphListFormatResponse model } /// - /// The response model. + /// The REST response with a list format for a paragraph. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/listFormat" REST API requests. /// public ParagraphListFormatResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateRunFontOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateRunFontOnlineResponse.cs index c0ef3b39..f36922ec 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateRunFontOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateRunFontOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateRunFontOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a font. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/runs/{1}/font" REST API requests. /// The document after modification. public UpdateRunFontOnlineResponse(FontResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateRunFontOnlineResponse(FontResponse model, System.Collections.Generi } /// - /// The response model. + /// The REST response with a font. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/runs/{1}/font" REST API requests. /// public FontResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateRunOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateRunOnlineResponse.cs index c66f5467..7e73aa26 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateRunOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateRunOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateRunOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a Run element. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/runs/{1}" REST API requests. /// The document after modification. public UpdateRunOnlineResponse(RunResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateRunOnlineResponse(RunResponse model, System.Collections.Generic.Dic } /// - /// The response model. + /// The REST response with a Run element. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/runs/{1}" REST API requests. /// public RunResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateSectionPageSetupOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateSectionPageSetupOnlineResponse.cs index a690705e..eb4ff4a5 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateSectionPageSetupOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateSectionPageSetupOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateSectionPageSetupOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a page setup of a section. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/sections/{0}/PageSetup" REST API requests. /// The document after modification. public UpdateSectionPageSetupOnlineResponse(SectionPageSetupResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateSectionPageSetupOnlineResponse(SectionPageSetupResponse model, Syst } /// - /// The response model. + /// The REST response with a page setup of a section. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/sections/{0}/PageSetup" REST API requests. /// public SectionPageSetupResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateStructuredDocumentTagOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateStructuredDocumentTagOnlineResponse.cs index d39d76fd..de3b4970 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateStructuredDocumentTagOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateStructuredDocumentTagOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateStructuredDocumentTagOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a StructuredDocumentTag. /// The document after modification. public UpdateStructuredDocumentTagOnlineResponse(StructuredDocumentTagResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,7 @@ public UpdateStructuredDocumentTagOnlineResponse(StructuredDocumentTagResponse m } /// - /// The response model. + /// The REST response with a StructuredDocumentTag. /// public StructuredDocumentTagResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateStyleOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateStyleOnlineResponse.cs index 77e34c3c..c23e0eb4 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateStyleOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateStyleOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateStyleOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a style. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/styles/{0}" REST API requests. /// The document after modification. public UpdateStyleOnlineResponse(StyleResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateStyleOnlineResponse(StyleResponse model, System.Collections.Generic } /// - /// The response model. + /// The REST response with a style. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/styles/{0}" REST API requests. /// public StyleResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateTableCellFormatOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateTableCellFormatOnlineResponse.cs index c3fb1eec..d1557664 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateTableCellFormatOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateTableCellFormatOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateTableCellFormatOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with the formatting properties of a table cell. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}/rows/{1}/cells/{2}/cellformat" REST API requests. /// The document after modification. public UpdateTableCellFormatOnlineResponse(TableCellFormatResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateTableCellFormatOnlineResponse(TableCellFormatResponse model, System } /// - /// The response model. + /// The REST response with the formatting properties of a table cell. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}/rows/{1}/cells/{2}/cellformat" REST API requests. /// public TableCellFormatResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateTablePropertiesOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateTablePropertiesOnlineResponse.cs index 3acd8e3a..235eadb0 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateTablePropertiesOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateTablePropertiesOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateTablePropertiesOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with a table. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}/properties" REST API requests. /// The document after modification. public UpdateTablePropertiesOnlineResponse(TablePropertiesResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateTablePropertiesOnlineResponse(TablePropertiesResponse model, System } /// - /// The response model. + /// The REST response with a table. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}/properties" REST API requests. /// public TablePropertiesResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateTableRowFormatOnlineResponse.cs b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateTableRowFormatOnlineResponse.cs index 11f09e75..66bb7707 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateTableRowFormatOnlineResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Responses/UpdateTableRowFormatOnlineResponse.cs @@ -35,7 +35,7 @@ public class UpdateTableRowFormatOnlineResponse /// /// Initializes a new instance of the class. /// - /// The response model. + /// The REST response with the formatting properties of a table row. This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}/rows/{1}/rowformat" REST API requests. /// The document after modification. public UpdateTableRowFormatOnlineResponse(TableRowFormatResponse model, System.Collections.Generic.Dictionary document) { @@ -44,7 +44,8 @@ public UpdateTableRowFormatOnlineResponse(TableRowFormatResponse model, System.C } /// - /// The response model. + /// The REST response with the formatting properties of a table row. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}/rows/{1}/rowformat" REST API requests. /// public TableRowFormatResponse Model { get; private set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/RunResponse.cs b/Aspose.Words.Cloud.Sdk/Model/RunResponse.cs index c77315d1..848d4747 100644 --- a/Aspose.Words.Cloud.Sdk/Model/RunResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/RunResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a Run element. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/runs/{1}" REST API requests. /// public class RunResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/RunsResponse.cs b/Aspose.Words.Cloud.Sdk/Model/RunsResponse.cs index 65ed4602..5fe39db7 100644 --- a/Aspose.Words.Cloud.Sdk/Model/RunsResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/RunsResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of Run elements. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/{paragraphPath}/runs" REST API requests. /// public class RunsResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/SaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/SaveOptionsData.cs index 8e43593d..56908fb2 100644 --- a/Aspose.Words.Cloud.Sdk/Model/SaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/SaveOptionsData.cs @@ -40,6 +40,7 @@ public abstract class SaveOptionsData : IModel { /// /// Gets or sets the value determining how 3D effects are rendered. + /// The default value is Aspose.Words.Saving.Dml3DEffectsRenderingMode.Basic. /// [JsonConverter(typeof(StringEnumConverter))] public enum Dml3DEffectsRenderingModeEnum @@ -58,6 +59,8 @@ public enum Dml3DEffectsRenderingModeEnum /// /// Gets or sets the value determining how DrawingML effects are rendered. /// { Simplified | None | Fine }. + /// The default value is Simplified. + /// This property is used when the document is exported to fixed page formats. /// [JsonConverter(typeof(StringEnumConverter))] public enum DmlEffectsRenderingModeEnum @@ -80,6 +83,8 @@ public enum DmlEffectsRenderingModeEnum /// /// Gets or sets the option that controls how DrawingML shapes are rendered. + /// { Fallback | DrawingML }. The default value is Fallback. + /// This property is used when the document is exported to fixed page formats. /// [JsonConverter(typeof(StringEnumConverter))] public enum DmlRenderingModeEnum @@ -97,6 +102,7 @@ public enum DmlRenderingModeEnum /// /// Gets or sets the value determining how ink (InkML) objects are rendered. + /// The default value is Aspose.Words.Saving.ImlRenderingMode.InkML. /// [JsonConverter(typeof(StringEnumConverter))] public enum ImlRenderingModeEnum @@ -114,6 +120,9 @@ public enum ImlRenderingModeEnum /// /// Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false.. + /// Note, Word does not embed PostScript fonts, but can open documents with embedded fonts of this type. + /// This option only works when Aspose.Words.Fonts.FontInfoCollection.EmbedTrueTypeFonts of the Aspose.Words.DocumentBase.FontInfos property is set to true. + /// The default value is false. /// public virtual bool? AllowEmbeddingPostScriptFonts { get; set; } @@ -124,17 +133,22 @@ public enum ImlRenderingModeEnum /// /// Gets or sets the value determining how 3D effects are rendered. + /// The default value is Aspose.Words.Saving.Dml3DEffectsRenderingMode.Basic. /// public virtual Dml3DEffectsRenderingModeEnum? Dml3DEffectsRenderingMode { get; set; } /// /// Gets or sets the value determining how DrawingML effects are rendered. /// { Simplified | None | Fine }. + /// The default value is Simplified. + /// This property is used when the document is exported to fixed page formats. /// public virtual DmlEffectsRenderingModeEnum? DmlEffectsRenderingMode { get; set; } /// /// Gets or sets the option that controls how DrawingML shapes are rendered. + /// { Fallback | DrawingML }. The default value is Fallback. + /// This property is used when the document is exported to fixed page formats. /// public virtual DmlRenderingModeEnum? DmlRenderingMode { get; set; } @@ -145,6 +159,7 @@ public enum ImlRenderingModeEnum /// /// Gets or sets the value determining how ink (InkML) objects are rendered. + /// The default value is Aspose.Words.Saving.ImlRenderingMode.InkML. /// public virtual ImlRenderingModeEnum? ImlRenderingMode { get; set; } @@ -166,12 +181,14 @@ public enum ImlRenderingModeEnum /// /// Gets or sets a value indicating whether the Aspose.Words.Properties.BuiltInDocumentProperties.LastSavedTime property is updated before saving. + /// The default value is false. /// public virtual bool? UpdateLastSavedTimeProperty { get; set; } /// /// Gets or sets a value indicating whether to zip output or not. /// The default value is false. + /// When set to true, output files will be zipped. /// public virtual bool? ZipOutput { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/SearchResponse.cs b/Aspose.Words.Cloud.Sdk/Model/SearchResponse.cs index 70b9f7e7..bc582124 100644 --- a/Aspose.Words.Cloud.Sdk/Model/SearchResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/SearchResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a regular expression pattern and a collection of search results. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/search" REST API requests. /// public class SearchResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/SectionLinkCollectionResponse.cs b/Aspose.Words.Cloud.Sdk/Model/SectionLinkCollectionResponse.cs index a3346ed2..6e0694b1 100644 --- a/Aspose.Words.Cloud.Sdk/Model/SectionLinkCollectionResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/SectionLinkCollectionResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of sections. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/sections" REST API requests. /// public class SectionLinkCollectionResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/SectionPageSetupResponse.cs b/Aspose.Words.Cloud.Sdk/Model/SectionPageSetupResponse.cs index 56dc8b7c..a6e59c5d 100644 --- a/Aspose.Words.Cloud.Sdk/Model/SectionPageSetupResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/SectionPageSetupResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a page setup of a section. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/sections/{0}/PageSetup" REST API requests. /// public class SectionPageSetupResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/SectionResponse.cs b/Aspose.Words.Cloud.Sdk/Model/SectionResponse.cs index 18f0dd1e..3c34bdb3 100644 --- a/Aspose.Words.Cloud.Sdk/Model/SectionResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/SectionResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a section. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/sections/{0}" REST API requests. /// public class SectionResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/SplitDocumentResponse.cs b/Aspose.Words.Cloud.Sdk/Model/SplitDocumentResponse.cs index 24e20781..d171a8c9 100644 --- a/Aspose.Words.Cloud.Sdk/Model/SplitDocumentResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/SplitDocumentResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a result of document splitting. + /// This response should be returned by the service when handling: POST /{name}/split. /// public class SplitDocumentResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/StorageFile.cs b/Aspose.Words.Cloud.Sdk/Model/StorageFile.cs index 5931608e..08348f10 100644 --- a/Aspose.Words.Cloud.Sdk/Model/StorageFile.cs +++ b/Aspose.Words.Cloud.Sdk/Model/StorageFile.cs @@ -41,7 +41,7 @@ public class StorageFile : IModel /// /// True if it is a folder. /// - public virtual bool IsFolder { get; set; } + public virtual bool? IsFolder { get; set; } /// /// File or folder last modified DateTime. @@ -61,7 +61,7 @@ public class StorageFile : IModel /// /// File or folder size. /// - public virtual int Size { get; set; } + public virtual int? Size { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/StructuredDocumentTag.cs b/Aspose.Words.Cloud.Sdk/Model/StructuredDocumentTag.cs index fbee4b6c..ea8099d0 100644 --- a/Aspose.Words.Cloud.Sdk/Model/StructuredDocumentTag.cs +++ b/Aspose.Words.Cloud.Sdk/Model/StructuredDocumentTag.cs @@ -68,6 +68,8 @@ public enum AppearanceEnum /// /// Gets or sets format in which the date for a date SDT is stored when the SDT is bound to an XML node in the document's data store. /// Default value is Aspose.Words.Markup.SdtDateStorageFormat.DateTime. + /// Accessing this property will only work for Aspose.Words.Markup.SdtType.Date SDT type. + /// For all other SDT types exception will occur. /// [JsonConverter(typeof(StringEnumConverter))] public enum DateStorageFormatEnum @@ -95,6 +97,8 @@ public enum DateStorageFormatEnum /// /// Gets or sets the type of calendar for this SDT. Default is Aspose.Words.Markup.SdtCalendarType.Default. + /// Accessing this property will only work for Aspose.Words.Markup.SdtType.Date SDT type. + /// For all other SDT types exception will occur. /// [JsonConverter(typeof(StringEnumConverter))] public enum CalendarTypeEnum @@ -301,11 +305,15 @@ public enum SdtTypeEnum /// /// Gets or sets Aspose.Words.Markup.SdtListItemCollection associated with this SDT. + /// Accessing this property will only work for Aspose.Words.Markup.SdtType.ComboBox or Aspose.Words.Markup.SdtType.DropDownList SDT types. + /// For all other SDT types exception will occur. /// public virtual List ListItems { get; set; } /// /// Gets or sets a value indicating whether current state of the Checkbox SDT. Default value for this property. + /// Accessing this property will only work for Aspose.Words.Markup.SdtType.Checkbox SDT types. + /// For all other SDT types exception will occur. /// public virtual bool? Checked { get; set; } @@ -316,16 +324,22 @@ public enum SdtTypeEnum /// /// Gets or sets the language format for the date displayed in this SDT. + /// Accessing this property will only work for Aspose.Words.Markup.SdtType.Date SDT type. + /// For all other SDT types exception will occur. /// public virtual int? DateDisplayLocale { get; set; } /// /// Gets or sets String that represents the format in which dates are displayed. Can not be null. The dates for English (U.S.) is "mm/dd/yyyy". + /// Accessing this property will only work for Aspose.Words.Markup.SdtType.Date SDT type. + /// For all other SDT types exception will occur. /// public virtual string DateDisplayFormat { get; set; } /// /// Gets or sets the full date and time last entered into this SDT. + /// Accessing this property will only work for Aspose.Words.Markup.SdtType.Date SDT type. + /// For all other SDT types exception will occur. /// public virtual DateTime? FullDate { get; set; } @@ -337,21 +351,30 @@ public enum SdtTypeEnum /// /// Gets or sets format in which the date for a date SDT is stored when the SDT is bound to an XML node in the document's data store. /// Default value is Aspose.Words.Markup.SdtDateStorageFormat.DateTime. + /// Accessing this property will only work for Aspose.Words.Markup.SdtType.Date SDT type. + /// For all other SDT types exception will occur. /// public virtual DateStorageFormatEnum? DateStorageFormat { get; set; } /// /// Gets or sets type of building block for this SDT. Can not be null. + /// Accessing this property will only work for Aspose.Words.Markup.SdtType.BuildingBlockGallery and Aspose.Words.Markup.SdtType.DocPartObj SDT types. + /// It is read-only for SDT of the document part type. + /// For all other SDT types exception will occur. /// public virtual string BuildingBlockGallery { get; set; } /// /// Gets or sets category of building block for this SDT node. Can not be null. + /// Accessing this property will only work for Aspose.Words.Markup.SdtType.BuildingBlockGallery and Aspose.Words.Markup.SdtType.DocPartObj SDT types. + /// It is read-only for SDT of the document part type. For all other SDT types exception will occur. /// public virtual string BuildingBlockCategory { get; set; } /// /// Gets or sets a value indicating whether this SDT allows multiple lines of text. + /// Accessing this property will only work for Aspose.Words.Markup.SdtType.RichText and Aspose.Words.Markup.SdtType.PlainText SDT type. + /// For all other SDT types exception will occur. /// public virtual bool? Multiline { get; set; } @@ -367,6 +390,8 @@ public enum SdtTypeEnum /// /// Gets or sets the type of calendar for this SDT. Default is Aspose.Words.Markup.SdtCalendarType.Default. + /// Accessing this property will only work for Aspose.Words.Markup.SdtType.Date SDT type. + /// For all other SDT types exception will occur. /// public virtual CalendarTypeEnum? CalendarType { get; set; } @@ -409,18 +434,27 @@ public enum SdtTypeEnum /// /// Gets or sets a tag associated with the current SDT node. Can not be null. + /// A tag is an arbitrary string which applications can associate with SDT in order to identify it without providing a visible friendly name. /// public virtual string Tag { get; set; } /// /// Gets or sets a unique read-only persistent numerical Id for this SDT. + /// Id attribute shall follow these rules: + /// - The document shall retain SDT ids only if the whole document is cloned Aspose.Words.Document.Clone. + /// - During Aspose.Words.DocumentBase.ImportNode(Aspose.Words.Node,System.Boolean) + /// - Id shall be retained if import does not cause conflicts with other SDT Ids in the target document. + /// - If multiple SDT nodes specify the same decimal number value for the Id attribute, then the first SDT in the document shall maintain this original Id, and all subsequent + /// - SDT nodes shall have new identifiers assigned to them when the document is loaded. + /// - During standalone SDT Aspose.Words.Markup.StructuredDocumentTag.Clone(System.Boolean,Aspose.Words.INodeCloningListener) operation new unique ID will be generated for the cloned SDT node. + /// - If Id is not specified in the source document, then the SDT node shall have a new unique identifier assigned to it when the document is loaded. /// public virtual int? Id { get; set; } /// /// Gets a string that represents the XML contained within the node in the Aspose.Words.SaveFormat.FlatOpc format. /// - public virtual string WordOpenXML { get; set; } + public virtual string WordOpenXML { get; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/StructuredDocumentTagListItem.cs b/Aspose.Words.Cloud.Sdk/Model/StructuredDocumentTagListItem.cs index b02cf786..a800bbe5 100644 --- a/Aspose.Words.Cloud.Sdk/Model/StructuredDocumentTagListItem.cs +++ b/Aspose.Words.Cloud.Sdk/Model/StructuredDocumentTagListItem.cs @@ -40,11 +40,13 @@ public class StructuredDocumentTagListItem : IModel { /// /// Gets or sets the text to display in the run content in place of the Aspose.Words.Markup.SdtListItem.Value attribute contents for this list item. + /// Cannot be null and cannot be an empty string. /// public virtual string DisplayText { get; set; } /// /// Gets or sets the value of this list item. + /// Cannot be null and cannot be an empty string. /// public virtual string Value { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/StructuredDocumentTagsResponse.cs b/Aspose.Words.Cloud.Sdk/Model/StructuredDocumentTagsResponse.cs index e900e70b..bab4e9e2 100644 --- a/Aspose.Words.Cloud.Sdk/Model/StructuredDocumentTagsResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/StructuredDocumentTagsResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of StructuredDocumentTags. + /// This response should be returned by the service when handling: GET /structuredDocumentTags. /// public class StructuredDocumentTagsResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/Style.cs b/Aspose.Words.Cloud.Sdk/Model/Style.cs index 0b42cfe8..0a6847ff 100644 --- a/Aspose.Words.Cloud.Sdk/Model/Style.cs +++ b/Aspose.Words.Cloud.Sdk/Model/Style.cs @@ -67,6 +67,8 @@ public enum TypeEnum /// /// Gets or sets the locale independent style identifier for a built-in style. + /// For user defined (custom) styles, this property returns Aspose.Words.StyleIdentifier.User. + /// Aspose.Words.Style.Name. /// [JsonConverter(typeof(StringEnumConverter))] public enum StyleIdentifierEnum @@ -1964,28 +1966,31 @@ public enum StyleIdentifierEnum /// /// Gets or sets the character formatting of the style. + /// For list styles this property returns null. /// public virtual Font Font { get; set; } /// /// Gets or sets a value indicating whether this style is one of the built-in styles in MS Word. /// - public virtual bool BuiltIn { get; set; } + public virtual bool? BuiltIn { get; set; } /// /// Gets or sets the name of the style to be applied automatically to a new paragraph inserted after a paragraph formatted with the specified style. + /// This property is not used by Aspose.Words. The next paragraph style will only be applied automatically when you edit the document in MS Word. /// public virtual string NextParagraphStyleName { get; set; } /// /// Gets or sets the name of the style this style is based on. + /// This will be an empty string if the style is not based on any other style and it can be set to an empty string. /// public virtual string BaseStyleName { get; set; } /// /// Gets or sets a value indicating whether this style is shown in the Quick Style gallery inside MS Word UI. /// - public virtual bool IsQuickStyle { get; set; } + public virtual bool? IsQuickStyle { get; set; } /// /// Gets or sets the name of the Style linked to this one. Returns Empty string if no styles are linked. @@ -1995,12 +2000,12 @@ public enum StyleIdentifierEnum /// /// Gets or sets the style type (paragraph or character). /// - public virtual TypeEnum Type { get; set; } + public virtual TypeEnum? Type { get; set; } /// /// Gets or sets a value indicating whether the style is one of the built-in Heading styles. /// - public virtual bool IsHeading { get; set; } + public virtual bool? IsHeading { get; set; } /// /// Gets or sets all aliases of this style. If style has no aliases then empty array of string is returned. @@ -2009,11 +2014,14 @@ public enum StyleIdentifierEnum /// /// Gets or sets the locale independent style identifier for a built-in style. + /// For user defined (custom) styles, this property returns Aspose.Words.StyleIdentifier.User. + /// Aspose.Words.Style.Name. /// - public virtual StyleIdentifierEnum StyleIdentifier { get; set; } + public virtual StyleIdentifierEnum? StyleIdentifier { get; set; } /// /// Gets or sets the name of the style. + /// Can not be empty string. If there already is a style with such name in the collection, then this style will override it. All affected nodes will reference new style. /// public virtual string Name { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/StyleInsert.cs b/Aspose.Words.Cloud.Sdk/Model/StyleInsert.cs index fff259ad..14645f39 100644 --- a/Aspose.Words.Cloud.Sdk/Model/StyleInsert.cs +++ b/Aspose.Words.Cloud.Sdk/Model/StyleInsert.cs @@ -73,7 +73,7 @@ public enum StyleTypeEnum /// /// Gets or sets the StyleType value that specifies the type of the style to create. /// - public virtual StyleTypeEnum StyleType { get; set; } + public virtual StyleTypeEnum? StyleType { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/StyleResponse.cs b/Aspose.Words.Cloud.Sdk/Model/StyleResponse.cs index 018f898f..2fc0f345 100644 --- a/Aspose.Words.Cloud.Sdk/Model/StyleResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/StyleResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a style. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/styles/{0}" REST API requests. /// public class StyleResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/StyleUpdate.cs b/Aspose.Words.Cloud.Sdk/Model/StyleUpdate.cs index 123e8cd2..e4fe2314 100644 --- a/Aspose.Words.Cloud.Sdk/Model/StyleUpdate.cs +++ b/Aspose.Words.Cloud.Sdk/Model/StyleUpdate.cs @@ -38,8 +38,15 @@ namespace Aspose.Words.Cloud.Sdk.Model /// public class StyleUpdate : IModel { + /// + /// Gets or sets the name of the style to be applied automatically to a new paragraph inserted after a paragraph formatted with the specified style. + /// This property is not used by Aspose.Words. The next paragraph style will only be applied automatically when you edit the document in MS Word. + /// + public virtual string NextParagraphStyleName { get; set; } + /// /// Gets or sets the name of the style this style is based on. + /// This will be an empty string if the style is not based on any other style and it can be set to an empty string. /// public virtual string BaseStyleName { get; set; } @@ -50,14 +57,10 @@ public class StyleUpdate : IModel /// /// Gets or sets the name of the style. + /// Can not be empty string. If there already is a style with such name in the collection, than this style will override it. All affected nodes will reference new style. /// public virtual string Name { get; set; } - /// - /// Gets or sets the name of the style to be applied automatically to a new paragraph inserted after a paragraph formatted with the specified style. - /// - public virtual string NextParagraphStyleName { get; set; } - /// /// Get the string presentation of the object. /// @@ -66,10 +69,10 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class StyleUpdate {\n"); + sb.Append(" NextParagraphStyleName: ").Append(this.NextParagraphStyleName).Append("\n"); sb.Append(" BaseStyleName: ").Append(this.BaseStyleName).Append("\n"); sb.Append(" IsQuickStyle: ").Append(this.IsQuickStyle).Append("\n"); sb.Append(" Name: ").Append(this.Name).Append("\n"); - sb.Append(" NextParagraphStyleName: ").Append(this.NextParagraphStyleName).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/Aspose.Words.Cloud.Sdk/Model/StylesResponse.cs b/Aspose.Words.Cloud.Sdk/Model/StylesResponse.cs index edd64057..e1f17a50 100644 --- a/Aspose.Words.Cloud.Sdk/Model/StylesResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/StylesResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with an array of styles. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/styles" REST API requests. /// public class StylesResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/TabStop.cs b/Aspose.Words.Cloud.Sdk/Model/TabStop.cs index 71dfbd9c..e325a16a 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TabStop.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TabStop.cs @@ -41,7 +41,7 @@ public class TabStop : TabStopBase, IModel /// /// Gets or sets a value indicating whether this tab stop clears any existing tab stops in this position. /// - public virtual bool IsClear { get; set; } + public virtual bool? IsClear { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/TabStopBase.cs b/Aspose.Words.Cloud.Sdk/Model/TabStopBase.cs index 17369df1..357d7b51 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TabStopBase.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TabStopBase.cs @@ -120,17 +120,17 @@ public enum LeaderEnum /// /// Gets or sets the alignment of text at this tab stop. /// - public virtual AlignmentEnum Alignment { get; set; } + public virtual AlignmentEnum? Alignment { get; set; } /// /// Gets or sets the type of the leader line displayed under the tab character. /// - public virtual LeaderEnum Leader { get; set; } + public virtual LeaderEnum? Leader { get; set; } /// /// Gets or sets the position of the tab stop in points. /// - public virtual double Position { get; set; } + public virtual double? Position { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/TabStopsResponse.cs b/Aspose.Words.Cloud.Sdk/Model/TabStopsResponse.cs index 4d8a895b..12ae8b1f 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TabStopsResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TabStopsResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with an array of tab stops. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/tabstops" REST API requests. /// public class TabStopsResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/TableCellFormat.cs b/Aspose.Words.Cloud.Sdk/Model/TableCellFormat.cs index 8b83888f..dfa390df 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TableCellFormat.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TableCellFormat.cs @@ -121,6 +121,7 @@ public enum VerticalAlignmentEnum /// /// Gets or sets the option that controls how the cell is merged with other cells vertically. + /// Cells can only be merged vertically if their left and right boundaries are identical.When cells are vertically merged, the display areas of the merged cells are consolidated. The consolidated area is used to display the contents of the first vertically merged cell and all other vertically merged cells must be empty. /// [JsonConverter(typeof(StringEnumConverter))] public enum VerticalMergeEnum @@ -168,6 +169,7 @@ public enum VerticalMergeEnum /// /// Gets or sets the preferred width of the cell. + /// The preferred width (along with the table's Auto Fit option) determines how the actual width of the cell is calculated by the table layout algorithm. Table layout can be performed by Aspose.Words when it saves the document or by Microsoft Word when it displays the document.The preferred width can be specified in points or in percent. The preferred width can also be specified as "auto", which means no preferred width is specified.The default value is Auto. /// public virtual PreferredWidth PreferredWidth { get; set; } @@ -188,11 +190,13 @@ public enum VerticalMergeEnum /// /// Gets or sets the option that controls how the cell is merged with other cells vertically. + /// Cells can only be merged vertically if their left and right boundaries are identical.When cells are vertically merged, the display areas of the merged cells are consolidated. The consolidated area is used to display the contents of the first vertically merged cell and all other vertically merged cells must be empty. /// public virtual VerticalMergeEnum? VerticalMerge { get; set; } /// /// Gets or sets the width of the cell in points. + /// The width is calculated by Aspose.Words on document loading and saving. Currently, not every combination of table, cell and document properties is supported. The returned value may not be accurate for some documents. It may not exactly match the cell width as calculated by MS Word when the document is opened in MS Word.Setting this property is not recommended. There is no guarantee that the cell will actually have the set width. The width may be adjusted to accommodate cell contents in an auto-fit table layout. Cells in other rows may have conflicting width settings. The table may be resized to fit into the container or to meet table width settings. Consider using PreferredWidth for setting the cell width. Setting this property sets PreferredWidth implicitly since version 15.8. /// public virtual double? Width { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/TableCellFormatDto.cs b/Aspose.Words.Cloud.Sdk/Model/TableCellFormatDto.cs deleted file mode 100644 index 21fa4a2f..00000000 --- a/Aspose.Words.Cloud.Sdk/Model/TableCellFormatDto.cs +++ /dev/null @@ -1,53 +0,0 @@ -// -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2023 Aspose.Words for Cloud -// -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -// -// -------------------------------------------------------------------------------------------------------------------- - -namespace Aspose.Words.Cloud.Sdk.Model -{ - using System; - using System.Collections; - using System.Collections.Generic; - using System.Runtime.Serialization; - using System.Text; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - - /// - /// TableCellFormatDto. - /// - public class TableCellFormatDto : IModel - { - /// - /// Get the string presentation of the object. - /// - /// String presentation of the object. - public override string ToString() - { - var sb = new StringBuilder(); - sb.Append("class TableCellFormatDto {\n"); - sb.Append("}\n"); - return sb.ToString(); - } - } -} diff --git a/Aspose.Words.Cloud.Sdk/Model/TableCellFormatResponse.cs b/Aspose.Words.Cloud.Sdk/Model/TableCellFormatResponse.cs index d1497e32..17f9955b 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TableCellFormatResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TableCellFormatResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with the formatting properties of a table cell. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}/rows/{1}/cells/{2}/cellformat" REST API requests. /// public class TableCellFormatResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/TableCellInsertDto.cs b/Aspose.Words.Cloud.Sdk/Model/TableCellInsertDto.cs deleted file mode 100644 index 1aa7c04a..00000000 --- a/Aspose.Words.Cloud.Sdk/Model/TableCellInsertDto.cs +++ /dev/null @@ -1,59 +0,0 @@ -// -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2023 Aspose.Words for Cloud -// -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -// -// -------------------------------------------------------------------------------------------------------------------- - -namespace Aspose.Words.Cloud.Sdk.Model -{ - using System; - using System.Collections; - using System.Collections.Generic; - using System.Runtime.Serialization; - using System.Text; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - - /// - /// DTO container with a table cell. - /// - public class TableCellInsertDto : IModel - { - /// - /// Gets or sets the 0-based index, the table cell will be inserted after. - /// - public virtual int? InsertAfter { get; set; } - - /// - /// Get the string presentation of the object. - /// - /// String presentation of the object. - public override string ToString() - { - var sb = new StringBuilder(); - sb.Append("class TableCellInsertDto {\n"); - sb.Append(" InsertAfter: ").Append(this.InsertAfter).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - } -} diff --git a/Aspose.Words.Cloud.Sdk/Model/TableCellResponse.cs b/Aspose.Words.Cloud.Sdk/Model/TableCellResponse.cs index eda84987..deb1ac35 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TableCellResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TableCellResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a table cell. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}" REST API requests. /// public class TableCellResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/TableInsert.cs b/Aspose.Words.Cloud.Sdk/Model/TableInsert.cs index 3813c33f..3d0ffc5e 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TableInsert.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TableInsert.cs @@ -41,7 +41,7 @@ public class TableInsert : IModel /// /// Gets or sets the number of columns. The default value is 2. /// - public virtual int ColumnsCount { get; set; } + public virtual int? ColumnsCount { get; set; } /// /// Gets or sets the position to insert the table. The table will be inserted before the specified position. @@ -51,7 +51,7 @@ public class TableInsert : IModel /// /// Gets or sets the number of rows. The default value is 2. /// - public virtual int RowsCount { get; set; } + public virtual int? RowsCount { get; set; } /// /// Get the string presentation of the object. diff --git a/Aspose.Words.Cloud.Sdk/Model/TableInsertDto.cs b/Aspose.Words.Cloud.Sdk/Model/TableInsertDto.cs deleted file mode 100644 index 8681800f..00000000 --- a/Aspose.Words.Cloud.Sdk/Model/TableInsertDto.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2023 Aspose.Words for Cloud -// -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -// -// -------------------------------------------------------------------------------------------------------------------- - -namespace Aspose.Words.Cloud.Sdk.Model -{ - using System; - using System.Collections; - using System.Collections.Generic; - using System.Runtime.Serialization; - using System.Text; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - - /// - /// DTO container with a table element. - /// - public class TableInsertDto : IModel - { - /// - /// Gets or sets the number of columns. The default value is 2. - /// - public virtual int ColumnsCount { get; set; } - - /// - /// Gets or sets the position to insert the table. The table will be inserted before the specified position. - /// - public virtual NewDocumentPosition Position { get; set; } - - /// - /// Gets or sets the number of rows. The default value is 2. - /// - public virtual int RowsCount { get; set; } - - /// - /// Get the string presentation of the object. - /// - /// String presentation of the object. - public override string ToString() - { - var sb = new StringBuilder(); - sb.Append("class TableInsertDto {\n"); - sb.Append(" ColumnsCount: ").Append(this.ColumnsCount).Append("\n"); - sb.Append(" Position: ").Append(this.Position).Append("\n"); - sb.Append(" RowsCount: ").Append(this.RowsCount).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - } -} diff --git a/Aspose.Words.Cloud.Sdk/Model/TableLinkCollectionResponse.cs b/Aspose.Words.Cloud.Sdk/Model/TableLinkCollectionResponse.cs index fb9516e9..88c44f1f 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TableLinkCollectionResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TableLinkCollectionResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a collection of tables. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables" REST API requests. /// public class TableLinkCollectionResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/TableProperties.cs b/Aspose.Words.Cloud.Sdk/Model/TableProperties.cs index df598c0f..25632814 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TableProperties.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TableProperties.cs @@ -40,6 +40,7 @@ public class TableProperties : LinkElement, IModel { /// /// Gets or sets the option that controls how an inline table is aligned in the document. + /// The default value is Left. /// [JsonConverter(typeof(StringEnumConverter))] public enum AlignmentEnum @@ -2033,16 +2034,19 @@ public enum TextWrappingEnum /// /// Gets or sets the option that controls how an inline table is aligned in the document. + /// The default value is Left. /// public virtual AlignmentEnum? Alignment { get; set; } /// /// Gets or sets a value indicating whether to automatically resize cells in a table to fit their contents. + /// The default value is true. /// public virtual bool? AllowAutoFit { get; set; } /// /// Gets or sets a value indicating whether this is a right-to-left table. + /// When true, the cells in this row are laid out right to left.The default value is false. /// public virtual bool? Bidi { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/TablePropertiesDto.cs b/Aspose.Words.Cloud.Sdk/Model/TablePropertiesDto.cs deleted file mode 100644 index b84c4b5d..00000000 --- a/Aspose.Words.Cloud.Sdk/Model/TablePropertiesDto.cs +++ /dev/null @@ -1,53 +0,0 @@ -// -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2023 Aspose.Words for Cloud -// -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -// -// -------------------------------------------------------------------------------------------------------------------- - -namespace Aspose.Words.Cloud.Sdk.Model -{ - using System; - using System.Collections; - using System.Collections.Generic; - using System.Runtime.Serialization; - using System.Text; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - - /// - /// TablePropertiesDto. - /// - public class TablePropertiesDto : IModel - { - /// - /// Get the string presentation of the object. - /// - /// String presentation of the object. - public override string ToString() - { - var sb = new StringBuilder(); - sb.Append("class TablePropertiesDto {\n"); - sb.Append("}\n"); - return sb.ToString(); - } - } -} diff --git a/Aspose.Words.Cloud.Sdk/Model/TablePropertiesResponse.cs b/Aspose.Words.Cloud.Sdk/Model/TablePropertiesResponse.cs index bbb22dfc..bcd7e876 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TablePropertiesResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TablePropertiesResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a table. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}/properties" REST API requests. /// public class TablePropertiesResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/TableResponse.cs b/Aspose.Words.Cloud.Sdk/Model/TableResponse.cs index f4552536..591be1a4 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TableResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TableResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a table. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}" REST API requests. /// public class TableResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/TableRowFormatDto.cs b/Aspose.Words.Cloud.Sdk/Model/TableRowFormatDto.cs deleted file mode 100644 index 806766b4..00000000 --- a/Aspose.Words.Cloud.Sdk/Model/TableRowFormatDto.cs +++ /dev/null @@ -1,53 +0,0 @@ -// -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2023 Aspose.Words for Cloud -// -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -// -// -------------------------------------------------------------------------------------------------------------------- - -namespace Aspose.Words.Cloud.Sdk.Model -{ - using System; - using System.Collections; - using System.Collections.Generic; - using System.Runtime.Serialization; - using System.Text; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - - /// - /// TableRowFormatDto. - /// - public class TableRowFormatDto : IModel - { - /// - /// Get the string presentation of the object. - /// - /// String presentation of the object. - public override string ToString() - { - var sb = new StringBuilder(); - sb.Append("class TableRowFormatDto {\n"); - sb.Append("}\n"); - return sb.ToString(); - } - } -} diff --git a/Aspose.Words.Cloud.Sdk/Model/TableRowFormatResponse.cs b/Aspose.Words.Cloud.Sdk/Model/TableRowFormatResponse.cs index 229ef08e..33a47acf 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TableRowFormatResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TableRowFormatResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with the formatting properties of a table row. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}/rows/{1}/rowformat" REST API requests. /// public class TableRowFormatResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/TableRowInsert.cs b/Aspose.Words.Cloud.Sdk/Model/TableRowInsert.cs index aa8a5f43..eb9a4536 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TableRowInsert.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TableRowInsert.cs @@ -41,7 +41,7 @@ public class TableRowInsert : IModel /// /// Gets or sets the count of columns. The default value is 1. /// - public virtual int ColumnsCount { get; set; } + public virtual int? ColumnsCount { get; set; } /// /// Gets or sets table row will be inserted after row with specified 0-based index. diff --git a/Aspose.Words.Cloud.Sdk/Model/TableRowInsertDto.cs b/Aspose.Words.Cloud.Sdk/Model/TableRowInsertDto.cs deleted file mode 100644 index f71fb93c..00000000 --- a/Aspose.Words.Cloud.Sdk/Model/TableRowInsertDto.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -------------------------------------------------------------------------------------------------------------------- -// -// Copyright (c) 2023 Aspose.Words for Cloud -// -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -// -// -------------------------------------------------------------------------------------------------------------------- - -namespace Aspose.Words.Cloud.Sdk.Model -{ - using System; - using System.Collections; - using System.Collections.Generic; - using System.Runtime.Serialization; - using System.Text; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - - /// - /// DTO container with a table row element. - /// - public class TableRowInsertDto : IModel - { - /// - /// Gets or sets the count of columns. The default value is 1. - /// - public virtual int ColumnsCount { get; set; } - - /// - /// Gets or sets table row will be inserted after row with specified 0-based index. - /// - public virtual int? InsertAfter { get; set; } - - /// - /// Get the string presentation of the object. - /// - /// String presentation of the object. - public override string ToString() - { - var sb = new StringBuilder(); - sb.Append("class TableRowInsertDto {\n"); - sb.Append(" ColumnsCount: ").Append(this.ColumnsCount).Append("\n"); - sb.Append(" InsertAfter: ").Append(this.InsertAfter).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - } -} diff --git a/Aspose.Words.Cloud.Sdk/Model/TableRowResponse.cs b/Aspose.Words.Cloud.Sdk/Model/TableRowResponse.cs index 1c363a61..5cd2c75f 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TableRowResponse.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TableRowResponse.cs @@ -35,6 +35,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// The REST response with a table row. + /// This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}" REST API requests. /// public class TableRowResponse : WordsResponse, IModel { diff --git a/Aspose.Words.Cloud.Sdk/Model/TextSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/TextSaveOptionsData.cs index 817b45e8..57f3dfa8 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TextSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TextSaveOptionsData.cs @@ -48,7 +48,7 @@ public class TextSaveOptionsData : TxtSaveOptionsBaseData, IModel /// Gets or sets an integer value that specifies the maximum number of characters per one line. /// The default value is 0, that means no limit. /// - public virtual int MaxCharactersPerLine { get; set; } + public virtual int? MaxCharactersPerLine { get; set; } /// /// Gets or sets a value indicating whether the program should attempt to preserve layout of tables when saving in the plain text format. diff --git a/Aspose.Words.Cloud.Sdk/Model/TiffSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/TiffSaveOptionsData.cs index 1ff68168..12bd3af8 100644 --- a/Aspose.Words.Cloud.Sdk/Model/TiffSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/TiffSaveOptionsData.cs @@ -146,6 +146,8 @@ public override string ToString() sb.Append(" UseAntiAliasing: ").Append(this.UseAntiAliasing).Append("\n"); sb.Append(" UseHighQualityRendering: ").Append(this.UseHighQualityRendering).Append("\n"); sb.Append(" VerticalResolution: ").Append(this.VerticalResolution).Append("\n"); + sb.Append(" ImageHeight: ").Append(this.ImageHeight).Append("\n"); + sb.Append(" ImageWidth: ").Append(this.ImageWidth).Append("\n"); sb.Append(" UseGdiEmfRenderer: ").Append(this.UseGdiEmfRenderer).Append("\n"); sb.Append(" ThresholdForFloydSteinbergDithering: ").Append(this.ThresholdForFloydSteinbergDithering).Append("\n"); sb.Append(" TiffBinarizationMethod: ").Append(this.TiffBinarizationMethod).Append("\n"); diff --git a/Aspose.Words.Cloud.Sdk/Model/WatermarkText.cs b/Aspose.Words.Cloud.Sdk/Model/WatermarkText.cs index fae3cc45..0bf112fa 100644 --- a/Aspose.Words.Cloud.Sdk/Model/WatermarkText.cs +++ b/Aspose.Words.Cloud.Sdk/Model/WatermarkText.cs @@ -41,7 +41,7 @@ public class WatermarkText : IModel /// /// Gets or sets the watermark rotation angle. /// - public virtual double RotationAngle { get; set; } + public virtual double? RotationAngle { get; set; } /// /// Gets or sets the watermark text. diff --git a/Aspose.Words.Cloud.Sdk/Model/XamlFixedSaveOptionsData.cs b/Aspose.Words.Cloud.Sdk/Model/XamlFixedSaveOptionsData.cs index 10571b8d..76587d8f 100644 --- a/Aspose.Words.Cloud.Sdk/Model/XamlFixedSaveOptionsData.cs +++ b/Aspose.Words.Cloud.Sdk/Model/XamlFixedSaveOptionsData.cs @@ -41,11 +41,13 @@ public class XamlFixedSaveOptionsData : FixedPageSaveOptionsData, IModel /// /// Gets or sets the physical folder where resources (images and fonts) are saved when exporting a document to fixed page Xaml format. /// The default value is null. + /// When you save a Document in fixed page Xaml format, Aspose.Words needs to save all images embedded in the document as standalone files. ResourcesFolder allows you to specify where the images will be saved and ResourcesFolderAlias allows to specify how the image URIs will be constructed.If you save a document into a file and provide a file name, Aspose.Words, by default, saves the images in the same folder where the document file is saved. Use ResourcesFolder to override this behavior.If you save a document into a stream, Aspose.Words does not have a folder where to save the images, but still needs to save the images somewhere. In this case, you need to specify an accessible folder by using the ResourcesFolder property. /// public virtual string ResourcesFolder { get; set; } /// /// Gets or sets the name of the folder used to construct image URIs written into an fixed page Xaml document. The default value is null. + /// When you save a Document in fixed page Xaml format, Aspose.Words needs to save all images embedded in the document as standalone files. ResourcesFolder allows you to specify where the images will be saved and ResourcesFolderAlias allows to specify how the image URIs will be constructed. /// public virtual string ResourcesFolderAlias { get; set; } diff --git a/Aspose.Words.Cloud.Sdk/Model/XmlColor.cs b/Aspose.Words.Cloud.Sdk/Model/XmlColor.cs index 0c18f530..74ca6dc7 100644 --- a/Aspose.Words.Cloud.Sdk/Model/XmlColor.cs +++ b/Aspose.Words.Cloud.Sdk/Model/XmlColor.cs @@ -48,6 +48,16 @@ public class XmlColor : IModel /// public virtual string Web { get; set; } + /// + /// Gets or sets the Alpha wrapper for serialization. + /// + public virtual int? XmlAlpha { get; set; } + + /// + /// Gets a value indicating whether Alpha is specified. + /// + public virtual bool? XmlAlphaSpecified { get; } + /// /// Get the string presentation of the object. /// @@ -58,6 +68,8 @@ public override string ToString() sb.Append("class XmlColor {\n"); sb.Append(" Alpha: ").Append(this.Alpha).Append("\n"); sb.Append(" Web: ").Append(this.Web).Append("\n"); + sb.Append(" XmlAlpha: ").Append(this.XmlAlpha).Append("\n"); + sb.Append(" XmlAlphaSpecified: ").Append(this.XmlAlphaSpecified).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/Aspose.Words.Cloud.Sdk/Model/XmlDataLoadOptions.cs b/Aspose.Words.Cloud.Sdk/Model/XmlDataLoadOptions.cs index ac65d9ed..9906413b 100644 --- a/Aspose.Words.Cloud.Sdk/Model/XmlDataLoadOptions.cs +++ b/Aspose.Words.Cloud.Sdk/Model/XmlDataLoadOptions.cs @@ -36,6 +36,7 @@ namespace Aspose.Words.Cloud.Sdk.Model /// /// Represents options for XML data loading. /// To learn more, visit the LINQ Reporting Engine documentation article. + /// An instance of this class can be passed into constructors of XmlDataSource. /// public class XmlDataLoadOptions : IModel { @@ -43,8 +44,9 @@ public class XmlDataLoadOptions : IModel /// Gets or sets a flag indicating whether a generated data source will always contain an object for an XML root /// element. If an XML root element has no attributes and all its child elements have same names, such an object /// is not created by default. + /// The default value is false. /// - public virtual bool AlwaysGenerateRootObject { get; set; } + public virtual bool? AlwaysGenerateRootObject { get; set; } /// /// Get the string presentation of the object. diff --git a/JenkinsfileRelease b/JenkinsfileRelease index 1dc5f93f..a8203099 100644 --- a/JenkinsfileRelease +++ b/JenkinsfileRelease @@ -2,6 +2,10 @@ properties([ gitLabConnection('gitlab') ]) +parameters { + string(name: 'SDK_VERSION', defaultValue: '19.9.0', description: 'version of sdk') +} + def buildCacheImage = "git.auckland.dynabic.com:4567/words-cloud/api/net" node('win2019') { @@ -14,9 +18,6 @@ node('win2019') { gitlabCommitStatus("build") { stage('build'){ - env.SDK_VERSION = powershell(returnStdout: true, script:'echo ((ConvertFrom-Json -InputObject (New-Object System.Net.WebClient).DownloadString("https://api.aspose.cloud/v4.0/words/swagger/spec")).info.version | Select-String -Pattern "^\\d+\\.\\d+" ).Matches[0].Value').trim() - - withCredentials([file(credentialsId: 'pfxFile', variable: 'pfxFilePath')]) { powershell "Copy-Item $pfxFilePath -Destination .\\scripts\\aspose.pfx" } @@ -58,9 +59,6 @@ stage('wait for publish confirmation'){ node('win2019') { try { - env.SDK_VERSION = powershell(returnStdout: true, script:'echo ((ConvertFrom-Json -InputObject (New-Object System.Net.WebClient).DownloadString("https://api.aspose.cloud/v4.0/words/swagger/spec")).info.version | Select-String -Pattern "^\\d+\\.\\d+" ).Matches[0].Value').trim() - - gitlabCommitStatus("checkout") { stage('checkout'){ checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'LocalBranch', localBranch: "**"]], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '361885ba-9425-4230-950e-0af201d90547', url: 'https://git.auckland.dynabic.com/words-cloud/words-cloud-dotnet.git']]]) @@ -72,7 +70,7 @@ node('win2019') { unstash "package" withCredentials([string(credentialsId: 'nugetToken', variable: 'token')]) { - bat '.nuget\\NuGet.exe push packages\\Aspose.Words-Cloud.23.8.1.nupkg -ApiKey %token% -Timeout 610 -Source https://www.nuget.org/api/v2/package' + bat '.nuget\\NuGet.exe push packages\\Aspose.Words-Cloud.%SDK_VERSION%.nupkg -ApiKey %token% -Timeout 610 -Source https://www.nuget.org/api/v2/package' } } } @@ -98,8 +96,8 @@ node('win2019') { bat "git checkout --merge testPublishedPackage" bat "git reset --hard origin/testPublishedPackage" bat "git merge --no-ff --allow-unrelated-histories origin/master" - powershell '((Get-Content -path Aspose.Words.Cloud.Sdk.Tests/Aspose.Words.Cloud.Sdk.Tests.csproj -Raw) -replace "(Include=`"Aspose.Words-Cloud`" Version=`")(\\w+.\\w+.\\w+)(`")", ("Include=`"Aspose.Words-Cloud`" Version=`"" + $env:SDK_VERSION + ".0`"")) | Set-Content -Path Aspose.Words.Cloud.Sdk.Tests/Aspose.Words.Cloud.Sdk.Tests.csproj' - powershell '((Get-Content -path Aspose.Words.Cloud.Sdk.BddTests/Aspose.Words.Cloud.Sdk.BddTests.csproj -Raw) -replace "(Include=`"Aspose.Words-Cloud`" Version=`")(\\w+.\\w+.\\w+)(`")", ("Include=`"Aspose.Words-Cloud`" Version=`"" + $env:SDK_VERSION + ".0`"")) | Set-Content -Path Aspose.Words.Cloud.Sdk.BddTests/Aspose.Words.Cloud.Sdk.BddTests.csproj' + powershell '((Get-Content -path Aspose.Words.Cloud.Sdk.Tests/Aspose.Words.Cloud.Sdk.Tests.csproj -Raw) -replace "(Include=`"Aspose.Words-Cloud`" Version=`")(\\w+.\\w+.\\w+)(`")", ("Include=`"Aspose.Words-Cloud`" Version=`"" + $env:SDK_VERSION + "`"")) | Set-Content -Path Aspose.Words.Cloud.Sdk.Tests/Aspose.Words.Cloud.Sdk.Tests.csproj' + powershell '((Get-Content -path Aspose.Words.Cloud.Sdk.BddTests/Aspose.Words.Cloud.Sdk.BddTests.csproj -Raw) -replace "(Include=`"Aspose.Words-Cloud`" Version=`")(\\w+.\\w+.\\w+)(`")", ("Include=`"Aspose.Words-Cloud`" Version=`"" + $env:SDK_VERSION + "`"")) | Set-Content -Path Aspose.Words.Cloud.Sdk.BddTests/Aspose.Words.Cloud.Sdk.BddTests.csproj' bat "git diff --name-status" bat 'git commit -am "Merged master branch to testPublishedPackage" || exit 0' withCredentials([usernamePassword(credentialsId: '361885ba-9425-4230-950e-0af201d90547', passwordVariable: 'gitPass', usernameVariable: 'gitUsername')]) { diff --git a/scripts/build-release.bat b/scripts/build-release.bat index 101db7ee..3f1c2321 100644 --- a/scripts/build-release.bat +++ b/scripts/build-release.bat @@ -24,8 +24,8 @@ copy c:\Build\Aspose.Words.Cloud.Sdk\bin\Release\netstandard2.0\aspose_word-for- :Build nuget package copy c:\Build\Aspose.Words.Cloud.Sdk\Aspose.Words-Cloud.nuspec c:\Build\package\ || goto end copy c:\Build\License c:\Build\package\License || goto end -"c:\Build\.nuget\NuGet.exe" pack c:\Build\package\Aspose.Words-Cloud.nuspec -OutputDirectory c:\Build\packages -properties version=23.8.1 || goto end -"c:\Build\.nuget\NuGet.exe" sign c:\Build\packages\Aspose.Words-Cloud.23.8.1.nupkg -CertificatePath c:\Build\Scripts\aspose.pfx -Timestamper http://timestamp.comodoca.com/?td=sha256 -CertificatePassword f27Hp99Ds3 || goto end +"c:\Build\.nuget\NuGet.exe" pack c:\Build\package\Aspose.Words-Cloud.nuspec -OutputDirectory c:\Build\packages -properties version=%SDK_VERSION% || goto end +"c:\Build\.nuget\NuGet.exe" sign c:\Build\packages\Aspose.Words-Cloud.%SDK_VERSION%.nupkg -CertificatePath c:\Build\Scripts\aspose.pfx -Timestamper http://timestamp.comodoca.com/?td=sha256 -CertificatePassword f27Hp99Ds3 || goto end :end exit /b %ERRORLEVEL%