Skip to content

Instantly share code, notes, and snippets.

@aspose-words-cloud-gists
Last active May 15, 2023 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aspose-words-cloud-gists/49aa5151a094849179bae8672c887a0e to your computer and use it in GitHub Desktop.
Save aspose-words-cloud-gists/49aa5151a094849179bae8672c887a0e 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 Gist contains C++ code samples for Aspose.Words Cloud API
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::AcceptAllRevisionsRequest> acceptRequest(
new requests::AcceptAllRevisionsRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->acceptAllRevisions(acceptRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::AcceptAllRevisionsOnlineRequest> acceptRequest(
new requests::AcceptAllRevisionsOnlineRequest(
requestDocument));
wordsApi->acceptAllRevisionsOnline(acceptRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::wstring remoteFileName = L"Sample.docx";
auto requestDocumentListDocumentEntries0FileReference = std::make_shared<aspose::words::cloud::models::FileReference>(std::make_shared<std::wstring>(remoteFileName));
auto requestDocumentListDocumentEntries0 = std::make_shared<aspose::words::cloud::models::DocumentEntry>();
requestDocumentListDocumentEntries0->setFileReference(requestDocumentListDocumentEntries0FileReference);
requestDocumentListDocumentEntries0->setImportFormatMode(std::make_shared<std::wstring>(L"KeepSourceFormatting"));
auto requestDocumentListDocumentEntries = std::make_shared<std::vector<std::shared_ptr<aspose::words::cloud::models::DocumentEntry>>>();
requestDocumentListDocumentEntries->push_back(requestDocumentListDocumentEntries0);
auto requestDocumentList = std::make_shared<aspose::words::cloud::models::DocumentEntryList>();
requestDocumentList->setDocumentEntries(requestDocumentListDocumentEntries);
std::shared_ptr<requests::AppendDocumentRequest> appendRequest(
new requests::AppendDocumentRequest(
std::make_shared<std::wstring>(remoteFileName), requestDocumentList));
wordsApi->appendDocument(appendRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::wstring localFile = L"Sample.docx";
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(localFile), std::istream::binary));
auto requestDocumentListDocumentEntries0FileReferenceStream = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(getDataDir(localFile)), std::istream::binary));
auto requestDocumentListDocumentEntries0FileReference = std::make_shared<aspose::words::cloud::models::FileReference>(requestDocumentListDocumentEntries0FileReferenceStream);
auto requestDocumentListDocumentEntries0 = std::make_shared<aspose::words::cloud::models::DocumentEntry>();
requestDocumentListDocumentEntries0->setFileReference(requestDocumentListDocumentEntries0FileReference);
requestDocumentListDocumentEntries0->setImportFormatMode(std::make_shared<std::wstring>(L"KeepSourceFormatting"));
auto requestDocumentListDocumentEntries = std::make_shared<std::vector<std::shared_ptr<aspose::words::cloud::models::DocumentEntry>>>();
requestDocumentListDocumentEntries->push_back(requestDocumentListDocumentEntries0);
auto requestDocumentList = std::make_shared<aspose::words::cloud::models::DocumentEntryList>();
requestDocumentList->setDocumentEntries(requestDocumentListDocumentEntries);
std::shared_ptr<requests::AppendDocumentOnlineRequest> appendRequest(
new requests::AppendDocumentOnlineRequest(
requestDocument, requestDocumentList));
wordsApi->appendDocumentOnline(appendRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestStyleApply = std::make_shared<aspose::words::cloud::models::StyleApply>();
requestStyleApply->setStyleName(std::make_shared<std::wstring>(L"Heading 1"));
std::shared_ptr<requests::ApplyStyleToDocumentElementRequest> applyStyleRequest(
new requests::ApplyStyleToDocumentElementRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"paragraphs/1/paragraphFormat"), requestStyleApply));
wordsApi->applyStyleToDocumentElement(applyStyleRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
auto requestStyleApply = std::make_shared<aspose::words::cloud::models::StyleApply>();
requestStyleApply->setStyleName(std::make_shared<std::wstring>(L"Heading 1"));
std::shared_ptr<requests::ApplyStyleToDocumentElementOnlineRequest> applyStyleRequest(
new requests::ApplyStyleToDocumentElementOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L"paragraphs/1/paragraphFormat"), requestStyleApply));
wordsApi->applyStyleToDocumentElementOnline(applyStyleRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestReportEngineSettingsReportBuildOptions = std::make_shared<std::vector<std::shared_ptr<aspose::words::cloud::models::ReportBuildOptions>>>();
requestReportEngineSettingsReportBuildOptions->push_back(std::make_shared<aspose::words::cloud::models::ReportBuildOptions>(aspose::words::cloud::models::ReportBuildOptions::ALLOW_MISSING_MEMBERS));
requestReportEngineSettingsReportBuildOptions->push_back(std::make_shared<aspose::words::cloud::models::ReportBuildOptions>(aspose::words::cloud::models::ReportBuildOptions::REMOVE_EMPTY_PARAGRAPHS));
auto requestReportEngineSettings = std::make_shared<aspose::words::cloud::models::ReportEngineSettings>();
requestReportEngineSettings->setDataSourceType(std::make_shared<aspose::words::cloud::models::ReportEngineSettings::DataSourceType>(aspose::words::cloud::models::ReportEngineSettings::DataSourceType::JSON));
requestReportEngineSettings->setReportBuildOptions(requestReportEngineSettingsReportBuildOptions);
std::shared_ptr<requests::BuildReportRequest> buildReportRequest(
new requests::BuildReportRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"Data.json"), requestReportEngineSettings));
wordsApi->buildReport(buildReportRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestTemplate = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
auto requestReportEngineSettings = std::make_shared<aspose::words::cloud::models::ReportEngineSettings>();
requestReportEngineSettings->setDataSourceType(std::make_shared<aspose::words::cloud::models::ReportEngineSettings::DataSourceType>(aspose::words::cloud::models::ReportEngineSettings::DataSourceType::JSON));
requestReportEngineSettings->setDataSourceName(std::make_shared<std::wstring>(L"persons"));
std::shared_ptr<requests::BuildReportOnlineRequest> buildReportRequest(
new requests::BuildReportOnlineRequest(
requestTemplate, std::make_shared<std::wstring>(L"Data.json"), requestReportEngineSettings));
wordsApi->buildReportOnline(buildReportRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::ClassifyRequest> classifyRequest(
new requests::ClassifyRequest(
std::make_shared<std::wstring>(L"Try text classification"), std::make_shared<std::wstring>(L"3")));
wordsApi->classify(classifyRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::ClassifyDocumentRequest> classifyRequest(
new requests::ClassifyDocumentRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"3")));
wordsApi->classifyDocument(classifyRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::ClassifyDocumentOnlineRequest> classifyRequest(
new requests::ClassifyDocumentOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L"3")));
wordsApi->classifyDocumentOnline(classifyRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestCompareData = std::make_shared<aspose::words::cloud::models::CompareData>();
requestCompareData->setAuthor(std::make_shared<std::wstring>(L"author"));
requestCompareData->setComparingWithDocument(std::make_shared<std::wstring>(L"TestCompareDocument2.doc"));
requestCompareData->setDateTime(std::make_shared<std::wstring>(L"2015-10-26T00:00:00.0000000Z"));
std::shared_ptr<requests::CompareDocumentRequest> compareRequest(
new requests::CompareDocumentRequest(
std::make_shared<std::wstring>(L"TestCompareDocument1.doc"), requestCompareData, std::make_shared<std::wstring>(L"CompareDocumentOut.doc")));
wordsApi->compareDocument(compareRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"compareTestDoc1.doc"), std::istream::binary));
auto requestCompareData = std::make_shared<aspose::words::cloud::models::CompareData>();
requestCompareData->setAuthor(std::make_shared<std::wstring>(L"author"));
requestCompareData->setComparingWithDocument(std::make_shared<std::wstring>(L"TestCompareDocument2.doc"));
requestCompareData->setDateTime(std::make_shared<std::wstring>(L"2015-10-26T00:00:00.0000000Z"));
auto requestComparingDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"compareTestDoc2.doc"), std::istream::binary));
std::shared_ptr<requests::CompareDocumentOnlineRequest> compareRequest(
new requests::CompareDocumentOnlineRequest(
requestDocument, requestCompareData, requestComparingDocument, std::make_shared<std::wstring>(L"CompareDocumentOut.doc")));
wordsApi->compareDocumentOnline(compareRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestCompressOptions = std::make_shared<aspose::words::cloud::models::CompressOptions>();
std::shared_ptr<requests::CompressDocumentRequest> compressDocument(
new requests::CompressDocumentRequest(
std::make_shared<std::wstring>(L"Sample.docx"), requestCompressOptions));
wordsApi->compressDocument(compressDocument);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"TestCompress.docx"), std::istream::binary));
auto requestCompressOptions = std::make_shared<aspose::words::cloud::models::CompressOptions>();
std::shared_ptr<requests::CompressDocumentOnlineRequest> compressDocumentOnline(
new requests::CompressDocumentOnlineRequest(
requestDocument, requestCompressOptions));
wordsApi->compressDocumentOnline(compressDocumentOnline);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::ConvertDocumentRequest> convertRequest(
new requests::ConvertDocumentRequest(
requestDocument, std::make_shared<std::wstring>(L"pdf")));
wordsApi->convertDocument(convertRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::ConvertDocumentRequest> convertRequest(
new requests::ConvertDocumentRequest(
requestDocument, std::make_shared<std::wstring>(L"pdf")));
wordsApi->convertDocument(convertRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::ConvertDocumentRequest> convertRequest(
new requests::ConvertDocumentRequest(
requestDocument, std::make_shared<std::wstring>(L"pdf")));
wordsApi->convertDocument(convertRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::CopyFileRequest> copyRequest(
new requests::CopyFileRequest(
std::make_shared<std::wstring>(L"Copy.docx"), std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->copyFile(copyRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::wstring folderToCopy = L"/TestCopyFolder";
std::shared_ptr<requests::CopyFolderRequest> copyRequest(
new requests::CopyFolderRequest(
std::make_shared<std::wstring>(folderToCopy + L"Dest"), std::make_shared<std::wstring>(folderToCopy + L"Src")));
wordsApi->copyFolder(copyRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestStyleCopy = std::make_shared<aspose::words::cloud::models::StyleCopy>();
requestStyleCopy->setStyleName(std::make_shared<std::wstring>(L"Heading 1"));
std::shared_ptr<requests::CopyStyleRequest> copyRequest(
new requests::CopyStyleRequest(
std::make_shared<std::wstring>(L"Sample.docx"), requestStyleCopy));
wordsApi->copyStyle(copyRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
auto requestStyleCopy = std::make_shared<aspose::words::cloud::models::StyleCopy>();
requestStyleCopy->setStyleName(std::make_shared<std::wstring>(L"Heading 1"));
std::shared_ptr<requests::CopyStyleOnlineRequest> copyRequest(
new requests::CopyStyleOnlineRequest(
requestDocument, requestStyleCopy));
wordsApi->copyStyleOnline(copyRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::CopyStylesFromTemplateRequest> copyRequest(
new requests::CopyStylesFromTemplateRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"StyleTemplate.docx")));
wordsApi->copyStylesFromTemplate(copyRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::CreateDocumentRequest> createRequest(
new requests::CreateDocumentRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->createDocument(createRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::CreateFolderRequest> createRequest(
new requests::CreateFolderRequest(
std::make_shared<std::wstring>(L"/TestCreateFolder")));
wordsApi->createFolder(createRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestProperty = std::make_shared<aspose::words::cloud::models::DocumentPropertyCreateOrUpdate>();
requestProperty->setValue(std::make_shared<std::wstring>(L"John Doe"));
std::shared_ptr<requests::CreateOrUpdateDocumentPropertyRequest> createRequest(
new requests::CreateOrUpdateDocumentPropertyRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"AsposeAuthor"), requestProperty));
wordsApi->createOrUpdateDocumentProperty(createRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
auto requestProperty = std::make_shared<aspose::words::cloud::models::DocumentPropertyCreateOrUpdate>();
requestProperty->setValue(std::make_shared<std::wstring>(L"John Doe"));
std::shared_ptr<requests::CreateOrUpdateDocumentPropertyOnlineRequest> createRequest(
new requests::CreateOrUpdateDocumentPropertyOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L"AsposeAuthor"), requestProperty));
wordsApi->createOrUpdateDocumentPropertyOnline(createRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteAllParagraphTabStopsRequest> deleteRequest(
new requests::DeleteAllParagraphTabStopsRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->deleteAllParagraphTabStops(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteAllParagraphTabStopsOnlineRequest> deleteRequest(
new requests::DeleteAllParagraphTabStopsOnlineRequest(
requestDocument, std::make_shared<int32_t>(0)));
wordsApi->deleteAllParagraphTabStopsOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteBookmarkRequest> deleteRequest(
new requests::DeleteBookmarkRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"aspose")));
wordsApi->deleteBookmark(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteBookmarkOnlineRequest> deleteRequest(
new requests::DeleteBookmarkOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L"aspose")));
wordsApi->deleteBookmarkOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteBookmarksRequest> deleteRequest(
new requests::DeleteBookmarksRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->deleteBookmarks(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteBookmarksOnlineRequest> deleteRequest(
new requests::DeleteBookmarksOnlineRequest(
requestDocument));
wordsApi->deleteBookmarksOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteBorderRequest> deleteRequest(
new requests::DeleteBorderRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"left"), std::make_shared<std::wstring>(L"tables/1/rows/0/cells/0")));
wordsApi->deleteBorder(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteBorderOnlineRequest> deleteRequest(
new requests::DeleteBorderOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L"left"), std::make_shared<std::wstring>(L"tables/1/rows/0/cells/0")));
wordsApi->deleteBorderOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteBordersRequest> deleteRequest(
new requests::DeleteBordersRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"tables/1/rows/0/cells/0")));
wordsApi->deleteBorders(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteBordersOnlineRequest> deleteRequest(
new requests::DeleteBordersOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L"tables/1/rows/0/cells/0")));
wordsApi->deleteBordersOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteCommentRequest> deleteRequest(
new requests::DeleteCommentRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->deleteComment(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteCommentOnlineRequest> deleteRequest(
new requests::DeleteCommentOnlineRequest(
requestDocument, std::make_shared<int32_t>(0)));
wordsApi->deleteCommentOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteCommentsRequest> deleteRequest(
new requests::DeleteCommentsRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->deleteComments(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteCommentsOnlineRequest> deleteRequest(
new requests::DeleteCommentsOnlineRequest(
requestDocument));
wordsApi->deleteCommentsOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteCustomXmlPartRequest> deleteRequest(
new requests::DeleteCustomXmlPartRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->deleteCustomXmlPart(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteCustomXmlPartOnlineRequest> deleteRequest(
new requests::DeleteCustomXmlPartOnlineRequest(
requestDocument, std::make_shared<int32_t>(0)));
wordsApi->deleteCustomXmlPartOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteCustomXmlPartsRequest> deleteRequest(
new requests::DeleteCustomXmlPartsRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->deleteCustomXmlParts(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteCustomXmlPartsOnlineRequest> deleteRequest(
new requests::DeleteCustomXmlPartsOnlineRequest(
requestDocument));
wordsApi->deleteCustomXmlPartsOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteDocumentPropertyRequest> deleteRequest(
new requests::DeleteDocumentPropertyRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"testProp")));
wordsApi->deleteDocumentProperty(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteDocumentPropertyOnlineRequest> deleteRequest(
new requests::DeleteDocumentPropertyOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L"testProp")));
wordsApi->deleteDocumentPropertyOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteDrawingObjectRequest> deleteRequest(
new requests::DeleteDrawingObjectRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->deleteDrawingObject(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteDrawingObjectOnlineRequest> deleteRequest(
new requests::DeleteDrawingObjectOnlineRequest(
requestDocument, std::make_shared<int32_t>(0)));
wordsApi->deleteDrawingObjectOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteFieldRequest> deleteRequest(
new requests::DeleteFieldRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->deleteField(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteFieldOnlineRequest> deleteRequest(
new requests::DeleteFieldOnlineRequest(
requestDocument, std::make_shared<int32_t>(0), std::make_shared<std::wstring>(L"sections/0/paragraphs/0")));
wordsApi->deleteFieldOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteFieldsRequest> deleteRequest(
new requests::DeleteFieldsRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->deleteFields(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteFieldsOnlineRequest> deleteRequest(
new requests::DeleteFieldsOnlineRequest(
requestDocument));
wordsApi->deleteFieldsOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteFileRequest> deleteRequest(
new requests::DeleteFileRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->deleteFile(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteFolderRequest> deleteRequest(
new requests::DeleteFolderRequest(
std::make_shared<std::wstring>(L"")));
wordsApi->deleteFolder(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteFootnoteRequest> deleteRequest(
new requests::DeleteFootnoteRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->deleteFootnote(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.doc"), std::istream::binary));
std::shared_ptr<requests::DeleteFootnoteOnlineRequest> deleteRequest(
new requests::DeleteFootnoteOnlineRequest(
requestDocument, std::make_shared<int32_t>(0)));
wordsApi->deleteFootnoteOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteFormFieldRequest> deleteRequest(
new requests::DeleteFormFieldRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->deleteFormField(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteFormFieldOnlineRequest> deleteRequest(
new requests::DeleteFormFieldOnlineRequest(
requestDocument, std::make_shared<int32_t>(0), std::make_shared<std::wstring>(L"sections/0")));
wordsApi->deleteFormFieldOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteHeaderFooterRequest> deleteRequest(
new requests::DeleteHeaderFooterRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L""), std::make_shared<int32_t>(0)));
wordsApi->deleteHeaderFooter(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.doc"), std::istream::binary));
std::shared_ptr<requests::DeleteHeaderFooterOnlineRequest> deleteRequest(
new requests::DeleteHeaderFooterOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L""), std::make_shared<int32_t>(0)));
wordsApi->deleteHeaderFooterOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteHeadersFootersRequest> deleteRequest(
new requests::DeleteHeadersFootersRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"")));
wordsApi->deleteHeadersFooters(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.doc"), std::istream::binary));
std::shared_ptr<requests::DeleteHeadersFootersOnlineRequest> deleteRequest(
new requests::DeleteHeadersFootersOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L"")));
wordsApi->deleteHeadersFootersOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteMacrosRequest> deleteRequest(
new requests::DeleteMacrosRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->deleteMacros(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteMacrosOnlineRequest> deleteRequest(
new requests::DeleteMacrosOnlineRequest(
requestDocument));
wordsApi->deleteMacrosOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteOfficeMathObjectRequest> deleteRequest(
new requests::DeleteOfficeMathObjectRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->deleteOfficeMathObject(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteOfficeMathObjectOnlineRequest> deleteRequest(
new requests::DeleteOfficeMathObjectOnlineRequest(
requestDocument, std::make_shared<int32_t>(0)));
wordsApi->deleteOfficeMathObjectOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteParagraphRequest> deleteRequest(
new requests::DeleteParagraphRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->deleteParagraph(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteParagraphListFormatRequest> deleteRequest(
new requests::DeleteParagraphListFormatRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->deleteParagraphListFormat(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.doc"), std::istream::binary));
std::shared_ptr<requests::DeleteParagraphListFormatOnlineRequest> deleteRequest(
new requests::DeleteParagraphListFormatOnlineRequest(
requestDocument, std::make_shared<int32_t>(0)));
wordsApi->deleteParagraphListFormatOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteParagraphOnlineRequest> deleteRequest(
new requests::DeleteParagraphOnlineRequest(
requestDocument, std::make_shared<int32_t>(0)));
wordsApi->deleteParagraphOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteParagraphTabStopRequest> deleteRequest(
new requests::DeleteParagraphTabStopRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<double>(72.0), std::make_shared<int32_t>(0)));
wordsApi->deleteParagraphTabStop(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteParagraphTabStopOnlineRequest> deleteRequest(
new requests::DeleteParagraphTabStopOnlineRequest(
requestDocument, std::make_shared<double>(72.0), std::make_shared<int32_t>(0)));
wordsApi->deleteParagraphTabStopOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteRunRequest> deleteRequest(
new requests::DeleteRunRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"paragraphs/1"), std::make_shared<int32_t>(0)));
wordsApi->deleteRun(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.doc"), std::istream::binary));
std::shared_ptr<requests::DeleteRunOnlineRequest> deleteRequest(
new requests::DeleteRunOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L"paragraphs/1"), std::make_shared<int32_t>(0)));
wordsApi->deleteRunOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteSectionRequest> deleteRequest(
new requests::DeleteSectionRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->deleteSection(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteSectionOnlineRequest> deleteRequest(
new requests::DeleteSectionOnlineRequest(
requestDocument, std::make_shared<int32_t>(0)));
wordsApi->deleteSectionOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteStructuredDocumentTagRequest> deleteRequest(
new requests::DeleteStructuredDocumentTagRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0), std::make_shared<std::wstring>(L"sections/0/body/paragraphs/0")));
wordsApi->deleteStructuredDocumentTag(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteStructuredDocumentTagOnlineRequest> deleteRequest(
new requests::DeleteStructuredDocumentTagOnlineRequest(
requestDocument, std::make_shared<int32_t>(0), std::make_shared<std::wstring>(L"sections/0/body/paragraphs/0")));
wordsApi->deleteStructuredDocumentTagOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteTableRequest> deleteRequest(
new requests::DeleteTableRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(1)));
wordsApi->deleteTable(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteTableCellRequest> deleteRequest(
new requests::DeleteTableCellRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"sections/0/tables/2/rows/0"), std::make_shared<int32_t>(0)));
wordsApi->deleteTableCell(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteTableCellOnlineRequest> deleteRequest(
new requests::DeleteTableCellOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L"sections/0/tables/2/rows/0"), std::make_shared<int32_t>(0)));
wordsApi->deleteTableCellOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteTableOnlineRequest> deleteRequest(
new requests::DeleteTableOnlineRequest(
requestDocument, std::make_shared<int32_t>(1)));
wordsApi->deleteTableOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteTableRowRequest> deleteRequest(
new requests::DeleteTableRowRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"tables/1"), std::make_shared<int32_t>(0)));
wordsApi->deleteTableRow(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteTableRowOnlineRequest> deleteRequest(
new requests::DeleteTableRowOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L"tables/1"), std::make_shared<int32_t>(0)));
wordsApi->deleteTableRowOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DeleteWatermarkRequest> deleteRequest(
new requests::DeleteWatermarkRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->deleteWatermark(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::DeleteWatermarkOnlineRequest> deleteRequest(
new requests::DeleteWatermarkOnlineRequest(
requestDocument));
wordsApi->deleteWatermarkOnline(deleteRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::DownloadFileRequest> downloadRequest(
new requests::DownloadFileRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->downloadFile(downloadRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestOptionsCurrentUser = std::make_shared<aspose::words::cloud::models::UserInformation>();
requestOptionsCurrentUser->setName(std::make_shared<std::wstring>(L"SdkTestUser"));
auto requestOptions = std::make_shared<aspose::words::cloud::models::FieldOptions>();
requestOptions->setCurrentUser(requestOptionsCurrentUser);
std::shared_ptr<requests::ExecuteMailMergeRequest> mailMergeRequest(
new requests::ExecuteMailMergeRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(getFileTextUtf16(localTestDataFolder + L"/" + L"TestMailMergeData.xml")), requestOptions));
wordsApi->executeMailMerge(mailMergeRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestTemplate = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
auto requestData = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(getFileTextUtf16(localTestDataFolder + L"/" + L"TestMailMergeData.xml")), std::istream::binary));
auto requestOptionsCurrentUser = std::make_shared<aspose::words::cloud::models::UserInformation>();
requestOptionsCurrentUser->setName(std::make_shared<std::wstring>(L"SdkTestUser"));
auto requestOptions = std::make_shared<aspose::words::cloud::models::FieldOptions>();
requestOptions->setCurrentUser(requestOptionsCurrentUser);
std::shared_ptr<requests::ExecuteMailMergeOnlineRequest> mailMergeRequest(
new requests::ExecuteMailMergeOnlineRequest(
requestTemplate, requestData, requestOptions));
wordsApi->executeMailMergeOnline(mailMergeRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestTemplate = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"TestMailMergeWithImages.doc"), std::istream::binary));
auto requestData = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"MailMergeData.json"), std::istream::binary));
std::shared_ptr<requests::ExecuteMailMergeOnlineRequest> mailMergeRequest(
new requests::ExecuteMailMergeOnlineRequest(
requestTemplate, requestData, std::make_shared<std::wstring>(L"Out_TestMailMergeWithImages.doc")));
wordsApi->executeMailMergeOnline(mailMergeRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestTemplate = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"template.doc"), std::istream::binary));
auto requestData = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"TestPostDocumentExecuteMailMerge.txt"), std::istream::binary));
std::shared_ptr<requests::ExecuteMailMergeOnlineRequest> mailMergeRequest(
new requests::ExecuteMailMergeOnlineRequest(
requestTemplate, requestData, std::make_shared<std::wstring>(L"Out_PostDocumentExecuteMailMergeWithHTMLData.docx")));
wordsApi->executeMailMergeOnline(mailMergeRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestTemplate = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"SampleMailMergeTemplate.docx"), std::istream::binary));
auto requestData = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"SampleMailMergeTemplateData.xml"), std::istream::binary));
std::shared_ptr<requests::ExecuteMailMergeOnlineRequest> mailMergeRequest(
new requests::ExecuteMailMergeOnlineRequest(
requestTemplate, requestData, std::make_shared<std::wstring>(L"Out_SampleMailMergeTemplate.docx")));
wordsApi->executeMailMergeOnline(mailMergeRequest);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetAvailableFontsRequest> request(
new requests::GetAvailableFontsRequest());
wordsApi->getAvailableFonts(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetBookmarkByNameRequest> request(
new requests::GetBookmarkByNameRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"aspose")));
wordsApi->getBookmarkByName(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetBookmarkByNameOnlineRequest> request(
new requests::GetBookmarkByNameOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L"aspose")));
wordsApi->getBookmarkByNameOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetBookmarksRequest> request(
new requests::GetBookmarksRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->getBookmarks(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetBookmarksOnlineRequest> request(
new requests::GetBookmarksOnlineRequest(
requestDocument));
wordsApi->getBookmarksOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetBorderRequest> request(
new requests::GetBorderRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"left"), std::make_shared<std::wstring>(L"tables/1/rows/0/cells/0")));
wordsApi->getBorder(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetBorderOnlineRequest> request(
new requests::GetBorderOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L"left"), std::make_shared<std::wstring>(L"tables/1/rows/0/cells/0")));
wordsApi->getBorderOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetBordersRequest> request(
new requests::GetBordersRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"tables/1/rows/0/cells/0")));
wordsApi->getBorders(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetBordersOnlineRequest> request(
new requests::GetBordersOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L"tables/1/rows/0/cells/0")));
wordsApi->getBordersOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetCommentRequest> request(
new requests::GetCommentRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->getComment(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetCommentOnlineRequest> request(
new requests::GetCommentOnlineRequest(
requestDocument, std::make_shared<int32_t>(0)));
wordsApi->getCommentOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetCommentsRequest> request(
new requests::GetCommentsRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->getComments(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetCommentsOnlineRequest> request(
new requests::GetCommentsOnlineRequest(
requestDocument));
wordsApi->getCommentsOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetCustomXmlPartRequest> request(
new requests::GetCustomXmlPartRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->getCustomXmlPart(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetCustomXmlPartOnlineRequest> request(
new requests::GetCustomXmlPartOnlineRequest(
requestDocument, std::make_shared<int32_t>(0)));
wordsApi->getCustomXmlPartOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetCustomXmlPartsRequest> request(
new requests::GetCustomXmlPartsRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->getCustomXmlParts(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetCustomXmlPartsOnlineRequest> request(
new requests::GetCustomXmlPartsOnlineRequest(
requestDocument));
wordsApi->getCustomXmlPartsOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetDocumentRequest> request(
new requests::GetDocumentRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->getDocument(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetDocumentDrawingObjectByIndexRequest> request(
new requests::GetDocumentDrawingObjectByIndexRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->getDocumentDrawingObjectByIndex(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetDocumentDrawingObjectByIndexOnlineRequest> request(
new requests::GetDocumentDrawingObjectByIndexOnlineRequest(
requestDocument, std::make_shared<int32_t>(0), std::make_shared<std::wstring>(L"sections/0")));
wordsApi->getDocumentDrawingObjectByIndexOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetDocumentDrawingObjectImageDataRequest> request(
new requests::GetDocumentDrawingObjectImageDataRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->getDocumentDrawingObjectImageData(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetDocumentDrawingObjectImageDataOnlineRequest> request(
new requests::GetDocumentDrawingObjectImageDataOnlineRequest(
requestDocument, std::make_shared<int32_t>(0), std::make_shared<std::wstring>(L"sections/0")));
wordsApi->getDocumentDrawingObjectImageDataOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetDocumentDrawingObjectOleDataRequest> request(
new requests::GetDocumentDrawingObjectOleDataRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->getDocumentDrawingObjectOleData(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetDocumentDrawingObjectOleDataOnlineRequest> request(
new requests::GetDocumentDrawingObjectOleDataOnlineRequest(
requestDocument, std::make_shared<int32_t>(0), std::make_shared<std::wstring>(L"sections/0")));
wordsApi->getDocumentDrawingObjectOleDataOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetDocumentDrawingObjectsRequest> request(
new requests::GetDocumentDrawingObjectsRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->getDocumentDrawingObjects(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetDocumentDrawingObjectsOnlineRequest> request(
new requests::GetDocumentDrawingObjectsOnlineRequest(
requestDocument, std::make_shared<std::wstring>(L"sections/0")));
wordsApi->getDocumentDrawingObjectsOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetDocumentFieldNamesRequest> request(
new requests::GetDocumentFieldNamesRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->getDocumentFieldNames(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestTemplate = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetDocumentFieldNamesOnlineRequest> request(
new requests::GetDocumentFieldNamesOnlineRequest(
requestTemplate, std::make_shared<bool>(true)));
wordsApi->getDocumentFieldNamesOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetDocumentHyperlinkByIndexRequest> request(
new requests::GetDocumentHyperlinkByIndexRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0)));
wordsApi->getDocumentHyperlinkByIndex(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetDocumentHyperlinkByIndexOnlineRequest> request(
new requests::GetDocumentHyperlinkByIndexOnlineRequest(
requestDocument, std::make_shared<int32_t>(0)));
wordsApi->getDocumentHyperlinkByIndexOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetDocumentHyperlinksOnlineRequest> request(
new requests::GetDocumentHyperlinksOnlineRequest(
requestDocument));
wordsApi->getDocumentHyperlinksOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetDocumentPropertiesRequest> request(
new requests::GetDocumentPropertiesRequest(
std::make_shared<std::wstring>(L"Sample.docx")));
wordsApi->getDocumentProperties(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary));
std::shared_ptr<requests::GetDocumentPropertiesOnlineRequest> request(
new requests::GetDocumentPropertiesOnlineRequest(
requestDocument));
wordsApi->getDocumentPropertiesOnline(request);
#include "aspose_words_cloud.h"
using namespace aspose::words::cloud;
auto config = std::make_shared<ApiConfiguration>(/*clientId*/ L"####-####-####-####-####", /*clientSecret*/ L"##################");
auto wordsApi = std::make_shared<WordsApi>(config);
std::shared_ptr<requests::GetDocumentPropertyRequest> request(
new requests::GetDocumentPropertyRequest(
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"Author")));