Use Aspose Cloud PHP SDK to Work with Bookmarks, Hyperlinks, Headers and Footers in Word Documents

Share on FacebookTweet about this on TwitterShare on LinkedIn

Aspose.Words Cloud

Aspose.Words Cloud logoAspose.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:

Installing the Aspose Cloud PHP SDK

You can download it using “Composer” from any of the following places:

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.