├── .gitattributes ├── .gitignore ├── .swagger-codegen-ignore ├── .swagger-codegen └── VERSION ├── AsposeWordsCloud.iml ├── ExamplesData └── test_doc.docx ├── Jenkinsfile ├── JenkinsfileRelease ├── LICENSE ├── README.md ├── TestData ├── Common │ ├── Aspose Logo.png │ ├── DocWithPassword.docx │ ├── aspose-cloud.png │ ├── flutter_tutorial.pdf │ ├── test_doc.docx │ └── test_multi_pages.docx ├── DocumentActions │ ├── CompareDocument │ │ ├── compareTestDoc1.doc │ │ ├── compareTestDoc1.pdf │ │ ├── compareTestDoc2.doc │ │ └── compareTestDoc2.pdf │ ├── CompressDocument │ │ └── TestCompress.docx │ ├── ConvertDocument │ │ ├── 45.pdf │ │ ├── Delivery.pdf │ │ ├── TableDocument.doc │ │ ├── Test.docx │ │ ├── TestEncodingDocument.txt │ │ ├── awesome_table_in_pdf.pdf │ │ ├── test_doc.docx │ │ └── test_uploadfile.docx │ ├── DocumentProtection │ │ └── SampleProtectedBlankWordDocument.docx │ ├── MailMerge │ │ ├── ExecuteTemplateWithoutRegions.doc │ │ ├── ExecuteTemplateWithoutRegions.json │ │ ├── SampleExecuteTemplate.docx │ │ ├── SampleExecuteTemplateData.txt │ │ ├── SampleMailMergeTemplate.docx │ │ ├── SampleMailMergeTemplateData.txt │ │ ├── TestCleanupOptionsData.xml │ │ ├── TestDataWithRemoteImages.xml │ │ ├── TestDataWithTextInHtmlFormat.xml │ │ ├── TestExecuteTemplate.doc │ │ ├── TestExecuteTemplateData.txt │ │ ├── TestExecuteTemplateTextFormat.doc │ │ ├── TestExecuteTemplateWithImages.doc │ │ ├── TestMailMergeData.xml │ │ ├── TestMailMergeWithCleanupOptions.doc │ │ ├── TestMailMergeWithImages.doc │ │ └── TestMailMergeWithOptions.docx │ ├── Reporting │ │ ├── ReportData.json │ │ └── ReportTemplate.docx │ └── Signature │ │ ├── morzal.pfx │ │ ├── signedDocument.docx │ │ └── unsignedDocument.docx ├── DocumentElements │ ├── CustomXmlParts │ │ └── MultipleCustomXmlParts.docx │ ├── DrawingObjects │ │ ├── sampleDrawingObject.txt │ │ └── sample_EmbeddedOLE.docx │ ├── Fields │ │ └── GetField.docx │ ├── Footnotes │ │ └── Footnote.doc │ ├── FormFields │ │ └── FormFilled.docx │ ├── HeaderFooters │ │ └── HeadersFooters.doc │ ├── Lists │ │ └── ListsGet.doc │ ├── MathObjects │ │ └── MathObjects.docx │ ├── ParagraphListFormat │ │ ├── ParagraphDeleteListFormat.doc │ │ ├── ParagraphGetListFormat.doc │ │ └── ParagraphUpdateListFormat.doc │ ├── Paragraphs │ │ └── ParagraphTabStops.docx │ ├── Range │ │ └── RangeGet.doc │ ├── Revisions │ │ └── TestRevisions.doc │ ├── Runs │ │ └── Run.doc │ ├── Sections │ │ └── Source.docx │ ├── StructuredDocumentTag │ │ └── StructuredDocumentTag.docx │ ├── Styles │ │ ├── GetStyles.docx │ │ └── StyleTemplate.docx │ ├── Tables │ │ └── TablesGet.docx │ └── Text │ │ └── SampleWordDocument.docx └── Reporting │ ├── ReportData.json │ └── ReportTemplate.docx ├── checkstyle.xml ├── examples ├── AcceptAllRevisions.java └── AcceptAllRevisionsOnline.java ├── pom.xml ├── src ├── main │ ├── AndroidManifest.xml │ └── java │ │ └── com │ │ └── aspose │ │ └── words │ │ └── cloud │ │ ├── ApiCallback.java │ │ ├── ApiClient.java │ │ ├── ApiException.java │ │ ├── ApiLoggingInterceptor.java │ │ ├── ApiResponse.java │ │ ├── ChildRequestContent.java │ │ ├── Configuration.java │ │ ├── EncryptorFactory.java │ │ ├── GzipRequestInterceptor.java │ │ ├── JSON.java │ │ ├── Pair.java │ │ ├── ProgressRequestBody.java │ │ ├── ProgressResponseBody.java │ │ ├── SimpleEncryptorFactory.java │ │ ├── StringUtil.java │ │ ├── api │ │ └── WordsApi.java │ │ ├── auth │ │ ├── ApiKeyAuth.java │ │ ├── Authentication.java │ │ ├── HttpBasicAuth.java │ │ ├── OAuth.java │ │ └── OAuthFlow.java │ │ └── model │ │ ├── ApiError.java │ │ ├── AvailableFontsResponse.java │ │ ├── Azw3SaveOptionsData.java │ │ ├── BaseEntry.java │ │ ├── BaseEntryList.java │ │ ├── BmpSaveOptionsData.java │ │ ├── Bookmark.java │ │ ├── BookmarkData.java │ │ ├── BookmarkInsert.java │ │ ├── BookmarkResponse.java │ │ ├── Bookmarks.java │ │ ├── BookmarksOutlineLevelData.java │ │ ├── BookmarksResponse.java │ │ ├── Border.java │ │ ├── BorderResponse.java │ │ ├── BordersCollection.java │ │ ├── BordersResponse.java │ │ ├── ClassificationResponse.java │ │ ├── ClassificationResult.java │ │ ├── Comment.java │ │ ├── CommentBase.java │ │ ├── CommentInsert.java │ │ ├── CommentLink.java │ │ ├── CommentRangeEnd.java │ │ ├── CommentRangeStart.java │ │ ├── CommentResponse.java │ │ ├── CommentUpdate.java │ │ ├── CommentsCollection.java │ │ ├── CommentsResponse.java │ │ ├── CompareData.java │ │ ├── CompareOptions.java │ │ ├── CompressOptions.java │ │ ├── CompressResponse.java │ │ ├── CsvDataLoadOptions.java │ │ ├── CustomXmlPart.java │ │ ├── CustomXmlPartInsert.java │ │ ├── CustomXmlPartLink.java │ │ ├── CustomXmlPartResponse.java │ │ ├── CustomXmlPartUpdate.java │ │ ├── CustomXmlPartsCollection.java │ │ ├── CustomXmlPartsResponse.java │ │ ├── DigitalSignatureDetails.java │ │ ├── DocSaveOptionsData.java │ │ ├── DocmSaveOptionsData.java │ │ ├── Document.java │ │ ├── DocumentEntry.java │ │ ├── DocumentEntryList.java │ │ ├── DocumentPosition.java │ │ ├── DocumentProperties.java │ │ ├── DocumentPropertiesResponse.java │ │ ├── DocumentProperty.java │ │ ├── DocumentPropertyCreateOrUpdate.java │ │ ├── DocumentPropertyResponse.java │ │ ├── DocumentResponse.java │ │ ├── DocumentStatData.java │ │ ├── DocxSaveOptionsData.java │ │ ├── DotSaveOptionsData.java │ │ ├── DotmSaveOptionsData.java │ │ ├── DotxSaveOptionsData.java │ │ ├── DownsampleOptionsData.java │ │ ├── DrawingObject.java │ │ ├── DrawingObjectCollection.java │ │ ├── DrawingObjectInsert.java │ │ ├── DrawingObjectLink.java │ │ ├── DrawingObjectResponse.java │ │ ├── DrawingObjectUpdate.java │ │ ├── DrawingObjectsResponse.java │ │ ├── EmfSaveOptionsData.java │ │ ├── EpsSaveOptionsData.java │ │ ├── EpubSaveOptionsData.java │ │ ├── Error.java │ │ ├── ErrorDetails.java │ │ ├── Field.java │ │ ├── FieldBase.java │ │ ├── FieldCollection.java │ │ ├── FieldInsert.java │ │ ├── FieldLink.java │ │ ├── FieldNames.java │ │ ├── FieldNamesResponse.java │ │ ├── FieldOptions.java │ │ ├── FieldResponse.java │ │ ├── FieldUpdate.java │ │ ├── FieldsResponse.java │ │ ├── FileLink.java │ │ ├── FileReference.java │ │ ├── FilesList.java │ │ ├── FilesUploadResult.java │ │ ├── FixedPageSaveOptionsData.java │ │ ├── FlatOpcMacroSaveOptionsData.java │ │ ├── FlatOpcSaveOptionsData.java │ │ ├── FlatOpcTemplateMacroSaveOptionsData.java │ │ ├── FlatOpcTemplateSaveOptionsData.java │ │ ├── Font.java │ │ ├── FontInfo.java │ │ ├── FontResponse.java │ │ ├── Footnote.java │ │ ├── FootnoteBase.java │ │ ├── FootnoteCollection.java │ │ ├── FootnoteInsert.java │ │ ├── FootnoteLink.java │ │ ├── FootnoteResponse.java │ │ ├── FootnoteUpdate.java │ │ ├── FootnotesResponse.java │ │ ├── FootnotesStatData.java │ │ ├── FormField.java │ │ ├── FormFieldCheckbox.java │ │ ├── FormFieldCheckboxLink.java │ │ ├── FormFieldCollection.java │ │ ├── FormFieldDropDown.java │ │ ├── FormFieldDropDownLink.java │ │ ├── FormFieldResponse.java │ │ ├── FormFieldTextInput.java │ │ ├── FormFieldTextInputLink.java │ │ ├── FormFieldsResponse.java │ │ ├── GifSaveOptionsData.java │ │ ├── HeaderFooter.java │ │ ├── HeaderFooterLink.java │ │ ├── HeaderFooterLinkCollection.java │ │ ├── HeaderFooterResponse.java │ │ ├── HeaderFootersResponse.java │ │ ├── HtmlFixedSaveOptionsData.java │ │ ├── HtmlSaveOptionsData.java │ │ ├── Hyperlink.java │ │ ├── HyperlinkResponse.java │ │ ├── Hyperlinks.java │ │ ├── HyperlinksResponse.java │ │ ├── ImageEntry.java │ │ ├── ImageEntryList.java │ │ ├── ImageSaveOptionsData.java │ │ ├── InfoAdditionalItem.java │ │ ├── InfoResponse.java │ │ ├── JpegSaveOptionsData.java │ │ ├── JsonDataLoadOptions.java │ │ ├── Link.java │ │ ├── LinkElement.java │ │ ├── ListFormat.java │ │ ├── ListFormatUpdate.java │ │ ├── ListInfo.java │ │ ├── ListInsert.java │ │ ├── ListLevel.java │ │ ├── ListLevelUpdate.java │ │ ├── ListLevels.java │ │ ├── ListResponse.java │ │ ├── ListUpdate.java │ │ ├── Lists.java │ │ ├── ListsResponse.java │ │ ├── LoadWebDocumentData.java │ │ ├── MarkdownSaveOptionsData.java │ │ ├── MetafileRenderingOptionsData.java │ │ ├── MhtmlSaveOptionsData.java │ │ ├── ModelIfc.java │ │ ├── ModificationOperationResult.java │ │ ├── NodeLink.java │ │ ├── OdtSaveOptionsData.java │ │ ├── OfficeMathLink.java │ │ ├── OfficeMathObject.java │ │ ├── OfficeMathObjectResponse.java │ │ ├── OfficeMathObjectsCollection.java │ │ ├── OfficeMathObjectsResponse.java │ │ ├── OoxmlSaveOptionsData.java │ │ ├── OpenXpsSaveOptionsData.java │ │ ├── OptimizationOptions.java │ │ ├── OttSaveOptionsData.java │ │ ├── OutlineOptionsData.java │ │ ├── PageNumber.java │ │ ├── PageSetup.java │ │ ├── PageStatData.java │ │ ├── Paragraph.java │ │ ├── ParagraphFormat.java │ │ ├── ParagraphFormatBase.java │ │ ├── ParagraphFormatResponse.java │ │ ├── ParagraphFormatUpdate.java │ │ ├── ParagraphInsert.java │ │ ├── ParagraphLink.java │ │ ├── ParagraphLinkCollection.java │ │ ├── ParagraphLinkCollectionResponse.java │ │ ├── ParagraphListFormatResponse.java │ │ ├── ParagraphResponse.java │ │ ├── PclSaveOptionsData.java │ │ ├── PdfDigitalSignatureDetailsData.java │ │ ├── PdfEncryptionDetailsData.java │ │ ├── PdfPermissions.java │ │ ├── PdfSaveOptionsData.java │ │ ├── PngSaveOptionsData.java │ │ ├── Position.java │ │ ├── PositionAfterNode.java │ │ ├── PositionBeforeNode.java │ │ ├── PositionInsideNode.java │ │ ├── PreferredWidth.java │ │ ├── ProtectionData.java │ │ ├── ProtectionDataResponse.java │ │ ├── ProtectionRequest.java │ │ ├── ProtectionRequestBase.java │ │ ├── ProtectionRequestV2.java │ │ ├── PsSaveOptionsData.java │ │ ├── PublicKeyResponse.java │ │ ├── RangeDocument.java │ │ ├── RangeTextResponse.java │ │ ├── ReplaceRange.java │ │ ├── ReplaceTextParameters.java │ │ ├── ReplaceTextResponse.java │ │ ├── ReportBuildOptions.java │ │ ├── ReportEngineSettings.java │ │ ├── Revision.java │ │ ├── RevisionCollection.java │ │ ├── RevisionsModificationResponse.java │ │ ├── RevisionsResponse.java │ │ ├── RtfSaveOptionsData.java │ │ ├── Run.java │ │ ├── RunBase.java │ │ ├── RunInsert.java │ │ ├── RunLink.java │ │ ├── RunResponse.java │ │ ├── RunUpdate.java │ │ ├── Runs.java │ │ ├── RunsResponse.java │ │ ├── SaveOptionsData.java │ │ ├── SaveResponse.java │ │ ├── SaveResult.java │ │ ├── SearchResponse.java │ │ ├── SearchResult.java │ │ ├── SearchResultsCollection.java │ │ ├── Section.java │ │ ├── SectionLink.java │ │ ├── SectionLinkCollection.java │ │ ├── SectionLinkCollectionResponse.java │ │ ├── SectionPageSetupResponse.java │ │ ├── SectionResponse.java │ │ ├── Shading.java │ │ ├── SignOptions.java │ │ ├── Signature.java │ │ ├── SignatureCollectionResponse.java │ │ ├── SplitDocumentResponse.java │ │ ├── SplitDocumentResult.java │ │ ├── StatDataResponse.java │ │ ├── StorageFile.java │ │ ├── StoryChildNodes.java │ │ ├── StructuredDocumentTag.java │ │ ├── StructuredDocumentTagBase.java │ │ ├── StructuredDocumentTagCollection.java │ │ ├── StructuredDocumentTagInsert.java │ │ ├── StructuredDocumentTagListItem.java │ │ ├── StructuredDocumentTagResponse.java │ │ ├── StructuredDocumentTagUpdate.java │ │ ├── StructuredDocumentTagsResponse.java │ │ ├── Style.java │ │ ├── StyleApply.java │ │ ├── StyleCopy.java │ │ ├── StyleInsert.java │ │ ├── StyleResponse.java │ │ ├── StyleUpdate.java │ │ ├── StylesResponse.java │ │ ├── SvgSaveOptionsData.java │ │ ├── TabStop.java │ │ ├── TabStopBase.java │ │ ├── TabStopInsert.java │ │ ├── TabStopsResponse.java │ │ ├── Table.java │ │ ├── TableCell.java │ │ ├── TableCellFormat.java │ │ ├── TableCellFormatResponse.java │ │ ├── TableCellInsert.java │ │ ├── TableCellResponse.java │ │ ├── TableInsert.java │ │ ├── TableLink.java │ │ ├── TableLinkCollection.java │ │ ├── TableLinkCollectionResponse.java │ │ ├── TableProperties.java │ │ ├── TablePropertiesResponse.java │ │ ├── TableResponse.java │ │ ├── TableRow.java │ │ ├── TableRowFormat.java │ │ ├── TableRowFormatResponse.java │ │ ├── TableRowInsert.java │ │ ├── TableRowResponse.java │ │ ├── TextSaveOptionsData.java │ │ ├── TiffSaveOptionsData.java │ │ ├── TimeZoneInfoData.java │ │ ├── TranslateNodeIdResponse.java │ │ ├── TxtSaveOptionsBaseData.java │ │ ├── UserInformation.java │ │ ├── WatermarkDataBase.java │ │ ├── WatermarkDataImage.java │ │ ├── WatermarkDataText.java │ │ ├── WatermarkText.java │ │ ├── WordMLSaveOptionsData.java │ │ ├── WordsApiErrorResponse.java │ │ ├── WordsApiLink.java │ │ ├── WordsResponse.java │ │ ├── XamlFixedSaveOptionsData.java │ │ ├── XamlFlowPackSaveOptionsData.java │ │ ├── XamlFlowSaveOptionsData.java │ │ ├── XmlColor.java │ │ ├── XmlDataLoadOptions.java │ │ ├── XpsSaveOptionsData.java │ │ ├── requests │ │ ├── AcceptAllRevisionsOnlineRequest.java │ │ ├── AcceptAllRevisionsRequest.java │ │ ├── AppendDocumentOnlineRequest.java │ │ ├── AppendDocumentRequest.java │ │ ├── ApplyStyleToDocumentElementOnlineRequest.java │ │ ├── ApplyStyleToDocumentElementRequest.java │ │ ├── BatchPartRequest.java │ │ ├── BuildReportOnlineRequest.java │ │ ├── BuildReportRequest.java │ │ ├── ClassifyDocumentOnlineRequest.java │ │ ├── ClassifyDocumentRequest.java │ │ ├── ClassifyRequest.java │ │ ├── CompareDocumentOnlineRequest.java │ │ ├── CompareDocumentRequest.java │ │ ├── CompressDocumentOnlineRequest.java │ │ ├── CompressDocumentRequest.java │ │ ├── ConvertDocumentRequest.java │ │ ├── CopyFileRequest.java │ │ ├── CopyFolderRequest.java │ │ ├── CopyStyleOnlineRequest.java │ │ ├── CopyStyleRequest.java │ │ ├── CopyStylesFromTemplateRequest.java │ │ ├── CreateDocumentRequest.java │ │ ├── CreateFolderRequest.java │ │ ├── CreateOrUpdateDocumentPropertyOnlineRequest.java │ │ ├── CreateOrUpdateDocumentPropertyRequest.java │ │ ├── DeleteAllParagraphTabStopsOnlineRequest.java │ │ ├── DeleteAllParagraphTabStopsRequest.java │ │ ├── DeleteBookmarkOnlineRequest.java │ │ ├── DeleteBookmarkRequest.java │ │ ├── DeleteBookmarksOnlineRequest.java │ │ ├── DeleteBookmarksRequest.java │ │ ├── DeleteBorderOnlineRequest.java │ │ ├── DeleteBorderRequest.java │ │ ├── DeleteBordersOnlineRequest.java │ │ ├── DeleteBordersRequest.java │ │ ├── DeleteCommentOnlineRequest.java │ │ ├── DeleteCommentRequest.java │ │ ├── DeleteCommentsOnlineRequest.java │ │ ├── DeleteCommentsRequest.java │ │ ├── DeleteCustomXmlPartOnlineRequest.java │ │ ├── DeleteCustomXmlPartRequest.java │ │ ├── DeleteCustomXmlPartsOnlineRequest.java │ │ ├── DeleteCustomXmlPartsRequest.java │ │ ├── DeleteDocumentPropertyOnlineRequest.java │ │ ├── DeleteDocumentPropertyRequest.java │ │ ├── DeleteDrawingObjectOnlineRequest.java │ │ ├── DeleteDrawingObjectRequest.java │ │ ├── DeleteFieldOnlineRequest.java │ │ ├── DeleteFieldRequest.java │ │ ├── DeleteFieldsOnlineRequest.java │ │ ├── DeleteFieldsRequest.java │ │ ├── DeleteFileRequest.java │ │ ├── DeleteFolderRequest.java │ │ ├── DeleteFootnoteOnlineRequest.java │ │ ├── DeleteFootnoteRequest.java │ │ ├── DeleteFormFieldOnlineRequest.java │ │ ├── DeleteFormFieldRequest.java │ │ ├── DeleteHeaderFooterOnlineRequest.java │ │ ├── DeleteHeaderFooterRequest.java │ │ ├── DeleteHeadersFootersOnlineRequest.java │ │ ├── DeleteHeadersFootersRequest.java │ │ ├── DeleteMacrosOnlineRequest.java │ │ ├── DeleteMacrosRequest.java │ │ ├── DeleteOfficeMathObjectOnlineRequest.java │ │ ├── DeleteOfficeMathObjectRequest.java │ │ ├── DeleteOfficeMathObjectsOnlineRequest.java │ │ ├── DeleteOfficeMathObjectsRequest.java │ │ ├── DeleteParagraphListFormatOnlineRequest.java │ │ ├── DeleteParagraphListFormatRequest.java │ │ ├── DeleteParagraphOnlineRequest.java │ │ ├── DeleteParagraphRequest.java │ │ ├── DeleteParagraphTabStopOnlineRequest.java │ │ ├── DeleteParagraphTabStopRequest.java │ │ ├── DeleteRunOnlineRequest.java │ │ ├── DeleteRunRequest.java │ │ ├── DeleteSectionOnlineRequest.java │ │ ├── DeleteSectionRequest.java │ │ ├── DeleteStructuredDocumentTagOnlineRequest.java │ │ ├── DeleteStructuredDocumentTagRequest.java │ │ ├── DeleteTableCellOnlineRequest.java │ │ ├── DeleteTableCellRequest.java │ │ ├── DeleteTableOnlineRequest.java │ │ ├── DeleteTableRequest.java │ │ ├── DeleteTableRowOnlineRequest.java │ │ ├── DeleteTableRowRequest.java │ │ ├── DeleteWatermarkOnlineRequest.java │ │ ├── DeleteWatermarkRequest.java │ │ ├── DownloadFileRequest.java │ │ ├── ExecuteMailMergeOnlineRequest.java │ │ ├── ExecuteMailMergeRequest.java │ │ ├── GetAllRevisionsOnlineRequest.java │ │ ├── GetAllRevisionsRequest.java │ │ ├── GetAvailableFontsRequest.java │ │ ├── GetBookmarkByNameOnlineRequest.java │ │ ├── GetBookmarkByNameRequest.java │ │ ├── GetBookmarksOnlineRequest.java │ │ ├── GetBookmarksRequest.java │ │ ├── GetBorderOnlineRequest.java │ │ ├── GetBorderRequest.java │ │ ├── GetBordersOnlineRequest.java │ │ ├── GetBordersRequest.java │ │ ├── GetCommentOnlineRequest.java │ │ ├── GetCommentRequest.java │ │ ├── GetCommentsOnlineRequest.java │ │ ├── GetCommentsRequest.java │ │ ├── GetCustomXmlPartOnlineRequest.java │ │ ├── GetCustomXmlPartRequest.java │ │ ├── GetCustomXmlPartsOnlineRequest.java │ │ ├── GetCustomXmlPartsRequest.java │ │ ├── GetDocumentDrawingObjectByIndexOnlineRequest.java │ │ ├── GetDocumentDrawingObjectByIndexRequest.java │ │ ├── GetDocumentDrawingObjectImageDataOnlineRequest.java │ │ ├── GetDocumentDrawingObjectImageDataRequest.java │ │ ├── GetDocumentDrawingObjectOleDataOnlineRequest.java │ │ ├── GetDocumentDrawingObjectOleDataRequest.java │ │ ├── GetDocumentDrawingObjectsOnlineRequest.java │ │ ├── GetDocumentDrawingObjectsRequest.java │ │ ├── GetDocumentFieldNamesOnlineRequest.java │ │ ├── GetDocumentFieldNamesRequest.java │ │ ├── GetDocumentHyperlinkByIndexOnlineRequest.java │ │ ├── GetDocumentHyperlinkByIndexRequest.java │ │ ├── GetDocumentHyperlinksOnlineRequest.java │ │ ├── GetDocumentHyperlinksRequest.java │ │ ├── GetDocumentPropertiesOnlineRequest.java │ │ ├── GetDocumentPropertiesRequest.java │ │ ├── GetDocumentPropertyOnlineRequest.java │ │ ├── GetDocumentPropertyRequest.java │ │ ├── GetDocumentProtectionOnlineRequest.java │ │ ├── GetDocumentProtectionRequest.java │ │ ├── GetDocumentRequest.java │ │ ├── GetDocumentStatisticsOnlineRequest.java │ │ ├── GetDocumentStatisticsRequest.java │ │ ├── GetDocumentWithFormatRequest.java │ │ ├── GetFieldOnlineRequest.java │ │ ├── GetFieldRequest.java │ │ ├── GetFieldsOnlineRequest.java │ │ ├── GetFieldsRequest.java │ │ ├── GetFilesListRequest.java │ │ ├── GetFootnoteOnlineRequest.java │ │ ├── GetFootnoteRequest.java │ │ ├── GetFootnotesOnlineRequest.java │ │ ├── GetFootnotesRequest.java │ │ ├── GetFormFieldOnlineRequest.java │ │ ├── GetFormFieldRequest.java │ │ ├── GetFormFieldsOnlineRequest.java │ │ ├── GetFormFieldsRequest.java │ │ ├── GetHeaderFooterOfSectionOnlineRequest.java │ │ ├── GetHeaderFooterOfSectionRequest.java │ │ ├── GetHeaderFooterOnlineRequest.java │ │ ├── GetHeaderFooterRequest.java │ │ ├── GetHeaderFootersOnlineRequest.java │ │ ├── GetHeaderFootersRequest.java │ │ ├── GetInfoRequest.java │ │ ├── GetListOnlineRequest.java │ │ ├── GetListRequest.java │ │ ├── GetListsOnlineRequest.java │ │ ├── GetListsRequest.java │ │ ├── GetOfficeMathObjectOnlineRequest.java │ │ ├── GetOfficeMathObjectRequest.java │ │ ├── GetOfficeMathObjectsOnlineRequest.java │ │ ├── GetOfficeMathObjectsRequest.java │ │ ├── GetParagraphFormatOnlineRequest.java │ │ ├── GetParagraphFormatRequest.java │ │ ├── GetParagraphListFormatOnlineRequest.java │ │ ├── GetParagraphListFormatRequest.java │ │ ├── GetParagraphOnlineRequest.java │ │ ├── GetParagraphRequest.java │ │ ├── GetParagraphTabStopsOnlineRequest.java │ │ ├── GetParagraphTabStopsRequest.java │ │ ├── GetParagraphsOnlineRequest.java │ │ ├── GetParagraphsRequest.java │ │ ├── GetPublicKeyRequest.java │ │ ├── GetRangeTextOnlineRequest.java │ │ ├── GetRangeTextRequest.java │ │ ├── GetRunFontOnlineRequest.java │ │ ├── GetRunFontRequest.java │ │ ├── GetRunOnlineRequest.java │ │ ├── GetRunRequest.java │ │ ├── GetRunsOnlineRequest.java │ │ ├── GetRunsRequest.java │ │ ├── GetSectionOnlineRequest.java │ │ ├── GetSectionPageSetupOnlineRequest.java │ │ ├── GetSectionPageSetupRequest.java │ │ ├── GetSectionRequest.java │ │ ├── GetSectionsOnlineRequest.java │ │ ├── GetSectionsRequest.java │ │ ├── GetSignaturesOnlineRequest.java │ │ ├── GetSignaturesRequest.java │ │ ├── GetStructuredDocumentTagOnlineRequest.java │ │ ├── GetStructuredDocumentTagRequest.java │ │ ├── GetStructuredDocumentTagsOnlineRequest.java │ │ ├── GetStructuredDocumentTagsRequest.java │ │ ├── GetStyleFromDocumentElementOnlineRequest.java │ │ ├── GetStyleFromDocumentElementRequest.java │ │ ├── GetStyleOnlineRequest.java │ │ ├── GetStyleRequest.java │ │ ├── GetStylesOnlineRequest.java │ │ ├── GetStylesRequest.java │ │ ├── GetTableCellFormatOnlineRequest.java │ │ ├── GetTableCellFormatRequest.java │ │ ├── GetTableCellOnlineRequest.java │ │ ├── GetTableCellRequest.java │ │ ├── GetTableOnlineRequest.java │ │ ├── GetTablePropertiesOnlineRequest.java │ │ ├── GetTablePropertiesRequest.java │ │ ├── GetTableRequest.java │ │ ├── GetTableRowFormatOnlineRequest.java │ │ ├── GetTableRowFormatRequest.java │ │ ├── GetTableRowOnlineRequest.java │ │ ├── GetTableRowRequest.java │ │ ├── GetTablesOnlineRequest.java │ │ ├── GetTablesRequest.java │ │ ├── InsertBookmarkOnlineRequest.java │ │ ├── InsertBookmarkRequest.java │ │ ├── InsertCommentOnlineRequest.java │ │ ├── InsertCommentRequest.java │ │ ├── InsertCustomXmlPartOnlineRequest.java │ │ ├── InsertCustomXmlPartRequest.java │ │ ├── InsertDrawingObjectOnlineRequest.java │ │ ├── InsertDrawingObjectRequest.java │ │ ├── InsertFieldOnlineRequest.java │ │ ├── InsertFieldRequest.java │ │ ├── InsertFootnoteOnlineRequest.java │ │ ├── InsertFootnoteRequest.java │ │ ├── InsertFormFieldOnlineRequest.java │ │ ├── InsertFormFieldRequest.java │ │ ├── InsertHeaderFooterOnlineRequest.java │ │ ├── InsertHeaderFooterRequest.java │ │ ├── InsertListOnlineRequest.java │ │ ├── InsertListRequest.java │ │ ├── InsertOrUpdateParagraphTabStopOnlineRequest.java │ │ ├── InsertOrUpdateParagraphTabStopRequest.java │ │ ├── InsertPageNumbersOnlineRequest.java │ │ ├── InsertPageNumbersRequest.java │ │ ├── InsertParagraphOnlineRequest.java │ │ ├── InsertParagraphRequest.java │ │ ├── InsertRunOnlineRequest.java │ │ ├── InsertRunRequest.java │ │ ├── InsertSectionOnlineRequest.java │ │ ├── InsertSectionRequest.java │ │ ├── InsertStructuredDocumentTagOnlineRequest.java │ │ ├── InsertStructuredDocumentTagRequest.java │ │ ├── InsertStyleOnlineRequest.java │ │ ├── InsertStyleRequest.java │ │ ├── InsertTableCellOnlineRequest.java │ │ ├── InsertTableCellRequest.java │ │ ├── InsertTableOnlineRequest.java │ │ ├── InsertTableRequest.java │ │ ├── InsertTableRowOnlineRequest.java │ │ ├── InsertTableRowRequest.java │ │ ├── InsertWatermarkImageOnlineRequest.java │ │ ├── InsertWatermarkImageRequest.java │ │ ├── InsertWatermarkOnlineRequest.java │ │ ├── InsertWatermarkRequest.java │ │ ├── InsertWatermarkTextOnlineRequest.java │ │ ├── InsertWatermarkTextRequest.java │ │ ├── LinkHeaderFootersToPreviousRequest.java │ │ ├── LoadWebDocumentRequest.java │ │ ├── MergeWithNextOnlineRequest.java │ │ ├── MergeWithNextRequest.java │ │ ├── MoveFileRequest.java │ │ ├── MoveFolderRequest.java │ │ ├── OptimizeDocumentOnlineRequest.java │ │ ├── OptimizeDocumentRequest.java │ │ ├── ProtectDocumentOnlineRequest.java │ │ ├── ProtectDocumentRequest.java │ │ ├── RejectAllRevisionsOnlineRequest.java │ │ ├── RejectAllRevisionsRequest.java │ │ ├── RemoveAllSignaturesOnlineRequest.java │ │ ├── RemoveAllSignaturesRequest.java │ │ ├── RemoveRangeOnlineRequest.java │ │ ├── RemoveRangeRequest.java │ │ ├── RenderDrawingObjectOnlineRequest.java │ │ ├── RenderDrawingObjectRequest.java │ │ ├── RenderMathObjectOnlineRequest.java │ │ ├── RenderMathObjectRequest.java │ │ ├── RenderPageOnlineRequest.java │ │ ├── RenderPageRequest.java │ │ ├── RenderParagraphOnlineRequest.java │ │ ├── RenderParagraphRequest.java │ │ ├── RenderTableOnlineRequest.java │ │ ├── RenderTableRequest.java │ │ ├── ReplaceTextOnlineRequest.java │ │ ├── ReplaceTextRequest.java │ │ ├── ReplaceWithTextOnlineRequest.java │ │ ├── ReplaceWithTextRequest.java │ │ ├── RequestIfc.java │ │ ├── ResetCacheRequest.java │ │ ├── SaveAsOnlineRequest.java │ │ ├── SaveAsRangeOnlineRequest.java │ │ ├── SaveAsRangeRequest.java │ │ ├── SaveAsRequest.java │ │ ├── SaveAsTiffOnlineRequest.java │ │ ├── SaveAsTiffRequest.java │ │ ├── SearchOnlineRequest.java │ │ ├── SearchRequest.java │ │ ├── SignDocumentOnlineRequest.java │ │ ├── SignDocumentRequest.java │ │ ├── SplitDocumentOnlineRequest.java │ │ ├── SplitDocumentRequest.java │ │ ├── TranslateNodeIdOnlineRequest.java │ │ ├── TranslateNodeIdRequest.java │ │ ├── UnprotectDocumentOnlineRequest.java │ │ ├── UnprotectDocumentRequest.java │ │ ├── UpdateBookmarkOnlineRequest.java │ │ ├── UpdateBookmarkRequest.java │ │ ├── UpdateBorderOnlineRequest.java │ │ ├── UpdateBorderRequest.java │ │ ├── UpdateCommentOnlineRequest.java │ │ ├── UpdateCommentRequest.java │ │ ├── UpdateCustomXmlPartOnlineRequest.java │ │ ├── UpdateCustomXmlPartRequest.java │ │ ├── UpdateDrawingObjectOnlineRequest.java │ │ ├── UpdateDrawingObjectRequest.java │ │ ├── UpdateFieldOnlineRequest.java │ │ ├── UpdateFieldRequest.java │ │ ├── UpdateFieldsOnlineRequest.java │ │ ├── UpdateFieldsRequest.java │ │ ├── UpdateFootnoteOnlineRequest.java │ │ ├── UpdateFootnoteRequest.java │ │ ├── UpdateFormFieldOnlineRequest.java │ │ ├── UpdateFormFieldRequest.java │ │ ├── UpdateListLevelOnlineRequest.java │ │ ├── UpdateListLevelRequest.java │ │ ├── UpdateListOnlineRequest.java │ │ ├── UpdateListRequest.java │ │ ├── UpdateParagraphFormatOnlineRequest.java │ │ ├── UpdateParagraphFormatRequest.java │ │ ├── UpdateParagraphListFormatOnlineRequest.java │ │ ├── UpdateParagraphListFormatRequest.java │ │ ├── UpdateRunFontOnlineRequest.java │ │ ├── UpdateRunFontRequest.java │ │ ├── UpdateRunOnlineRequest.java │ │ ├── UpdateRunRequest.java │ │ ├── UpdateSectionPageSetupOnlineRequest.java │ │ ├── UpdateSectionPageSetupRequest.java │ │ ├── UpdateStructuredDocumentTagOnlineRequest.java │ │ ├── UpdateStructuredDocumentTagRequest.java │ │ ├── UpdateStyleOnlineRequest.java │ │ ├── UpdateStyleRequest.java │ │ ├── UpdateTableCellFormatOnlineRequest.java │ │ ├── UpdateTableCellFormatRequest.java │ │ ├── UpdateTablePropertiesOnlineRequest.java │ │ ├── UpdateTablePropertiesRequest.java │ │ ├── UpdateTableRowFormatOnlineRequest.java │ │ ├── UpdateTableRowFormatRequest.java │ │ └── UploadFileRequest.java │ │ └── responses │ │ ├── AcceptAllRevisionsOnlineResponse.java │ │ ├── AppendDocumentOnlineResponse.java │ │ ├── ApplyStyleToDocumentElementOnlineResponse.java │ │ ├── CompareDocumentOnlineResponse.java │ │ ├── CompressDocumentOnlineResponse.java │ │ ├── CopyStyleOnlineResponse.java │ │ ├── CreateOrUpdateDocumentPropertyOnlineResponse.java │ │ ├── DeleteAllParagraphTabStopsOnlineResponse.java │ │ ├── DeleteBorderOnlineResponse.java │ │ ├── DeleteBordersOnlineResponse.java │ │ ├── DeleteParagraphListFormatOnlineResponse.java │ │ ├── DeleteParagraphTabStopOnlineResponse.java │ │ ├── DeleteWatermarkOnlineResponse.java │ │ ├── IMultipartResponse.java │ │ ├── InsertBookmarkOnlineResponse.java │ │ ├── InsertCommentOnlineResponse.java │ │ ├── InsertCustomXmlPartOnlineResponse.java │ │ ├── InsertDrawingObjectOnlineResponse.java │ │ ├── InsertFieldOnlineResponse.java │ │ ├── InsertFootnoteOnlineResponse.java │ │ ├── InsertFormFieldOnlineResponse.java │ │ ├── InsertHeaderFooterOnlineResponse.java │ │ ├── InsertListOnlineResponse.java │ │ ├── InsertOrUpdateParagraphTabStopOnlineResponse.java │ │ ├── InsertPageNumbersOnlineResponse.java │ │ ├── InsertParagraphOnlineResponse.java │ │ ├── InsertRunOnlineResponse.java │ │ ├── InsertStructuredDocumentTagOnlineResponse.java │ │ ├── InsertStyleOnlineResponse.java │ │ ├── InsertTableCellOnlineResponse.java │ │ ├── InsertTableOnlineResponse.java │ │ ├── InsertTableRowOnlineResponse.java │ │ ├── InsertWatermarkImageOnlineResponse.java │ │ ├── InsertWatermarkOnlineResponse.java │ │ ├── InsertWatermarkTextOnlineResponse.java │ │ ├── ProtectDocumentOnlineResponse.java │ │ ├── RejectAllRevisionsOnlineResponse.java │ │ ├── RemoveAllSignaturesOnlineResponse.java │ │ ├── RemoveRangeOnlineResponse.java │ │ ├── ReplaceTextOnlineResponse.java │ │ ├── ReplaceWithTextOnlineResponse.java │ │ ├── SaveAsOnlineResponse.java │ │ ├── SaveAsRangeOnlineResponse.java │ │ ├── SaveAsTiffOnlineResponse.java │ │ ├── SignDocumentOnlineResponse.java │ │ ├── SplitDocumentOnlineResponse.java │ │ ├── UnprotectDocumentOnlineResponse.java │ │ ├── UpdateBookmarkOnlineResponse.java │ │ ├── UpdateBorderOnlineResponse.java │ │ ├── UpdateCommentOnlineResponse.java │ │ ├── UpdateCustomXmlPartOnlineResponse.java │ │ ├── UpdateDrawingObjectOnlineResponse.java │ │ ├── UpdateFieldOnlineResponse.java │ │ ├── UpdateFieldsOnlineResponse.java │ │ ├── UpdateFootnoteOnlineResponse.java │ │ ├── UpdateFormFieldOnlineResponse.java │ │ ├── UpdateListLevelOnlineResponse.java │ │ ├── UpdateListOnlineResponse.java │ │ ├── UpdateParagraphFormatOnlineResponse.java │ │ ├── UpdateParagraphListFormatOnlineResponse.java │ │ ├── UpdateRunFontOnlineResponse.java │ │ ├── UpdateRunOnlineResponse.java │ │ ├── UpdateSectionPageSetupOnlineResponse.java │ │ ├── UpdateStructuredDocumentTagOnlineResponse.java │ │ ├── UpdateStyleOnlineResponse.java │ │ ├── UpdateTableCellFormatOnlineResponse.java │ │ ├── UpdateTablePropertiesOnlineResponse.java │ │ └── UpdateTableRowFormatOnlineResponse.java └── test │ └── java │ └── com │ └── aspose │ └── words │ └── cloud │ ├── PathUtil.java │ ├── TestBatch.java │ ├── TestExamples.java │ ├── TestInitializer.java │ ├── TestReadme.java │ ├── TestUrlEncode.java │ └── api │ ├── bookmark │ └── TestBookmark.java │ ├── compatibility │ └── TestCompatibility.java │ ├── document │ ├── TestAppendDocument.java │ ├── TestClassification.java │ ├── TestComment.java │ ├── TestCompareDocument.java │ ├── TestCompressDocument.java │ ├── TestConvertDocument.java │ ├── TestCustomXmlParts.java │ ├── TestDocument.java │ ├── TestDocumentStatistics.java │ ├── TestDocumentWithFormat.java │ ├── TestLoadWebDocument.java │ ├── TestPasswordEncryption.java │ ├── TestRevisions.java │ ├── TestSignature.java │ └── TestSplitDocumentToFormat.java │ ├── documentProperties │ └── TestDocumentProperties.java │ ├── documentProtection │ └── TestDocumentProtection.java │ ├── drawing │ └── TestDrawingObjects.java │ ├── field │ ├── TestField.java │ └── TestFormField.java │ ├── font │ └── TestFont.java │ ├── footnote │ └── TestFootnote.java │ ├── headerFooter │ └── TestHeaderFooter.java │ ├── hyperlink │ └── TestHyperlink.java │ ├── info │ └── TestInfo.java │ ├── lists │ └── TestLists.java │ ├── macros │ └── TestMacros.java │ ├── mailMerge │ ├── TestExecuteMailMerge.java │ ├── TestExecuteTemplate.java │ ├── TestExecuteTemplateWithFieldOptions.java │ └── TestMailMergeFileds.java │ ├── mathObject │ └── TestMathObject.java │ ├── pageSetup │ └── TestPageSetup.java │ ├── paragraph │ └── TestParagraph.java │ ├── range │ └── TestRange.java │ ├── report │ └── TestBuildReport.java │ ├── run │ └── TestRun.java │ ├── sections │ └── TestSection.java │ ├── storage │ ├── TestFile.java │ └── TestFolder.java │ ├── structuredDocumentTag │ └── TestStructuredDocumentTag.java │ ├── styles │ └── TestStyles.java │ ├── table │ ├── TestTable.java │ └── TestTableBorder.java │ ├── text │ └── TestText.java │ └── watermark │ └── TestWatermark.java └── wordsSettings.xml /.gitattributes: -------------------------------------------------------------------------------- 1 | # default behavior 2 | * text=auto 3 | 4 | # code files 5 | *.java text eol=lf 6 | 7 | # test files 8 | *.xml text eol=lf 9 | *.json text eol=lf 10 | 11 | # scripts 12 | *.bat text eol=crlf 13 | *.ps1 text eol=crlf 14 | *.sh text eol=lf 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Mobile Tools for Java (J2ME) 4 | .mtj.tmp/ 5 | 6 | # Package Files # 7 | *.jar 8 | *.war 9 | *.ear 10 | 11 | # exclude jar for gradle wrapper 12 | !gradle/wrapper/*.jar 13 | 14 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 15 | hs_err_pid* 16 | .settings/* 17 | 18 | # build files 19 | **/target 20 | target 21 | .gradle 22 | build 23 | .idea/ 24 | Settings/servercreds.json 25 | .classpath 26 | .project 27 | /aspose-words-cloud.iml 28 | /out.tmp 29 | 30 | # VS Code 31 | .vs/* 32 | .vscode 33 | -------------------------------------------------------------------------------- /.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /.swagger-codegen/VERSION: -------------------------------------------------------------------------------- 1 | 2.3.1 -------------------------------------------------------------------------------- /AsposeWordsCloud.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /ExamplesData/test_doc.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/ExamplesData/test_doc.docx -------------------------------------------------------------------------------- /Jenkinsfile: -------------------------------------------------------------------------------- 1 | properties([ 2 | gitLabConnection('gitlab'), 3 | [$class: 'ParametersDefinitionProperty', 4 | parameterDefinitions: [ 5 | [$class: 'StringParameterDefinition', name: 'branch', defaultValue: 'master', description: 'the branch to build'], 6 | [$class: 'StringParameterDefinition', name: 'apiUrl', defaultValue: 'https://api-qa.aspose.cloud', description: 'api url'], 7 | [$class: 'BooleanParameterDefinition', name: 'debugMode', defaultValue: 'false', description: 'debug mode'], 8 | [$class: 'BooleanParameterDefinition', name: 'ignoreCiSkip', defaultValue: false, description: 'ignore CI Skip'], 9 | [$class: 'StringParameterDefinition', name: 'credentialsId', defaultValue: '6839cbe8-39fa-40c0-86ce-90706f0bae5d', description: 'credentials id'], 10 | ] 11 | ] 12 | ]) 13 | 14 | def needToBuild = false 15 | 16 | def runtests(directory) 17 | { 18 | dir(directory){ 19 | try { 20 | stage('checkout'){ 21 | checkout([$class: 'GitSCM', branches: [[name: params.branch]], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '361885ba-9425-4230-950e-0af201d90547', url: 'https://git.auckland.dynabic.com/words-cloud/words-cloud-java.git']]]) 22 | 23 | sh 'git show -s HEAD > gitMessage' 24 | def commitMessage = readFile('gitMessage').trim() 25 | echo commitMessage 26 | needToBuild = params.ignoreCiSkip || !commitMessage.contains('[ci skip]') 27 | sh 'git clean -fdx' 28 | 29 | if (needToBuild) { 30 | withCredentials([usernamePassword(credentialsId: params.credentialsId, passwordVariable: 'ClientSecret', usernameVariable: 'ClientId')]) { 31 | sh 'mkdir -p Settings' 32 | sh 'echo "{\\"ClientId\\": \\"$ClientId\\",\\"ClientSecret\\": \\"$ClientSecret\\", \\"BaseUrl\\": \\"$apiUrl\\", \\"Debug\\" : \\"$debugMode\\" }}" > Settings/servercreds.json' 33 | } 34 | } 35 | } 36 | 37 | if (needToBuild) { 38 | docker.image('maven').inside{ 39 | stage('build'){ 40 | sh "mvn compile" 41 | } 42 | 43 | stage('tests'){ 44 | try{ 45 | sh "mvn test" 46 | } finally{ 47 | junit 'target/surefire-reports/*.xml' 48 | } 49 | } 50 | 51 | stage('bdd-tests'){ 52 | 53 | } 54 | 55 | stage('clean-compiled'){ 56 | sh "rm -rf %s" 57 | } 58 | } 59 | } 60 | } finally { 61 | deleteDir() 62 | } 63 | } 64 | } 65 | 66 | node('words-linux') { 67 | cleanWs() 68 | if (!params.branch.contains("release")) { 69 | runtests("java-sdk") 70 | } 71 | 72 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 aspose-words-cloud 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /TestData/Common/Aspose Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/Common/Aspose Logo.png -------------------------------------------------------------------------------- /TestData/Common/DocWithPassword.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/Common/DocWithPassword.docx -------------------------------------------------------------------------------- /TestData/Common/aspose-cloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/Common/aspose-cloud.png -------------------------------------------------------------------------------- /TestData/Common/flutter_tutorial.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/Common/flutter_tutorial.pdf -------------------------------------------------------------------------------- /TestData/Common/test_doc.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/Common/test_doc.docx -------------------------------------------------------------------------------- /TestData/Common/test_multi_pages.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/Common/test_multi_pages.docx -------------------------------------------------------------------------------- /TestData/DocumentActions/CompareDocument/compareTestDoc1.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/CompareDocument/compareTestDoc1.doc -------------------------------------------------------------------------------- /TestData/DocumentActions/CompareDocument/compareTestDoc1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/CompareDocument/compareTestDoc1.pdf -------------------------------------------------------------------------------- /TestData/DocumentActions/CompareDocument/compareTestDoc2.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/CompareDocument/compareTestDoc2.doc -------------------------------------------------------------------------------- /TestData/DocumentActions/CompareDocument/compareTestDoc2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/CompareDocument/compareTestDoc2.pdf -------------------------------------------------------------------------------- /TestData/DocumentActions/CompressDocument/TestCompress.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/CompressDocument/TestCompress.docx -------------------------------------------------------------------------------- /TestData/DocumentActions/ConvertDocument/45.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/ConvertDocument/45.pdf -------------------------------------------------------------------------------- /TestData/DocumentActions/ConvertDocument/Delivery.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/ConvertDocument/Delivery.pdf -------------------------------------------------------------------------------- /TestData/DocumentActions/ConvertDocument/TableDocument.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/ConvertDocument/TableDocument.doc -------------------------------------------------------------------------------- /TestData/DocumentActions/ConvertDocument/Test.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/ConvertDocument/Test.docx -------------------------------------------------------------------------------- /TestData/DocumentActions/ConvertDocument/TestEncodingDocument.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/ConvertDocument/TestEncodingDocument.txt -------------------------------------------------------------------------------- /TestData/DocumentActions/ConvertDocument/awesome_table_in_pdf.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/ConvertDocument/awesome_table_in_pdf.pdf -------------------------------------------------------------------------------- /TestData/DocumentActions/ConvertDocument/test_doc.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/ConvertDocument/test_doc.docx -------------------------------------------------------------------------------- /TestData/DocumentActions/ConvertDocument/test_uploadfile.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/ConvertDocument/test_uploadfile.docx -------------------------------------------------------------------------------- /TestData/DocumentActions/DocumentProtection/SampleProtectedBlankWordDocument.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/DocumentProtection/SampleProtectedBlankWordDocument.docx -------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/ExecuteTemplateWithoutRegions.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/MailMerge/ExecuteTemplateWithoutRegions.doc -------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/ExecuteTemplateWithoutRegions.json: -------------------------------------------------------------------------------- 1 | { 2 | "NewDataSet": { 3 | "info": { 4 | "FirstName": "Alexey", 5 | "LastName": "Noskov", 6 | "City": "Kharkov", 7 | "Company": "Aspose" 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/SampleExecuteTemplate.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/MailMerge/SampleExecuteTemplate.docx -------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/SampleExecuteTemplateData.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 23 6 | Nelson Street 7 | Howick 8 | Auckland 9 |
10 | 543 1234 11 | 03/01/2010 12 | 14.00 13 | 14 | BBQ Chicken Pizza 15 | 6.00 16 | 1 17 | 6.00 18 | 19 | 20 | 1.5 Litre Coke 21 | 4.00 22 | 2 23 | 8.00 24 | 25 |
26 | 27 |
28 | 10 29 | Parkville Avenue 30 | Pakuranga 31 | Auckland 32 |
33 | 548 7342 34 | 05/03/2010 35 | 6.00 36 | 37 | Hawaiian Pizza 38 | 4.00 39 | 1 40 | 4.00 41 | 42 | 43 | Fries 44 | 1.00 45 | 2 46 | 2.00 47 | 48 |
49 |
-------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/SampleMailMergeTemplate.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/MailMerge/SampleMailMergeTemplate.docx -------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/SampleMailMergeTemplateData.txt: -------------------------------------------------------------------------------- 1 | 2 | Farooq Sheikh 3 | Aspose Pty Ltd 4 |
Suite 163
5 | 79 Longueville Road 6 | Lane Cove 7 |
-------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/TestCleanupOptionsData.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Caption1 5 | Data portion 1 6 | 7 | 8 | Caption2 9 | Data portion 2 10 | 11 | 12 | -------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/TestDataWithRemoteImages.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | This is the first caption !!! 5 | https://www.google.ru/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png 6 | 7 | 8 | This is the second caption !!! 9 | https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png 10 | 11 | -------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/TestDataWithTextInHtmlFormat.xml: -------------------------------------------------------------------------------- 1 | <html><head><style type="text/css">h2{color:green} .color_red{color:red} .color_green{color:green} .color_magenta{color:magenta} .color_olive{color:olive} .color_teal{color:teal}</style></head><body><h2>Table</h2><table border="2" cellspacing="0" cellpadding="4"><tr><th class="color_red">Column 1</th><th class="color_green">Column 2</th></tr><tr><td class="color_magenta">Value 1.1</td><td class="color_olive">Value 1.2</td></tr><tr><td class="color_teal">Value 2.1</td></tr></table><h2>Div</h2><div class="color_olive">Outer text<div class="color_magenta">Inner text</div>Outer text</div><h2>Image</h2><br/><img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAADUUlEQVR42lWTWUwTURSGaUtIKY5QweISTUzceDGu0Rj1xURjTNQEE+ODGn0hPhBEQdqZztahBbrAtFih1Fprh9IBiVLLErZSU7BUoS7VqNH44ovx0S0ovdfO4Ez04cw9Ofec7/5zzr15NEnkUxSVFx8ObZ1x7nzHN6z9nOhnzOFwWCnECcKoEFbBRrrp6iF/XRvD0BoplkdTuAiIhtt3P3Fu+jJlKlkM1WoXLFjVeSnpXrC94gV3ciJp1X0L1K7+NtDfvXdpj1TmmUwm8QTfLa867T+ceWTSwO5r5b87XNaDEoBrv3p2Ai+AU1Qh5OiDGS4UXi4roAisQHBiYfJS2obAVPMyELYcGxViOIaKcLaNLXzadej5nBUBPXW6hdYW0z4RQOYUXK2tUfr8QeXL0Kn4JKEBk7QWdtrrLggJJEmoCBxVCf50qIaaa0HABFkEPZaLNnGfwPNFGV0u05Y554bvMQoBPLbxs9t9QydJpHP/KayRbsf+pG1NdgTTgDuGXa8dbS41ZtArxaQYT1WlHVqYaloGOcvJIan4X2MdViTl3vExbS+GPfXlvzzutj1LPch9HrYea59t0YIRtAAO+PQuIWYwNKikYty41Iuk/3TvMzsCB9HcQR7msgzgjZs7Z5rLQPR6PojeJW2d3oDCoG/IlwAYqlexbp/i9eB19ziuBoMoAlrR03YZ0G8+0JFhS8EjuhD6zWfuCTEjppcBOKYX1bwaqA5MM2oYZ4pBy7XjrAyY7sPqU01FcNZW/jtwZeXXVpt5u1RM4JhYzHFBddqz5/28fUU2NwngtVUbZUCE79o6x67/MYiXLiSbS8D9xp1vI7znkLvDK07A5/MiT7mzdxMMAsdMqxaiWDHkgzePigBUXy9KTfdWeVKNSjjPrvv5uKkYxszlIHX7eDLeVfkgbt30bt5eAlOOtT9nLRrI03szrOumOtcb4SrTSj2KKfr4nuUZ7kR8HFPAYXLlYqxRl43TGjjTWAhHCC1MNK/+lWA0cJLRgfsh95G/N1H136z7+BCSuHMuMEGVLo4a1XCKKcuO0WXZBw1FcNighmPWbe8jIeeJpdFiCrkHguWUyM92NBKseBut8T92bfsw66z49IyrHH2T5CvlqeCYUvL/ANIZ7+ohXSdWAAAAAElFTkSuQmCC"></body></html> -------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/TestExecuteTemplate.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/MailMerge/TestExecuteTemplate.doc -------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/TestExecuteTemplateData.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 23 6 | Nelson Street 7 | Howick 8 | Auckland 9 |
10 | 543 1234 11 | 03/01/2010 12 | 14.00 13 | 14 | BBQ Chicken Pizza 15 | 6.00 16 | 1 17 | 6.00 18 | 19 | 20 | 1.5 Litre Coke 21 | 4.00 22 | 2 23 | 8.00 24 | 25 |
26 | 27 |
28 | 10 29 | Parkville Avenue 30 | Pakuranga 31 | Auckland 32 |
33 | 548 7342 34 | 05/03/2010 35 | 6.00 36 | 37 | Hawaiian Pizza 38 | 4.00 39 | 1 40 | 4.00 41 | 42 | 43 | Fries 44 | 1.00 45 | 2 46 | 2.00 47 | 48 |
49 |
-------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/TestExecuteTemplateTextFormat.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/MailMerge/TestExecuteTemplateTextFormat.doc -------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/TestExecuteTemplateWithImages.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/MailMerge/TestExecuteTemplateWithImages.doc -------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/TestMailMergeData.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Alexey 5 | Noskov 6 | Kharkov 7 | Aspose 8 | 9 | -------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/TestMailMergeWithCleanupOptions.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/MailMerge/TestMailMergeWithCleanupOptions.doc -------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/TestMailMergeWithImages.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/MailMerge/TestMailMergeWithImages.doc -------------------------------------------------------------------------------- /TestData/DocumentActions/MailMerge/TestMailMergeWithOptions.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/MailMerge/TestMailMergeWithOptions.docx -------------------------------------------------------------------------------- /TestData/DocumentActions/Reporting/ReportData.json: -------------------------------------------------------------------------------- 1 | [{ 2 | Name: "John Doe", 3 | Age: 30, 4 | Birth: "1989-04-01 4:00:00 pm" 5 | }, 6 | { 7 | Name: "Jane Doe", 8 | Age: 27, 9 | Birth: "1992-01-31 07:00:00 am" 10 | }, 11 | { 12 | Name: "John Smith", 13 | Age: 51, 14 | Birth: "1968-03-08 1:00:00 pm" 15 | }] -------------------------------------------------------------------------------- /TestData/DocumentActions/Reporting/ReportTemplate.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/Reporting/ReportTemplate.docx -------------------------------------------------------------------------------- /TestData/DocumentActions/Signature/morzal.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/Signature/morzal.pfx -------------------------------------------------------------------------------- /TestData/DocumentActions/Signature/signedDocument.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/Signature/signedDocument.docx -------------------------------------------------------------------------------- /TestData/DocumentActions/Signature/unsignedDocument.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentActions/Signature/unsignedDocument.docx -------------------------------------------------------------------------------- /TestData/DocumentElements/CustomXmlParts/MultipleCustomXmlParts.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/CustomXmlParts/MultipleCustomXmlParts.docx -------------------------------------------------------------------------------- /TestData/DocumentElements/DrawingObjects/sampleDrawingObject.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | http://api-dev.aspose.cloud/v1.1/words/TestGetDocumentDrawingObjectByIndex.docx/sections/0/paragraphs/1/drawingObjects/0?folder=Temp%5cSdkTests%5cTestData%5cDocumentElements%5cDrawingObjects 4 | self 5 | 6 | 0.1.0 7 | Column 8 | TextFrameDefault 9 | Inline 10 | 11 | 12 | http://api-dev.aspose.cloud/v1.1/words/TestGetDocumentDrawingObjectByIndex.docx/sections/0/paragraphs/1/drawingObjects/0?folder=Temp%5cSdkTests%5cTestData%5cDocumentElements%5cDrawingObjects&format=jpeg 13 | self 14 | 15 | 16 | http://api-dev.aspose.cloud/v1.1/words/TestGetDocumentDrawingObjectByIndex.docx/sections/0/paragraphs/1/drawingObjects/0?folder=Temp%5cSdkTests%5cTestData%5cDocumentElements%5cDrawingObjects&format=tiff 17 | self 18 | 19 | 20 | http://api-dev.aspose.cloud/v1.1/words/TestGetDocumentDrawingObjectByIndex.docx/sections/0/paragraphs/1/drawingObjects/0?folder=Temp%5cSdkTests%5cTestData%5cDocumentElements%5cDrawingObjects&format=png 21 | self 22 | 23 | 24 | http://api-dev.aspose.cloud/v1.1/words/TestGetDocumentDrawingObjectByIndex.docx/sections/0/paragraphs/1/drawingObjects/0?folder=Temp%5cSdkTests%5cTestData%5cDocumentElements%5cDrawingObjects&format=bmp 25 | self 26 | 27 | 28 | 300 29 | 300 30 | 31 | http://api-dev.aspose.cloud/v1.1/words/TestGetDocumentDrawingObjectByIndex.docx/sections/0/paragraphs/1/drawingObjects/0/ImageData?folder=Temp%5cSdkTests%5cTestData%5cDocumentElements%5cDrawingObjects 32 | self 33 | 34 | 0 35 | 0 36 | -------------------------------------------------------------------------------- /TestData/DocumentElements/DrawingObjects/sample_EmbeddedOLE.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/DrawingObjects/sample_EmbeddedOLE.docx -------------------------------------------------------------------------------- /TestData/DocumentElements/Fields/GetField.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/Fields/GetField.docx -------------------------------------------------------------------------------- /TestData/DocumentElements/Footnotes/Footnote.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/Footnotes/Footnote.doc -------------------------------------------------------------------------------- /TestData/DocumentElements/FormFields/FormFilled.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/FormFields/FormFilled.docx -------------------------------------------------------------------------------- /TestData/DocumentElements/HeaderFooters/HeadersFooters.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/HeaderFooters/HeadersFooters.doc -------------------------------------------------------------------------------- /TestData/DocumentElements/Lists/ListsGet.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/Lists/ListsGet.doc -------------------------------------------------------------------------------- /TestData/DocumentElements/MathObjects/MathObjects.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/MathObjects/MathObjects.docx -------------------------------------------------------------------------------- /TestData/DocumentElements/ParagraphListFormat/ParagraphDeleteListFormat.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/ParagraphListFormat/ParagraphDeleteListFormat.doc -------------------------------------------------------------------------------- /TestData/DocumentElements/ParagraphListFormat/ParagraphGetListFormat.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/ParagraphListFormat/ParagraphGetListFormat.doc -------------------------------------------------------------------------------- /TestData/DocumentElements/ParagraphListFormat/ParagraphUpdateListFormat.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/ParagraphListFormat/ParagraphUpdateListFormat.doc -------------------------------------------------------------------------------- /TestData/DocumentElements/Paragraphs/ParagraphTabStops.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/Paragraphs/ParagraphTabStops.docx -------------------------------------------------------------------------------- /TestData/DocumentElements/Range/RangeGet.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/Range/RangeGet.doc -------------------------------------------------------------------------------- /TestData/DocumentElements/Revisions/TestRevisions.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/Revisions/TestRevisions.doc -------------------------------------------------------------------------------- /TestData/DocumentElements/Runs/Run.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/Runs/Run.doc -------------------------------------------------------------------------------- /TestData/DocumentElements/Sections/Source.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/Sections/Source.docx -------------------------------------------------------------------------------- /TestData/DocumentElements/StructuredDocumentTag/StructuredDocumentTag.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/StructuredDocumentTag/StructuredDocumentTag.docx -------------------------------------------------------------------------------- /TestData/DocumentElements/Styles/GetStyles.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/Styles/GetStyles.docx -------------------------------------------------------------------------------- /TestData/DocumentElements/Styles/StyleTemplate.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/Styles/StyleTemplate.docx -------------------------------------------------------------------------------- /TestData/DocumentElements/Tables/TablesGet.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/Tables/TablesGet.docx -------------------------------------------------------------------------------- /TestData/DocumentElements/Text/SampleWordDocument.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/DocumentElements/Text/SampleWordDocument.docx -------------------------------------------------------------------------------- /TestData/Reporting/ReportData.json: -------------------------------------------------------------------------------- 1 | [{ 2 | Name: "John Doe", 3 | Age: 30, 4 | Birth: "1989-04-01 4:00:00 pm" 5 | }, 6 | { 7 | Name: "Jane Doe", 8 | Age: 27, 9 | Birth: "1992-01-31 07:00:00 am" 10 | }, 11 | { 12 | Name: "John Smith", 13 | Age: 51, 14 | Birth: "1968-03-08 1:00:00 pm" 15 | }] -------------------------------------------------------------------------------- /TestData/Reporting/ReportTemplate.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/TestData/Reporting/ReportTemplate.docx -------------------------------------------------------------------------------- /examples/AcceptAllRevisions.java: -------------------------------------------------------------------------------- 1 | import com.aspose.words.cloud.*; 2 | import com.aspose.words.cloud.api.*; 3 | import com.aspose.words.cloud.model.*; 4 | import com.aspose.words.cloud.model.requests.*; 5 | import com.aspose.words.cloud.model.responses.*; 6 | import java.nio.file.Files; 7 | import java.nio.file.Paths; 8 | 9 | ApiClient apiClient = new ApiClient(/*clientId*/ "####-####-####-####-####", /*clientSecret*/ "##################", null); 10 | WordsApi wordsApi = new WordsApi(apiClient); 11 | String fileName = "test_doc.docx"; 12 | 13 | // Upload original document to cloud storage. 14 | byte[] myVar1 = Files.readAllBytes(Paths.get(fileName).toAbsolutePath()); 15 | String myVar2 = fileName; 16 | UploadFileRequest uploadFileRequest = new UploadFileRequest(myVar1, myVar2, null); 17 | wordsApi.uploadFile(uploadFileRequest); 18 | 19 | // Calls AcceptAllRevisions method for document in cloud. 20 | String myVar3 = fileName; 21 | AcceptAllRevisionsRequest request = new AcceptAllRevisionsRequest(myVar3, null, null, null, null, null, null, null); 22 | wordsApi.acceptAllRevisions(request); -------------------------------------------------------------------------------- /examples/AcceptAllRevisionsOnline.java: -------------------------------------------------------------------------------- 1 | ApiClient apiClient = new ApiClient(/*clientId*/ "####-####-####-####-####", /*clientSecret*/ "##################", null); 2 | WordsApi wordsApi = new WordsApi(apiClient); 3 | String fileName = "test_doc.docx"; 4 | 5 | // Calls AcceptAllRevisionsOnline method for document in cloud. 6 | byte[] requestDocument = Files.readAllBytes(Paths.get(fileName).toAbsolutePath()); 7 | AcceptAllRevisionsOnlineRequest request = new AcceptAllRevisionsOnlineRequest(requestDocument, null, null, null, null, null); 8 | AcceptAllRevisionsOnlineResponse acceptAllRevisionsOnlineResult = wordsApi.acceptAllRevisionsOnline(request); 9 | Files.write(Paths.get("test_result.docx"), acceptAllRevisionsOnlineResult.getDocument().values().iterator().next()); -------------------------------------------------------------------------------- /src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/ApiCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud; 29 | 30 | import java.util.Map; 31 | import java.util.List; 32 | 33 | /** 34 | * Callback for asynchronous API call. 35 | * 36 | * @param The return type 37 | */ 38 | public interface ApiCallback { 39 | /** 40 | * This is called when the API call fails. 41 | * 42 | * @param e The exception causing the failure 43 | * @param statusCode Status code of the response if available, otherwise it would be 0 44 | * @param responseHeaders Headers of the response if available, otherwise it would be null 45 | */ 46 | void onFailure(ApiException e, int statusCode, Map> responseHeaders); 47 | 48 | /** 49 | * This is called when the API call succeeded. 50 | * 51 | * @param result The result deserialized from response 52 | * @param statusCode Status code of the response 53 | * @param responseHeaders Headers of the response 54 | */ 55 | void onSuccess(T result, int statusCode, Map> responseHeaders); 56 | 57 | /** 58 | * This is called when the API upload processing. 59 | * 60 | * @param bytesWritten bytes Written 61 | * @param contentLength content length of request body 62 | * @param done write end 63 | */ 64 | void onUploadProgress(long bytesWritten, long contentLength, boolean done); 65 | 66 | /** 67 | * This is called when the API downlond processing. 68 | * 69 | * @param bytesRead bytes Read 70 | * @param contentLength content lenngth of the response 71 | * @param done Read end 72 | */ 73 | void onDownloadProgress(long bytesRead, long contentLength, boolean done); 74 | } 75 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/ApiResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud; 29 | 30 | import java.util.List; 31 | import java.util.Map; 32 | 33 | /** 34 | * API response returned by API call. 35 | * 36 | * @param The type of data that is deserialized from response body 37 | */ 38 | public class ApiResponse { 39 | final private int statusCode; 40 | final private Map> headers; 41 | final private T data; 42 | 43 | /** 44 | * @param statusCode The status code of HTTP response 45 | * @param headers The headers of HTTP response 46 | */ 47 | public ApiResponse(int statusCode, Map> headers) { 48 | this(statusCode, headers, null); 49 | } 50 | 51 | /** 52 | * @param statusCode The status code of HTTP response 53 | * @param headers The headers of HTTP response 54 | * @param data The object deserialized from response bod 55 | */ 56 | public ApiResponse(int statusCode, Map> headers, T data) { 57 | this.statusCode = statusCode; 58 | this.headers = headers; 59 | this.data = data; 60 | } 61 | 62 | public int getStatusCode() { 63 | return statusCode; 64 | } 65 | 66 | public Map> getHeaders() { 67 | return headers; 68 | } 69 | 70 | public T getData() { 71 | return data; 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/Configuration.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud; 29 | 30 | public class Configuration { 31 | private static ApiClient defaultApiClient; 32 | 33 | /** 34 | * Get the default API client, which would be used when creating API 35 | * instances without providing an API client. 36 | * 37 | * @return Default API client 38 | */ 39 | public static ApiClient getDefaultApiClient() { 40 | defaultApiClient = new ApiClient(); 41 | return defaultApiClient; 42 | } 43 | 44 | /** 45 | * Set the default API client, which would be used when creating API 46 | * instances without providing an API client. 47 | * 48 | * @param apiClient API client 49 | */ 50 | public static void setDefaultApiClient(ApiClient apiClient) { 51 | defaultApiClient = apiClient; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/EncryptorFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud; 29 | import java.io.IOException; 30 | import javax.crypto.Cipher; 31 | 32 | /** 33 | * Data encryptor provider. 34 | */ 35 | public interface EncryptorFactory { 36 | /** 37 | * Create an encryptor. 38 | * 39 | * @return encryptor. 40 | */ 41 | Cipher create() throws ApiException, IOException; 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/Pair.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud; 29 | 30 | public class Pair { 31 | private String name = ""; 32 | private String value = ""; 33 | 34 | public Pair (String name, String value) { 35 | setName(name); 36 | setValue(value); 37 | } 38 | 39 | private void setName(String name) { 40 | if (!isValidString(name)) return; 41 | 42 | this.name = name; 43 | } 44 | 45 | private void setValue(String value) { 46 | if (!isValidString(value)) return; 47 | 48 | this.value = value; 49 | } 50 | 51 | public String getName() { 52 | return this.name; 53 | } 54 | 55 | public String getValue() { 56 | return this.value; 57 | } 58 | 59 | private boolean isValidString(String arg) { 60 | if (arg == null) return false; 61 | if (arg.trim().isEmpty()) return false; 62 | 63 | return true; 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/ProgressRequestBody.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud; 29 | 30 | import com.squareup.okhttp.MediaType; 31 | import com.squareup.okhttp.RequestBody; 32 | 33 | import java.io.IOException; 34 | 35 | import okio.Buffer; 36 | import okio.BufferedSink; 37 | import okio.ForwardingSink; 38 | import okio.Okio; 39 | import okio.Sink; 40 | 41 | public class ProgressRequestBody extends RequestBody { 42 | 43 | public interface ProgressRequestListener { 44 | void onRequestProgress(long bytesWritten, long contentLength, boolean done); 45 | } 46 | 47 | private final RequestBody requestBody; 48 | 49 | private final ProgressRequestListener progressListener; 50 | 51 | public ProgressRequestBody(RequestBody requestBody, ProgressRequestListener progressListener) { 52 | this.requestBody = requestBody; 53 | this.progressListener = progressListener; 54 | } 55 | 56 | @Override 57 | public MediaType contentType() { 58 | return requestBody.contentType(); 59 | } 60 | 61 | @Override 62 | public long contentLength() throws IOException { 63 | return requestBody.contentLength(); 64 | } 65 | 66 | @Override 67 | public void writeTo(BufferedSink sink) throws IOException { 68 | BufferedSink bufferedSink = Okio.buffer(sink(sink)); 69 | requestBody.writeTo(bufferedSink); 70 | bufferedSink.flush(); 71 | } 72 | 73 | private Sink sink(Sink sink) { 74 | return new ForwardingSink(sink) { 75 | 76 | long bytesWritten = 0L; 77 | long contentLength = 0L; 78 | 79 | @Override 80 | public void write(Buffer source, long byteCount) throws IOException { 81 | super.write(source, byteCount); 82 | if (contentLength == 0) { 83 | contentLength = contentLength(); 84 | } 85 | 86 | bytesWritten += byteCount; 87 | progressListener.onRequestProgress(bytesWritten, contentLength, bytesWritten == contentLength); 88 | } 89 | }; 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/ProgressResponseBody.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud; 29 | 30 | import com.squareup.okhttp.MediaType; 31 | import com.squareup.okhttp.ResponseBody; 32 | 33 | import java.io.IOException; 34 | 35 | import okio.Buffer; 36 | import okio.BufferedSource; 37 | import okio.ForwardingSource; 38 | import okio.Okio; 39 | import okio.Source; 40 | 41 | public class ProgressResponseBody extends ResponseBody { 42 | 43 | public interface ProgressListener { 44 | void update(long bytesRead, long contentLength, boolean done); 45 | } 46 | 47 | private final ResponseBody responseBody; 48 | private final ProgressListener progressListener; 49 | private BufferedSource bufferedSource; 50 | 51 | public ProgressResponseBody(ResponseBody responseBody, ProgressListener progressListener) { 52 | this.responseBody = responseBody; 53 | this.progressListener = progressListener; 54 | } 55 | 56 | @Override 57 | public MediaType contentType() { 58 | return responseBody.contentType(); 59 | } 60 | 61 | @Override 62 | public long contentLength() throws IOException { 63 | return responseBody.contentLength(); 64 | } 65 | 66 | @Override 67 | public BufferedSource source() throws IOException { 68 | if (bufferedSource == null) { 69 | bufferedSource = Okio.buffer(source(responseBody.source())); 70 | } 71 | return bufferedSource; 72 | } 73 | 74 | private Source source(Source source) { 75 | return new ForwardingSource(source) { 76 | long totalBytesRead = 0L; 77 | 78 | @Override 79 | public long read(Buffer sink, long byteCount) throws IOException { 80 | long bytesRead = super.read(sink, byteCount); 81 | // read() returns the number of bytes read, or -1 if this source is exhausted. 82 | totalBytesRead += bytesRead != -1 ? bytesRead : 0; 83 | progressListener.update(totalBytesRead, responseBody.contentLength(), bytesRead == -1); 84 | return bytesRead; 85 | } 86 | }; 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/SimpleEncryptorFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud; 29 | 30 | import java.io.IOException; 31 | import java.math.BigInteger; 32 | import java.security.InvalidKeyException; 33 | import java.security.KeyFactory; 34 | import java.security.NoSuchAlgorithmException; 35 | import java.security.PublicKey; 36 | import java.security.spec.InvalidKeySpecException; 37 | import java.security.spec.RSAPublicKeySpec; 38 | import java.util.Base64; 39 | 40 | import javax.crypto.Cipher; 41 | import javax.crypto.NoSuchPaddingException; 42 | 43 | public class SimpleEncryptorFactory implements EncryptorFactory { 44 | 45 | private String exponent; 46 | private String modulus; 47 | 48 | public SimpleEncryptorFactory(String exponent, String modulus) { 49 | if (exponent == null || exponent.isEmpty()) { 50 | throw new IllegalArgumentException("Exponent must be non empty base64 encoded string"); 51 | } 52 | 53 | if (modulus == null || modulus.isEmpty()) { 54 | throw new IllegalArgumentException("Modulus must be non empty base64 encoded string"); 55 | } 56 | 57 | this.exponent = exponent; 58 | this.modulus = modulus; 59 | } 60 | 61 | @Override 62 | public Cipher create() throws ApiException, IOException { 63 | 64 | try { 65 | byte[] modulusByte = Base64.getDecoder().decode(this.modulus); 66 | BigInteger modulusInt = new BigInteger(1, modulusByte); 67 | byte[] exponentByte = Base64.getDecoder().decode(this.exponent); 68 | BigInteger exponentInt = new BigInteger(1, exponentByte); 69 | RSAPublicKeySpec spec = new RSAPublicKeySpec(modulusInt, exponentInt); 70 | KeyFactory factory = KeyFactory.getInstance("RSA"); 71 | PublicKey key = factory.generatePublic(spec); 72 | Cipher encryptor = Cipher.getInstance("RSA"); 73 | encryptor.init(Cipher.ENCRYPT_MODE, key); 74 | 75 | return encryptor; 76 | } 77 | catch (InvalidKeyException | NoSuchAlgorithmException | InvalidKeySpecException | NoSuchPaddingException e) { 78 | throw new ApiException(e); 79 | } 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/StringUtil.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud; 29 | 30 | public class StringUtil { 31 | /** 32 | * Check if the given array contains the given value (with case-insensitive comparison). 33 | * 34 | * @param array The array 35 | * @param value The value to search 36 | * @return true if the array contains the value 37 | */ 38 | public static boolean containsIgnoreCase(String[] array, String value) { 39 | for (String str : array) { 40 | if (value == null && str == null) return true; 41 | if (value != null && value.equalsIgnoreCase(str)) return true; 42 | } 43 | return false; 44 | } 45 | 46 | /** 47 | * Join an array of strings with the given separator. 48 | *

