Last active
May 15, 2023 14:59
-
-
Save aspose-words-cloud-gists/e2a72445b96362dc0117f06ab54bb94a to your computer and use it in GitHub Desktop.
This gist exceeds the recommended number of files (~10).
To access all files, please clone this gist.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This Gist contains PHP code samples for Aspose.Words Cloud API |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{AcceptAllRevisionsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$acceptRequest = new AcceptAllRevisionsRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->acceptAllRevisions($acceptRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{AcceptAllRevisionsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$acceptRequest = new AcceptAllRevisionsOnlineRequest( | |
$requestDocument, NULL, NULL, NULL, NULL); | |
$wordsApi->acceptAllRevisionsOnline($acceptRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{AppendDocumentRequest}; | |
use Aspose\Words\Model\{DocumentEntry, DocumentEntryList, FileReference}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$remoteFileName = "Sample.docx"; | |
$requestDocumentListDocumentEntries0FileReference = FileReference::fromRemoteFilePath($remoteFileName); | |
$requestDocumentListDocumentEntries0 = new DocumentEntry(array( | |
"file_reference" => $requestDocumentListDocumentEntries0FileReference, | |
"import_format_mode" => "KeepSourceFormatting",)); | |
$requestDocumentListDocumentEntries = [ | |
$requestDocumentListDocumentEntries0, | |
]; | |
$requestDocumentList = new DocumentEntryList(array( | |
"document_entries" => $requestDocumentListDocumentEntries,)); | |
$appendRequest = new AppendDocumentRequest( | |
$remoteFileName, $requestDocumentList, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->appendDocument($appendRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{AppendDocumentOnlineRequest}; | |
use Aspose\Words\Model\{DocumentEntry, DocumentEntryList, FileReference}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$localFile = "Sample.docx"; | |
$requestDocument = $localFile; | |
$requestDocumentListDocumentEntries0FileReferenceStream = realpath(__DIR__ . '/../../..') . '/TestData/' . $localFile; | |
$requestDocumentListDocumentEntries0FileReference = FileReference::fromLocalFileContent($requestDocumentListDocumentEntries0FileReferenceStream); | |
$requestDocumentListDocumentEntries0 = new DocumentEntry(array( | |
"file_reference" => $requestDocumentListDocumentEntries0FileReference, | |
"import_format_mode" => "KeepSourceFormatting",)); | |
$requestDocumentListDocumentEntries = [ | |
$requestDocumentListDocumentEntries0, | |
]; | |
$requestDocumentList = new DocumentEntryList(array( | |
"document_entries" => $requestDocumentListDocumentEntries,)); | |
$appendRequest = new AppendDocumentOnlineRequest( | |
$requestDocument, $requestDocumentList, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->appendDocumentOnline($appendRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ApplyStyleToDocumentElementRequest}; | |
use Aspose\Words\Model\{StyleApply}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestStyleApply = new StyleApply(array( | |
"style_name" => "Heading 1",)); | |
$applyStyleRequest = new ApplyStyleToDocumentElementRequest( | |
"Sample.docx", "paragraphs/1/paragraphFormat", $requestStyleApply, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->applyStyleToDocumentElement($applyStyleRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ApplyStyleToDocumentElementOnlineRequest}; | |
use Aspose\Words\Model\{StyleApply}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestStyleApply = new StyleApply(array( | |
"style_name" => "Heading 1",)); | |
$applyStyleRequest = new ApplyStyleToDocumentElementOnlineRequest( | |
$requestDocument, "paragraphs/1/paragraphFormat", $requestStyleApply, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->applyStyleToDocumentElementOnline($applyStyleRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{BuildReportRequest}; | |
use Aspose\Words\Model\{ReportEngineSettings}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestReportEngineSettingsReportBuildOptions = [ | |
"AllowMissingMembers", | |
"RemoveEmptyParagraphs", | |
]; | |
$requestReportEngineSettings = new ReportEngineSettings(array( | |
"data_source_type" => "Json", | |
"report_build_options" => $requestReportEngineSettingsReportBuildOptions,)); | |
$buildReportRequest = new BuildReportRequest( | |
"Sample.docx", "Data.json", $requestReportEngineSettings, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->buildReport($buildReportRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{BuildReportOnlineRequest}; | |
use Aspose\Words\Model\{ReportEngineSettings}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestTemplate = "Sample.docx"; | |
$requestReportEngineSettings = new ReportEngineSettings(array( | |
"data_source_type" => "Json", | |
"data_source_name" => "persons",)); | |
$buildReportRequest = new BuildReportOnlineRequest( | |
$requestTemplate, "Data.json", $requestReportEngineSettings, NULL); | |
$wordsApi->buildReportOnline($buildReportRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ClassifyRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$classifyRequest = new ClassifyRequest( | |
"Try text classification", "3"); | |
$wordsApi->classify($classifyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ClassifyDocumentRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$classifyRequest = new ClassifyDocumentRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, "3", NULL); | |
$wordsApi->classifyDocument($classifyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ClassifyDocumentOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$classifyRequest = new ClassifyDocumentOnlineRequest( | |
$requestDocument, NULL, NULL, NULL, "3", NULL); | |
$wordsApi->classifyDocumentOnline($classifyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{CompareDocumentRequest}; | |
use Aspose\Words\Model\{CompareData}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestCompareData = new CompareData(array( | |
"author" => "author", | |
"comparing_with_document" => "TestCompareDocument2.doc", | |
"date_time" => new \DateTime("2015-10-26T00:00:00.0000000Z"),)); | |
$compareRequest = new CompareDocumentRequest( | |
"TestCompareDocument1.doc", $requestCompareData, NULL, NULL, NULL, NULL, NULL, "CompareDocumentOut.doc", NULL); | |
$wordsApi->compareDocument($compareRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{CompareDocumentOnlineRequest}; | |
use Aspose\Words\Model\{CompareData}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "compareTestDoc1.doc"; | |
$requestCompareData = new CompareData(array( | |
"author" => "author", | |
"comparing_with_document" => "TestCompareDocument2.doc", | |
"date_time" => new \DateTime("2015-10-26T00:00:00.0000000Z"),)); | |
$requestComparingDocument = "compareTestDoc2.doc"; | |
$compareRequest = new CompareDocumentOnlineRequest( | |
$requestDocument, $requestCompareData, $requestComparingDocument, NULL, NULL, NULL, "CompareDocumentOut.doc", NULL); | |
$wordsApi->compareDocumentOnline($compareRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{CompressDocumentRequest}; | |
use Aspose\Words\Model\{CompressOptions}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestCompressOptions = new CompressOptions(array()); | |
$compressDocument = new CompressDocumentRequest( | |
"Sample.docx", $requestCompressOptions, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->compressDocument($compressDocument); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{CompressDocumentOnlineRequest}; | |
use Aspose\Words\Model\{CompressOptions}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "TestCompress.docx"; | |
$requestCompressOptions = new CompressOptions(array()); | |
$compressDocumentOnline = new CompressDocumentOnlineRequest( | |
$requestDocument, $requestCompressOptions, NULL, NULL, NULL, NULL); | |
$wordsApi->compressDocumentOnline($compressDocumentOnline); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ConvertDocumentRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$convertRequest = new ConvertDocumentRequest( | |
$requestDocument, "pdf", NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->convertDocument($convertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ConvertDocumentRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$convertRequest = new ConvertDocumentRequest( | |
$requestDocument, "pdf", NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->convertDocument($convertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ConvertDocumentRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$convertRequest = new ConvertDocumentRequest( | |
$requestDocument, "pdf", NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->convertDocument($convertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{CopyFileRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$copyRequest = new CopyFileRequest( | |
"Copy.docx", "Sample.docx", NULL, NULL, NULL); | |
$wordsApi->copyFile($copyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{CopyFolderRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$folderToCopy = "/TestCopyFolder"; | |
$copyRequest = new CopyFolderRequest( | |
$folderToCopy . "Dest", $folderToCopy . "Src", NULL, NULL); | |
$wordsApi->copyFolder($copyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{CopyStyleRequest}; | |
use Aspose\Words\Model\{StyleCopy}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestStyleCopy = new StyleCopy(array( | |
"style_name" => "Heading 1",)); | |
$copyRequest = new CopyStyleRequest( | |
"Sample.docx", $requestStyleCopy, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->copyStyle($copyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{CopyStyleOnlineRequest}; | |
use Aspose\Words\Model\{StyleCopy}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestStyleCopy = new StyleCopy(array( | |
"style_name" => "Heading 1",)); | |
$copyRequest = new CopyStyleOnlineRequest( | |
$requestDocument, $requestStyleCopy, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->copyStyleOnline($copyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{CopyStylesFromTemplateRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$copyRequest = new CopyStylesFromTemplateRequest( | |
"Sample.docx", "StyleTemplate.docx", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->copyStylesFromTemplate($copyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{CreateDocumentRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$createRequest = new CreateDocumentRequest( | |
"Sample.docx", NULL, NULL); | |
$wordsApi->createDocument($createRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{CreateFolderRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$createRequest = new CreateFolderRequest( | |
"/TestCreateFolder", NULL); | |
$wordsApi->createFolder($createRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{CreateOrUpdateDocumentPropertyRequest}; | |
use Aspose\Words\Model\{DocumentPropertyCreateOrUpdate}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestProperty = new DocumentPropertyCreateOrUpdate(array( | |
"value" => "John Doe",)); | |
$createRequest = new CreateOrUpdateDocumentPropertyRequest( | |
"Sample.docx", "AsposeAuthor", $requestProperty, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->createOrUpdateDocumentProperty($createRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{CreateOrUpdateDocumentPropertyOnlineRequest}; | |
use Aspose\Words\Model\{DocumentPropertyCreateOrUpdate}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestProperty = new DocumentPropertyCreateOrUpdate(array( | |
"value" => "John Doe",)); | |
$createRequest = new CreateOrUpdateDocumentPropertyOnlineRequest( | |
$requestDocument, "AsposeAuthor", $requestProperty, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->createOrUpdateDocumentPropertyOnline($createRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteAllParagraphTabStopsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteAllParagraphTabStopsRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteAllParagraphTabStops($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteAllParagraphTabStopsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteAllParagraphTabStopsOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteAllParagraphTabStopsOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteBookmarkRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteBookmarkRequest( | |
"Sample.docx", "aspose", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteBookmark($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteBookmarkOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteBookmarkOnlineRequest( | |
$requestDocument, "aspose", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteBookmarkOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteBookmarksRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteBookmarksRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteBookmarks($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteBookmarksOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteBookmarksOnlineRequest( | |
$requestDocument, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteBookmarksOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteBorderRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteBorderRequest( | |
"Sample.docx", "left", "tables/1/rows/0/cells/0", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteBorder($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteBorderOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteBorderOnlineRequest( | |
$requestDocument, "left", "tables/1/rows/0/cells/0", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteBorderOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteBordersRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteBordersRequest( | |
"Sample.docx", "tables/1/rows/0/cells/0", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteBorders($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteBordersOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteBordersOnlineRequest( | |
$requestDocument, "tables/1/rows/0/cells/0", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteBordersOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteCommentRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteCommentRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteComment($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteCommentOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteCommentOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteCommentOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteCommentsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteCommentsRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteComments($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteCommentsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteCommentsOnlineRequest( | |
$requestDocument, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteCommentsOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteCustomXmlPartRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteCustomXmlPartRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteCustomXmlPart($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteCustomXmlPartOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteCustomXmlPartOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteCustomXmlPartOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteCustomXmlPartsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteCustomXmlPartsRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteCustomXmlParts($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteCustomXmlPartsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteCustomXmlPartsOnlineRequest( | |
$requestDocument, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteCustomXmlPartsOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteDocumentPropertyRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteDocumentPropertyRequest( | |
"Sample.docx", "testProp", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteDocumentProperty($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteDocumentPropertyOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteDocumentPropertyOnlineRequest( | |
$requestDocument, "testProp", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteDocumentPropertyOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteDrawingObjectRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteDrawingObjectRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteDrawingObject($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteDrawingObjectOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteDrawingObjectOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteDrawingObjectOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteFieldRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteFieldRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteField($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteFieldOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteFieldOnlineRequest( | |
$requestDocument, 0, "sections/0/paragraphs/0", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteFieldOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteFieldsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteFieldsRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteFields($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteFieldsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteFieldsOnlineRequest( | |
$requestDocument, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteFieldsOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteFileRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteFileRequest( | |
"Sample.docx", NULL, NULL); | |
$wordsApi->deleteFile($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteFolderRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteFolderRequest( | |
"", NULL, NULL); | |
$wordsApi->deleteFolder($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteFootnoteRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteFootnoteRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteFootnote($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteFootnoteOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.doc"; | |
$deleteRequest = new DeleteFootnoteOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteFootnoteOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteFormFieldRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteFormFieldRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteFormField($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteFormFieldOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteFormFieldOnlineRequest( | |
$requestDocument, 0, "sections/0", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteFormFieldOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteMacrosRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteMacrosRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteMacros($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteMacrosOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteMacrosOnlineRequest( | |
$requestDocument, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteMacrosOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteOfficeMathObjectRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteOfficeMathObjectRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteOfficeMathObject($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteOfficeMathObjectOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteOfficeMathObjectOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteOfficeMathObjectOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteParagraphRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteParagraphRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteParagraph($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteParagraphListFormatRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteParagraphListFormatRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteParagraphListFormat($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteParagraphListFormatOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.doc"; | |
$deleteRequest = new DeleteParagraphListFormatOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteParagraphListFormatOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteParagraphOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteParagraphOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteParagraphOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteParagraphTabStopRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteParagraphTabStopRequest( | |
"Sample.docx", 72.0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteParagraphTabStop($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteParagraphTabStopOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteParagraphTabStopOnlineRequest( | |
$requestDocument, 72.0, 0, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteParagraphTabStopOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteRunRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteRunRequest( | |
"Sample.docx", "paragraphs/1", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteRun($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteRunOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.doc"; | |
$deleteRequest = new DeleteRunOnlineRequest( | |
$requestDocument, "paragraphs/1", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteRunOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteSectionRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteSectionRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteSection($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteSectionOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteSectionOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteSectionOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteStructuredDocumentTagRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteStructuredDocumentTagRequest( | |
"Sample.docx", 0, "sections/0/body/paragraphs/0", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteStructuredDocumentTag($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteStructuredDocumentTagOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteStructuredDocumentTagOnlineRequest( | |
$requestDocument, 0, "sections/0/body/paragraphs/0", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteStructuredDocumentTagOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteTableRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteTableRequest( | |
"Sample.docx", 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteTable($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteTableCellRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteTableCellRequest( | |
"Sample.docx", "sections/0/tables/2/rows/0", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteTableCell($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteTableCellOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteTableCellOnlineRequest( | |
$requestDocument, "sections/0/tables/2/rows/0", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteTableCellOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteTableOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteTableOnlineRequest( | |
$requestDocument, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteTableOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteTableRowRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteTableRowRequest( | |
"Sample.docx", "tables/1", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteTableRow($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteTableRowOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteTableRowOnlineRequest( | |
$requestDocument, "tables/1", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteTableRowOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteWatermarkRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$deleteRequest = new DeleteWatermarkRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteWatermark($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DeleteWatermarkOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$deleteRequest = new DeleteWatermarkOnlineRequest( | |
$requestDocument, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->deleteWatermarkOnline($deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{DownloadFileRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$downloadRequest = new DownloadFileRequest( | |
"Sample.docx", NULL, NULL); | |
$wordsApi->downloadFile($downloadRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ExecuteMailMergeRequest}; | |
use Aspose\Words\Model\{FieldOptions, UserInformation}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestOptionsCurrentUser = new UserInformation(array( | |
"name" => "SdkTestUser",)); | |
$requestOptions = new FieldOptions(array( | |
"current_user" => $requestOptionsCurrentUser,)); | |
$mailMergeRequest = new ExecuteMailMergeRequest( | |
"Sample.docx", file_get_contents(realpath(__DIR__ . '/../../..') . "/TestData/" . "TestMailMergeData.xml"), $requestOptions, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->executeMailMerge($mailMergeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests; | |
// Create WordsApi instance | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$fileName = "template.doc"; | |
$destName = "Out_PostDocumentExecuteMailMergeWithHTMLData.docx"; | |
$data = file_get_contents('TestPostDocumentExecuteMailMerge.txt'); | |
// Upload document to Cloud Storage | |
$wordsApi->uploadFile(new Requests\UploadFileRequest($fileName, "", null)); | |
// Create request and execute api method | |
$request = new Requests\ExecuteMailMergeRequest($fileName, $data, null, null, null, null, null, null, null, false, $destName); | |
$result = $wordsApi->executeMailMerge($request); | |
print_r($result); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests; | |
// Create WordsApi instance | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$fileName = "SampleMailMergeTemplate.docx"; | |
$destName = "Out_SampleMailMergeTemplate.docx"; | |
$data = file_get_contents('SampleMailMergeTemplateData.xml'); | |
// Upload document to Cloud Storage | |
$wordsApi->uploadFile(new Requests\UploadFileRequest($fileName, "", null)); | |
// Create request and execute api method | |
$request = new Requests\ExecuteMailMergeRequest($fileName, $data, null, null, null, null, null, null, null, false, $destName); | |
$result = $wordsApi->executeMailMerge($request); | |
print_r($result); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ExecuteMailMergeOnlineRequest}; | |
use Aspose\Words\Model\{FieldOptions, UserInformation}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestTemplate = "Sample.docx"; | |
$requestData = file_get_contents(realpath(__DIR__ . '/../../..') . "/TestData/" . "TestMailMergeData.xml"); | |
$requestOptionsCurrentUser = new UserInformation(array( | |
"name" => "SdkTestUser",)); | |
$requestOptions = new FieldOptions(array( | |
"current_user" => $requestOptionsCurrentUser,)); | |
$mailMergeRequest = new ExecuteMailMergeOnlineRequest( | |
$requestTemplate, $requestData, $requestOptions, NULL, NULL, NULL); | |
$wordsApi->executeMailMergeOnline($mailMergeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ExecuteMailMergeOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestTemplate = "TestMailMergeWithImages.doc"; | |
$requestData = "MailMergeData.json"; | |
$mailMergeRequest = new ExecuteMailMergeOnlineRequest( | |
$requestTemplate, $requestData, NULL, NULL, NULL, "Out_TestMailMergeWithImages.doc"); | |
$wordsApi->executeMailMergeOnline($mailMergeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ExecuteMailMergeOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestTemplate = "template.doc"; | |
$requestData = "TestPostDocumentExecuteMailMerge.txt"; | |
$mailMergeRequest = new ExecuteMailMergeOnlineRequest( | |
$requestTemplate, $requestData, NULL, NULL, NULL, "Out_PostDocumentExecuteMailMergeWithHTMLData.docx"); | |
$wordsApi->executeMailMergeOnline($mailMergeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ExecuteMailMergeOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestTemplate = "SampleMailMergeTemplate.docx"; | |
$requestData = "SampleMailMergeTemplateData.xml"; | |
$mailMergeRequest = new ExecuteMailMergeOnlineRequest( | |
$requestTemplate, $requestData, NULL, NULL, NULL, "Out_SampleMailMergeTemplate.docx"); | |
$wordsApi->executeMailMergeOnline($mailMergeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetAvailableFontsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetAvailableFontsRequest( | |
NULL); | |
$wordsApi->getAvailableFonts($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetBookmarkByNameRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetBookmarkByNameRequest( | |
"Sample.docx", "aspose", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getBookmarkByName($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetBookmarkByNameOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetBookmarkByNameOnlineRequest( | |
$requestDocument, "aspose", NULL, NULL, NULL); | |
$wordsApi->getBookmarkByNameOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetBookmarksRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetBookmarksRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getBookmarks($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetBookmarksOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetBookmarksOnlineRequest( | |
$requestDocument, NULL, NULL, NULL); | |
$wordsApi->getBookmarksOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetBorderRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetBorderRequest( | |
"Sample.docx", "left", "tables/1/rows/0/cells/0", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getBorder($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetBorderOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetBorderOnlineRequest( | |
$requestDocument, "left", "tables/1/rows/0/cells/0", NULL, NULL, NULL); | |
$wordsApi->getBorderOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetBordersRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetBordersRequest( | |
"Sample.docx", "tables/1/rows/0/cells/0", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getBorders($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetBordersOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetBordersOnlineRequest( | |
$requestDocument, "tables/1/rows/0/cells/0", NULL, NULL, NULL); | |
$wordsApi->getBordersOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetCommentRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetCommentRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getComment($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetCommentOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetCommentOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL); | |
$wordsApi->getCommentOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetCommentsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetCommentsRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getComments($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetCommentsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetCommentsOnlineRequest( | |
$requestDocument, NULL, NULL, NULL); | |
$wordsApi->getCommentsOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetCustomXmlPartRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetCustomXmlPartRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getCustomXmlPart($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetCustomXmlPartOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetCustomXmlPartOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL); | |
$wordsApi->getCustomXmlPartOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetCustomXmlPartsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetCustomXmlPartsRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getCustomXmlParts($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetCustomXmlPartsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetCustomXmlPartsOnlineRequest( | |
$requestDocument, NULL, NULL, NULL); | |
$wordsApi->getCustomXmlPartsOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetDocumentRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getDocument($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentDrawingObjectByIndexRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetDocumentDrawingObjectByIndexRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getDocumentDrawingObjectByIndex($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentDrawingObjectByIndexOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetDocumentDrawingObjectByIndexOnlineRequest( | |
$requestDocument, 0, "sections/0", NULL, NULL, NULL); | |
$wordsApi->getDocumentDrawingObjectByIndexOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentDrawingObjectImageDataRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetDocumentDrawingObjectImageDataRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getDocumentDrawingObjectImageData($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentDrawingObjectImageDataOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetDocumentDrawingObjectImageDataOnlineRequest( | |
$requestDocument, 0, "sections/0", NULL, NULL, NULL); | |
$wordsApi->getDocumentDrawingObjectImageDataOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentDrawingObjectOleDataRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetDocumentDrawingObjectOleDataRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getDocumentDrawingObjectOleData($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentDrawingObjectOleDataOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetDocumentDrawingObjectOleDataOnlineRequest( | |
$requestDocument, 0, "sections/0", NULL, NULL, NULL); | |
$wordsApi->getDocumentDrawingObjectOleDataOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentDrawingObjectsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetDocumentDrawingObjectsRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getDocumentDrawingObjects($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentDrawingObjectsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetDocumentDrawingObjectsOnlineRequest( | |
$requestDocument, "sections/0", NULL, NULL, NULL); | |
$wordsApi->getDocumentDrawingObjectsOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentFieldNamesRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetDocumentFieldNamesRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getDocumentFieldNames($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentFieldNamesOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestTemplate = "Sample.docx"; | |
$request = new GetDocumentFieldNamesOnlineRequest( | |
$requestTemplate, NULL, NULL, NULL, true); | |
$wordsApi->getDocumentFieldNamesOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentHyperlinkByIndexRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetDocumentHyperlinkByIndexRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getDocumentHyperlinkByIndex($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentHyperlinkByIndexOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetDocumentHyperlinkByIndexOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL); | |
$wordsApi->getDocumentHyperlinkByIndexOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentHyperlinksRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetDocumentHyperlinksRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getDocumentHyperlinks($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentHyperlinksOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetDocumentHyperlinksOnlineRequest( | |
$requestDocument, NULL, NULL, NULL); | |
$wordsApi->getDocumentHyperlinksOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentPropertiesRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetDocumentPropertiesRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getDocumentProperties($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentPropertiesOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetDocumentPropertiesOnlineRequest( | |
$requestDocument, NULL, NULL, NULL); | |
$wordsApi->getDocumentPropertiesOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentPropertyRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetDocumentPropertyRequest( | |
"Sample.docx", "Author", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getDocumentProperty($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentPropertyOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetDocumentPropertyOnlineRequest( | |
$requestDocument, "Author", NULL, NULL, NULL); | |
$wordsApi->getDocumentPropertyOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentProtectionRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetDocumentProtectionRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getDocumentProtection($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentProtectionOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetDocumentProtectionOnlineRequest( | |
$requestDocument, NULL, NULL, NULL); | |
$wordsApi->getDocumentProtectionOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentStatisticsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetDocumentStatisticsRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getDocumentStatistics($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentStatisticsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetDocumentStatisticsOnlineRequest( | |
$requestDocument, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getDocumentStatisticsOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetDocumentWithFormatRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetDocumentWithFormatRequest( | |
"Sample.docx", "text", NULL, NULL, NULL, NULL, NULL, "DocumentWithFormat.text", NULL); | |
$wordsApi->getDocumentWithFormat($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetFieldRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetFieldRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getField($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetFieldOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetFieldOnlineRequest( | |
$requestDocument, 0, "sections/0/paragraphs/0", NULL, NULL, NULL); | |
$wordsApi->getFieldOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetFieldsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetFieldsRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getFields($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetFieldsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetFieldsOnlineRequest( | |
$requestDocument, "sections/0", NULL, NULL, NULL); | |
$wordsApi->getFieldsOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetFilesListRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetFilesListRequest( | |
"", NULL); | |
$wordsApi->getFilesList($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetFootnoteRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetFootnoteRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getFootnote($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetFootnoteOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.doc"; | |
$request = new GetFootnoteOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL, NULL); | |
$wordsApi->getFootnoteOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetFootnotesRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetFootnotesRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getFootnotes($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetFootnotesOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.doc"; | |
$request = new GetFootnotesOnlineRequest( | |
$requestDocument, NULL, NULL, NULL, NULL); | |
$wordsApi->getFootnotesOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetFormFieldRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetFormFieldRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getFormField($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetFormFieldOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetFormFieldOnlineRequest( | |
$requestDocument, 0, "sections/0", NULL, NULL, NULL); | |
$wordsApi->getFormFieldOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetFormFieldsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetFormFieldsRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getFormFields($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetFormFieldsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetFormFieldsOnlineRequest( | |
$requestDocument, "sections/0", NULL, NULL, NULL); | |
$wordsApi->getFormFieldsOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetInfoRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetInfoRequest(); | |
$wordsApi->getInfo($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetListRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetListRequest( | |
"TestGetLists.doc", 1, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getList($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetListOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.doc"; | |
$request = new GetListOnlineRequest( | |
$requestDocument, 1, NULL, NULL, NULL); | |
$wordsApi->getListOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetListsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetListsRequest( | |
"TestGetLists.doc", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getLists($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetListsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.doc"; | |
$request = new GetListsOnlineRequest( | |
$requestDocument, NULL, NULL, NULL); | |
$wordsApi->getListsOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetOfficeMathObjectRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetOfficeMathObjectRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getOfficeMathObject($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetOfficeMathObjectOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetOfficeMathObjectOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL, NULL); | |
$wordsApi->getOfficeMathObjectOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetOfficeMathObjectsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetOfficeMathObjectsRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getOfficeMathObjects($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetOfficeMathObjectsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetOfficeMathObjectsOnlineRequest( | |
$requestDocument, NULL, NULL, NULL, NULL); | |
$wordsApi->getOfficeMathObjectsOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetParagraphRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetParagraphRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getParagraph($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetParagraphFormatRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetParagraphFormatRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getParagraphFormat($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetParagraphFormatOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetParagraphFormatOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL, NULL); | |
$wordsApi->getParagraphFormatOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetParagraphListFormatRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetParagraphListFormatRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getParagraphListFormat($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetParagraphListFormatOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.doc"; | |
$request = new GetParagraphListFormatOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL, NULL); | |
$wordsApi->getParagraphListFormatOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetParagraphOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetParagraphOnlineRequest( | |
$requestDocument, 0, "sections/0", NULL, NULL, NULL); | |
$wordsApi->getParagraphOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetParagraphsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetParagraphsRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getParagraphs($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetParagraphsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetParagraphsOnlineRequest( | |
$requestDocument, "sections/0", NULL, NULL, NULL); | |
$wordsApi->getParagraphsOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetParagraphTabStopsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetParagraphTabStopsRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getParagraphTabStops($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetParagraphTabStopsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetParagraphTabStopsOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL, NULL); | |
$wordsApi->getParagraphTabStopsOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetPublicKeyRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetPublicKeyRequest(); | |
$wordsApi->getPublicKey($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetRangeTextRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetRangeTextRequest( | |
"Sample.docx", "id0.0.0", "id0.0.1", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getRangeText($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetRangeTextOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.doc"; | |
$request = new GetRangeTextOnlineRequest( | |
$requestDocument, "id0.0.0", "id0.0.1", NULL, NULL, NULL); | |
$wordsApi->getRangeTextOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetRunRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetRunRequest( | |
"Sample.docx", "paragraphs/0", 0, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getRun($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetRunFontRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetRunFontRequest( | |
"Sample.docx", "paragraphs/0", 0, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getRunFont($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetRunFontOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetRunFontOnlineRequest( | |
$requestDocument, "paragraphs/0", 0, NULL, NULL, NULL); | |
$wordsApi->getRunFontOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetRunOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetRunOnlineRequest( | |
$requestDocument, "paragraphs/0", 0, NULL, NULL, NULL); | |
$wordsApi->getRunOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetRunsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetRunsRequest( | |
"Sample.docx", "sections/0/paragraphs/0", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getRuns($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetRunsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetRunsOnlineRequest( | |
$requestDocument, "sections/0/paragraphs/0", NULL, NULL, NULL); | |
$wordsApi->getRunsOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetSectionRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetSectionRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getSection($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetSectionOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetSectionOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL); | |
$wordsApi->getSectionOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetSectionPageSetupRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetSectionPageSetupRequest( | |
"Sample.docx", 0, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getSectionPageSetup($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetSectionPageSetupOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetSectionPageSetupOnlineRequest( | |
$requestDocument, 0, NULL, NULL, NULL); | |
$wordsApi->getSectionPageSetupOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetSectionsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetSectionsRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getSections($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetSectionsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetSectionsOnlineRequest( | |
$requestDocument, NULL, NULL, NULL); | |
$wordsApi->getSectionsOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetStructuredDocumentTagRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetStructuredDocumentTagRequest( | |
"Sample.docx", 0, "sections/0/body/paragraphs/0", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getStructuredDocumentTag($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetStructuredDocumentTagOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetStructuredDocumentTagOnlineRequest( | |
$requestDocument, 0, "sections/0/body/paragraphs/0", NULL, NULL, NULL); | |
$wordsApi->getStructuredDocumentTagOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetStyleRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetStyleRequest( | |
"Sample.docx", "Heading 1", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getStyle($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetStyleFromDocumentElementRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetStyleFromDocumentElementRequest( | |
"Sample.docx", "paragraphs/1/paragraphFormat", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getStyleFromDocumentElement($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetStyleFromDocumentElementOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetStyleFromDocumentElementOnlineRequest( | |
$requestDocument, "paragraphs/1/paragraphFormat", NULL, NULL, NULL); | |
$wordsApi->getStyleFromDocumentElementOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetStyleOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetStyleOnlineRequest( | |
$requestDocument, "Heading 1", NULL, NULL, NULL); | |
$wordsApi->getStyleOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetStylesRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetStylesRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getStyles($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetStylesOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetStylesOnlineRequest( | |
$requestDocument, NULL, NULL, NULL); | |
$wordsApi->getStylesOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetTableRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetTableRequest( | |
"Sample.docx", 1, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getTable($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetTableCellRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetTableCellRequest( | |
"Sample.docx", "sections/0/tables/2/rows/0", 0, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getTableCell($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetTableCellFormatRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetTableCellFormatRequest( | |
"Sample.docx", "sections/0/tables/2/rows/0", 0, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getTableCellFormat($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetTableCellFormatOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetTableCellFormatOnlineRequest( | |
$requestDocument, "sections/0/tables/2/rows/0", 0, NULL, NULL, NULL); | |
$wordsApi->getTableCellFormatOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetTableCellOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetTableCellOnlineRequest( | |
$requestDocument, "sections/0/tables/2/rows/0", 0, NULL, NULL, NULL); | |
$wordsApi->getTableCellOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetTableOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetTableOnlineRequest( | |
$requestDocument, 1, NULL, NULL, NULL, NULL); | |
$wordsApi->getTableOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetTablePropertiesRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetTablePropertiesRequest( | |
"Sample.docx", 1, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getTableProperties($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetTablePropertiesOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetTablePropertiesOnlineRequest( | |
$requestDocument, 1, NULL, NULL, NULL, NULL); | |
$wordsApi->getTablePropertiesOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetTableRowRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetTableRowRequest( | |
"Sample.docx", "tables/1", 0, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getTableRow($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetTableRowFormatRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetTableRowFormatRequest( | |
"Sample.docx", "sections/0/tables/2", 0, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getTableRowFormat($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetTableRowFormatOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetTableRowFormatOnlineRequest( | |
$requestDocument, "sections/0/tables/2", 0, NULL, NULL, NULL); | |
$wordsApi->getTableRowFormatOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetTableRowOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetTableRowOnlineRequest( | |
$requestDocument, "tables/1", 0, NULL, NULL, NULL); | |
$wordsApi->getTableRowOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetTablesRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$request = new GetTablesRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->getTables($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{GetTablesOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$request = new GetTablesOnlineRequest( | |
$requestDocument, NULL, NULL, NULL, NULL); | |
$wordsApi->getTablesOnline($request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertBookmarkRequest}; | |
use Aspose\Words\Model\{BookmarkInsert, NewDocumentPosition}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestBookmarkStartRange = new NewDocumentPosition(array( | |
"node_id" => "0.0.0.0", | |
"offset" => 0,)); | |
$requestBookmarkEndRange = new NewDocumentPosition(array( | |
"node_id" => "0.0.0.0", | |
"offset" => 0,)); | |
$requestBookmark = new BookmarkInsert(array( | |
"start_range" => $requestBookmarkStartRange, | |
"end_range" => $requestBookmarkEndRange, | |
"name" => "new_bookmark", | |
"text" => "Some text",)); | |
$insertRequest = new InsertBookmarkRequest( | |
"Sample.docx", $requestBookmark, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertBookmark($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertBookmarkOnlineRequest}; | |
use Aspose\Words\Model\{BookmarkInsert, NewDocumentPosition}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestBookmarkStartRange = new NewDocumentPosition(array( | |
"node_id" => "0.0.0.0", | |
"offset" => 0,)); | |
$requestBookmarkEndRange = new NewDocumentPosition(array( | |
"node_id" => "0.0.0.0", | |
"offset" => 0,)); | |
$requestBookmark = new BookmarkInsert(array( | |
"start_range" => $requestBookmarkStartRange, | |
"end_range" => $requestBookmarkEndRange, | |
"name" => "new_bookmark", | |
"text" => "Some text",)); | |
$insertRequest = new InsertBookmarkOnlineRequest( | |
$requestDocument, $requestBookmark, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertBookmarkOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertCommentRequest}; | |
use Aspose\Words\Model\{CommentInsert, NewDocumentPosition}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestCommentRangeStart = new NewDocumentPosition(array( | |
"node_id" => "0.3.0.3", | |
"offset" => 0,)); | |
$requestCommentRangeEnd = new NewDocumentPosition(array( | |
"node_id" => "0.3.0.3", | |
"offset" => 0,)); | |
$requestComment = new CommentInsert(array( | |
"range_start" => $requestCommentRangeStart, | |
"range_end" => $requestCommentRangeEnd, | |
"initial" => "IA", | |
"author" => "John Doe", | |
"text" => "A new Comment",)); | |
$insertRequest = new InsertCommentRequest( | |
"Sample.docx", $requestComment, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertComment($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertCommentOnlineRequest}; | |
use Aspose\Words\Model\{CommentInsert, NewDocumentPosition}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestCommentRangeStart = new NewDocumentPosition(array( | |
"node_id" => "0.3.0.3", | |
"offset" => 0,)); | |
$requestCommentRangeEnd = new NewDocumentPosition(array( | |
"node_id" => "0.3.0.3", | |
"offset" => 0,)); | |
$requestComment = new CommentInsert(array( | |
"range_start" => $requestCommentRangeStart, | |
"range_end" => $requestCommentRangeEnd, | |
"initial" => "IA", | |
"author" => "John Doe", | |
"text" => "A new Comment",)); | |
$insertRequest = new InsertCommentOnlineRequest( | |
$requestDocument, $requestComment, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertCommentOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertCustomXmlPartRequest}; | |
use Aspose\Words\Model\{CustomXmlPartInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestCustomXmlPart = new CustomXmlPartInsert(array( | |
"id" => "hello", | |
"data" => "<data>Hello world</data>",)); | |
$insertRequest = new InsertCustomXmlPartRequest( | |
"Sample.docx", $requestCustomXmlPart, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertCustomXmlPart($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertCustomXmlPartOnlineRequest}; | |
use Aspose\Words\Model\{CustomXmlPartInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestCustomXmlPart = new CustomXmlPartInsert(array( | |
"id" => "hello", | |
"data" => "<data>Hello world</data>",)); | |
$insertRequest = new InsertCustomXmlPartOnlineRequest( | |
$requestDocument, $requestCustomXmlPart, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertCustomXmlPartOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertDrawingObjectRequest}; | |
use Aspose\Words\Model\{DrawingObjectInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDrawingObject = new DrawingObjectInsert(array( | |
"height" => 0, | |
"left" => 0, | |
"top" => 0, | |
"width" => 0, | |
"relative_horizontal_position" => "Margin", | |
"relative_vertical_position" => "Margin", | |
"wrap_type" => "Inline",)); | |
$requestImageFile = "Image.png"; | |
$insertRequest = new InsertDrawingObjectRequest( | |
"Sample.docx", $requestDrawingObject, $requestImageFile, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertDrawingObject($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertDrawingObjectOnlineRequest}; | |
use Aspose\Words\Model\{DrawingObjectInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestDrawingObject = new DrawingObjectInsert(array( | |
"height" => 0, | |
"left" => 0, | |
"top" => 0, | |
"width" => 0, | |
"relative_horizontal_position" => "Margin", | |
"relative_vertical_position" => "Margin", | |
"wrap_type" => "Inline",)); | |
$requestImageFile = "Image.png"; | |
$insertRequest = new InsertDrawingObjectOnlineRequest( | |
$requestDocument, $requestDrawingObject, $requestImageFile, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertDrawingObjectOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertFieldRequest}; | |
use Aspose\Words\Model\{FieldInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestField = new FieldInsert(array( | |
"field_code" => "{ NUMPAGES }",)); | |
$insertRequest = new InsertFieldRequest( | |
"Sample.docx", $requestField, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertField($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertFieldOnlineRequest}; | |
use Aspose\Words\Model\{FieldInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestField = new FieldInsert(array( | |
"field_code" => "{ NUMPAGES }",)); | |
$insertRequest = new InsertFieldOnlineRequest( | |
$requestDocument, $requestField, "sections/0/paragraphs/0", NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertFieldOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertFootnoteRequest}; | |
use Aspose\Words\Model\{FootnoteInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestFootnoteDto = new FootnoteInsert(array( | |
"footnote_type" => "Endnote", | |
"text" => "test endnote",)); | |
$insertRequest = new InsertFootnoteRequest( | |
"Sample.docx", $requestFootnoteDto, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertFootnote($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertFootnoteOnlineRequest}; | |
use Aspose\Words\Model\{FootnoteInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.doc"; | |
$requestFootnoteDto = new FootnoteInsert(array( | |
"footnote_type" => "Endnote", | |
"text" => "test endnote",)); | |
$insertRequest = new InsertFootnoteOnlineRequest( | |
$requestDocument, $requestFootnoteDto, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertFootnoteOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertFormFieldRequest}; | |
use Aspose\Words\Model\{FormFieldTextInput}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestFormField = new FormFieldTextInput(array( | |
"name" => "FullName", | |
"enabled" => true, | |
"calculate_on_exit" => true, | |
"status_text" => "", | |
"text_input_type" => "Regular", | |
"text_input_default" => "123", | |
"text_input_format" => "UPPERCASE",)); | |
$insertRequest = new InsertFormFieldRequest( | |
"Sample.docx", $requestFormField, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertFormField($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertFormFieldOnlineRequest}; | |
use Aspose\Words\Model\{FormFieldTextInput}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestFormField = new FormFieldTextInput(array( | |
"name" => "FullName", | |
"enabled" => true, | |
"calculate_on_exit" => true, | |
"status_text" => "", | |
"text_input_type" => "Regular", | |
"text_input_default" => "123", | |
"text_input_format" => "UPPERCASE",)); | |
$insertRequest = new InsertFormFieldOnlineRequest( | |
$requestDocument, $requestFormField, "sections/0/paragraphs/0", NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertFormFieldOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertListRequest}; | |
use Aspose\Words\Model\{ListInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestListInsert = new ListInsert(array( | |
"template" => "OutlineLegal",)); | |
$insertRequest = new InsertListRequest( | |
"TestGetLists.doc", $requestListInsert, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertList($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertListOnlineRequest}; | |
use Aspose\Words\Model\{ListInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.doc"; | |
$requestListInsert = new ListInsert(array( | |
"template" => "OutlineLegal",)); | |
$insertRequest = new InsertListOnlineRequest( | |
$requestDocument, $requestListInsert, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertListOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertOrUpdateParagraphTabStopRequest}; | |
use Aspose\Words\Model\{TabStopInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestTabStopInsertDto = new TabStopInsert(array( | |
"alignment" => "Left", | |
"leader" => "None", | |
"position" => 100.0,)); | |
$insertRequest = new InsertOrUpdateParagraphTabStopRequest( | |
"Sample.docx", 0, $requestTabStopInsertDto, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertOrUpdateParagraphTabStop($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertOrUpdateParagraphTabStopOnlineRequest}; | |
use Aspose\Words\Model\{TabStopInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestTabStopInsertDto = new TabStopInsert(array( | |
"alignment" => "Left", | |
"leader" => "None", | |
"position" => 72,)); | |
$insertRequest = new InsertOrUpdateParagraphTabStopOnlineRequest( | |
$requestDocument, $requestTabStopInsertDto, 0, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertOrUpdateParagraphTabStopOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertPageNumbersRequest}; | |
use Aspose\Words\Model\{PageNumber}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestPageNumber = new PageNumber(array( | |
"alignment" => "center", | |
"format" => "{PAGE} of {NUMPAGES}",)); | |
$insertRequest = new InsertPageNumbersRequest( | |
"Sample.docx", $requestPageNumber, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertPageNumbers($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertPageNumbersOnlineRequest}; | |
use Aspose\Words\Model\{PageNumber}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestPageNumber = new PageNumber(array( | |
"alignment" => "center", | |
"format" => "{PAGE} of {NUMPAGES}",)); | |
$insertRequest = new InsertPageNumbersOnlineRequest( | |
$requestDocument, $requestPageNumber, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertPageNumbersOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertParagraphRequest}; | |
use Aspose\Words\Model\{ParagraphInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestParagraph = new ParagraphInsert(array( | |
"text" => "This is a new paragraph for your document",)); | |
$insertRequest = new InsertParagraphRequest( | |
"Sample.docx", $requestParagraph, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertParagraph($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertParagraphOnlineRequest}; | |
use Aspose\Words\Model\{ParagraphInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestParagraph = new ParagraphInsert(array( | |
"text" => "This is a new paragraph for your document",)); | |
$insertRequest = new InsertParagraphOnlineRequest( | |
$requestDocument, $requestParagraph, "sections/0", NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertParagraphOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertRunRequest}; | |
use Aspose\Words\Model\{RunInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestRun = new RunInsert(array( | |
"text" => "run with text",)); | |
$insertRequest = new InsertRunRequest( | |
"Sample.docx", "paragraphs/1", $requestRun, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertRun($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertRunOnlineRequest}; | |
use Aspose\Words\Model\{RunInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.doc"; | |
$requestRun = new RunInsert(array( | |
"text" => "run with text",)); | |
$insertRequest = new InsertRunOnlineRequest( | |
$requestDocument, "paragraphs/1", $requestRun, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertRunOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertStructuredDocumentTagRequest}; | |
use Aspose\Words\Model\{StructuredDocumentTagInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestStructuredDocumentTag = new StructuredDocumentTagInsert(array( | |
"sdt_type" => "ComboBox", | |
"level" => "Inline",)); | |
$insertRequest = new InsertStructuredDocumentTagRequest( | |
"Sample.docx", $requestStructuredDocumentTag, "sections/0/body/paragraphs/0", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertStructuredDocumentTag($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertStructuredDocumentTagOnlineRequest}; | |
use Aspose\Words\Model\{StructuredDocumentTagInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestStructuredDocumentTag = new StructuredDocumentTagInsert(array( | |
"sdt_type" => "ComboBox", | |
"level" => "Inline",)); | |
$insertRequest = new InsertStructuredDocumentTagOnlineRequest( | |
$requestDocument, $requestStructuredDocumentTag, "sections/0/body/paragraphs/0", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertStructuredDocumentTagOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertStyleRequest}; | |
use Aspose\Words\Model\{StyleInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestStyleInsert = new StyleInsert(array( | |
"style_name" => "My Style", | |
"style_type" => "Paragraph",)); | |
$insertRequest = new InsertStyleRequest( | |
"Sample.docx", $requestStyleInsert, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertStyle($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertStyleOnlineRequest}; | |
use Aspose\Words\Model\{StyleInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestStyleInsert = new StyleInsert(array( | |
"style_name" => "My Style", | |
"style_type" => "Paragraph",)); | |
$insertRequest = new InsertStyleOnlineRequest( | |
$requestDocument, $requestStyleInsert, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertStyleOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertTableRequest}; | |
use Aspose\Words\Model\{TableInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestTable = new TableInsert(array( | |
"columns_count" => 5, | |
"rows_count" => 4,)); | |
$insertRequest = new InsertTableRequest( | |
"Sample.docx", $requestTable, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertTable($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertTableCellRequest}; | |
use Aspose\Words\Model\{TableCellInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestCell = new TableCellInsert(array()); | |
$insertRequest = new InsertTableCellRequest( | |
"Sample.docx", "sections/0/tables/2/rows/0", $requestCell, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertTableCell($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertTableCellOnlineRequest}; | |
use Aspose\Words\Model\{TableCellInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestCell = new TableCellInsert(array()); | |
$insertRequest = new InsertTableCellOnlineRequest( | |
$requestDocument, "sections/0/tables/2/rows/0", $requestCell, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertTableCellOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertTableOnlineRequest}; | |
use Aspose\Words\Model\{TableInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestTable = new TableInsert(array( | |
"columns_count" => 5, | |
"rows_count" => 4,)); | |
$insertRequest = new InsertTableOnlineRequest( | |
$requestDocument, $requestTable, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertTableOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertTableRowRequest}; | |
use Aspose\Words\Model\{TableRowInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestRow = new TableRowInsert(array( | |
"columns_count" => 5,)); | |
$insertRequest = new InsertTableRowRequest( | |
"Sample.docx", "sections/0/tables/2", $requestRow, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertTableRow($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertTableRowOnlineRequest}; | |
use Aspose\Words\Model\{TableRowInsert}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestRow = new TableRowInsert(array( | |
"columns_count" => 5,)); | |
$insertRequest = new InsertTableRowOnlineRequest( | |
$requestDocument, "sections/0/tables/2", $requestRow, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertTableRowOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertWatermarkImageRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$insertRequest = new InsertWatermarkImageRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Sample.png"); | |
$wordsApi->insertWatermarkImage($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertWatermarkImageOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestImageFile = "Image.png"; | |
$insertRequest = new InsertWatermarkImageOnlineRequest( | |
$requestDocument, $requestImageFile, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertWatermarkImageOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertWatermarkTextRequest}; | |
use Aspose\Words\Model\{WatermarkText}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestWatermarkText = new WatermarkText(array( | |
"text" => "This is the text", | |
"rotation_angle" => 90.0,)); | |
$insertRequest = new InsertWatermarkTextRequest( | |
"Sample.docx", $requestWatermarkText, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertWatermarkText($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{InsertWatermarkTextOnlineRequest}; | |
use Aspose\Words\Model\{WatermarkText}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestWatermarkText = new WatermarkText(array( | |
"text" => "This is the text", | |
"rotation_angle" => 90,)); | |
$insertRequest = new InsertWatermarkTextOnlineRequest( | |
$requestDocument, $requestWatermarkText, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->insertWatermarkTextOnline($insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{LoadWebDocumentRequest}; | |
use Aspose\Words\Model\{DocSaveOptionsData, LoadWebDocumentData}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDataSaveOptions = new DocSaveOptionsData(array( | |
"file_name" => "google.doc", | |
"dml_effects_rendering_mode" => "None", | |
"dml_rendering_mode" => "DrawingML", | |
"update_sdt_content" => false, | |
"zip_output" => false,)); | |
$requestData = new LoadWebDocumentData(array( | |
"loading_document_url" => "http://google.com", | |
"save_options" => $requestDataSaveOptions,)); | |
$loadRequest = new LoadWebDocumentRequest( | |
$requestData, NULL); | |
$wordsApi->loadWebDocument($loadRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{MoveFileRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$moveRequest = new MoveFileRequest( | |
"MoveFileSample.docx", "Sample.docx", NULL, NULL, NULL); | |
$wordsApi->moveFile($moveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{MoveFolderRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$moveRequest = new MoveFolderRequest( | |
"/TestMoveFolderDest_Sample", "/TestMoveFolderSrc", NULL, NULL); | |
$wordsApi->moveFolder($moveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{OptimizeDocumentRequest}; | |
use Aspose\Words\Model\{OptimizationOptions}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestOptions = new OptimizationOptions(array( | |
"ms_word_version" => "Word2002",)); | |
$optimizeRequest = new OptimizeDocumentRequest( | |
"Sample.docx", $requestOptions, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->optimizeDocument($optimizeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{OptimizeDocumentOnlineRequest}; | |
use Aspose\Words\Model\{OptimizationOptions}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestOptions = new OptimizationOptions(array( | |
"ms_word_version" => "Word2002",)); | |
$optimizeRequest = new OptimizeDocumentOnlineRequest( | |
$requestDocument, $requestOptions, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->optimizeDocumentOnline($optimizeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ProtectDocumentRequest}; | |
use Aspose\Words\Model\{ProtectionRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestProtectionRequest = new ProtectionRequest(array( | |
"password" => "123", | |
"protection_type" => "ReadOnly",)); | |
$protectRequest = new ProtectDocumentRequest( | |
"Sample.docx", $requestProtectionRequest, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->protectDocument($protectRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ProtectDocumentOnlineRequest}; | |
use Aspose\Words\Model\{ProtectionRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestProtectionRequest = new ProtectionRequest(array( | |
"new_password" => "123",)); | |
$protectRequest = new ProtectDocumentOnlineRequest( | |
$requestDocument, $requestProtectionRequest, NULL, NULL, NULL, NULL); | |
$wordsApi->protectDocumentOnline($protectRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{RejectAllRevisionsRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$rejectRequest = new RejectAllRevisionsRequest( | |
"Sample.docx", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->rejectAllRevisions($rejectRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{RejectAllRevisionsOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$rejectRequest = new RejectAllRevisionsOnlineRequest( | |
$requestDocument, NULL, NULL, NULL, NULL); | |
$wordsApi->rejectAllRevisionsOnline($rejectRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{RemoveRangeRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$removeRequest = new RemoveRangeRequest( | |
"Sample.docx", "id0.0.0", "id0.0.1", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->removeRange($removeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{RemoveRangeOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.doc"; | |
$removeRequest = new RemoveRangeOnlineRequest( | |
$requestDocument, "id0.0.0", "id0.0.1", NULL, NULL, NULL, NULL); | |
$wordsApi->removeRangeOnline($removeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{RenderDrawingObjectRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$renderRequest = new RenderDrawingObjectRequest( | |
"Sample.docx", "png", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->renderDrawingObject($renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{RenderDrawingObjectOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$renderRequest = new RenderDrawingObjectOnlineRequest( | |
$requestDocument, "png", 0, "sections/0", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->renderDrawingObjectOnline($renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{RenderMathObjectRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$renderRequest = new RenderMathObjectRequest( | |
"Sample.docx", "png", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->renderMathObject($renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{RenderMathObjectOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$renderRequest = new RenderMathObjectOnlineRequest( | |
$requestDocument, "png", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->renderMathObjectOnline($renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{RenderPageRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$renderRequest = new RenderPageRequest( | |
"Sample.docx", 1, "jpg", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->renderPage($renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{RenderPageOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$renderRequest = new RenderPageOnlineRequest( | |
$requestDocument, 1, "jpg", NULL, NULL, NULL, NULL); | |
$wordsApi->renderPageOnline($renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{RenderParagraphRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$renderRequest = new RenderParagraphRequest( | |
"Sample.docx", "png", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->renderParagraph($renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{RenderParagraphOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$renderRequest = new RenderParagraphOnlineRequest( | |
$requestDocument, "png", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->renderParagraphOnline($renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{RenderTableRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$renderRequest = new RenderTableRequest( | |
"Sample.docx", "png", 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->renderTable($renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{RenderTableOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$renderRequest = new RenderTableOnlineRequest( | |
$requestDocument, "png", 0, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->renderTableOnline($renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ReplaceTextRequest}; | |
use Aspose\Words\Model\{ReplaceTextParameters}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestReplaceText = new ReplaceTextParameters(array( | |
"old_value" => "Testing", | |
"new_value" => "Aspose testing",)); | |
$replaceRequest = new ReplaceTextRequest( | |
"Sample.docx", $requestReplaceText, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->replaceText($replaceRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ReplaceTextOnlineRequest}; | |
use Aspose\Words\Model\{ReplaceTextParameters}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestReplaceText = new ReplaceTextParameters(array( | |
"old_value" => "aspose", | |
"new_value" => "aspose new",)); | |
$replaceRequest = new ReplaceTextOnlineRequest( | |
$requestDocument, $requestReplaceText, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->replaceTextOnline($replaceRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ReplaceWithTextRequest}; | |
use Aspose\Words\Model\{ReplaceRange}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestRangeText = new ReplaceRange(array( | |
"text" => "Replaced header",)); | |
$replaceRequest = new ReplaceWithTextRequest( | |
"Sample.docx", "id0.0.0", $requestRangeText, "id0.0.1", NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->replaceWithText($replaceRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ReplaceWithTextOnlineRequest}; | |
use Aspose\Words\Model\{ReplaceRange}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.doc"; | |
$requestRangeText = new ReplaceRange(array( | |
"text" => "Replaced header",)); | |
$replaceRequest = new ReplaceWithTextOnlineRequest( | |
$requestDocument, "id0.0.0", $requestRangeText, "id0.0.1", NULL, NULL, NULL, NULL); | |
$wordsApi->replaceWithTextOnline($replaceRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{ResetCacheRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$resetRequest = new ResetCacheRequest(); | |
$wordsApi->resetCache($resetRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{SaveAsRequest}; | |
use Aspose\Words\Model\{DocxSaveOptionsData}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestSaveOptionsData = new DocxSaveOptionsData(array( | |
"file_name" => "FromPdfToDoc.docx",)); | |
$saveRequest = new SaveAsRequest( | |
"Sample.docx", $requestSaveOptionsData, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->saveAs($saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests; | |
// Create WordsApi instance | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$fileName = "test_multi_pages.pdf"; | |
$format = "docx"; | |
$destName = "Out_test_multi_pages.docx"; | |
$saveOptions = new SaveOptionsData(array("save_format" => $format, "file_name" => $destName)); | |
// Upload document to Cloud Storage | |
$wordsApi->uploadFile(new Requests\UploadFileRequest($fileName, "", null)); | |
// Create request and execute api method | |
$request = new Requests\SaveAsRequest($fileName, $saveOptions, null, null, null, null, null); | |
$result = $wordsApi->saveAs($request); | |
print_r($result); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests; | |
use Aspose\Words\Model\SaveOptionsData; | |
// Create WordsApi instance | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$fileName = "test_multi_pages.docx"; | |
$format = "html"; | |
$destName = "Out_test_multi_pages.html"; | |
$saveOptions = new SaveOptionsData(array("save_format" => $format, "file_name" => $destName)); | |
// Upload document to Cloud Storage | |
$wordsApi->uploadFile(new Requests\UploadFileRequest($fileName, "", null)); | |
// Create request and execute api method | |
$request = new Requests\SaveAsRequest($fileName, $saveOptions, null, null, null, null, null); | |
$result = $wordsApi->saveAs($request); | |
print_r($result); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{SaveAsOnlineRequest}; | |
use Aspose\Words\Model\{HtmlSaveOptionsData}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "test_multi_pages.docx"; | |
$requestSaveOptionsData = new HtmlSaveOptionsData(array( | |
"file_name" => "/TestSaveAsHtml.html", | |
"css_style_sheet_type" => "External", | |
"css_style_sheet_file_name" => "/TestSaveAsHtml.css",)); | |
$saveRequest = new SaveAsOnlineRequest( | |
$requestDocument, $requestSaveOptionsData, NULL, NULL, NULL, NULL); | |
$wordsApi->saveAsOnline($saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{SaveAsOnlineRequest}; | |
use Aspose\Words\Model\{SaveOptionsData}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestSaveOptionsData = new SaveOptionsData(array( | |
"save_format" => "pdf", | |
"file_name" => "Sample_out.pdf",)); | |
$saveRequest = new SaveAsOnlineRequest( | |
$requestDocument, $requestSaveOptionsData, NULL, NULL, NULL, NULL); | |
$wordsApi->saveAsOnline($saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{SaveAsOnlineRequest}; | |
use Aspose\Words\Model\{SaveOptionsData}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$requestSaveOptionsData = new SaveOptionsData(array( | |
"save_format" => "html", | |
"file_name" => "Sample_out.html",)); | |
$saveRequest = new SaveAsOnlineRequest( | |
$requestDocument, $requestSaveOptionsData, NULL, NULL, NULL, NULL); | |
$wordsApi->saveAsOnline($saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{SaveAsRangeRequest}; | |
use Aspose\Words\Model\{RangeDocument}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocumentParameters = new RangeDocument(array( | |
"document_name" => "NewDocument.docx",)); | |
$saveRequest = new SaveAsRangeRequest( | |
"Sample.docx", "id0.0.0", $requestDocumentParameters, "id0.0.1", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->saveAsRange($saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{SaveAsRangeOnlineRequest}; | |
use Aspose\Words\Model\{RangeDocument}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.doc"; | |
$requestDocumentParameters = new RangeDocument(array( | |
"document_name" => "NewDocument.docx",)); | |
$saveRequest = new SaveAsRangeOnlineRequest( | |
$requestDocument, "id0.0.0", $requestDocumentParameters, "id0.0.1", NULL, NULL, NULL); | |
$wordsApi->saveAsRangeOnline($saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{SaveAsTiffRequest}; | |
use Aspose\Words\Model\{TiffSaveOptionsData}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestSaveOptions = new TiffSaveOptionsData(array( | |
"file_name" => "Image.tiff",)); | |
$saveRequest = new SaveAsTiffRequest( | |
"Sample.docx", $requestSaveOptions, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->saveAsTiff($saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{SaveAsTiffOnlineRequest}; | |
use Aspose\Words\Model\{TiffSaveOptionsData}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "test_multi_pages.docx"; | |
$requestSaveOptions = new TiffSaveOptionsData(array( | |
"file_name" => "Image.tiff",)); | |
$saveRequest = new SaveAsTiffOnlineRequest( | |
$requestDocument, $requestSaveOptions, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->saveAsTiffOnline($saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{SearchRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$searchRequest = new SearchRequest( | |
"Sample.docx", "aspose", NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->search($searchRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{SearchOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$searchRequest = new SearchOnlineRequest( | |
$requestDocument, "aspose", NULL, NULL, NULL); | |
$wordsApi->searchOnline($searchRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{SplitDocumentRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$splitRequest = new SplitDocumentRequest( | |
"Sample.docx", "text", NULL, NULL, NULL, NULL, NULL, "SplitDocument.text", 1, 2, NULL, NULL); | |
$wordsApi->splitDocument($splitRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests; | |
// Create WordsApi instance | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$fileName = "test_multi_pages.docx"; | |
$format = "png"; | |
$from = 1; // Splitting starts from the first page of the document | |
$to = 1; // splitting ends at the last page of the document | |
// Upload document to Cloud Storage | |
$wordsApi->uploadFile(new Requests\UploadFileRequest($fileName, "", null)); | |
// Create request and execute api method | |
$request = new Requests\SplitDocumentRequest($fileName, $format, null, null, null, null, null, $from, $to); | |
$result = $wordsApi->splitDocument($request); | |
print_r($result); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests; | |
// Create WordsApi instance | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$fileName = "test_multi_pages.docx"; | |
$format = "pdf"; | |
$from = 1; // Splitting starts from the first page of the document | |
$to = 2; // splitting ends at the last page of the document | |
// Upload document to Cloud Storage | |
$wordsApi->uploadFile(new Requests\UploadFileRequest($fileName, "", null)); | |
// Create request and execute api method | |
$request = new Requests\SplitDocumentRequest($fileName, $format, null, null, null, null, null, $from, $to); | |
$result = $wordsApi->splitDocument($request); | |
print_r($result); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{SplitDocumentOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$splitRequest = new SplitDocumentOnlineRequest( | |
$requestDocument, "text", NULL, NULL, NULL, "SplitDocument.text", 1, 2, NULL, NULL); | |
$wordsApi->splitDocumentOnline($splitRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{SplitDocumentOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$splitRequest = new SplitDocumentOnlineRequest( | |
$requestDocument, "png", NULL, NULL, NULL, NULL, 1, 2, NULL, NULL); | |
$wordsApi->splitDocumentOnline($splitRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{SplitDocumentOnlineRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestDocument = "Sample.docx"; | |
$splitRequest = new SplitDocumentOnlineRequest( | |
$requestDocument, "pdf", NULL, NULL, NULL, NULL, 1, 2, NULL, NULL); | |
$wordsApi->splitDocumentOnline($splitRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aspose\Words\WordsApi; | |
use Aspose\Words\Model\Requests\{UnprotectDocumentRequest}; | |
use Aspose\Words\Model\{ProtectionRequest}; | |
$clientId = '####-####-####-####-####'; | |
$secret = '##################'; | |
$wordsApi = new WordsApi($clientId, $secret); | |
$requestProtectionRequest = new ProtectionRequest(array( | |
"password" => "aspose",)); | |
$unprotectRequest = new UnprotectDocumentRequest( | |
"Sample.docx", $requestProtectionRequest, NULL, NULL, NULL, NULL, NULL, NULL); | |
$wordsApi->unprotectDocument($unprotectRequest); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment