Aspose.Words Cloud
Aspose.Words Cloud’s platform independent document manipulation API is a true REST API that can be used with any language: .NET, Java, PHP, Ruby, Rails, Python, jQuery and many more. You can use it with any platform — web, desktop, mobile, and cloud.
With Aspose.Words Cloud you can modify and convert documents on the cloud. It supports DOC, DOCX, OOXML, RTF, HTML, OpenDocument, PDF, XPS, EPUB and many other formats. Learn More
New Words Features in the Aspose Cloud PHP SDK
We have implemented the following functions to the Aspose Cloud PHP SDK:
- Get all bookmarks from a Word document - This feature allows you to get all bookmarks from a Word document on the Aspose Cloud Storage.
- Get a specific bookmark from a Word document - This feature allows you to get a specific bookmark from a Word document on the Aspose Cloud Storage.
- Count the bookmarks in a Word document - This feature allows you to get bookmark count from a Word document on the Aspose Cloud Storage.
- Update bookmark text in a Word document - This feature allows you to update bookmark text of a Word document on the Aspose Cloud Storage.
- Get all hyperlinks in a Word document - This feature allows you to get all hyperlinks from a Word document on the Aspose Cloud Storage.
- Get a particular hyperlink from a Word document - This feature allows you to get a particular hyperlinks from a Word document on the Aspose Cloud Storage.
- Count the hyperlinks in a Word document - This feature allows you to get hyperlink count from a Word document on the Aspose Cloud Storage.
- Remove all headers and footers - This feature allows you to remove all headers and footers of a Word document on the Aspose Cloud Storage.
Installing the Aspose Cloud PHP SDK
You can download it using “Composer” from any of the following places:
- https://github.com/asposeforcloud/Aspose_Cloud_SDK_For_PHP
- https://packagist.org/packages/aspose/cloud-sdk-php
Usage Examples
Get all Bookmarks from a Word Document
use Aspose\Cloud\Common\AsposeApp;
use Aspose\Cloud\Common\Product;
use Aspose\Cloud\Words\Document;
Product::$baseProductUri = 'http://api.aspose.com/v1.1';
AsposeApp::$appSID = "XXXXXXXXXX";
AsposeApp::$appKey = "XXXXXXXXXX";
$document = new Document('Test.docx');
$result = $document->getBookmarks();
print_r($result);
Start a Free Trial Today
Start a free trial today – all you need is to sign up with the Aspose Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose Cloud.