49 | * Note: This might be replaced by utility method from commons-lang or guava someday 50 | * if one of those libraries is added as dependency. 51 | *

52 | * 53 | * @param array The array of strings 54 | * @param separator The separator 55 | * @return the resulting string 56 | */ 57 | public static String join(String[] array, String separator) { 58 | int len = array.length; 59 | if (len == 0) return ""; 60 | 61 | StringBuilder out = new StringBuilder(); 62 | out.append(array[0]); 63 | for (int i = 1; i < len; i++) { 64 | out.append(separator).append(array[i]); 65 | } 66 | return out.toString(); 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/auth/ApiKeyAuth.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.auth; 29 | 30 | import com.aspose.words.cloud.Pair; 31 | 32 | import java.util.Map; 33 | import java.util.List; 34 | 35 | 36 | public class ApiKeyAuth implements Authentication { 37 | private final String location; 38 | private final String paramName; 39 | 40 | private String clientSecret; 41 | private String clientSecretPrefix; 42 | 43 | public ApiKeyAuth(String location, String paramName) { 44 | this.location = location; 45 | this.paramName = paramName; 46 | } 47 | 48 | public String getLocation() { 49 | return location; 50 | } 51 | 52 | public String getParamName() { 53 | return paramName; 54 | } 55 | 56 | public String getClientSecret() { 57 | return clientSecret; 58 | } 59 | 60 | public void setClientSecret(String clientSecret) { 61 | this.clientSecret = clientSecret; 62 | } 63 | 64 | public String getClientSecretPrefix() { 65 | return clientSecretPrefix; 66 | } 67 | 68 | public void setClientSecretPrefix(String clientSecretPrefix) { 69 | this.clientSecretPrefix = clientSecretPrefix; 70 | } 71 | 72 | @Override 73 | public void applyToParams(List queryParams, Map headerParams) { 74 | if (clientSecret == null) { 75 | return; 76 | } 77 | String value; 78 | if (clientSecretPrefix != null) { 79 | value = clientSecretPrefix + " " + clientSecret; 80 | } 81 | else { 82 | value = clientSecret; 83 | } 84 | if ("query".equals(location)) { 85 | queryParams.add(new Pair(paramName, value)); 86 | } 87 | else if ("header".equals(location)) { 88 | headerParams.put(paramName, value); 89 | } 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/auth/Authentication.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.auth; 29 | 30 | import com.aspose.words.cloud.Pair; 31 | 32 | import java.util.Map; 33 | import java.util.List; 34 | 35 | public interface Authentication { 36 | /** 37 | * Apply authentication settings to header and query params. 38 | * 39 | * @param queryParams List of query parameters 40 | * @param headerParams Map of header parameters 41 | */ 42 | void applyToParams(List queryParams, Map headerParams); 43 | } 44 | 45 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/auth/HttpBasicAuth.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.auth; 29 | 30 | import com.aspose.words.cloud.Pair; 31 | 32 | import com.squareup.okhttp.Credentials; 33 | 34 | import java.util.Map; 35 | import java.util.List; 36 | 37 | public class HttpBasicAuth implements Authentication { 38 | private String username; 39 | private String password; 40 | 41 | public String getUsername() { 42 | return username; 43 | } 44 | 45 | public void setUsername(String username) { 46 | this.username = username; 47 | } 48 | 49 | public String getPassword() { 50 | return password; 51 | } 52 | 53 | public void setPassword(String password) { 54 | this.password = password; 55 | } 56 | 57 | @Override 58 | public void applyToParams(List queryParams, Map headerParams) { 59 | if (username == null && password == null) { 60 | return; 61 | } 62 | headerParams.put("Authorization", Credentials.basic( 63 | username == null ? "" : username, 64 | password == null ? "" : password)); 65 | } 66 | } 67 | 68 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/auth/OAuth.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.auth; 29 | 30 | import com.aspose.words.cloud.Pair; 31 | 32 | import java.util.Map; 33 | import java.util.List; 34 | 35 | 36 | public class OAuth implements Authentication { 37 | private String accessToken; 38 | 39 | public String getAccessToken() { 40 | return accessToken; 41 | } 42 | 43 | public void setAccessToken(String accessToken) { 44 | this.accessToken = accessToken; 45 | } 46 | 47 | @Override 48 | public void applyToParams(List queryParams, Map headerParams) { 49 | if (accessToken != null) { 50 | headerParams.put("Authorization", "Bearer " + accessToken); 51 | } 52 | } 53 | } 54 | 55 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/auth/OAuthFlow.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.auth; 29 | 30 | public enum OAuthFlow { 31 | accessCode, implicit, password, application 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/ModelIfc.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model; 29 | 30 | import com.aspose.words.cloud.*; 31 | import java.util.List; 32 | 33 | /* 34 | * Model interface. 35 | */ 36 | public interface ModelIfc { 37 | /* 38 | * Gets files content. 39 | * 40 | * @param resultFilesContent List instance. 41 | */ 42 | public void getFilesContent(List resultFilesContent); 43 | 44 | /* 45 | * Validate required properties. 46 | * 47 | * @throws ApiException If fails to validate required properties. 48 | */ 49 | public void validate() throws ApiException; 50 | } 51 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/requests/BatchPartRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.requests; 29 | 30 | import com.aspose.words.cloud.*; 31 | import com.squareup.okhttp.Request; 32 | 33 | import java.io.*; 34 | 35 | /* 36 | * A batch part request wrapper to add batch part features. 37 | */ 38 | public class BatchPartRequest { 39 | private RequestIfc request; 40 | 41 | private String requestId; 42 | 43 | private String parentRequestId; 44 | 45 | /* 46 | * Initializes a new instance of the BatchPartRequest class. 47 | * 48 | * @param request RequestIfc inner request 49 | */ 50 | public BatchPartRequest(RequestIfc request) { 51 | this.request = request; 52 | this.requestId = java.util.UUID.randomUUID().toString(); 53 | this.parentRequestId = null; 54 | } 55 | 56 | /* 57 | * Get request object. 58 | */ 59 | public RequestIfc getRequest() { 60 | return this.request; 61 | } 62 | 63 | /* 64 | * Get request ID. 65 | */ 66 | public String getRequestId() { 67 | return this.requestId; 68 | } 69 | 70 | /* 71 | * Get parent request ID. 72 | */ 73 | public String getParentRequestId() { 74 | return this.parentRequestId; 75 | } 76 | 77 | /* 78 | * Set parent request. 79 | * 80 | * @param parentRequest BatchPartRequest a parent request. 81 | */ 82 | public BatchPartRequest dependsOn(BatchPartRequest parentRequest) { 83 | this.parentRequestId = parentRequest.getRequestId(); 84 | return this; 85 | } 86 | 87 | /* 88 | * Use a binary response of the request as an input for another request. 89 | */ 90 | public byte[] resultOf() throws UnsupportedEncodingException { 91 | return ("resultOf(" + this.requestId + ")").getBytes("UTF8"); 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/requests/RequestIfc.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.requests; 29 | 30 | import com.aspose.words.cloud.*; 31 | import jakarta.mail.MessagingException; 32 | import com.squareup.okhttp.*; 33 | import java.io.*; 34 | import java.lang.reflect.Type; 35 | 36 | /* 37 | * Request model interface. 38 | */ 39 | public interface RequestIfc { 40 | /* 41 | * Creates the http request based on this request model. 42 | * 43 | * @param apiClient ApiClient instance 44 | * @throws ApiException If fail to serialize the request body object 45 | * @throws MessagingException If fail to serialize the request body object 46 | * @throws IOException If fail to serialize the request body object 47 | */ 48 | public Request buildHttpRequest(ApiClient apiClient, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener, Boolean addAuthHeaders) throws ApiException, IOException; 49 | 50 | /* 51 | * Deserialize response message. 52 | * 53 | * @param apiClient ApiClient instance 54 | * @param response Response instance 55 | */ 56 | public Object deserializeResponse(ApiClient apiClient, Response response) throws ApiException, MessagingException, IOException; 57 | } 58 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/AcceptAllRevisionsOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for acceptAllRevisionsOnline operation. 35 | */ 36 | public class AcceptAllRevisionsOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a result of the modification operations for the revisions collection (now these are acceptAll and rejectAll). 39 | */ 40 | private RevisionsModificationResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the AcceptAllRevisionsOnlineResponse class. 49 | */ 50 | public AcceptAllRevisionsOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the AcceptAllRevisionsOnlineResponse class. 57 | */ 58 | public AcceptAllRevisionsOnlineResponse(RevisionsModificationResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a result of the modification operations for the revisions collection (now these are acceptAll and rejectAll). 65 | */ 66 | public RevisionsModificationResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a result of the modification operations for the revisions collection (now these are acceptAll and rejectAll). 72 | */ 73 | public void setModel(RevisionsModificationResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/AppendDocumentOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for appendDocumentOnline operation. 35 | */ 36 | public class AppendDocumentOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a document description. 39 | */ 40 | private DocumentResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the AppendDocumentOnlineResponse class. 49 | */ 50 | public AppendDocumentOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the AppendDocumentOnlineResponse class. 57 | */ 58 | public AppendDocumentOnlineResponse(DocumentResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a document description. 65 | */ 66 | public DocumentResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a document description. 72 | */ 73 | public void setModel(DocumentResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/ApplyStyleToDocumentElementOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for applyStyleToDocumentElementOnline operation. 35 | */ 36 | public class ApplyStyleToDocumentElementOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The base class for all responses. 39 | */ 40 | private WordsResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the ApplyStyleToDocumentElementOnlineResponse class. 49 | */ 50 | public ApplyStyleToDocumentElementOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the ApplyStyleToDocumentElementOnlineResponse class. 57 | */ 58 | public ApplyStyleToDocumentElementOnlineResponse(WordsResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The base class for all responses. 65 | */ 66 | public WordsResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The base class for all responses. 72 | */ 73 | public void setModel(WordsResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/CompareDocumentOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for compareDocumentOnline operation. 35 | */ 36 | public class CompareDocumentOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a document description. 39 | */ 40 | private DocumentResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the CompareDocumentOnlineResponse class. 49 | */ 50 | public CompareDocumentOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the CompareDocumentOnlineResponse class. 57 | */ 58 | public CompareDocumentOnlineResponse(DocumentResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a document description. 65 | */ 66 | public DocumentResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a document description. 72 | */ 73 | public void setModel(DocumentResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/CompressDocumentOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for compressDocumentOnline operation. 35 | */ 36 | public class CompressDocumentOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response of compressed document. 39 | */ 40 | private CompressResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the CompressDocumentOnlineResponse class. 49 | */ 50 | public CompressDocumentOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the CompressDocumentOnlineResponse class. 57 | */ 58 | public CompressDocumentOnlineResponse(CompressResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response of compressed document. 65 | */ 66 | public CompressResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response of compressed document. 72 | */ 73 | public void setModel(CompressResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/CopyStyleOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for copyStyleOnline operation. 35 | */ 36 | public class CopyStyleOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a style. 39 | * This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/styles/{0}" REST API requests. 40 | */ 41 | private StyleResponse model; 42 | 43 | /* 44 | * The document after modification. 45 | */ 46 | private Map document; 47 | 48 | /* 49 | * Initializes a new instance of the CopyStyleOnlineResponse class. 50 | */ 51 | public CopyStyleOnlineResponse() { 52 | this.model = null; 53 | this.document = null; 54 | } 55 | 56 | /* 57 | * Initializes a new instance of the CopyStyleOnlineResponse class. 58 | */ 59 | public CopyStyleOnlineResponse(StyleResponse model, Map document) { 60 | this.model = model; 61 | this.document = document; 62 | } 63 | 64 | /* 65 | * Gets 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. 66 | */ 67 | public StyleResponse getModel() { 68 | return this.model; 69 | } 70 | 71 | /* 72 | * Sets 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. 73 | */ 74 | public void setModel(StyleResponse value) { 75 | this.model = value; 76 | } 77 | 78 | /* 79 | * Gets The document after modification. 80 | */ 81 | public Map getDocument() { 82 | return this.document; 83 | } 84 | 85 | /* 86 | * Sets The document after modification. 87 | */ 88 | public void setDocument(Map value) { 89 | this.document = value; 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/DeleteBorderOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for deleteBorderOnline operation. 35 | */ 36 | public class DeleteBorderOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a border. 39 | * This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. 40 | */ 41 | private BorderResponse model; 42 | 43 | /* 44 | * The document after modification. 45 | */ 46 | private Map document; 47 | 48 | /* 49 | * Initializes a new instance of the DeleteBorderOnlineResponse class. 50 | */ 51 | public DeleteBorderOnlineResponse() { 52 | this.model = null; 53 | this.document = null; 54 | } 55 | 56 | /* 57 | * Initializes a new instance of the DeleteBorderOnlineResponse class. 58 | */ 59 | public DeleteBorderOnlineResponse(BorderResponse model, Map document) { 60 | this.model = model; 61 | this.document = document; 62 | } 63 | 64 | /* 65 | * Gets The REST response with a border. This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. 66 | */ 67 | public BorderResponse getModel() { 68 | return this.model; 69 | } 70 | 71 | /* 72 | * Sets The REST response with a border. This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. 73 | */ 74 | public void setModel(BorderResponse value) { 75 | this.model = value; 76 | } 77 | 78 | /* 79 | * Gets The document after modification. 80 | */ 81 | public Map getDocument() { 82 | return this.document; 83 | } 84 | 85 | /* 86 | * Sets The document after modification. 87 | */ 88 | public void setDocument(Map value) { 89 | this.document = value; 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/DeleteBordersOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for deleteBordersOnline operation. 35 | */ 36 | public class DeleteBordersOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a collection of borders. 39 | * This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. 40 | */ 41 | private BordersResponse model; 42 | 43 | /* 44 | * The document after modification. 45 | */ 46 | private Map document; 47 | 48 | /* 49 | * Initializes a new instance of the DeleteBordersOnlineResponse class. 50 | */ 51 | public DeleteBordersOnlineResponse() { 52 | this.model = null; 53 | this.document = null; 54 | } 55 | 56 | /* 57 | * Initializes a new instance of the DeleteBordersOnlineResponse class. 58 | */ 59 | public DeleteBordersOnlineResponse(BordersResponse model, Map document) { 60 | this.model = model; 61 | this.document = document; 62 | } 63 | 64 | /* 65 | * Gets The REST response with a collection of borders. This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. 66 | */ 67 | public BordersResponse getModel() { 68 | return this.model; 69 | } 70 | 71 | /* 72 | * Sets The REST response with a collection of borders. This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. 73 | */ 74 | public void setModel(BordersResponse value) { 75 | this.model = value; 76 | } 77 | 78 | /* 79 | * Gets The document after modification. 80 | */ 81 | public Map getDocument() { 82 | return this.document; 83 | } 84 | 85 | /* 86 | * Sets The document after modification. 87 | */ 88 | public void setDocument(Map value) { 89 | this.document = value; 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/DeleteWatermarkOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for deleteWatermarkOnline operation. 35 | */ 36 | public class DeleteWatermarkOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a document description. 39 | */ 40 | private DocumentResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the DeleteWatermarkOnlineResponse class. 49 | */ 50 | public DeleteWatermarkOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the DeleteWatermarkOnlineResponse class. 57 | */ 58 | public DeleteWatermarkOnlineResponse(DocumentResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a document description. 65 | */ 66 | public DocumentResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a document description. 72 | */ 73 | public void setModel(DocumentResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/IMultipartResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | /* 31 | * Multipart response interface. 32 | */ 33 | public interface IMultipartResponse { 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/InsertBookmarkOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for insertBookmarkOnline operation. 35 | */ 36 | public class InsertBookmarkOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a bookmark. 39 | * This response should be returned by the service when handling: GET bookmarks/{bookmarkName}. 40 | */ 41 | private BookmarkResponse model; 42 | 43 | /* 44 | * The document after modification. 45 | */ 46 | private Map document; 47 | 48 | /* 49 | * Initializes a new instance of the InsertBookmarkOnlineResponse class. 50 | */ 51 | public InsertBookmarkOnlineResponse() { 52 | this.model = null; 53 | this.document = null; 54 | } 55 | 56 | /* 57 | * Initializes a new instance of the InsertBookmarkOnlineResponse class. 58 | */ 59 | public InsertBookmarkOnlineResponse(BookmarkResponse model, Map document) { 60 | this.model = model; 61 | this.document = document; 62 | } 63 | 64 | /* 65 | * Gets The REST response with a bookmark. This response should be returned by the service when handling: GET bookmarks/{bookmarkName}. 66 | */ 67 | public BookmarkResponse getModel() { 68 | return this.model; 69 | } 70 | 71 | /* 72 | * Sets The REST response with a bookmark. This response should be returned by the service when handling: GET bookmarks/{bookmarkName}. 73 | */ 74 | public void setModel(BookmarkResponse value) { 75 | this.model = value; 76 | } 77 | 78 | /* 79 | * Gets The document after modification. 80 | */ 81 | public Map getDocument() { 82 | return this.document; 83 | } 84 | 85 | /* 86 | * Sets The document after modification. 87 | */ 88 | public void setDocument(Map value) { 89 | this.document = value; 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/InsertDrawingObjectOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for insertDrawingObjectOnline operation. 35 | */ 36 | public class InsertDrawingObjectOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a DrawingObject. 39 | */ 40 | private DrawingObjectResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the InsertDrawingObjectOnlineResponse class. 49 | */ 50 | public InsertDrawingObjectOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the InsertDrawingObjectOnlineResponse class. 57 | */ 58 | public InsertDrawingObjectOnlineResponse(DrawingObjectResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a DrawingObject. 65 | */ 66 | public DrawingObjectResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a DrawingObject. 72 | */ 73 | public void setModel(DrawingObjectResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/InsertPageNumbersOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for insertPageNumbersOnline operation. 35 | */ 36 | public class InsertPageNumbersOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a document description. 39 | */ 40 | private DocumentResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the InsertPageNumbersOnlineResponse class. 49 | */ 50 | public InsertPageNumbersOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the InsertPageNumbersOnlineResponse class. 57 | */ 58 | public InsertPageNumbersOnlineResponse(DocumentResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a document description. 65 | */ 66 | public DocumentResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a document description. 72 | */ 73 | public void setModel(DocumentResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/InsertStructuredDocumentTagOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for insertStructuredDocumentTagOnline operation. 35 | */ 36 | public class InsertStructuredDocumentTagOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a StructuredDocumentTag. 39 | */ 40 | private StructuredDocumentTagResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the InsertStructuredDocumentTagOnlineResponse class. 49 | */ 50 | public InsertStructuredDocumentTagOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the InsertStructuredDocumentTagOnlineResponse class. 57 | */ 58 | public InsertStructuredDocumentTagOnlineResponse(StructuredDocumentTagResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a StructuredDocumentTag. 65 | */ 66 | public StructuredDocumentTagResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a StructuredDocumentTag. 72 | */ 73 | public void setModel(StructuredDocumentTagResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/InsertStyleOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for insertStyleOnline operation. 35 | */ 36 | public class InsertStyleOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a style. 39 | * This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/styles/{0}" REST API requests. 40 | */ 41 | private StyleResponse model; 42 | 43 | /* 44 | * The document after modification. 45 | */ 46 | private Map document; 47 | 48 | /* 49 | * Initializes a new instance of the InsertStyleOnlineResponse class. 50 | */ 51 | public InsertStyleOnlineResponse() { 52 | this.model = null; 53 | this.document = null; 54 | } 55 | 56 | /* 57 | * Initializes a new instance of the InsertStyleOnlineResponse class. 58 | */ 59 | public InsertStyleOnlineResponse(StyleResponse model, Map document) { 60 | this.model = model; 61 | this.document = document; 62 | } 63 | 64 | /* 65 | * Gets 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. 66 | */ 67 | public StyleResponse getModel() { 68 | return this.model; 69 | } 70 | 71 | /* 72 | * Sets 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. 73 | */ 74 | public void setModel(StyleResponse value) { 75 | this.model = value; 76 | } 77 | 78 | /* 79 | * Gets The document after modification. 80 | */ 81 | public Map getDocument() { 82 | return this.document; 83 | } 84 | 85 | /* 86 | * Sets The document after modification. 87 | */ 88 | public void setDocument(Map value) { 89 | this.document = value; 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/InsertTableOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for insertTableOnline operation. 35 | */ 36 | public class InsertTableOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a table. 39 | * This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}" REST API requests. 40 | */ 41 | private TableResponse model; 42 | 43 | /* 44 | * The document after modification. 45 | */ 46 | private Map document; 47 | 48 | /* 49 | * Initializes a new instance of the InsertTableOnlineResponse class. 50 | */ 51 | public InsertTableOnlineResponse() { 52 | this.model = null; 53 | this.document = null; 54 | } 55 | 56 | /* 57 | * Initializes a new instance of the InsertTableOnlineResponse class. 58 | */ 59 | public InsertTableOnlineResponse(TableResponse model, Map document) { 60 | this.model = model; 61 | this.document = document; 62 | } 63 | 64 | /* 65 | * Gets 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. 66 | */ 67 | public TableResponse getModel() { 68 | return this.model; 69 | } 70 | 71 | /* 72 | * Sets 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. 73 | */ 74 | public void setModel(TableResponse value) { 75 | this.model = value; 76 | } 77 | 78 | /* 79 | * Gets The document after modification. 80 | */ 81 | public Map getDocument() { 82 | return this.document; 83 | } 84 | 85 | /* 86 | * Sets The document after modification. 87 | */ 88 | public void setDocument(Map value) { 89 | this.document = value; 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/InsertWatermarkImageOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for insertWatermarkImageOnline operation. 35 | */ 36 | public class InsertWatermarkImageOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a document description. 39 | */ 40 | private DocumentResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the InsertWatermarkImageOnlineResponse class. 49 | */ 50 | public InsertWatermarkImageOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the InsertWatermarkImageOnlineResponse class. 57 | */ 58 | public InsertWatermarkImageOnlineResponse(DocumentResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a document description. 65 | */ 66 | public DocumentResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a document description. 72 | */ 73 | public void setModel(DocumentResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/InsertWatermarkOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for insertWatermarkOnline operation. 35 | */ 36 | public class InsertWatermarkOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a document description. 39 | */ 40 | private DocumentResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the InsertWatermarkOnlineResponse class. 49 | */ 50 | public InsertWatermarkOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the InsertWatermarkOnlineResponse class. 57 | */ 58 | public InsertWatermarkOnlineResponse(DocumentResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a document description. 65 | */ 66 | public DocumentResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a document description. 72 | */ 73 | public void setModel(DocumentResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/InsertWatermarkTextOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for insertWatermarkTextOnline operation. 35 | */ 36 | public class InsertWatermarkTextOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a document description. 39 | */ 40 | private DocumentResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the InsertWatermarkTextOnlineResponse class. 49 | */ 50 | public InsertWatermarkTextOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the InsertWatermarkTextOnlineResponse class. 57 | */ 58 | public InsertWatermarkTextOnlineResponse(DocumentResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a document description. 65 | */ 66 | public DocumentResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a document description. 72 | */ 73 | public void setModel(DocumentResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/ProtectDocumentOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for protectDocumentOnline operation. 35 | */ 36 | public class ProtectDocumentOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with data on document's protection. 39 | */ 40 | private ProtectionDataResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the ProtectDocumentOnlineResponse class. 49 | */ 50 | public ProtectDocumentOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the ProtectDocumentOnlineResponse class. 57 | */ 58 | public ProtectDocumentOnlineResponse(ProtectionDataResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with data on document's protection. 65 | */ 66 | public ProtectionDataResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with data on document's protection. 72 | */ 73 | public void setModel(ProtectionDataResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/RejectAllRevisionsOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for rejectAllRevisionsOnline operation. 35 | */ 36 | public class RejectAllRevisionsOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a result of the modification operations for the revisions collection (now these are acceptAll and rejectAll). 39 | */ 40 | private RevisionsModificationResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the RejectAllRevisionsOnlineResponse class. 49 | */ 50 | public RejectAllRevisionsOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the RejectAllRevisionsOnlineResponse class. 57 | */ 58 | public RejectAllRevisionsOnlineResponse(RevisionsModificationResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a result of the modification operations for the revisions collection (now these are acceptAll and rejectAll). 65 | */ 66 | public RevisionsModificationResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a result of the modification operations for the revisions collection (now these are acceptAll and rejectAll). 72 | */ 73 | public void setModel(RevisionsModificationResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/RemoveRangeOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for removeRangeOnline operation. 35 | */ 36 | public class RemoveRangeOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a document description. 39 | */ 40 | private DocumentResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the RemoveRangeOnlineResponse class. 49 | */ 50 | public RemoveRangeOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the RemoveRangeOnlineResponse class. 57 | */ 58 | public RemoveRangeOnlineResponse(DocumentResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a document description. 65 | */ 66 | public DocumentResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a document description. 72 | */ 73 | public void setModel(DocumentResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/ReplaceTextOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for replaceTextOnline operation. 35 | */ 36 | public class ReplaceTextOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a number of occurrences of the captured text in the document. 39 | */ 40 | private ReplaceTextResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the ReplaceTextOnlineResponse class. 49 | */ 50 | public ReplaceTextOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the ReplaceTextOnlineResponse class. 57 | */ 58 | public ReplaceTextOnlineResponse(ReplaceTextResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a number of occurrences of the captured text in the document. 65 | */ 66 | public ReplaceTextResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a number of occurrences of the captured text in the document. 72 | */ 73 | public void setModel(ReplaceTextResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/ReplaceWithTextOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for replaceWithTextOnline operation. 35 | */ 36 | public class ReplaceWithTextOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a document description. 39 | */ 40 | private DocumentResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the ReplaceWithTextOnlineResponse class. 49 | */ 50 | public ReplaceWithTextOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the ReplaceWithTextOnlineResponse class. 57 | */ 58 | public ReplaceWithTextOnlineResponse(DocumentResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a document description. 65 | */ 66 | public DocumentResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a document description. 72 | */ 73 | public void setModel(DocumentResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/SaveAsOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for saveAsOnline operation. 35 | */ 36 | public class SaveAsOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a save result. 39 | */ 40 | private SaveResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the SaveAsOnlineResponse class. 49 | */ 50 | public SaveAsOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the SaveAsOnlineResponse class. 57 | */ 58 | public SaveAsOnlineResponse(SaveResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a save result. 65 | */ 66 | public SaveResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a save result. 72 | */ 73 | public void setModel(SaveResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/SaveAsRangeOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for saveAsRangeOnline operation. 35 | */ 36 | public class SaveAsRangeOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a document description. 39 | */ 40 | private DocumentResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the SaveAsRangeOnlineResponse class. 49 | */ 50 | public SaveAsRangeOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the SaveAsRangeOnlineResponse class. 57 | */ 58 | public SaveAsRangeOnlineResponse(DocumentResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a document description. 65 | */ 66 | public DocumentResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a document description. 72 | */ 73 | public void setModel(DocumentResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/SaveAsTiffOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for saveAsTiffOnline operation. 35 | */ 36 | public class SaveAsTiffOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a save result. 39 | */ 40 | private SaveResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the SaveAsTiffOnlineResponse class. 49 | */ 50 | public SaveAsTiffOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the SaveAsTiffOnlineResponse class. 57 | */ 58 | public SaveAsTiffOnlineResponse(SaveResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a save result. 65 | */ 66 | public SaveResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a save result. 72 | */ 73 | public void setModel(SaveResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/SplitDocumentOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for splitDocumentOnline operation. 35 | */ 36 | public class SplitDocumentOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a result of document splitting. 39 | * This response should be returned by the service when handling: POST /{name}/split. 40 | */ 41 | private SplitDocumentResponse model; 42 | 43 | /* 44 | * The document after modification. 45 | */ 46 | private Map document; 47 | 48 | /* 49 | * Initializes a new instance of the SplitDocumentOnlineResponse class. 50 | */ 51 | public SplitDocumentOnlineResponse() { 52 | this.model = null; 53 | this.document = null; 54 | } 55 | 56 | /* 57 | * Initializes a new instance of the SplitDocumentOnlineResponse class. 58 | */ 59 | public SplitDocumentOnlineResponse(SplitDocumentResponse model, Map document) { 60 | this.model = model; 61 | this.document = document; 62 | } 63 | 64 | /* 65 | * Gets The REST response with a result of document splitting. This response should be returned by the service when handling: POST /{name}/split. 66 | */ 67 | public SplitDocumentResponse getModel() { 68 | return this.model; 69 | } 70 | 71 | /* 72 | * Sets The REST response with a result of document splitting. This response should be returned by the service when handling: POST /{name}/split. 73 | */ 74 | public void setModel(SplitDocumentResponse value) { 75 | this.model = value; 76 | } 77 | 78 | /* 79 | * Gets The document after modification. 80 | */ 81 | public Map getDocument() { 82 | return this.document; 83 | } 84 | 85 | /* 86 | * Sets The document after modification. 87 | */ 88 | public void setDocument(Map value) { 89 | this.document = value; 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/UnprotectDocumentOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for unprotectDocumentOnline operation. 35 | */ 36 | public class UnprotectDocumentOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with data on document's protection. 39 | */ 40 | private ProtectionDataResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the UnprotectDocumentOnlineResponse class. 49 | */ 50 | public UnprotectDocumentOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the UnprotectDocumentOnlineResponse class. 57 | */ 58 | public UnprotectDocumentOnlineResponse(ProtectionDataResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with data on document's protection. 65 | */ 66 | public ProtectionDataResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with data on document's protection. 72 | */ 73 | public void setModel(ProtectionDataResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/UpdateBookmarkOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for updateBookmarkOnline operation. 35 | */ 36 | public class UpdateBookmarkOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a bookmark. 39 | * This response should be returned by the service when handling: GET bookmarks/{bookmarkName}. 40 | */ 41 | private BookmarkResponse model; 42 | 43 | /* 44 | * The document after modification. 45 | */ 46 | private Map document; 47 | 48 | /* 49 | * Initializes a new instance of the UpdateBookmarkOnlineResponse class. 50 | */ 51 | public UpdateBookmarkOnlineResponse() { 52 | this.model = null; 53 | this.document = null; 54 | } 55 | 56 | /* 57 | * Initializes a new instance of the UpdateBookmarkOnlineResponse class. 58 | */ 59 | public UpdateBookmarkOnlineResponse(BookmarkResponse model, Map document) { 60 | this.model = model; 61 | this.document = document; 62 | } 63 | 64 | /* 65 | * Gets The REST response with a bookmark. This response should be returned by the service when handling: GET bookmarks/{bookmarkName}. 66 | */ 67 | public BookmarkResponse getModel() { 68 | return this.model; 69 | } 70 | 71 | /* 72 | * Sets The REST response with a bookmark. This response should be returned by the service when handling: GET bookmarks/{bookmarkName}. 73 | */ 74 | public void setModel(BookmarkResponse value) { 75 | this.model = value; 76 | } 77 | 78 | /* 79 | * Gets The document after modification. 80 | */ 81 | public Map getDocument() { 82 | return this.document; 83 | } 84 | 85 | /* 86 | * Sets The document after modification. 87 | */ 88 | public void setDocument(Map value) { 89 | this.document = value; 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/UpdateBorderOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for updateBorderOnline operation. 35 | */ 36 | public class UpdateBorderOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a border. 39 | * This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. 40 | */ 41 | private BorderResponse model; 42 | 43 | /* 44 | * The document after modification. 45 | */ 46 | private Map document; 47 | 48 | /* 49 | * Initializes a new instance of the UpdateBorderOnlineResponse class. 50 | */ 51 | public UpdateBorderOnlineResponse() { 52 | this.model = null; 53 | this.document = null; 54 | } 55 | 56 | /* 57 | * Initializes a new instance of the UpdateBorderOnlineResponse class. 58 | */ 59 | public UpdateBorderOnlineResponse(BorderResponse model, Map document) { 60 | this.model = model; 61 | this.document = document; 62 | } 63 | 64 | /* 65 | * Gets The REST response with a border. This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. 66 | */ 67 | public BorderResponse getModel() { 68 | return this.model; 69 | } 70 | 71 | /* 72 | * Sets The REST response with a border. This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests. 73 | */ 74 | public void setModel(BorderResponse value) { 75 | this.model = value; 76 | } 77 | 78 | /* 79 | * Gets The document after modification. 80 | */ 81 | public Map getDocument() { 82 | return this.document; 83 | } 84 | 85 | /* 86 | * Sets The document after modification. 87 | */ 88 | public void setDocument(Map value) { 89 | this.document = value; 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/UpdateDrawingObjectOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for updateDrawingObjectOnline operation. 35 | */ 36 | public class UpdateDrawingObjectOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a DrawingObject. 39 | */ 40 | private DrawingObjectResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the UpdateDrawingObjectOnlineResponse class. 49 | */ 50 | public UpdateDrawingObjectOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the UpdateDrawingObjectOnlineResponse class. 57 | */ 58 | public UpdateDrawingObjectOnlineResponse(DrawingObjectResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a DrawingObject. 65 | */ 66 | public DrawingObjectResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a DrawingObject. 72 | */ 73 | public void setModel(DrawingObjectResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/UpdateFieldsOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for updateFieldsOnline operation. 35 | */ 36 | public class UpdateFieldsOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a document description. 39 | */ 40 | private DocumentResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the UpdateFieldsOnlineResponse class. 49 | */ 50 | public UpdateFieldsOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the UpdateFieldsOnlineResponse class. 57 | */ 58 | public UpdateFieldsOnlineResponse(DocumentResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a document description. 65 | */ 66 | public DocumentResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a document description. 72 | */ 73 | public void setModel(DocumentResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/UpdateStructuredDocumentTagOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for updateStructuredDocumentTagOnline operation. 35 | */ 36 | public class UpdateStructuredDocumentTagOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a StructuredDocumentTag. 39 | */ 40 | private StructuredDocumentTagResponse model; 41 | 42 | /* 43 | * The document after modification. 44 | */ 45 | private Map document; 46 | 47 | /* 48 | * Initializes a new instance of the UpdateStructuredDocumentTagOnlineResponse class. 49 | */ 50 | public UpdateStructuredDocumentTagOnlineResponse() { 51 | this.model = null; 52 | this.document = null; 53 | } 54 | 55 | /* 56 | * Initializes a new instance of the UpdateStructuredDocumentTagOnlineResponse class. 57 | */ 58 | public UpdateStructuredDocumentTagOnlineResponse(StructuredDocumentTagResponse model, Map document) { 59 | this.model = model; 60 | this.document = document; 61 | } 62 | 63 | /* 64 | * Gets The REST response with a StructuredDocumentTag. 65 | */ 66 | public StructuredDocumentTagResponse getModel() { 67 | return this.model; 68 | } 69 | 70 | /* 71 | * Sets The REST response with a StructuredDocumentTag. 72 | */ 73 | public void setModel(StructuredDocumentTagResponse value) { 74 | this.model = value; 75 | } 76 | 77 | /* 78 | * Gets The document after modification. 79 | */ 80 | public Map getDocument() { 81 | return this.document; 82 | } 83 | 84 | /* 85 | * Sets The document after modification. 86 | */ 87 | public void setDocument(Map value) { 88 | this.document = value; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/aspose/words/cloud/model/responses/UpdateStyleOnlineResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.model.responses; 29 | 30 | import com.aspose.words.cloud.model.*; 31 | import java.util.Map; 32 | 33 | /* 34 | * Response model for updateStyleOnline operation. 35 | */ 36 | public class UpdateStyleOnlineResponse implements IMultipartResponse { 37 | /* 38 | * The REST response with a style. 39 | * This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/styles/{0}" REST API requests. 40 | */ 41 | private StyleResponse model; 42 | 43 | /* 44 | * The document after modification. 45 | */ 46 | private Map document; 47 | 48 | /* 49 | * Initializes a new instance of the UpdateStyleOnlineResponse class. 50 | */ 51 | public UpdateStyleOnlineResponse() { 52 | this.model = null; 53 | this.document = null; 54 | } 55 | 56 | /* 57 | * Initializes a new instance of the UpdateStyleOnlineResponse class. 58 | */ 59 | public UpdateStyleOnlineResponse(StyleResponse model, Map document) { 60 | this.model = model; 61 | this.document = document; 62 | } 63 | 64 | /* 65 | * Gets 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. 66 | */ 67 | public StyleResponse getModel() { 68 | return this.model; 69 | } 70 | 71 | /* 72 | * Sets 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. 73 | */ 74 | public void setModel(StyleResponse value) { 75 | this.model = value; 76 | } 77 | 78 | /* 79 | * Gets The document after modification. 80 | */ 81 | public Map getDocument() { 82 | return this.document; 83 | } 84 | 85 | /* 86 | * Sets The document after modification. 87 | */ 88 | public void setDocument(Map value) { 89 | this.document = value; 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /src/test/java/com/aspose/words/cloud/PathUtil.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud; 29 | 30 | import java.nio.file.Paths; 31 | 32 | public class PathUtil { 33 | /** 34 | * Converts a path string, or a sequence of strings that when joined form 35 | * a path string, to a {@code Path}. 36 | * 37 | * @param first 38 | * the path string or initial part of the path string 39 | * @param more 40 | * additional strings to be joined to form the path string 41 | * 42 | * @return the resulting {@code Path} 43 | * 44 | * @throws InvalidPathException 45 | * if the path string cannot be converted to a {@code Path} 46 | * 47 | * @see FileSystem#getPath 48 | */ 49 | public static String get(String first, String... more) { 50 | String paths = Paths.get(first, more).toString(); 51 | paths = paths.replace('\\', '/'); 52 | return paths; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /src/test/java/com/aspose/words/cloud/TestUrlEncode.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud; 29 | 30 | import com.aspose.words.cloud.ApiException; 31 | import com.aspose.words.cloud.PathUtil; 32 | import com.aspose.words.cloud.TestInitializer; 33 | import com.aspose.words.cloud.model.BookmarkData; 34 | import com.aspose.words.cloud.model.BookmarkResponse; 35 | import com.aspose.words.cloud.model.BookmarksResponse; 36 | import com.aspose.words.cloud.model.requests.GetBookmarkByNameRequest; 37 | import com.aspose.words.cloud.model.requests.GetBookmarksRequest; 38 | import com.aspose.words.cloud.model.requests.UpdateBookmarkRequest; 39 | import junit.framework.TestCase; 40 | import org.junit.Test; 41 | 42 | import java.io.FileNotFoundException; 43 | import java.io.IOException; 44 | import jakarta.mail.MessagingException; 45 | 46 | public class TestUrlEncode extends TestCase { 47 | private String testFolder = "DocumentElements/Bookmarks"; 48 | 49 | @Override 50 | protected void setUp() throws Exception { 51 | super.setUp(); 52 | TestInitializer.Initialize(); 53 | } 54 | 55 | /* 56 | * Test for URL encoding of document name 57 | */ 58 | @Test 59 | public void testUrlEncode() throws ApiException, MessagingException, IOException { 60 | String fileName = "test_multi_pages.docx"; 61 | String remoteName = "[“Test_Two,_Inc.”]-_83(b)Election([“Bill_Gates”]).docx"; 62 | String bookmarkName = "aspose"; 63 | 64 | TestInitializer.UploadFile(PathUtil.get(TestInitializer.LocalCommonFolder, fileName), PathUtil.get(TestInitializer.RemoteTestFolder, testFolder, remoteName).replace("\\", "/")); 65 | 66 | GetBookmarkByNameRequest request = new GetBookmarkByNameRequest(remoteName, bookmarkName, 67 | PathUtil.get(TestInitializer.RemoteTestFolder, testFolder), 68 | null, null, null, null, null); 69 | 70 | BookmarkResponse result = TestInitializer.wordsApi.getBookmarkByName(request); 71 | assertNotNull(result); 72 | } 73 | } -------------------------------------------------------------------------------- /src/test/java/com/aspose/words/cloud/api/document/TestLoadWebDocument.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.api.document; 29 | 30 | import com.aspose.words.cloud.*; 31 | import com.aspose.words.cloud.model.*; 32 | import com.aspose.words.cloud.model.requests.*; 33 | import com.aspose.words.cloud.model.responses.*; 34 | import junit.framework.TestCase; 35 | import org.junit.Test; 36 | import org.threeten.bp.*; 37 | import java.io.IOException; 38 | import jakarta.mail.MessagingException; 39 | import java.nio.file.*; 40 | import java.util.*; 41 | 42 | /* 43 | * Example of how to load web document. 44 | */ 45 | public class TestLoadWebDocument extends TestCase 46 | { 47 | 48 | @Override 49 | protected void setUp() throws Exception { 50 | super.setUp(); 51 | TestInitializer.Initialize(); 52 | } 53 | 54 | /* 55 | * Test for loading web document. 56 | */ 57 | @Test 58 | public void testLoadWebDocument() throws ApiException, MessagingException, IOException 59 | { 60 | DocSaveOptionsData requestDataSaveOptions = new DocSaveOptionsData(); 61 | requestDataSaveOptions.setFileName("google.doc"); 62 | requestDataSaveOptions.setDmlEffectsRenderingMode(DocSaveOptionsData.DmlEffectsRenderingModeEnum.NONE); 63 | requestDataSaveOptions.setDmlRenderingMode(DocSaveOptionsData.DmlRenderingModeEnum.DRAWINGML); 64 | requestDataSaveOptions.setZipOutput(false); 65 | 66 | LoadWebDocumentData requestData = new LoadWebDocumentData(); 67 | requestData.setLoadingDocumentUrl("http://google.com"); 68 | requestData.setSaveOptions(requestDataSaveOptions); 69 | 70 | LoadWebDocumentRequest request = new LoadWebDocumentRequest( 71 | requestData, 72 | null 73 | ); 74 | 75 | SaveResponse result = TestInitializer.wordsApi.loadWebDocument(request); 76 | assertNotNull(result); 77 | assertNotNull(result.getSaveResult()); 78 | assertNotNull(result.getSaveResult().getDestDocument()); 79 | assertEquals("google.doc", result.getSaveResult().getDestDocument().getHref()); 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/test/java/com/aspose/words/cloud/api/document/TestPasswordEncryption.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.api.document; 29 | 30 | import com.aspose.words.cloud.*; 31 | import com.aspose.words.cloud.model.*; 32 | import com.aspose.words.cloud.model.requests.*; 33 | import com.aspose.words.cloud.model.responses.*; 34 | import junit.framework.TestCase; 35 | import org.junit.Test; 36 | import org.threeten.bp.*; 37 | import java.io.IOException; 38 | import jakarta.mail.MessagingException; 39 | import java.nio.file.*; 40 | import java.util.*; 41 | 42 | /* 43 | * Example of how to handle an encrypted document. 44 | */ 45 | public class TestPasswordEncryption extends TestCase 46 | { 47 | private String remoteDataFolder = TestInitializer.RemoteTestFolder + "/DocumentActions/PasswordEncryption"; 48 | private String localFile = "Common/test_multi_pages.docx"; 49 | 50 | 51 | @Override 52 | protected void setUp() throws Exception { 53 | super.setUp(); 54 | TestInitializer.Initialize(); 55 | } 56 | 57 | /* 58 | * Test for getting a public key for password encryption. 59 | */ 60 | @Test 61 | public void testGetPublicKey() throws ApiException, MessagingException, IOException 62 | { 63 | GetPublicKeyRequest request = new GetPublicKeyRequest( 64 | ); 65 | 66 | PublicKeyResponse result = TestInitializer.wordsApi.getPublicKey(request); 67 | assertNotNull(result); 68 | assertNotNull(result.getExponent()); 69 | assertNotNull(result.getModulus()); 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /src/test/java/com/aspose/words/cloud/api/font/TestFont.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.api.font; 29 | 30 | import com.aspose.words.cloud.*; 31 | import com.aspose.words.cloud.model.*; 32 | import com.aspose.words.cloud.model.requests.*; 33 | import com.aspose.words.cloud.model.responses.*; 34 | import junit.framework.TestCase; 35 | import org.junit.Test; 36 | import org.threeten.bp.*; 37 | import java.io.IOException; 38 | import jakarta.mail.MessagingException; 39 | import java.nio.file.*; 40 | import java.util.*; 41 | 42 | /* 43 | * Example of how to work with font. 44 | */ 45 | public class TestFont extends TestCase 46 | { 47 | 48 | @Override 49 | protected void setUp() throws Exception { 50 | super.setUp(); 51 | TestInitializer.Initialize(); 52 | } 53 | 54 | /* 55 | * Test for reseting cache. 56 | */ 57 | @Test 58 | public void testResetCache() throws ApiException, MessagingException, IOException 59 | { 60 | ResetCacheRequest request = new ResetCacheRequest( 61 | ); 62 | 63 | TestInitializer.wordsApi.resetCache(request); 64 | } 65 | 66 | /* 67 | * Test for GetAvailableFonts resource. 68 | */ 69 | @Test 70 | public void testGetAvailableFonts() throws ApiException, MessagingException, IOException 71 | { 72 | GetAvailableFontsRequest request = new GetAvailableFontsRequest( 73 | null 74 | ); 75 | 76 | AvailableFontsResponse result = TestInitializer.wordsApi.getAvailableFonts(request); 77 | assertNotNull(result); 78 | assertNotNull(result.getSystemFonts()); 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /src/test/java/com/aspose/words/cloud/api/info/TestInfo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------------------------------------- 3 | * 4 | * Copyright (c) 2025 Aspose.Words for Cloud 5 | * 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy 8 | * of this software and associated documentation files (the "Software"), to deal 9 | * in the Software without restriction, including without limitation the rights 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be included in all 15 | * copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | * SOFTWARE. 24 | * 25 | * -------------------------------------------------------------------------------- 26 | */ 27 | 28 | package com.aspose.words.cloud.api.info; 29 | 30 | import com.aspose.words.cloud.*; 31 | import com.aspose.words.cloud.model.*; 32 | import com.aspose.words.cloud.model.requests.*; 33 | import com.aspose.words.cloud.model.responses.*; 34 | import junit.framework.TestCase; 35 | import org.junit.Test; 36 | import org.threeten.bp.*; 37 | import java.io.IOException; 38 | import jakarta.mail.MessagingException; 39 | import java.nio.file.*; 40 | import java.util.*; 41 | 42 | /* 43 | * Example of how to work api info. 44 | */ 45 | public class TestInfo extends TestCase 46 | { 47 | 48 | @Override 49 | protected void setUp() throws Exception { 50 | super.setUp(); 51 | TestInitializer.Initialize(); 52 | } 53 | 54 | /* 55 | * Test for getting api info. 56 | */ 57 | @Test 58 | public void testGetInfo() throws ApiException, MessagingException, IOException 59 | { 60 | GetInfoRequest request = new GetInfoRequest( 61 | ); 62 | 63 | InfoResponse result = TestInitializer.wordsApi.getInfo(request); 64 | assertNotNull(result); 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /wordsSettings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-words-cloud/aspose-words-cloud-java/4c606186ffc92e6028cd923f57c24818d387192e/wordsSettings.xml --------------------------------------------------------------------------------