Last active
May 15, 2023 14:59
-
-
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 file contains bidirectional Unicode text that may be interpreted or compiled 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 C++ 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
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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::GetDocumentHyperlinksRequest> request( | |
new requests::GetDocumentHyperlinksRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"))); | |
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
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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"))); | |
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
#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::GetDocumentPropertyOnlineRequest> request( | |
new requests::GetDocumentPropertyOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"Author"))); | |
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
#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::GetDocumentProtectionRequest> request( | |
new requests::GetDocumentProtectionRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"))); | |
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
#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::GetDocumentProtectionOnlineRequest> request( | |
new requests::GetDocumentProtectionOnlineRequest( | |
requestDocument)); | |
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
#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::GetDocumentStatisticsRequest> request( | |
new requests::GetDocumentStatisticsRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"))); | |
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
#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::GetDocumentStatisticsOnlineRequest> request( | |
new requests::GetDocumentStatisticsOnlineRequest( | |
requestDocument)); | |
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
#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::GetDocumentWithFormatRequest> request( | |
new requests::GetDocumentWithFormatRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"text"), std::make_shared<std::wstring>(L"DocumentWithFormat.text"))); | |
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
#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::GetFieldRequest> request( | |
new requests::GetFieldRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0))); | |
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
#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::GetFieldOnlineRequest> request( | |
new requests::GetFieldOnlineRequest( | |
requestDocument, std::make_shared<int32_t>(0), std::make_shared<std::wstring>(L"sections/0/paragraphs/0"))); | |
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
#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::GetFieldsRequest> request( | |
new requests::GetFieldsRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"))); | |
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
#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::GetFieldsOnlineRequest> request( | |
new requests::GetFieldsOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"sections/0"))); | |
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
#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::GetFilesListRequest> request( | |
new requests::GetFilesListRequest( | |
std::make_shared<std::wstring>(L""))); | |
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
#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::GetFootnoteRequest> request( | |
new requests::GetFootnoteRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0))); | |
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
#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::GetFootnoteOnlineRequest> request( | |
new requests::GetFootnoteOnlineRequest( | |
requestDocument, std::make_shared<int32_t>(0))); | |
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
#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::GetFootnotesRequest> request( | |
new requests::GetFootnotesRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"))); | |
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
#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::GetFootnotesOnlineRequest> request( | |
new requests::GetFootnotesOnlineRequest( | |
requestDocument)); | |
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
#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::GetFormFieldRequest> request( | |
new requests::GetFormFieldRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0))); | |
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
#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::GetFormFieldOnlineRequest> request( | |
new requests::GetFormFieldOnlineRequest( | |
requestDocument, std::make_shared<int32_t>(0), std::make_shared<std::wstring>(L"sections/0"))); | |
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
#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::GetFormFieldsRequest> request( | |
new requests::GetFormFieldsRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"))); | |
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
#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::GetFormFieldsOnlineRequest> request( | |
new requests::GetFormFieldsOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"sections/0"))); | |
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
#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::GetInfoRequest> request( | |
new requests::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
#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::GetListRequest> request( | |
new requests::GetListRequest( | |
std::make_shared<std::wstring>(L"TestGetLists.doc"), std::make_shared<int32_t>(1))); | |
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
#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::GetListOnlineRequest> request( | |
new requests::GetListOnlineRequest( | |
requestDocument, std::make_shared<int32_t>(1))); | |
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
#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::GetListsRequest> request( | |
new requests::GetListsRequest( | |
std::make_shared<std::wstring>(L"TestGetLists.doc"))); | |
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
#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::GetListsOnlineRequest> request( | |
new requests::GetListsOnlineRequest( | |
requestDocument)); | |
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
#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::GetOfficeMathObjectRequest> request( | |
new requests::GetOfficeMathObjectRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0))); | |
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
#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::GetOfficeMathObjectOnlineRequest> request( | |
new requests::GetOfficeMathObjectOnlineRequest( | |
requestDocument, std::make_shared<int32_t>(0))); | |
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
#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::GetOfficeMathObjectsRequest> request( | |
new requests::GetOfficeMathObjectsRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"))); | |
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
#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::GetOfficeMathObjectsOnlineRequest> request( | |
new requests::GetOfficeMathObjectsOnlineRequest( | |
requestDocument)); | |
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
#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::GetParagraphRequest> request( | |
new requests::GetParagraphRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0))); | |
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
#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::GetParagraphFormatRequest> request( | |
new requests::GetParagraphFormatRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0))); | |
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
#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::GetParagraphFormatOnlineRequest> request( | |
new requests::GetParagraphFormatOnlineRequest( | |
requestDocument, std::make_shared<int32_t>(0))); | |
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
#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::GetParagraphListFormatRequest> request( | |
new requests::GetParagraphListFormatRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0))); | |
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
#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::GetParagraphListFormatOnlineRequest> request( | |
new requests::GetParagraphListFormatOnlineRequest( | |
requestDocument, std::make_shared<int32_t>(0))); | |
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
#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::GetParagraphOnlineRequest> request( | |
new requests::GetParagraphOnlineRequest( | |
requestDocument, std::make_shared<int32_t>(0), std::make_shared<std::wstring>(L"sections/0"))); | |
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
#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::GetParagraphsRequest> request( | |
new requests::GetParagraphsRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"))); | |
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
#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::GetParagraphsOnlineRequest> request( | |
new requests::GetParagraphsOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"sections/0"))); | |
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
#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::GetParagraphTabStopsRequest> request( | |
new requests::GetParagraphTabStopsRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0))); | |
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
#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::GetParagraphTabStopsOnlineRequest> request( | |
new requests::GetParagraphTabStopsOnlineRequest( | |
requestDocument, std::make_shared<int32_t>(0))); | |
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
#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::GetPublicKeyRequest> request( | |
new requests::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
#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::GetRangeTextRequest> request( | |
new requests::GetRangeTextRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"id0.0.0"), std::make_shared<std::wstring>(L"id0.0.1"))); | |
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
#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::GetRangeTextOnlineRequest> request( | |
new requests::GetRangeTextOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"id0.0.0"), std::make_shared<std::wstring>(L"id0.0.1"))); | |
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
#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::GetRunRequest> request( | |
new requests::GetRunRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"paragraphs/0"), std::make_shared<int32_t>(0))); | |
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
#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::GetRunFontRequest> request( | |
new requests::GetRunFontRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"paragraphs/0"), std::make_shared<int32_t>(0))); | |
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
#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::GetRunFontOnlineRequest> request( | |
new requests::GetRunFontOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"paragraphs/0"), std::make_shared<int32_t>(0))); | |
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
#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::GetRunOnlineRequest> request( | |
new requests::GetRunOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"paragraphs/0"), std::make_shared<int32_t>(0))); | |
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
#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::GetRunsRequest> request( | |
new requests::GetRunsRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"sections/0/paragraphs/0"))); | |
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
#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::GetRunsOnlineRequest> request( | |
new requests::GetRunsOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"sections/0/paragraphs/0"))); | |
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
#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::GetSectionRequest> request( | |
new requests::GetSectionRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0))); | |
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
#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::GetSectionOnlineRequest> request( | |
new requests::GetSectionOnlineRequest( | |
requestDocument, std::make_shared<int32_t>(0))); | |
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
#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::GetSectionPageSetupRequest> request( | |
new requests::GetSectionPageSetupRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0))); | |
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
#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::GetSectionPageSetupOnlineRequest> request( | |
new requests::GetSectionPageSetupOnlineRequest( | |
requestDocument, std::make_shared<int32_t>(0))); | |
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
#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::GetSectionsRequest> request( | |
new requests::GetSectionsRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"))); | |
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
#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::GetSectionsOnlineRequest> request( | |
new requests::GetSectionsOnlineRequest( | |
requestDocument)); | |
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
#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::GetStructuredDocumentTagRequest> request( | |
new requests::GetStructuredDocumentTagRequest( | |
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->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
#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::GetStructuredDocumentTagOnlineRequest> request( | |
new requests::GetStructuredDocumentTagOnlineRequest( | |
requestDocument, std::make_shared<int32_t>(0), std::make_shared<std::wstring>(L"sections/0/body/paragraphs/0"))); | |
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
#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::GetStyleRequest> request( | |
new requests::GetStyleRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"Heading 1"))); | |
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
#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::GetStyleFromDocumentElementRequest> request( | |
new requests::GetStyleFromDocumentElementRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"paragraphs/1/paragraphFormat"))); | |
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
#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::GetStyleFromDocumentElementOnlineRequest> request( | |
new requests::GetStyleFromDocumentElementOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"paragraphs/1/paragraphFormat"))); | |
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
#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::GetStyleOnlineRequest> request( | |
new requests::GetStyleOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"Heading 1"))); | |
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
#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::GetStylesRequest> request( | |
new requests::GetStylesRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"))); | |
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
#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::GetStylesOnlineRequest> request( | |
new requests::GetStylesOnlineRequest( | |
requestDocument)); | |
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
#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::GetTableRequest> request( | |
new requests::GetTableRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(1))); | |
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
#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::GetTableCellRequest> request( | |
new requests::GetTableCellRequest( | |
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->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
#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::GetTableCellFormatRequest> request( | |
new requests::GetTableCellFormatRequest( | |
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->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
#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::GetTableCellFormatOnlineRequest> request( | |
new requests::GetTableCellFormatOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"sections/0/tables/2/rows/0"), std::make_shared<int32_t>(0))); | |
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
#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::GetTableCellOnlineRequest> request( | |
new requests::GetTableCellOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"sections/0/tables/2/rows/0"), std::make_shared<int32_t>(0))); | |
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
#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::GetTableOnlineRequest> request( | |
new requests::GetTableOnlineRequest( | |
requestDocument, std::make_shared<int32_t>(1))); | |
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
#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::GetTablePropertiesRequest> request( | |
new requests::GetTablePropertiesRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(1))); | |
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
#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::GetTablePropertiesOnlineRequest> request( | |
new requests::GetTablePropertiesOnlineRequest( | |
requestDocument, std::make_shared<int32_t>(1))); | |
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
#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::GetTableRowRequest> request( | |
new requests::GetTableRowRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"tables/1"), std::make_shared<int32_t>(0))); | |
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
#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::GetTableRowFormatRequest> request( | |
new requests::GetTableRowFormatRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"sections/0/tables/2"), std::make_shared<int32_t>(0))); | |
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
#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::GetTableRowFormatOnlineRequest> request( | |
new requests::GetTableRowFormatOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"sections/0/tables/2"), std::make_shared<int32_t>(0))); | |
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
#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::GetTableRowOnlineRequest> request( | |
new requests::GetTableRowOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"tables/1"), std::make_shared<int32_t>(0))); | |
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
#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::GetTablesRequest> request( | |
new requests::GetTablesRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"))); | |
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
#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::GetTablesOnlineRequest> request( | |
new requests::GetTablesOnlineRequest( | |
requestDocument)); | |
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
#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 requestBookmarkStartRange = std::make_shared<aspose::words::cloud::models::NewDocumentPosition>(); | |
requestBookmarkStartRange->setNodeId(std::make_shared<std::wstring>(L"0.0.0.0")); | |
requestBookmarkStartRange->setOffset(std::make_shared<int32_t>(0)); | |
auto requestBookmarkEndRange = std::make_shared<aspose::words::cloud::models::NewDocumentPosition>(); | |
requestBookmarkEndRange->setNodeId(std::make_shared<std::wstring>(L"0.0.0.0")); | |
requestBookmarkEndRange->setOffset(std::make_shared<int32_t>(0)); | |
auto requestBookmark = std::make_shared<aspose::words::cloud::models::BookmarkInsert>(); | |
requestBookmark->setStartRange(requestBookmarkStartRange); | |
requestBookmark->setEndRange(requestBookmarkEndRange); | |
requestBookmark->setName(std::make_shared<std::wstring>(L"new_bookmark")); | |
requestBookmark->setText(std::make_shared<std::wstring>(L"Some text")); | |
std::shared_ptr<requests::InsertBookmarkRequest> insertRequest( | |
new requests::InsertBookmarkRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestBookmark)); | |
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
#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 requestBookmarkStartRange = std::make_shared<aspose::words::cloud::models::NewDocumentPosition>(); | |
requestBookmarkStartRange->setNodeId(std::make_shared<std::wstring>(L"0.0.0.0")); | |
requestBookmarkStartRange->setOffset(std::make_shared<int32_t>(0)); | |
auto requestBookmarkEndRange = std::make_shared<aspose::words::cloud::models::NewDocumentPosition>(); | |
requestBookmarkEndRange->setNodeId(std::make_shared<std::wstring>(L"0.0.0.0")); | |
requestBookmarkEndRange->setOffset(std::make_shared<int32_t>(0)); | |
auto requestBookmark = std::make_shared<aspose::words::cloud::models::BookmarkInsert>(); | |
requestBookmark->setStartRange(requestBookmarkStartRange); | |
requestBookmark->setEndRange(requestBookmarkEndRange); | |
requestBookmark->setName(std::make_shared<std::wstring>(L"new_bookmark")); | |
requestBookmark->setText(std::make_shared<std::wstring>(L"Some text")); | |
std::shared_ptr<requests::InsertBookmarkOnlineRequest> insertRequest( | |
new requests::InsertBookmarkOnlineRequest( | |
requestDocument, requestBookmark)); | |
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
#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 requestCommentRangeStart = std::make_shared<aspose::words::cloud::models::NewDocumentPosition>(); | |
requestCommentRangeStart->setNodeId(std::make_shared<std::wstring>(L"0.3.0.3")); | |
requestCommentRangeStart->setOffset(std::make_shared<int32_t>(0)); | |
auto requestCommentRangeEnd = std::make_shared<aspose::words::cloud::models::NewDocumentPosition>(); | |
requestCommentRangeEnd->setNodeId(std::make_shared<std::wstring>(L"0.3.0.3")); | |
requestCommentRangeEnd->setOffset(std::make_shared<int32_t>(0)); | |
auto requestComment = std::make_shared<aspose::words::cloud::models::CommentInsert>(); | |
requestComment->setRangeStart(requestCommentRangeStart); | |
requestComment->setRangeEnd(requestCommentRangeEnd); | |
requestComment->setInitial(std::make_shared<std::wstring>(L"IA")); | |
requestComment->setAuthor(std::make_shared<std::wstring>(L"John Doe")); | |
requestComment->setText(std::make_shared<std::wstring>(L"A new Comment")); | |
std::shared_ptr<requests::InsertCommentRequest> insertRequest( | |
new requests::InsertCommentRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestComment)); | |
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
#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 requestCommentRangeStart = std::make_shared<aspose::words::cloud::models::NewDocumentPosition>(); | |
requestCommentRangeStart->setNodeId(std::make_shared<std::wstring>(L"0.3.0.3")); | |
requestCommentRangeStart->setOffset(std::make_shared<int32_t>(0)); | |
auto requestCommentRangeEnd = std::make_shared<aspose::words::cloud::models::NewDocumentPosition>(); | |
requestCommentRangeEnd->setNodeId(std::make_shared<std::wstring>(L"0.3.0.3")); | |
requestCommentRangeEnd->setOffset(std::make_shared<int32_t>(0)); | |
auto requestComment = std::make_shared<aspose::words::cloud::models::CommentInsert>(); | |
requestComment->setRangeStart(requestCommentRangeStart); | |
requestComment->setRangeEnd(requestCommentRangeEnd); | |
requestComment->setInitial(std::make_shared<std::wstring>(L"IA")); | |
requestComment->setAuthor(std::make_shared<std::wstring>(L"John Doe")); | |
requestComment->setText(std::make_shared<std::wstring>(L"A new Comment")); | |
std::shared_ptr<requests::InsertCommentOnlineRequest> insertRequest( | |
new requests::InsertCommentOnlineRequest( | |
requestDocument, requestComment)); | |
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
#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 requestCustomXmlPart = std::make_shared<aspose::words::cloud::models::CustomXmlPartInsert>(); | |
requestCustomXmlPart->setId(std::make_shared<std::wstring>(L"hello")); | |
requestCustomXmlPart->setData(std::make_shared<std::wstring>(L"<data>Hello world</data>")); | |
std::shared_ptr<requests::InsertCustomXmlPartRequest> insertRequest( | |
new requests::InsertCustomXmlPartRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestCustomXmlPart)); | |
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
#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 requestCustomXmlPart = std::make_shared<aspose::words::cloud::models::CustomXmlPartInsert>(); | |
requestCustomXmlPart->setId(std::make_shared<std::wstring>(L"hello")); | |
requestCustomXmlPart->setData(std::make_shared<std::wstring>(L"<data>Hello world</data>")); | |
std::shared_ptr<requests::InsertCustomXmlPartOnlineRequest> insertRequest( | |
new requests::InsertCustomXmlPartOnlineRequest( | |
requestDocument, requestCustomXmlPart)); | |
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
#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 requestDrawingObject = std::make_shared<aspose::words::cloud::models::DrawingObjectInsert>(); | |
requestDrawingObject->setHeight(std::make_shared<double>(0)); | |
requestDrawingObject->setLeft(std::make_shared<double>(0)); | |
requestDrawingObject->setTop(std::make_shared<double>(0)); | |
requestDrawingObject->setWidth(std::make_shared<double>(0)); | |
requestDrawingObject->setRelativeHorizontalPosition(std::make_shared<aspose::words::cloud::models::DrawingObjectInsert::RelativeHorizontalPosition>(aspose::words::cloud::models::DrawingObjectInsert::RelativeHorizontalPosition::MARGIN)); | |
requestDrawingObject->setRelativeVerticalPosition(std::make_shared<aspose::words::cloud::models::DrawingObjectInsert::RelativeVerticalPosition>(aspose::words::cloud::models::DrawingObjectInsert::RelativeVerticalPosition::MARGIN)); | |
requestDrawingObject->setWrapType(std::make_shared<aspose::words::cloud::models::DrawingObjectInsert::WrapType>(aspose::words::cloud::models::DrawingObjectInsert::WrapType::INLINE)); | |
auto requestImageFile = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Image.png"), std::istream::binary)); | |
std::shared_ptr<requests::InsertDrawingObjectRequest> insertRequest( | |
new requests::InsertDrawingObjectRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestDrawingObject, requestImageFile)); | |
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
#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 requestDrawingObject = std::make_shared<aspose::words::cloud::models::DrawingObjectInsert>(); | |
requestDrawingObject->setHeight(std::make_shared<double>(0)); | |
requestDrawingObject->setLeft(std::make_shared<double>(0)); | |
requestDrawingObject->setTop(std::make_shared<double>(0)); | |
requestDrawingObject->setWidth(std::make_shared<double>(0)); | |
requestDrawingObject->setRelativeHorizontalPosition(std::make_shared<aspose::words::cloud::models::DrawingObjectInsert::RelativeHorizontalPosition>(aspose::words::cloud::models::DrawingObjectInsert::RelativeHorizontalPosition::MARGIN)); | |
requestDrawingObject->setRelativeVerticalPosition(std::make_shared<aspose::words::cloud::models::DrawingObjectInsert::RelativeVerticalPosition>(aspose::words::cloud::models::DrawingObjectInsert::RelativeVerticalPosition::MARGIN)); | |
requestDrawingObject->setWrapType(std::make_shared<aspose::words::cloud::models::DrawingObjectInsert::WrapType>(aspose::words::cloud::models::DrawingObjectInsert::WrapType::INLINE)); | |
auto requestImageFile = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Image.png"), std::istream::binary)); | |
std::shared_ptr<requests::InsertDrawingObjectOnlineRequest> insertRequest( | |
new requests::InsertDrawingObjectOnlineRequest( | |
requestDocument, requestDrawingObject, requestImageFile)); | |
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
#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 requestField = std::make_shared<aspose::words::cloud::models::FieldInsert>(); | |
requestField->setFieldCode(std::make_shared<std::wstring>(L"{ NUMPAGES }")); | |
std::shared_ptr<requests::InsertFieldRequest> insertRequest( | |
new requests::InsertFieldRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestField)); | |
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
#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 requestField = std::make_shared<aspose::words::cloud::models::FieldInsert>(); | |
requestField->setFieldCode(std::make_shared<std::wstring>(L"{ NUMPAGES }")); | |
std::shared_ptr<requests::InsertFieldOnlineRequest> insertRequest( | |
new requests::InsertFieldOnlineRequest( | |
requestDocument, requestField, std::make_shared<std::wstring>(L"sections/0/paragraphs/0"))); | |
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
#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 requestFootnoteDto = std::make_shared<aspose::words::cloud::models::FootnoteInsert>(); | |
requestFootnoteDto->setFootnoteType(std::make_shared<aspose::words::cloud::models::FootnoteBase::FootnoteType>(aspose::words::cloud::models::FootnoteBase::FootnoteType::ENDNOTE)); | |
requestFootnoteDto->setText(std::make_shared<std::wstring>(L"test endnote")); | |
std::shared_ptr<requests::InsertFootnoteRequest> insertRequest( | |
new requests::InsertFootnoteRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestFootnoteDto)); | |
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
#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)); | |
auto requestFootnoteDto = std::make_shared<aspose::words::cloud::models::FootnoteInsert>(); | |
requestFootnoteDto->setFootnoteType(std::make_shared<aspose::words::cloud::models::FootnoteBase::FootnoteType>(aspose::words::cloud::models::FootnoteBase::FootnoteType::ENDNOTE)); | |
requestFootnoteDto->setText(std::make_shared<std::wstring>(L"test endnote")); | |
std::shared_ptr<requests::InsertFootnoteOnlineRequest> insertRequest( | |
new requests::InsertFootnoteOnlineRequest( | |
requestDocument, requestFootnoteDto)); | |
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
#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 requestFormField = std::make_shared<aspose::words::cloud::models::FormFieldTextInput>(); | |
requestFormField->setName(std::make_shared<std::wstring>(L"FullName")); | |
requestFormField->setEnabled(std::make_shared<bool>(true)); | |
requestFormField->setCalculateOnExit(std::make_shared<bool>(true)); | |
requestFormField->setStatusText(std::make_shared<std::wstring>(L"")); | |
requestFormField->setTextInputType(std::make_shared<aspose::words::cloud::models::FormFieldTextInput::TextInputType>(aspose::words::cloud::models::FormFieldTextInput::TextInputType::REGULAR)); | |
requestFormField->setTextInputDefault(std::make_shared<std::wstring>(L"123")); | |
requestFormField->setTextInputFormat(std::make_shared<std::wstring>(L"UPPERCASE")); | |
std::shared_ptr<requests::InsertFormFieldRequest> insertRequest( | |
new requests::InsertFormFieldRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestFormField)); | |
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
#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 requestFormField = std::make_shared<aspose::words::cloud::models::FormFieldTextInput>(); | |
requestFormField->setName(std::make_shared<std::wstring>(L"FullName")); | |
requestFormField->setEnabled(std::make_shared<bool>(true)); | |
requestFormField->setCalculateOnExit(std::make_shared<bool>(true)); | |
requestFormField->setStatusText(std::make_shared<std::wstring>(L"")); | |
requestFormField->setTextInputType(std::make_shared<aspose::words::cloud::models::FormFieldTextInput::TextInputType>(aspose::words::cloud::models::FormFieldTextInput::TextInputType::REGULAR)); | |
requestFormField->setTextInputDefault(std::make_shared<std::wstring>(L"123")); | |
requestFormField->setTextInputFormat(std::make_shared<std::wstring>(L"UPPERCASE")); | |
std::shared_ptr<requests::InsertFormFieldOnlineRequest> insertRequest( | |
new requests::InsertFormFieldOnlineRequest( | |
requestDocument, requestFormField, std::make_shared<std::wstring>(L"sections/0/paragraphs/0"))); | |
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
#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 requestListInsert = std::make_shared<aspose::words::cloud::models::ListInsert>(); | |
requestListInsert->setTemplate(std::make_shared<aspose::words::cloud::models::ListInsert::Template>(aspose::words::cloud::models::ListInsert::Template::OUTLINE_LEGAL)); | |
std::shared_ptr<requests::InsertListRequest> insertRequest( | |
new requests::InsertListRequest( | |
std::make_shared<std::wstring>(L"TestGetLists.doc"), requestListInsert)); | |
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
#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)); | |
auto requestListInsert = std::make_shared<aspose::words::cloud::models::ListInsert>(); | |
requestListInsert->setTemplate(std::make_shared<aspose::words::cloud::models::ListInsert::Template>(aspose::words::cloud::models::ListInsert::Template::OUTLINE_LEGAL)); | |
std::shared_ptr<requests::InsertListOnlineRequest> insertRequest( | |
new requests::InsertListOnlineRequest( | |
requestDocument, requestListInsert)); | |
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
#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 requestTabStopInsertDto = std::make_shared<aspose::words::cloud::models::TabStopInsert>(); | |
requestTabStopInsertDto->setAlignment(std::make_shared<aspose::words::cloud::models::TabStopBase::Alignment>(aspose::words::cloud::models::TabStopBase::Alignment::LEFT)); | |
requestTabStopInsertDto->setLeader(std::make_shared<aspose::words::cloud::models::TabStopBase::Leader>(aspose::words::cloud::models::TabStopBase::Leader::NONE)); | |
requestTabStopInsertDto->setPosition(std::make_shared<double>(100.0)); | |
std::shared_ptr<requests::InsertOrUpdateParagraphTabStopRequest> insertRequest( | |
new requests::InsertOrUpdateParagraphTabStopRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0), requestTabStopInsertDto)); | |
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
#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 requestTabStopInsertDto = std::make_shared<aspose::words::cloud::models::TabStopInsert>(); | |
requestTabStopInsertDto->setAlignment(std::make_shared<aspose::words::cloud::models::TabStopBase::Alignment>(aspose::words::cloud::models::TabStopBase::Alignment::LEFT)); | |
requestTabStopInsertDto->setLeader(std::make_shared<aspose::words::cloud::models::TabStopBase::Leader>(aspose::words::cloud::models::TabStopBase::Leader::NONE)); | |
requestTabStopInsertDto->setPosition(std::make_shared<double>(72)); | |
std::shared_ptr<requests::InsertOrUpdateParagraphTabStopOnlineRequest> insertRequest( | |
new requests::InsertOrUpdateParagraphTabStopOnlineRequest( | |
requestDocument, requestTabStopInsertDto, std::make_shared<int32_t>(0))); | |
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
#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 requestPageNumber = std::make_shared<aspose::words::cloud::models::PageNumber>(); | |
requestPageNumber->setAlignment(std::make_shared<std::wstring>(L"center")); | |
requestPageNumber->setFormat(std::make_shared<std::wstring>(L"{PAGE} of {NUMPAGES}")); | |
std::shared_ptr<requests::InsertPageNumbersRequest> insertRequest( | |
new requests::InsertPageNumbersRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestPageNumber)); | |
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
#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 requestPageNumber = std::make_shared<aspose::words::cloud::models::PageNumber>(); | |
requestPageNumber->setAlignment(std::make_shared<std::wstring>(L"center")); | |
requestPageNumber->setFormat(std::make_shared<std::wstring>(L"{PAGE} of {NUMPAGES}")); | |
std::shared_ptr<requests::InsertPageNumbersOnlineRequest> insertRequest( | |
new requests::InsertPageNumbersOnlineRequest( | |
requestDocument, requestPageNumber)); | |
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
#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 requestParagraph = std::make_shared<aspose::words::cloud::models::ParagraphInsert>(); | |
requestParagraph->setText(std::make_shared<std::wstring>(L"This is a new paragraph for your document")); | |
std::shared_ptr<requests::InsertParagraphRequest> insertRequest( | |
new requests::InsertParagraphRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestParagraph)); | |
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
#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 requestParagraph = std::make_shared<aspose::words::cloud::models::ParagraphInsert>(); | |
requestParagraph->setText(std::make_shared<std::wstring>(L"This is a new paragraph for your document")); | |
std::shared_ptr<requests::InsertParagraphOnlineRequest> insertRequest( | |
new requests::InsertParagraphOnlineRequest( | |
requestDocument, requestParagraph, std::make_shared<std::wstring>(L"sections/0"))); | |
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
#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 requestRun = std::make_shared<aspose::words::cloud::models::RunInsert>(); | |
requestRun->setText(std::make_shared<std::wstring>(L"run with text")); | |
std::shared_ptr<requests::InsertRunRequest> insertRequest( | |
new requests::InsertRunRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"paragraphs/1"), requestRun)); | |
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
#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)); | |
auto requestRun = std::make_shared<aspose::words::cloud::models::RunInsert>(); | |
requestRun->setText(std::make_shared<std::wstring>(L"run with text")); | |
std::shared_ptr<requests::InsertRunOnlineRequest> insertRequest( | |
new requests::InsertRunOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"paragraphs/1"), requestRun)); | |
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
#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 requestStructuredDocumentTag = std::make_shared<aspose::words::cloud::models::StructuredDocumentTagInsert>(); | |
requestStructuredDocumentTag->setSdtType(std::make_shared<aspose::words::cloud::models::StructuredDocumentTag::SdtType>(aspose::words::cloud::models::StructuredDocumentTag::SdtType::COMBO_BOX)); | |
requestStructuredDocumentTag->setLevel(std::make_shared<aspose::words::cloud::models::StructuredDocumentTag::Level>(aspose::words::cloud::models::StructuredDocumentTag::Level::INLINE)); | |
std::shared_ptr<requests::InsertStructuredDocumentTagRequest> insertRequest( | |
new requests::InsertStructuredDocumentTagRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestStructuredDocumentTag, std::make_shared<std::wstring>(L"sections/0/body/paragraphs/0"))); | |
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
#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 requestStructuredDocumentTag = std::make_shared<aspose::words::cloud::models::StructuredDocumentTagInsert>(); | |
requestStructuredDocumentTag->setSdtType(std::make_shared<aspose::words::cloud::models::StructuredDocumentTag::SdtType>(aspose::words::cloud::models::StructuredDocumentTag::SdtType::COMBO_BOX)); | |
requestStructuredDocumentTag->setLevel(std::make_shared<aspose::words::cloud::models::StructuredDocumentTag::Level>(aspose::words::cloud::models::StructuredDocumentTag::Level::INLINE)); | |
std::shared_ptr<requests::InsertStructuredDocumentTagOnlineRequest> insertRequest( | |
new requests::InsertStructuredDocumentTagOnlineRequest( | |
requestDocument, requestStructuredDocumentTag, std::make_shared<std::wstring>(L"sections/0/body/paragraphs/0"))); | |
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
#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 requestStyleInsert = std::make_shared<aspose::words::cloud::models::StyleInsert>(); | |
requestStyleInsert->setStyleName(std::make_shared<std::wstring>(L"My Style")); | |
requestStyleInsert->setStyleType(std::make_shared<aspose::words::cloud::models::StyleInsert::StyleType>(aspose::words::cloud::models::StyleInsert::StyleType::PARAGRAPH)); | |
std::shared_ptr<requests::InsertStyleRequest> insertRequest( | |
new requests::InsertStyleRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestStyleInsert)); | |
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
#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 requestStyleInsert = std::make_shared<aspose::words::cloud::models::StyleInsert>(); | |
requestStyleInsert->setStyleName(std::make_shared<std::wstring>(L"My Style")); | |
requestStyleInsert->setStyleType(std::make_shared<aspose::words::cloud::models::StyleInsert::StyleType>(aspose::words::cloud::models::StyleInsert::StyleType::PARAGRAPH)); | |
std::shared_ptr<requests::InsertStyleOnlineRequest> insertRequest( | |
new requests::InsertStyleOnlineRequest( | |
requestDocument, requestStyleInsert)); | |
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
#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 requestTable = std::make_shared<aspose::words::cloud::models::TableInsert>(); | |
requestTable->setColumnsCount(std::make_shared<int32_t>(5)); | |
requestTable->setRowsCount(std::make_shared<int32_t>(4)); | |
std::shared_ptr<requests::InsertTableRequest> insertRequest( | |
new requests::InsertTableRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestTable)); | |
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
#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 requestCell = std::make_shared<aspose::words::cloud::models::TableCellInsert>(); | |
std::shared_ptr<requests::InsertTableCellRequest> insertRequest( | |
new requests::InsertTableCellRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"sections/0/tables/2/rows/0"), requestCell)); | |
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
#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 requestCell = std::make_shared<aspose::words::cloud::models::TableCellInsert>(); | |
std::shared_ptr<requests::InsertTableCellOnlineRequest> insertRequest( | |
new requests::InsertTableCellOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"sections/0/tables/2/rows/0"), requestCell)); | |
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
#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 requestTable = std::make_shared<aspose::words::cloud::models::TableInsert>(); | |
requestTable->setColumnsCount(std::make_shared<int32_t>(5)); | |
requestTable->setRowsCount(std::make_shared<int32_t>(4)); | |
std::shared_ptr<requests::InsertTableOnlineRequest> insertRequest( | |
new requests::InsertTableOnlineRequest( | |
requestDocument, requestTable)); | |
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
#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 requestRow = std::make_shared<aspose::words::cloud::models::TableRowInsert>(); | |
requestRow->setColumnsCount(std::make_shared<int32_t>(5)); | |
std::shared_ptr<requests::InsertTableRowRequest> insertRequest( | |
new requests::InsertTableRowRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"sections/0/tables/2"), requestRow)); | |
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
#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 requestRow = std::make_shared<aspose::words::cloud::models::TableRowInsert>(); | |
requestRow->setColumnsCount(std::make_shared<int32_t>(5)); | |
std::shared_ptr<requests::InsertTableRowOnlineRequest> insertRequest( | |
new requests::InsertTableRowOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"sections/0/tables/2"), requestRow)); | |
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
#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::InsertWatermarkImageRequest> insertRequest( | |
new requests::InsertWatermarkImageRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), nullptr, std::make_shared<std::wstring>(L"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
#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 requestImageFile = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Image.png"), std::istream::binary)); | |
std::shared_ptr<requests::InsertWatermarkImageOnlineRequest> insertRequest( | |
new requests::InsertWatermarkImageOnlineRequest( | |
requestDocument, requestImageFile)); | |
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
#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 requestWatermarkText = std::make_shared<aspose::words::cloud::models::WatermarkText>(); | |
requestWatermarkText->setText(std::make_shared<std::wstring>(L"This is the text")); | |
requestWatermarkText->setRotationAngle(std::make_shared<double>(90.0)); | |
std::shared_ptr<requests::InsertWatermarkTextRequest> insertRequest( | |
new requests::InsertWatermarkTextRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestWatermarkText)); | |
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
#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 requestWatermarkText = std::make_shared<aspose::words::cloud::models::WatermarkText>(); | |
requestWatermarkText->setText(std::make_shared<std::wstring>(L"This is the text")); | |
requestWatermarkText->setRotationAngle(std::make_shared<double>(90)); | |
std::shared_ptr<requests::InsertWatermarkTextOnlineRequest> insertRequest( | |
new requests::InsertWatermarkTextOnlineRequest( | |
requestDocument, requestWatermarkText)); | |
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
#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 requestDataSaveOptions = std::make_shared<aspose::words::cloud::models::DocSaveOptionsData>(); | |
requestDataSaveOptions->setFileName(std::make_shared<std::wstring>(L"google.doc")); | |
requestDataSaveOptions->setDmlEffectsRenderingMode(std::make_shared<aspose::words::cloud::models::SaveOptionsData::DmlEffectsRenderingMode>(aspose::words::cloud::models::SaveOptionsData::DmlEffectsRenderingMode::NONE)); | |
requestDataSaveOptions->setDmlRenderingMode(std::make_shared<aspose::words::cloud::models::SaveOptionsData::DmlRenderingMode>(aspose::words::cloud::models::SaveOptionsData::DmlRenderingMode::DRAWING_ML)); | |
requestDataSaveOptions->setUpdateSdtContent(std::make_shared<bool>(false)); | |
requestDataSaveOptions->setZipOutput(std::make_shared<bool>(false)); | |
auto requestData = std::make_shared<aspose::words::cloud::models::LoadWebDocumentData>(); | |
requestData->setLoadingDocumentUrl(std::make_shared<std::wstring>(L"http://google.com")); | |
requestData->setSaveOptions(requestDataSaveOptions); | |
std::shared_ptr<requests::LoadWebDocumentRequest> loadRequest( | |
new requests::LoadWebDocumentRequest( | |
requestData)); | |
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
#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::MoveFileRequest> moveRequest( | |
new requests::MoveFileRequest( | |
std::make_shared<std::wstring>(L"MoveFileSample.docx"), std::make_shared<std::wstring>(L"Sample.docx"))); | |
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
#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::MoveFolderRequest> moveRequest( | |
new requests::MoveFolderRequest( | |
std::make_shared<std::wstring>(L"/TestMoveFolderDest_Sample"), std::make_shared<std::wstring>(L"/TestMoveFolderSrc"))); | |
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
#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 requestOptions = std::make_shared<aspose::words::cloud::models::OptimizationOptions>(); | |
requestOptions->setMsWordVersion(std::make_shared<aspose::words::cloud::models::OptimizationOptions::MsWordVersion>(aspose::words::cloud::models::OptimizationOptions::MsWordVersion::WORD2002)); | |
std::shared_ptr<requests::OptimizeDocumentRequest> optimizeRequest( | |
new requests::OptimizeDocumentRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestOptions)); | |
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
#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 requestOptions = std::make_shared<aspose::words::cloud::models::OptimizationOptions>(); | |
requestOptions->setMsWordVersion(std::make_shared<aspose::words::cloud::models::OptimizationOptions::MsWordVersion>(aspose::words::cloud::models::OptimizationOptions::MsWordVersion::WORD2002)); | |
std::shared_ptr<requests::OptimizeDocumentOnlineRequest> optimizeRequest( | |
new requests::OptimizeDocumentOnlineRequest( | |
requestDocument, requestOptions)); | |
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
#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 requestProtectionRequest = std::make_shared<aspose::words::cloud::models::ProtectionRequest>(); | |
requestProtectionRequest->setPassword(std::make_shared<std::wstring>(L"123")); | |
requestProtectionRequest->setProtectionType(std::make_shared<std::wstring>(L"ReadOnly")); | |
std::shared_ptr<requests::ProtectDocumentRequest> protectRequest( | |
new requests::ProtectDocumentRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestProtectionRequest)); | |
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
#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 requestProtectionRequest = std::make_shared<aspose::words::cloud::models::ProtectionRequest>(); | |
requestProtectionRequest->setNewPassword(std::make_shared<std::wstring>(L"123")); | |
std::shared_ptr<requests::ProtectDocumentOnlineRequest> protectRequest( | |
new requests::ProtectDocumentOnlineRequest( | |
requestDocument, requestProtectionRequest)); | |
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
#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::RejectAllRevisionsRequest> rejectRequest( | |
new requests::RejectAllRevisionsRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"))); | |
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
#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::RejectAllRevisionsOnlineRequest> rejectRequest( | |
new requests::RejectAllRevisionsOnlineRequest( | |
requestDocument)); | |
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
#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::RemoveRangeRequest> removeRequest( | |
new requests::RemoveRangeRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"id0.0.0"), std::make_shared<std::wstring>(L"id0.0.1"))); | |
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
#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::RemoveRangeOnlineRequest> removeRequest( | |
new requests::RemoveRangeOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"id0.0.0"), std::make_shared<std::wstring>(L"id0.0.1"))); | |
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
#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::RenderDrawingObjectRequest> renderRequest( | |
new requests::RenderDrawingObjectRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"png"), std::make_shared<int32_t>(0))); | |
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
#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::RenderDrawingObjectOnlineRequest> renderRequest( | |
new requests::RenderDrawingObjectOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"png"), std::make_shared<int32_t>(0), std::make_shared<std::wstring>(L"sections/0"))); | |
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
#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::RenderMathObjectRequest> renderRequest( | |
new requests::RenderMathObjectRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"png"), std::make_shared<int32_t>(0))); | |
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
#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::RenderMathObjectOnlineRequest> renderRequest( | |
new requests::RenderMathObjectOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"png"), std::make_shared<int32_t>(0))); | |
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
#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::RenderPageRequest> renderRequest( | |
new requests::RenderPageRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(1), std::make_shared<std::wstring>(L"jpg"))); | |
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
#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::RenderPageOnlineRequest> renderRequest( | |
new requests::RenderPageOnlineRequest( | |
requestDocument, std::make_shared<int32_t>(1), std::make_shared<std::wstring>(L"jpg"))); | |
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
#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::RenderParagraphRequest> renderRequest( | |
new requests::RenderParagraphRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"png"), std::make_shared<int32_t>(0))); | |
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
#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::RenderParagraphOnlineRequest> renderRequest( | |
new requests::RenderParagraphOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"png"), std::make_shared<int32_t>(0))); | |
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
#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::RenderTableRequest> renderRequest( | |
new requests::RenderTableRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"png"), std::make_shared<int32_t>(0))); | |
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
#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::RenderTableOnlineRequest> renderRequest( | |
new requests::RenderTableOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"png"), std::make_shared<int32_t>(0))); | |
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
#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 requestReplaceText = std::make_shared<aspose::words::cloud::models::ReplaceTextParameters>(); | |
requestReplaceText->setOldValue(std::make_shared<std::wstring>(L"Testing")); | |
requestReplaceText->setNewValue(std::make_shared<std::wstring>(L"Aspose testing")); | |
std::shared_ptr<requests::ReplaceTextRequest> replaceRequest( | |
new requests::ReplaceTextRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestReplaceText)); | |
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
#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 requestReplaceText = std::make_shared<aspose::words::cloud::models::ReplaceTextParameters>(); | |
requestReplaceText->setOldValue(std::make_shared<std::wstring>(L"aspose")); | |
requestReplaceText->setNewValue(std::make_shared<std::wstring>(L"aspose new")); | |
std::shared_ptr<requests::ReplaceTextOnlineRequest> replaceRequest( | |
new requests::ReplaceTextOnlineRequest( | |
requestDocument, requestReplaceText)); | |
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
#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 requestRangeText = std::make_shared<aspose::words::cloud::models::ReplaceRange>(); | |
requestRangeText->setText(std::make_shared<std::wstring>(L"Replaced header")); | |
std::shared_ptr<requests::ReplaceWithTextRequest> replaceRequest( | |
new requests::ReplaceWithTextRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"id0.0.0"), requestRangeText, std::make_shared<std::wstring>(L"id0.0.1"))); | |
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
#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)); | |
auto requestRangeText = std::make_shared<aspose::words::cloud::models::ReplaceRange>(); | |
requestRangeText->setText(std::make_shared<std::wstring>(L"Replaced header")); | |
std::shared_ptr<requests::ReplaceWithTextOnlineRequest> replaceRequest( | |
new requests::ReplaceWithTextOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"id0.0.0"), requestRangeText, std::make_shared<std::wstring>(L"id0.0.1"))); | |
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
#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::ResetCacheRequest> resetRequest( | |
new requests::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
#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 requestSaveOptionsData = std::make_shared<aspose::words::cloud::models::DocxSaveOptionsData>(); | |
requestSaveOptionsData->setFileName(std::make_shared<std::wstring>(L"FromPdfToDoc.docx")); | |
std::shared_ptr<requests::SaveAsRequest> saveRequest( | |
new requests::SaveAsRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestSaveOptionsData)); | |
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
#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"test_multi_pages.docx"), std::istream::binary)); | |
auto requestSaveOptionsData = std::make_shared<aspose::words::cloud::models::HtmlSaveOptionsData>(); | |
requestSaveOptionsData->setFileName(std::make_shared<std::wstring>(L"/TestSaveAsHtml.html")); | |
requestSaveOptionsData->setCssStyleSheetType(std::make_shared<aspose::words::cloud::models::HtmlSaveOptionsData::CssStyleSheetType>(aspose::words::cloud::models::HtmlSaveOptionsData::CssStyleSheetType::EXTERNAL)); | |
requestSaveOptionsData->setCssStyleSheetFileName(std::make_shared<std::wstring>(L"/TestSaveAsHtml.css")); | |
std::shared_ptr<requests::SaveAsOnlineRequest> saveRequest( | |
new requests::SaveAsOnlineRequest( | |
requestDocument, requestSaveOptionsData)); | |
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
#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 requestSaveOptionsData = std::make_shared<aspose::words::cloud::models::SaveOptionsData>(); | |
requestSaveOptionsData->setSaveFormat(std::make_shared<std::wstring>(L"pdf")); | |
requestSaveOptionsData->setFileName(std::make_shared<std::wstring>(L"Sample_out.pdf")); | |
std::shared_ptr<requests::SaveAsOnlineRequest> saveRequest( | |
new requests::SaveAsOnlineRequest( | |
requestDocument, requestSaveOptionsData)); | |
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
#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 requestSaveOptionsData = std::make_shared<aspose::words::cloud::models::SaveOptionsData>(); | |
requestSaveOptionsData->setSaveFormat(std::make_shared<std::wstring>(L"html")); | |
requestSaveOptionsData->setFileName(std::make_shared<std::wstring>(L"Sample_out.html")); | |
std::shared_ptr<requests::SaveAsOnlineRequest> saveRequest( | |
new requests::SaveAsOnlineRequest( | |
requestDocument, requestSaveOptionsData)); | |
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
#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 requestDocumentParameters = std::make_shared<aspose::words::cloud::models::RangeDocument>(); | |
requestDocumentParameters->setDocumentName(std::make_shared<std::wstring>(L"NewDocument.docx")); | |
std::shared_ptr<requests::SaveAsRangeRequest> saveRequest( | |
new requests::SaveAsRangeRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"id0.0.0"), requestDocumentParameters, std::make_shared<std::wstring>(L"id0.0.1"))); | |
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
#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)); | |
auto requestDocumentParameters = std::make_shared<aspose::words::cloud::models::RangeDocument>(); | |
requestDocumentParameters->setDocumentName(std::make_shared<std::wstring>(L"NewDocument.docx")); | |
std::shared_ptr<requests::SaveAsRangeOnlineRequest> saveRequest( | |
new requests::SaveAsRangeOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"id0.0.0"), requestDocumentParameters, std::make_shared<std::wstring>(L"id0.0.1"))); | |
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
#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 requestSaveOptions = std::make_shared<aspose::words::cloud::models::TiffSaveOptionsData>(); | |
requestSaveOptions->setFileName(std::make_shared<std::wstring>(L"Image.tiff")); | |
std::shared_ptr<requests::SaveAsTiffRequest> saveRequest( | |
new requests::SaveAsTiffRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestSaveOptions)); | |
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
#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"test_multi_pages.docx"), std::istream::binary)); | |
auto requestSaveOptions = std::make_shared<aspose::words::cloud::models::TiffSaveOptionsData>(); | |
requestSaveOptions->setFileName(std::make_shared<std::wstring>(L"Image.tiff")); | |
std::shared_ptr<requests::SaveAsTiffOnlineRequest> saveRequest( | |
new requests::SaveAsTiffOnlineRequest( | |
requestDocument, requestSaveOptions)); | |
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
#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::SearchRequest> searchRequest( | |
new requests::SearchRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"aspose"))); | |
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
#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::SearchOnlineRequest> searchRequest( | |
new requests::SearchOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"aspose"))); | |
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
#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::SplitDocumentRequest> splitRequest( | |
new requests::SplitDocumentRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"text"), std::make_shared<std::wstring>(L"SplitDocument.text"), std::make_shared<int32_t>(1), std::make_shared<int32_t>(2))); | |
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
#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::SplitDocumentOnlineRequest> splitRequest( | |
new requests::SplitDocumentOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"text"), std::make_shared<std::wstring>(L"SplitDocument.text"), std::make_shared<int32_t>(1), std::make_shared<int32_t>(2))); | |
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
#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::SplitDocumentOnlineRequest> splitRequest( | |
new requests::SplitDocumentOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"png"), std::make_shared<int32_t>(1), std::make_shared<int32_t>(2))); | |
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
#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::SplitDocumentOnlineRequest> splitRequest( | |
new requests::SplitDocumentOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(L"pdf"), std::make_shared<int32_t>(1), std::make_shared<int32_t>(2))); | |
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
#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 requestProtectionRequest = std::make_shared<aspose::words::cloud::models::ProtectionRequest>(); | |
requestProtectionRequest->setPassword(std::make_shared<std::wstring>(L"aspose")); | |
std::shared_ptr<requests::UnprotectDocumentRequest> unprotectRequest( | |
new requests::UnprotectDocumentRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), requestProtectionRequest)); | |
wordsApi->unprotectDocument(unprotectRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 requestProtectionRequest = std::make_shared<aspose::words::cloud::models::ProtectionRequest>(); | |
requestProtectionRequest->setPassword(std::make_shared<std::wstring>(L"aspose")); | |
std::shared_ptr<requests::UnprotectDocumentOnlineRequest> unprotectRequest( | |
new requests::UnprotectDocumentOnlineRequest( | |
requestDocument, requestProtectionRequest)); | |
wordsApi->unprotectDocumentOnline(unprotectRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 bookmarkName = L"aspose"; | |
auto requestBookmarkData = std::make_shared<aspose::words::cloud::models::BookmarkData>(); | |
requestBookmarkData->setName(std::make_shared<std::wstring>(bookmarkName)); | |
requestBookmarkData->setText(std::make_shared<std::wstring>(L"This will be the text for Aspose")); | |
std::shared_ptr<requests::UpdateBookmarkRequest> updateRequest( | |
new requests::UpdateBookmarkRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(bookmarkName), requestBookmarkData)); | |
wordsApi->updateBookmark(updateRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 bookmarkName = L"aspose"; | |
auto requestDocument = std::shared_ptr<std::istream>(new std::ifstream(std::filesystem::path(L"Sample.docx"), std::istream::binary)); | |
auto requestBookmarkData = std::make_shared<aspose::words::cloud::models::BookmarkData>(); | |
requestBookmarkData->setName(std::make_shared<std::wstring>(bookmarkName)); | |
requestBookmarkData->setText(std::make_shared<std::wstring>(L"This will be the text for Aspose")); | |
std::shared_ptr<requests::UpdateBookmarkOnlineRequest> updateRequest( | |
new requests::UpdateBookmarkOnlineRequest( | |
requestDocument, std::make_shared<std::wstring>(bookmarkName), requestBookmarkData, std::make_shared<std::wstring>(L"Sample.docx"))); | |
wordsApi->updateBookmarkOnline(updateRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 requestBorderPropertiesColor = std::make_shared<aspose::words::cloud::models::XmlColor>(); | |
requestBorderPropertiesColor->setWeb(std::make_shared<std::wstring>(L"#AABBCC")); | |
auto requestBorderProperties = std::make_shared<aspose::words::cloud::models::Border>(); | |
requestBorderProperties->setBorderType(std::make_shared<aspose::words::cloud::models::Border::BorderType>(aspose::words::cloud::models::Border::BorderType::LEFT)); | |
requestBorderProperties->setColor(requestBorderPropertiesColor); | |
requestBorderProperties->setDistanceFromText(std::make_shared<double>(6.0)); | |
requestBorderProperties->setLineStyle(std::make_shared<aspose::words::cloud::models::Border::LineStyle>(aspose::words::cloud::models::Border::LineStyle::DASH_DOT_STROKER)); | |
requestBorderProperties->setLineWidth(std::make_shared<double>(2.0)); | |
requestBorderProperties->setShadow(std::make_shared<bool>(true)); | |
std::shared_ptr<requests::UpdateBorderRequest> updateRequest( | |
new requests::UpdateBorderRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<std::wstring>(L"left"), requestBorderProperties, std::make_shared<std::wstring>(L"tables/1/rows/0/cells/0"))); | |
wordsApi->updateBorder(updateRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 requestBorderPropertiesColor = std::make_shared<aspose::words::cloud::models::XmlColor>(); | |
requestBorderPropertiesColor->setWeb(std::make_shared<std::wstring>(L"#AABBCC")); | |
auto requestBorderProperties = std::make_shared<aspose::words::cloud::models::Border>(); | |
requestBorderProperties->setBorderType(std::make_shared<aspose::words::cloud::models::Border::BorderType>(aspose::words::cloud::models::Border::BorderType::LEFT)); | |
requestBorderProperties->setColor(requestBorderPropertiesColor); | |
requestBorderProperties->setDistanceFromText(std::make_shared<double>(6)); | |
requestBorderProperties->setLineStyle(std::make_shared<aspose::words::cloud::models::Border::LineStyle>(aspose::words::cloud::models::Border::LineStyle::DASH_DOT_STROKER)); | |
requestBorderProperties->setLineWidth(std::make_shared<double>(2)); | |
requestBorderProperties->setShadow(std::make_shared<bool>(true)); | |
std::shared_ptr<requests::UpdateBorderOnlineRequest> updateRequest( | |
new requests::UpdateBorderOnlineRequest( | |
requestDocument, requestBorderProperties, std::make_shared<std::wstring>(L"left"), std::make_shared<std::wstring>(L"tables/1/rows/0/cells/0"))); | |
wordsApi->updateBorderOnline(updateRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 requestCommentRangeStart = std::make_shared<aspose::words::cloud::models::NewDocumentPosition>(); | |
requestCommentRangeStart->setNodeId(std::make_shared<std::wstring>(L"0.3.0")); | |
requestCommentRangeStart->setOffset(std::make_shared<int32_t>(0)); | |
auto requestCommentRangeEnd = std::make_shared<aspose::words::cloud::models::NewDocumentPosition>(); | |
requestCommentRangeEnd->setNodeId(std::make_shared<std::wstring>(L"0.3.0")); | |
requestCommentRangeEnd->setOffset(std::make_shared<int32_t>(0)); | |
auto requestComment = std::make_shared<aspose::words::cloud::models::CommentUpdate>(); | |
requestComment->setRangeStart(requestCommentRangeStart); | |
requestComment->setRangeEnd(requestCommentRangeEnd); | |
requestComment->setInitial(std::make_shared<std::wstring>(L"IA")); | |
requestComment->setAuthor(std::make_shared<std::wstring>(L"John Doe")); | |
requestComment->setText(std::make_shared<std::wstring>(L"A new Comment")); | |
std::shared_ptr<requests::UpdateCommentRequest> updateRequest( | |
new requests::UpdateCommentRequest( | |
std::make_shared<std::wstring>(L"Sample.docx"), std::make_shared<int32_t>(0), requestComment)); | |
wordsApi->updateComment(updateRequest); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment