Aspose.Words Cloud SDK
This package contains Aspose.Words Cloud SDK for Dart (Compatible with Flutter). This SDK allows you to work with Aspose.Words Cloud REST APIs in your Dart applications quickly and easily, with zero initial cost.
Aspose.Words Cloud
API Reference
Key Features
- Conversion between various document-related formats (20+ formats supported), including PDF<->Word conversion
- Mail merge and reports generation
- Splitting Word documents
- Accessing Word document metadata and statistics
- Find and replace
- Watermarks and protection
- Full read & write access to Document Object Model, including sections, paragraphs, text, images, tables, headers/footers and many others
How to use the SDK?
The complete source code is available in this repository folder. You can either directly use it in your project via source code or add this project as dart package (recommended). For more details, please visit our documentation website.
Prerequisites
To use Aspose Words for Cloud Dart SDK you need to register an account with Aspose Cloud and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.
Installation & Usage
Add this dependency to your pubspec.yaml:
dependencies:
aspose_words_cloud: 24.10.0
Getting Started
// Import dependencies
import 'package:aspose_words_cloud/aspose_words_cloud.dart';
import 'dart:convert';
import 'dart:io';
// Configure words api client
var configuration = Configuration('ClientId', 'ClientSecret');
var wordsApi = WordsApi(configuration);
// Upload file to cloud
var localFileContent = await (File('./test_data/Common/test_doc.docx').readAsBytes());
var uploadRequest = UploadFileRequest(ByteData.view(localFileContent.buffer), 'fileStoredInCloud.docx');
await wordsApi.uploadFile(uploadRequest);
// Save file as pdf in cloud
var saveOptionsData = PdfSaveOptionsData()
..fileName = 'destStoredInCloud.pdf';
var saveAsRequest = SaveAsRequest('fileStoredInCloud.docx', saveOptionsData);
await wordsApi.saveAs(saveAsRequest);
Test contain various examples of using the SDK.
Dependencies
- referenced packages (see here for more details)
Licensing
All Aspose.Words Cloud SDKs, helper scripts and templates are licensed under MIT License.
Contact Us
Your feedback is very important to us. Please feel free to contact us using our Support Forums.
Resources
Website
Product Home
API Reference
Documentation
Blog
Other languages
We generate our SDKs in different languages so you may check if yours is available in our list.
If you don't find your language in the list, feel free to request it from us, or use raw REST API requests as you can find it here.