Aspose.Words for Cloud API Reference
Project description
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 Python allows 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 the Developer's Guide for all possible usage scenarios.
Document Processing Features
- Programmatically 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 data of a document.
- Remove all macros contained in a specific document.
- Convert a document to desired file format along with detailed settings.
- Convert an encrypted PDF document into Word document format.
Enhancements in Version 20.3.1
- Added RtfSaveOptionsData.SaveImagesAsWmf property
- WordsApi class now has credentials parameters
- All methods which are used files, now operate with bytes array
Enhancements in Version 20.1.0
- Moved property
ColorMode
fromSaveOptionsData
toFixedPageSaveOptionsData
. - Replaced
MemoryStream
andbyte[]
withSixLabors.ImageSharp.IImage
in image processing. - Included support of
ICC
profiles and implementICCBased
color space.
For the detailed notes, please visit Aspose.Words Cloud 20.1 Release Notes.
Read & Write Document Formats
Microsoft Word: DOC, DOCX, RTF, DOT, DOTX, DOTM, FlatOPC (XML) OpenOffice: ODT, OTT WordprocessingML: XML Web: HTML, MHTML, HtmlFixed Text: TXT Fixed Layout: PDF
Save Document As
Fixed Layout: PDF/A, XPS, OpenXPS, PS Images: JPEG, PNG, BMP, SVG, TIFF, EMF Others: PCL
Platform Independence
Aspose.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 Python
Firstly, create an account at Aspose for Cloud to get your application information and free quota to use the API. Now execute pip install aspose-words-cloud
from the command line to fetch the SDK. Then import the package via import asposewordscloud
.
Install via Setuptools
Execute python setup.py install --user
and import the package as import asposewordscloud
.
The complete source code is available at GitHub Repository.
Delete Watermarks from Word Document via Python
import asposewordscloud
import asposewordscloud.models.requests
words_api = asposewordscloud.WordsApi('appSid', 'appKey', 'https://api.aspose.cloud')
filename = 'test_doc.docx'
remote_name = 'TestDeleteDocumentWatermark.docx'
remote_folder = 'FolderWhereFileLocates'
upload_request = asposewordscloud.models.requests.UploadFileRequest(os.path.join(self.local_common_folder, filename), 'rb'), os.path.join(remote_folder, remote_name))
request = asposewordscloud.models.requests.DeleteWatermarkRequest(remote_name, remote_folder)
result = words_api.delete_watermark(request)
self.assertTrue(result.code == 200, 'Error has occurred while delete document watermark')
Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for aspose-words-cloud-20.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e57992ff6bd79df0f3b452072114273d96843b0c7536d6ababec358a9297720 |
|
MD5 | 514a8aeb999010d90f0108fa095945e3 |
|
BLAKE2b-256 | 0243c0d7ee36d30705472749c8b7337de5e03f451523e4a3198b17b261d6deed |
Hashes for aspose_words_cloud-20.4.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d0c4ff075e22ffda65b37968583dba847312bbc9563ef46e194c824e5980225 |
|
MD5 | 5296a22beffa9f972cf82c1b2faf774a |
|
BLAKE2b-256 | 819533a62643e502d19e16fdc74f085e73a02c3dc0d13312e388b3fb1d5c1887 |