Package: aspose-words-cloud
Python Cloud SDK wraps Aspose.Words Cloud API so you could seamlessly integrate Microsoft Word® file generation, manipulation, conversion & inspection features into your own python applications.Aspose.Words Cloud SDK for Pythonallows to work with Word document headers, footers, page numbering, tables, sections, document comments, drawing objects, FormFields, fonts, hyperlinks, ranges, paragraphs, math objects, watermarks, revisions and document protection. It also assists in appending documents, splitting documents as well as converting document to other supported file formats. Please feel free to explore theDeveloper's Guidefor all possible usage scenarios.Document Processing FeaturesProgrammatically create new documents of various file formats.Availability of Mail Merge and report generation features.Split or merge documents on demand.Manage watermarks and protection.Full read & write access to Document Object Model.Fetch web pages via URL and save in Microsoft Word file formats.Get document information in JSON or XML representation.Fetch statistical dataof a document.Remove all macroscontained in a specific document.Convert a document to desired file formatalong with detailed settings.Convert an encrypted PDF document into Word document format.Enhancements in Version 24.1Added support for InsertAfterNode in the insert API without NodePath.Added support for inserting nodes (runs/rows/cells/bookmarks) without NodePath.Added support for transparency in the Watermark API.Added support for password and encryptedPassword fields in FileReference.Fixed missing href value in document responses.Enhancements in Version 23.12Properties Name, Text, StartRange, EndRange marked as required for InsertBookmark operation.Implemented DeleteOfficeMathObjects operation to delete all office math objects from document.Parameter ProtectionRequest was removed from the UnprotectDocument operation. Now removing protection from a document does not require a password.Model ProtectionRequest marked as deprecated, please use ProtectionRequestV2 instead for perform ProtectDocument operation. To change the password or protection type of protected document, the old password is no required.Added fields Password and EncryptedPassword to FileReference for documents encrypted by password.Removed parameter encryptedPassword2 from CompareDocument method. Please use FileReference password instead.Rename aspose-client header.Enhancements in Version 23.11Support of required properties in models.Property StyleName marked as required for InsertStyle operation.Property StyleName marked as required for CopyStyle operation.Property StyleName marked as required for ApplyStyleToDocumentElement operation.Properties SdtType and Level marked as required for InsertStructuredDocumentTag operation.Property Text marked as required for InsertParagraphoperation.Property Value marked as required for CreateOrUpdateDocumentProperty operation.Property NewValue marked as required for ReplaceText operation.Property Text marked as required for ReplaceWithText operation.Enhancements in Version 23.9Support for class inheritance in responses from the server.Enhancements in Version 23.6Fix XMLHttpRequest in web applications.Enhancements in Version 23.5Added InsertSection method.Enhancements in Version 23.4Added new type of RangeEndIdentifier for RangeApi: document:endEnhancements in Version 23.3Fix compatibility between CreateDocument API and Dropbox storage.Fix compatibility for property PageCount for FixedPageSaveOptionsData.Enhancements in Version 23.2Added operations to manipulate with Structure Document Tags (SDT) in documents.Enhancements in Version 23.1Various changes related to stability and performanceEnhancements in Version 22.12Various changes related to stability and performanceEnhancements in Version 22.11Added 'EmbedAttachments' property for PdfSaveOptionsData class.Enhancements in Version 22.10Added 'CacheHeaderFooterShapes' property for PdfSaveOptionsData class.FileReference structure has been added that allows to determine how the document will be accessed: from the remote storage, or loaded directly in the request.The 'AppendDocument' and 'AppendDocumentOnline' methods takes a 'FileReference' instead of an 'href' property.Added property 'StartingNumber' for 'PageNumbers' class.Added property 'GlobalCultureName' for 'FieldOptions' class.Enhancements in Version 22.9CompressDocument method now can handle images.Added support to convert password protected document using ConvertDocument API.Enhancements in Version 22.8Added optional loadEncoding and password parameters for ConvertDocument API method.Enhancements in Version 22.7Expand 'AppendDocument' API method to support 'ImageEntryList' for directly appending images to documents and another images.Added 'CompressDocument' API method to support compression and resizing images inside the document for reduce the size of the document.Enhancements in Version 22.6Added 'DeleteBookmark' and 'DeleteBookmarkOnline' API methods for delete bookmarks by name from the document.Added 'DeleteBookmarks' and 'DeleteBookmarksOnline' API methods for delete all bookmarks from the document.Added 'InsertBookmark' and 'InsertBookmarkOnline' API methods for create new bookmarks in the document.Support all save formats for 'CreateDocument' operation.Enhancements in Version 22.5Internal API fixes and improvments.Enhancements in Version 22.4Added ExportShapesAsSvg to HtmlSaveOption.Added new endpoint '~/styles/copy_from'.Enhancements in Version 22.3Online methods returns the dictionary of files with included original filename as key instead of single file content in responses.Parameters contained sensitive data should be passed in encrypted form. Names of the parameters have 'encrypted' prefix.Added Encrypt method to encrypt data on the API public key. Use it to prepare values for parameters required encrypted data.Changed type of enumerations for members of SaveOptionsData and other inherited classes from string to enum.Enhancements in Version 22.2Made 'SaveOprionsData.SaveFormat' property readonly with default value.Added subclasses for all formats of SaveOprionsData with specified SaveFormat.'SaveOptionsData', 'FixedPageSaveOptionsData', 'ImageSaveOptionsData', 'OoxmlSaveOptionsData', 'TxtSaveOptionsBaseData' classes now is abstract.Enhancements in Version 22.1Added 'FieldOptions.FieldUpdateCultureName' to set Culture for fieldsAdded 'DocumentEntry.Password' to set an encrypted password for appending documentAdded 'encryptedPassword2' query parameter to CompareDocuments to set an encrypted password for the second comparing documentEnhancements in Version 21.12Added FieldOptions parameter to mail merge operationsAdded timeout parameter to api configurationEnhancements in Version 21.11Enhancements in Version 21.10Removed 'GraphicsQualityOptions' image save option as it no longer supported.Added query parameter 'displayIntermediateResults' for batch requests. If 'false', the last response in batch will be returned only. Default is 'true'Added 'JsonDataLoadOptions' and 'XmlDataLoadOptions' to 'ReportEngineSettings'Enhancements in Version 21.8Added new api methods to get, insert, update or delete custom xml parts from documents.Added parameter 'ResultDocumentFormat' to Compare APIAdded 'ExportLanguageToSpanTag' pdf save optionAdded 'FlatOpcXmlMappingOnly' save optionEnhancements in Version 21.7ImlRenderingMode option introduced witch is used to determine how ink (InkML) objects are renderedMaxCharactersPerLine option introduced which is used to specify the maximum number of characters per one lineAdded new API method to get a RSA public key to encrypt document passwordsAdded encryptedPassword common query option to pass an encrypted document passwordEnhancements in Version 21.6Implemented beta version of CompareDocumentOnline feature with both document sending in requestCompareDocument method now can handle PDF filesAcceptAllRevisionsBeforeComparison option introduced which is used to specify if accept all revisions before comparisonEnhancements in Version 21.5Update dependencies in sdkEnhancements in Version 21.4Removed obsolete pdf save option 'EscapeUri'SaveOptions now contains CustomTimeZoneInfo to set custom timezone when SdtType.Date structured document tag updated from custom XMLUrl of child requests in batch can be full now (earlier it can be only relative)Added 'RquestId' header to all responsesEnhancements in Version 21.3Added 'UpdateCreatedTimeProperty' save optionAdded Tables into HeaderFooter so it's possible to address paragraphs inside table which is located in headerfooter (sections/0/headersfooters/1/tables/0/rows/0/cells/0/paragraphs/0)Enhancements in Version 21.2Added delete all comments methodEnhancements in Version 21.1Added online version for all API methodsEnhancements in Version 20.11In configuration json file appSid / appKey has been replaced to clientId / clientSecret.In Words API initialization methods clientId parameter precedes clientSecret parameter.Enhancements in Version 20.10Internal API changes.Enhancements in Version 20.9Added Batch API featureEnhancements in Version 20.8Added new api method (PUT '/words/{name}/compatibility/optimize') which is allows to optimize the document contents as well as default Aspose.Words behavior to a particular versions of MS WordAdded 'ApplyBaseDocumentHeadersAndFootersToAppendingDocuments' option to 'DocumentEntryList' for AppendDocument APIWithoutNodePath methods have been removed, pass null values insteadEnhancements in Version 20.7Added 'Markdown' save formatAdded endpoint to update paragraph format without node path (PUT '/words/{name}/paragraphs/{index}/format')Enhancements in Version 20.6Added new methods:DeleteAllParagraphTabStopsWithoutNodePathDeleteParagraphTabStopWithoutNodePathGetParagraphTabStopsWithoutNodePathInsertOrUpdateParagraphTabStopWithoutNodePathInsertParagraphWithoutNodePathUpdateParagraphFormatWithoutNodePathUpdateParagraphListFormatWithoutNodePathDeleteParagraphListFormatWithoutNodePathDrawingObject related methods have been changed body content. Special request classes are introduced instead of strings.InsertOrUpdateParagraphTabStop, DeleteParagraphTabStop methods have been changed parameter orderOoxmlSaveOptionsData.CompressionLevel property has been addedEnhancements in Version 20.5Added methods to work with Word document listsGetListsGetListInsertListUpdateListUpdateListLevelAdded methods to work with stylesGetStylesUpdateStyleInsertStyleCopyStyleGetStyleFromDocumentElementApplyStyleToDocumentElementAdded methods to work with paragraph list formatGetParagraphListFormatGetParagraphListFormatWithoutNodePathUpdateParagraphListFormatDeleteParagraphListFormatAdded methods to work with paragraph tab stopsGetParagraphTabStopsInsertOrUpdateParagraphTabStopDeleteAllParagraphTabStopsDeleteParagraphTabStopAdded methods to build reportsBuildReportBuildReportOnlineAdded Shading property to ParagraphFormatRead & Write Document FormatsMicrosoft Word:DOC, DOCX, RTF, DOT, DOTX, DOTM, FlatOPC (XML)OpenOffice:ODT, OTTWordprocessingML:XMLWeb:HTML, MHTML, HtmlFixedText:TXTFixed Layout:PDFSave Document AsFixed Layout:PDF/A, XPS, OpenXPS, PSImages:JPEG, PNG, BMP, SVG, TIFF, EMFOthers:PCLPlatform IndependenceAspose.Words Cloud’s platform independent document manipulation API is a true REST API that can be used from any platform. You can use it with any language or platform that supports REST, be it the web, desktop, mobile, or the cloud. The API integrates with other cloud services to provide you the flexibility you require for processing documents. It is suitable for the most types of businesses, documents, or content.Getting Started with Aspose.Words Cloud SDK for PythonFirstly, create an account atAspose for Cloudto get your application information and free quota to use the API. Now executepip install aspose-words-cloudfrom the command line to fetch the SDK. Then import the package viaimport asposewordscloud.Install via SetuptoolsExecutepython setup.py install --userand import the package asimport asposewordscloud.The complete source code is available atGitHub Repository.Delete Watermarks from Word Document via Python# Start README exampleself.words_api=asposewordscloud.WordsApi(client_id,client_secret,base_url)upload_request=asposewordscloud.models.requests.UploadFileRequest(open(os.path.join(local_folder,filename),'rb'),os.path.join(remote_folder,remote_name))self.words_api.upload_file(upload_request)request=asposewordscloud.models.requests.DeleteWatermarkRequest(remote_name,remote_folder)self.words_api.delete_watermark(request)# End README exampleProduct Page|Documentation|API Reference|Code Samples|Blog|Free Support|Free Trial