Last active
December 25, 2022 07:58
-
-
Save aspose-words-cloud-gists/6aae628cf2b878b78fea177c3171c6bf 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 Dart 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final acceptRequest = AcceptAllRevisionsRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final acceptRequest = AcceptAllRevisionsOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final remoteFileName = 'Sample.docx'; | |
final requestDocumentListDocumentEntries0FileReference = FileReference.fromRemoteFile(remoteFileName); | |
final requestDocumentListDocumentEntries0 = DocumentEntry(); | |
requestDocumentListDocumentEntries0.fileReference = requestDocumentListDocumentEntries0FileReference; | |
requestDocumentListDocumentEntries0.importFormatMode = 'KeepSourceFormatting'; | |
final requestDocumentListDocumentEntries = [ | |
requestDocumentListDocumentEntries0]; | |
final requestDocumentList = DocumentEntryList(); | |
requestDocumentList.documentEntries = requestDocumentListDocumentEntries; | |
final appendRequest = AppendDocumentRequest(remoteFileName, requestDocumentList); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final localFile = 'Sample.docx'; | |
final requestDocument = (await File(localFile).readAsBytes()).buffer.asByteData(); | |
final requestDocumentListDocumentEntries0FileReferenceStream = await context.loadBinaryFile(localFile); | |
final requestDocumentListDocumentEntries0FileReference = FileReference.fromLocalFile(requestDocumentListDocumentEntries0FileReferenceStream); | |
final requestDocumentListDocumentEntries0 = DocumentEntry(); | |
requestDocumentListDocumentEntries0.fileReference = requestDocumentListDocumentEntries0FileReference; | |
requestDocumentListDocumentEntries0.importFormatMode = 'KeepSourceFormatting'; | |
final requestDocumentListDocumentEntries = [ | |
requestDocumentListDocumentEntries0]; | |
final requestDocumentList = DocumentEntryList(); | |
requestDocumentList.documentEntries = requestDocumentListDocumentEntries; | |
final appendRequest = AppendDocumentOnlineRequest(requestDocument, requestDocumentList); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestStyleApply = StyleApply(); | |
requestStyleApply.styleName = 'Heading 1'; | |
final applyStyleRequest = ApplyStyleToDocumentElementRequest('Sample.docx', 'paragraphs/1/paragraphFormat', requestStyleApply); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestStyleApply = StyleApply(); | |
requestStyleApply.styleName = 'Heading 1'; | |
final applyStyleRequest = ApplyStyleToDocumentElementOnlineRequest(requestDocument, 'paragraphs/1/paragraphFormat', requestStyleApply); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestReportEngineSettingsReportBuildOptions = [ | |
ReportBuildOptionsEnum.allowMissingMembers, | |
ReportBuildOptionsEnum.removeEmptyParagraphs]; | |
final requestReportEngineSettings = ReportEngineSettings(); | |
requestReportEngineSettings.dataSourceType = ReportEngineSettings_DataSourceTypeEnum.json; | |
requestReportEngineSettings.reportBuildOptions = requestReportEngineSettingsReportBuildOptions; | |
final buildReportRequest = BuildReportRequest('Sample.docx', 'Data.json', requestReportEngineSettings); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestTemplate = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestReportEngineSettings = ReportEngineSettings(); | |
requestReportEngineSettings.dataSourceType = ReportEngineSettings_DataSourceTypeEnum.json; | |
requestReportEngineSettings.dataSourceName = 'persons'; | |
final buildReportRequest = BuildReportOnlineRequest(requestTemplate, 'Data.json', requestReportEngineSettings); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final classifyRequest = ClassifyRequest('Try text classification', bestClassesCount: '3'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final classifyRequest = ClassifyDocumentRequest('Sample.docx', bestClassesCount: '3'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final classifyRequest = ClassifyDocumentOnlineRequest(requestDocument, bestClassesCount: '3'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestCompareData = CompareData(); | |
requestCompareData.author = 'author'; | |
requestCompareData.comparingWithDocument = 'TestCompareDocument2.doc'; | |
requestCompareData.dateTime = DateTime(2015, 10, 26, 0, 0, 0); | |
final compareRequest = CompareDocumentRequest('TestCompareDocument1.doc', requestCompareData, destFileName: 'CompareDocumentOut.doc'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('compareTestDoc1.doc').readAsBytes()).buffer.asByteData(); | |
final requestCompareData = CompareData(); | |
requestCompareData.author = 'author'; | |
requestCompareData.comparingWithDocument = 'TestCompareDocument2.doc'; | |
requestCompareData.dateTime = DateTime(2015, 10, 26, 0, 0, 0); | |
final requestComparingDocument = (await File('compareTestDoc2.doc').readAsBytes()).buffer.asByteData(); | |
final compareRequest = CompareDocumentOnlineRequest(requestDocument, requestCompareData, comparingDocument: requestComparingDocument, destFileName: 'CompareDocumentOut.doc'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestCompressOptions = CompressOptions(); | |
final compressDocument = CompressDocumentRequest('Sample.docx', requestCompressOptions); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('TestCompress.docx').readAsBytes()).buffer.asByteData(); | |
final requestCompressOptions = CompressOptions(); | |
final compressDocumentOnline = CompressDocumentOnlineRequest(requestDocument, requestCompressOptions); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final convertRequest = ConvertDocumentRequest(requestDocument, 'pdf'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final convertRequest = ConvertDocumentRequest(requestDocument, 'pdf'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final convertRequest = ConvertDocumentRequest(requestDocument, 'pdf'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final copyRequest = CopyFileRequest('Copy.docx', 'Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final folderToCopy = '/TestCopyFolder'; | |
final copyRequest = CopyFolderRequest(folderToCopy + 'Dest', folderToCopy + 'Src'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestStyleCopy = StyleCopy(); | |
requestStyleCopy.styleName = 'Heading 1'; | |
final copyRequest = CopyStyleRequest('Sample.docx', requestStyleCopy); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestStyleCopy = StyleCopy(); | |
requestStyleCopy.styleName = 'Heading 1'; | |
final copyRequest = CopyStyleOnlineRequest(requestDocument, requestStyleCopy); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final copyRequest = CopyStylesFromTemplateRequest('Sample.docx', 'StyleTemplate.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final createRequest = CreateDocumentRequest(fileName: 'Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final createRequest = CreateFolderRequest('/TestCreateFolder'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestProperty = DocumentPropertyCreateOrUpdate(); | |
requestProperty.value = 'John Doe'; | |
final createRequest = CreateOrUpdateDocumentPropertyRequest('Sample.docx', 'AsposeAuthor', requestProperty); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestProperty = DocumentPropertyCreateOrUpdate(); | |
requestProperty.value = 'John Doe'; | |
final createRequest = CreateOrUpdateDocumentPropertyOnlineRequest(requestDocument, 'AsposeAuthor', requestProperty); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteAllParagraphTabStopsRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteAllParagraphTabStopsOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteBookmarkRequest('Sample.docx', 'aspose'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteBookmarkOnlineRequest(requestDocument, 'aspose'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteBookmarksRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteBookmarksOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteBorderRequest('Sample.docx', 'left', nodePath: 'tables/1/rows/0/cells/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteBorderOnlineRequest(requestDocument, 'left', nodePath: 'tables/1/rows/0/cells/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteBordersRequest('Sample.docx', nodePath: 'tables/1/rows/0/cells/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteBordersOnlineRequest(requestDocument, nodePath: 'tables/1/rows/0/cells/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteCommentRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteCommentOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteCommentsRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteCommentsOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteCustomXmlPartRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteCustomXmlPartOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteCustomXmlPartsRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteCustomXmlPartsOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteDocumentPropertyRequest('Sample.docx', 'testProp'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteDocumentPropertyOnlineRequest(requestDocument, 'testProp'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteDrawingObjectRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteDrawingObjectOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteFieldRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteFieldOnlineRequest(requestDocument, 0, nodePath: 'sections/0/paragraphs/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteFieldsRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteFieldsOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteFileRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteFolderRequest(''); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteFootnoteRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.doc').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteFootnoteOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteFormFieldRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteFormFieldOnlineRequest(requestDocument, 0, nodePath: 'sections/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteMacrosRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteMacrosOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteOfficeMathObjectRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteOfficeMathObjectOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteParagraphRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteParagraphListFormatRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.doc').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteParagraphListFormatOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteParagraphOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteParagraphTabStopRequest('Sample.docx', 72.0, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteParagraphTabStopOnlineRequest(requestDocument, 72.0, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteRunRequest('Sample.docx', 'paragraphs/1', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.doc').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteRunOnlineRequest(requestDocument, 'paragraphs/1', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteSectionRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteSectionOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteTableRequest('Sample.docx', 1); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteTableCellRequest('Sample.docx', 'sections/0/tables/2/rows/0', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteTableCellOnlineRequest(requestDocument, 'sections/0/tables/2/rows/0', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteTableOnlineRequest(requestDocument, 1); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteTableRowRequest('Sample.docx', 'tables/1', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteTableRowOnlineRequest(requestDocument, 'tables/1', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final deleteRequest = DeleteWatermarkRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final deleteRequest = DeleteWatermarkOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final downloadRequest = DownloadFileRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestOptionsCurrentUser = UserInformation(); | |
requestOptionsCurrentUser.name = 'SdkTestUser'; | |
final requestOptions = FieldOptions(); | |
requestOptions.currentUser = requestOptionsCurrentUser; | |
final mailMergeRequest = ExecuteMailMergeRequest('Sample.docx', data: await context.loadTextFile('TestMailMergeData.xml'), options: requestOptions); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestTemplate = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestData = (await File(await context.loadTextFile('TestMailMergeData.xml')).readAsBytes()).buffer.asByteData(); | |
final requestOptionsCurrentUser = UserInformation(); | |
requestOptionsCurrentUser.name = 'SdkTestUser'; | |
final requestOptions = FieldOptions(); | |
requestOptions.currentUser = requestOptionsCurrentUser; | |
final mailMergeRequest = ExecuteMailMergeOnlineRequest(requestTemplate, requestData, options: requestOptions); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestTemplate = (await File('TestMailMergeWithImages.doc').readAsBytes()).buffer.asByteData(); | |
final requestData = (await File('MailMergeData.json').readAsBytes()).buffer.asByteData(); | |
final mailMergeRequest = ExecuteMailMergeOnlineRequest(requestTemplate, requestData, documentFileName: 'Out_TestMailMergeWithImages.doc'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestTemplate = (await File('template.doc').readAsBytes()).buffer.asByteData(); | |
final requestData = (await File('TestPostDocumentExecuteMailMerge.txt').readAsBytes()).buffer.asByteData(); | |
final mailMergeRequest = ExecuteMailMergeOnlineRequest(requestTemplate, requestData, documentFileName: 'Out_PostDocumentExecuteMailMergeWithHTMLData.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestTemplate = (await File('SampleMailMergeTemplate.docx').readAsBytes()).buffer.asByteData(); | |
final requestData = (await File('SampleMailMergeTemplateData.xml').readAsBytes()).buffer.asByteData(); | |
final mailMergeRequest = ExecuteMailMergeOnlineRequest(requestTemplate, requestData, documentFileName: 'Out_SampleMailMergeTemplate.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetAvailableFontsRequest(); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetBookmarkByNameRequest('Sample.docx', 'aspose'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetBookmarkByNameOnlineRequest(requestDocument, 'aspose'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetBookmarksRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetBookmarksOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetBorderRequest('Sample.docx', 'left', nodePath: 'tables/1/rows/0/cells/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetBorderOnlineRequest(requestDocument, 'left', nodePath: 'tables/1/rows/0/cells/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetBordersRequest('Sample.docx', nodePath: 'tables/1/rows/0/cells/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetBordersOnlineRequest(requestDocument, nodePath: 'tables/1/rows/0/cells/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetCommentRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetCommentOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetCommentsRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetCommentsOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetCustomXmlPartRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetCustomXmlPartOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetCustomXmlPartsRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetCustomXmlPartsOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetDocumentRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetDocumentDrawingObjectByIndexRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetDocumentDrawingObjectByIndexOnlineRequest(requestDocument, 0, nodePath: 'sections/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetDocumentDrawingObjectImageDataRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetDocumentDrawingObjectImageDataOnlineRequest(requestDocument, 0, nodePath: 'sections/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetDocumentDrawingObjectOleDataRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetDocumentDrawingObjectOleDataOnlineRequest(requestDocument, 0, nodePath: 'sections/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetDocumentDrawingObjectsRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetDocumentDrawingObjectsOnlineRequest(requestDocument, nodePath: 'sections/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetDocumentFieldNamesRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestTemplate = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetDocumentFieldNamesOnlineRequest(requestTemplate, useNonMergeFields: true); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetDocumentHyperlinkByIndexRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetDocumentHyperlinkByIndexOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetDocumentHyperlinksRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetDocumentHyperlinksOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetDocumentPropertiesRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetDocumentPropertiesOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetDocumentPropertyRequest('Sample.docx', 'Author'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetDocumentPropertyOnlineRequest(requestDocument, 'Author'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetDocumentProtectionRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetDocumentProtectionOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetDocumentStatisticsRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetDocumentStatisticsOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetDocumentWithFormatRequest('Sample.docx', 'text', outPath: 'DocumentWithFormat.text'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetFieldRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetFieldOnlineRequest(requestDocument, 0, nodePath: 'sections/0/paragraphs/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetFieldsRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetFieldsOnlineRequest(requestDocument, nodePath: 'sections/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetFilesListRequest(''); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetFootnoteRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.doc').readAsBytes()).buffer.asByteData(); | |
final request = GetFootnoteOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetFootnotesRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.doc').readAsBytes()).buffer.asByteData(); | |
final request = GetFootnotesOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetFormFieldRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetFormFieldOnlineRequest(requestDocument, 0, nodePath: 'sections/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetFormFieldsRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetFormFieldsOnlineRequest(requestDocument, nodePath: 'sections/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetInfoRequest(); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetListRequest('TestGetLists.doc', 1); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.doc').readAsBytes()).buffer.asByteData(); | |
final request = GetListOnlineRequest(requestDocument, 1); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetListsRequest('TestGetLists.doc'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.doc').readAsBytes()).buffer.asByteData(); | |
final request = GetListsOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetOfficeMathObjectRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetOfficeMathObjectOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetOfficeMathObjectsRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetOfficeMathObjectsOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetParagraphRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetParagraphFormatRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetParagraphFormatOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetParagraphListFormatRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.doc').readAsBytes()).buffer.asByteData(); | |
final request = GetParagraphListFormatOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetParagraphOnlineRequest(requestDocument, 0, nodePath: 'sections/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetParagraphsRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetParagraphsOnlineRequest(requestDocument, nodePath: 'sections/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetParagraphTabStopsRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetParagraphTabStopsOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetPublicKeyRequest(); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetRangeTextRequest('Sample.docx', 'id0.0.0', rangeEndIdentifier: 'id0.0.1'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.doc').readAsBytes()).buffer.asByteData(); | |
final request = GetRangeTextOnlineRequest(requestDocument, 'id0.0.0', rangeEndIdentifier: 'id0.0.1'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetRunRequest('Sample.docx', 'paragraphs/0', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetRunFontRequest('Sample.docx', 'paragraphs/0', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetRunFontOnlineRequest(requestDocument, 'paragraphs/0', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetRunOnlineRequest(requestDocument, 'paragraphs/0', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetRunsRequest('Sample.docx', 'sections/0/paragraphs/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetRunsOnlineRequest(requestDocument, 'sections/0/paragraphs/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetSectionRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetSectionOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetSectionPageSetupRequest('Sample.docx', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetSectionPageSetupOnlineRequest(requestDocument, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetSectionsRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetSectionsOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetStyleRequest('Sample.docx', 'Heading 1'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetStyleFromDocumentElementRequest('Sample.docx', 'paragraphs/1/paragraphFormat'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetStyleFromDocumentElementOnlineRequest(requestDocument, 'paragraphs/1/paragraphFormat'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetStyleOnlineRequest(requestDocument, 'Heading 1'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetStylesRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetStylesOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetTableRequest('Sample.docx', 1); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetTableCellRequest('Sample.docx', 'sections/0/tables/2/rows/0', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetTableCellFormatRequest('Sample.docx', 'sections/0/tables/2/rows/0', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetTableCellFormatOnlineRequest(requestDocument, 'sections/0/tables/2/rows/0', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetTableCellOnlineRequest(requestDocument, 'sections/0/tables/2/rows/0', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetTableOnlineRequest(requestDocument, 1); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetTablePropertiesRequest('Sample.docx', 1); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetTablePropertiesOnlineRequest(requestDocument, 1); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetTableRowRequest('Sample.docx', 'tables/1', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetTableRowFormatRequest('Sample.docx', 'sections/0/tables/2', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetTableRowFormatOnlineRequest(requestDocument, 'sections/0/tables/2', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetTableRowOnlineRequest(requestDocument, 'tables/1', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final request = GetTablesRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final request = GetTablesOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestBookmarkStartRangeNode = NodeLink(); | |
requestBookmarkStartRangeNode.nodeId = '0.0.0.0'; | |
final requestBookmarkStartRange = DocumentPosition(); | |
requestBookmarkStartRange.node = requestBookmarkStartRangeNode; | |
final requestBookmarkEndRangeNode = NodeLink(); | |
requestBookmarkEndRangeNode.nodeId = '0.0.0.0'; | |
final requestBookmarkEndRange = DocumentPosition(); | |
requestBookmarkEndRange.node = requestBookmarkEndRangeNode; | |
final requestBookmark = BookmarkInsert(); | |
requestBookmark.startRange = requestBookmarkStartRange; | |
requestBookmark.endRange = requestBookmarkEndRange; | |
requestBookmark.name = 'new_bookmark'; | |
requestBookmark.text = 'Some text'; | |
final insertRequest = InsertBookmarkRequest('Sample.docx', requestBookmark); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestBookmarkStartRangeNode = NodeLink(); | |
requestBookmarkStartRangeNode.nodeId = '0.0.0.0'; | |
final requestBookmarkStartRange = DocumentPosition(); | |
requestBookmarkStartRange.node = requestBookmarkStartRangeNode; | |
final requestBookmarkEndRangeNode = NodeLink(); | |
requestBookmarkEndRangeNode.nodeId = '0.0.0.0'; | |
final requestBookmarkEndRange = DocumentPosition(); | |
requestBookmarkEndRange.node = requestBookmarkEndRangeNode; | |
final requestBookmark = BookmarkInsert(); | |
requestBookmark.startRange = requestBookmarkStartRange; | |
requestBookmark.endRange = requestBookmarkEndRange; | |
requestBookmark.name = 'new_bookmark'; | |
requestBookmark.text = 'Some text'; | |
final insertRequest = InsertBookmarkOnlineRequest(requestDocument, requestBookmark); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestCommentRangeStartNode = NodeLink(); | |
requestCommentRangeStartNode.nodeId = '0.3.0.3'; | |
final requestCommentRangeStart = DocumentPosition(); | |
requestCommentRangeStart.node = requestCommentRangeStartNode; | |
requestCommentRangeStart.offset = 0; | |
final requestCommentRangeEndNode = NodeLink(); | |
requestCommentRangeEndNode.nodeId = '0.3.0.3'; | |
final requestCommentRangeEnd = DocumentPosition(); | |
requestCommentRangeEnd.node = requestCommentRangeEndNode; | |
requestCommentRangeEnd.offset = 0; | |
final requestComment = CommentInsert(); | |
requestComment.rangeStart = requestCommentRangeStart; | |
requestComment.rangeEnd = requestCommentRangeEnd; | |
requestComment.initial = 'IA'; | |
requestComment.author = 'John Doe'; | |
requestComment.text = 'A new Comment'; | |
final insertRequest = InsertCommentRequest('Sample.docx', requestComment); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestCommentRangeStartNode = NodeLink(); | |
requestCommentRangeStartNode.nodeId = '0.3.0.3'; | |
final requestCommentRangeStart = DocumentPosition(); | |
requestCommentRangeStart.node = requestCommentRangeStartNode; | |
requestCommentRangeStart.offset = 0; | |
final requestCommentRangeEndNode = NodeLink(); | |
requestCommentRangeEndNode.nodeId = '0.3.0.3'; | |
final requestCommentRangeEnd = DocumentPosition(); | |
requestCommentRangeEnd.node = requestCommentRangeEndNode; | |
requestCommentRangeEnd.offset = 0; | |
final requestComment = CommentInsert(); | |
requestComment.rangeStart = requestCommentRangeStart; | |
requestComment.rangeEnd = requestCommentRangeEnd; | |
requestComment.initial = 'IA'; | |
requestComment.author = 'John Doe'; | |
requestComment.text = 'A new Comment'; | |
final insertRequest = InsertCommentOnlineRequest(requestDocument, requestComment); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestCustomXmlPart = CustomXmlPartInsert(); | |
requestCustomXmlPart.id = 'hello'; | |
requestCustomXmlPart.data = '<data>Hello world</data>'; | |
final insertRequest = InsertCustomXmlPartRequest('Sample.docx', requestCustomXmlPart); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestCustomXmlPart = CustomXmlPartInsert(); | |
requestCustomXmlPart.id = 'hello'; | |
requestCustomXmlPart.data = '<data>Hello world</data>'; | |
final insertRequest = InsertCustomXmlPartOnlineRequest(requestDocument, requestCustomXmlPart); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDrawingObject = DrawingObjectInsert(); | |
requestDrawingObject.height = 0; | |
requestDrawingObject.left = 0; | |
requestDrawingObject.top = 0; | |
requestDrawingObject.width = 0; | |
requestDrawingObject.relativeHorizontalPosition = DrawingObjectInsert_RelativeHorizontalPositionEnum.margin; | |
requestDrawingObject.relativeVerticalPosition = DrawingObjectInsert_RelativeVerticalPositionEnum.margin; | |
requestDrawingObject.wrapType = DrawingObjectInsert_WrapTypeEnum.inline; | |
final requestImageFile = (await File('Image.png').readAsBytes()).buffer.asByteData(); | |
final insertRequest = InsertDrawingObjectRequest('Sample.docx', requestDrawingObject, requestImageFile); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestDrawingObject = DrawingObjectInsert(); | |
requestDrawingObject.height = 0; | |
requestDrawingObject.left = 0; | |
requestDrawingObject.top = 0; | |
requestDrawingObject.width = 0; | |
requestDrawingObject.relativeHorizontalPosition = DrawingObjectInsert_RelativeHorizontalPositionEnum.margin; | |
requestDrawingObject.relativeVerticalPosition = DrawingObjectInsert_RelativeVerticalPositionEnum.margin; | |
requestDrawingObject.wrapType = DrawingObjectInsert_WrapTypeEnum.inline; | |
final requestImageFile = (await File('Image.png').readAsBytes()).buffer.asByteData(); | |
final insertRequest = InsertDrawingObjectOnlineRequest(requestDocument, requestDrawingObject, requestImageFile); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestField = FieldInsert(); | |
requestField.fieldCode = '{ NUMPAGES }'; | |
final insertRequest = InsertFieldRequest('Sample.docx', requestField); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestField = FieldInsert(); | |
requestField.fieldCode = '{ NUMPAGES }'; | |
final insertRequest = InsertFieldOnlineRequest(requestDocument, requestField, nodePath: 'sections/0/paragraphs/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestFootnoteDto = FootnoteInsert(); | |
requestFootnoteDto.footnoteType = FootnoteBase_FootnoteTypeEnum.endnote; | |
requestFootnoteDto.text = 'test endnote'; | |
final insertRequest = InsertFootnoteRequest('Sample.docx', requestFootnoteDto); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.doc').readAsBytes()).buffer.asByteData(); | |
final requestFootnoteDto = FootnoteInsert(); | |
requestFootnoteDto.footnoteType = FootnoteBase_FootnoteTypeEnum.endnote; | |
requestFootnoteDto.text = 'test endnote'; | |
final insertRequest = InsertFootnoteOnlineRequest(requestDocument, requestFootnoteDto); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestFormField = FormFieldTextInput(); | |
requestFormField.name = 'FullName'; | |
requestFormField.enabled = true; | |
requestFormField.calculateOnExit = true; | |
requestFormField.statusText = ''; | |
requestFormField.textInputType = FormFieldTextInput_TextInputTypeEnum.regular; | |
requestFormField.textInputDefault = '123'; | |
requestFormField.textInputFormat = 'UPPERCASE'; | |
final insertRequest = InsertFormFieldRequest('Sample.docx', requestFormField); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestFormField = FormFieldTextInput(); | |
requestFormField.name = 'FullName'; | |
requestFormField.enabled = true; | |
requestFormField.calculateOnExit = true; | |
requestFormField.statusText = ''; | |
requestFormField.textInputType = FormFieldTextInput_TextInputTypeEnum.regular; | |
requestFormField.textInputDefault = '123'; | |
requestFormField.textInputFormat = 'UPPERCASE'; | |
final insertRequest = InsertFormFieldOnlineRequest(requestDocument, requestFormField, nodePath: 'sections/0/paragraphs/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestListInsert = ListInsert(); | |
requestListInsert.template = ListInsert_TemplateEnum.outlineLegal; | |
final insertRequest = InsertListRequest('TestGetLists.doc', requestListInsert); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.doc').readAsBytes()).buffer.asByteData(); | |
final requestListInsert = ListInsert(); | |
requestListInsert.template = ListInsert_TemplateEnum.outlineLegal; | |
final insertRequest = InsertListOnlineRequest(requestDocument, requestListInsert); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestTabStopInsertDto = TabStopInsert(); | |
requestTabStopInsertDto.alignment = TabStopBase_AlignmentEnum.left; | |
requestTabStopInsertDto.leader = TabStopBase_LeaderEnum.none; | |
requestTabStopInsertDto.position = 100.0; | |
final insertRequest = InsertOrUpdateParagraphTabStopRequest('Sample.docx', 0, requestTabStopInsertDto); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestTabStopInsertDto = TabStopInsert(); | |
requestTabStopInsertDto.alignment = TabStopBase_AlignmentEnum.left; | |
requestTabStopInsertDto.leader = TabStopBase_LeaderEnum.none; | |
requestTabStopInsertDto.position = 72; | |
final insertRequest = InsertOrUpdateParagraphTabStopOnlineRequest(requestDocument, requestTabStopInsertDto, 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestPageNumber = PageNumber(); | |
requestPageNumber.alignment = 'center'; | |
requestPageNumber.format = '{PAGE} of {NUMPAGES}'; | |
final insertRequest = InsertPageNumbersRequest('Sample.docx', requestPageNumber); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestPageNumber = PageNumber(); | |
requestPageNumber.alignment = 'center'; | |
requestPageNumber.format = '{PAGE} of {NUMPAGES}'; | |
final insertRequest = InsertPageNumbersOnlineRequest(requestDocument, requestPageNumber); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestParagraph = ParagraphInsert(); | |
requestParagraph.text = 'This is a new paragraph for your document'; | |
final insertRequest = InsertParagraphRequest('Sample.docx', requestParagraph); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestParagraph = ParagraphInsert(); | |
requestParagraph.text = 'This is a new paragraph for your document'; | |
final insertRequest = InsertParagraphOnlineRequest(requestDocument, requestParagraph, nodePath: 'sections/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestRun = RunInsert(); | |
requestRun.text = 'run with text'; | |
final insertRequest = InsertRunRequest('Sample.docx', 'paragraphs/1', requestRun); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.doc').readAsBytes()).buffer.asByteData(); | |
final requestRun = RunInsert(); | |
requestRun.text = 'run with text'; | |
final insertRequest = InsertRunOnlineRequest(requestDocument, 'paragraphs/1', requestRun); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestStyleInsert = StyleInsert(); | |
requestStyleInsert.styleName = 'My Style'; | |
requestStyleInsert.styleType = StyleInsert_StyleTypeEnum.paragraph; | |
final insertRequest = InsertStyleRequest('Sample.docx', requestStyleInsert); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestStyleInsert = StyleInsert(); | |
requestStyleInsert.styleName = 'My Style'; | |
requestStyleInsert.styleType = StyleInsert_StyleTypeEnum.paragraph; | |
final insertRequest = InsertStyleOnlineRequest(requestDocument, requestStyleInsert); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestTable = TableInsert(); | |
requestTable.columnsCount = 5; | |
requestTable.rowsCount = 4; | |
final insertRequest = InsertTableRequest('Sample.docx', requestTable); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestCell = TableCellInsert(); | |
final insertRequest = InsertTableCellRequest('Sample.docx', 'sections/0/tables/2/rows/0', requestCell); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestCell = TableCellInsert(); | |
final insertRequest = InsertTableCellOnlineRequest(requestDocument, 'sections/0/tables/2/rows/0', requestCell); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestTable = TableInsert(); | |
requestTable.columnsCount = 5; | |
requestTable.rowsCount = 4; | |
final insertRequest = InsertTableOnlineRequest(requestDocument, requestTable); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestRow = TableRowInsert(); | |
requestRow.columnsCount = 5; | |
final insertRequest = InsertTableRowRequest('Sample.docx', 'sections/0/tables/2', requestRow); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestRow = TableRowInsert(); | |
requestRow.columnsCount = 5; | |
final insertRequest = InsertTableRowOnlineRequest(requestDocument, 'sections/0/tables/2', requestRow); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final insertRequest = InsertWatermarkImageRequest('Sample.docx', imageFile: null, image: 'Sample.png'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestImageFile = (await File('Image.png').readAsBytes()).buffer.asByteData(); | |
final insertRequest = InsertWatermarkImageOnlineRequest(requestDocument, requestImageFile); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestWatermarkText = WatermarkText(); | |
requestWatermarkText.text = 'This is the text'; | |
requestWatermarkText.rotationAngle = 90.0; | |
final insertRequest = InsertWatermarkTextRequest('Sample.docx', requestWatermarkText); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestWatermarkText = WatermarkText(); | |
requestWatermarkText.text = 'This is the text'; | |
requestWatermarkText.rotationAngle = 90; | |
final insertRequest = InsertWatermarkTextOnlineRequest(requestDocument, requestWatermarkText); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDataSaveOptions = DocSaveOptionsData(); | |
requestDataSaveOptions.fileName = 'google.doc'; | |
requestDataSaveOptions.dmlEffectsRenderingMode = SaveOptionsData_DmlEffectsRenderingModeEnum.none; | |
requestDataSaveOptions.dmlRenderingMode = SaveOptionsData_DmlRenderingModeEnum.drawingML; | |
requestDataSaveOptions.updateSdtContent = false; | |
requestDataSaveOptions.zipOutput = false; | |
final requestData = LoadWebDocumentData(); | |
requestData.loadingDocumentUrl = 'http://google.com'; | |
requestData.saveOptions = requestDataSaveOptions; | |
final loadRequest = LoadWebDocumentRequest(requestData); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final moveRequest = MoveFileRequest('MoveFileSample.docx', 'Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final moveRequest = MoveFolderRequest('/TestMoveFolderDest_Sample', '/TestMoveFolderSrc'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestOptions = OptimizationOptions(); | |
requestOptions.msWordVersion = OptimizationOptions_MsWordVersionEnum.word2002; | |
final optimizeRequest = OptimizeDocumentRequest('Sample.docx', requestOptions); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestOptions = OptimizationOptions(); | |
requestOptions.msWordVersion = OptimizationOptions_MsWordVersionEnum.word2002; | |
final optimizeRequest = OptimizeDocumentOnlineRequest(requestDocument, requestOptions); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestProtectionRequest = ProtectionRequest(); | |
requestProtectionRequest.password = '123'; | |
requestProtectionRequest.protectionType = 'ReadOnly'; | |
final protectRequest = ProtectDocumentRequest('Sample.docx', requestProtectionRequest); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestProtectionRequest = ProtectionRequest(); | |
requestProtectionRequest.newPassword = '123'; | |
final protectRequest = ProtectDocumentOnlineRequest(requestDocument, requestProtectionRequest); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final rejectRequest = RejectAllRevisionsRequest('Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final rejectRequest = RejectAllRevisionsOnlineRequest(requestDocument); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final removeRequest = RemoveRangeRequest('Sample.docx', 'id0.0.0', rangeEndIdentifier: 'id0.0.1'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.doc').readAsBytes()).buffer.asByteData(); | |
final removeRequest = RemoveRangeOnlineRequest(requestDocument, 'id0.0.0', rangeEndIdentifier: 'id0.0.1'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final renderRequest = RenderDrawingObjectRequest('Sample.docx', 'png', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final renderRequest = RenderDrawingObjectOnlineRequest(requestDocument, 'png', 0, nodePath: 'sections/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final renderRequest = RenderMathObjectRequest('Sample.docx', 'png', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final renderRequest = RenderMathObjectOnlineRequest(requestDocument, 'png', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final renderRequest = RenderPageRequest('Sample.docx', 1, 'jpg'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final renderRequest = RenderPageOnlineRequest(requestDocument, 1, 'jpg'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final renderRequest = RenderParagraphRequest('Sample.docx', 'png', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final renderRequest = RenderParagraphOnlineRequest(requestDocument, 'png', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final renderRequest = RenderTableRequest('Sample.docx', 'png', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final renderRequest = RenderTableOnlineRequest(requestDocument, 'png', 0); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestReplaceText = ReplaceTextParameters(); | |
requestReplaceText.oldValue = 'Testing'; | |
requestReplaceText.newValue = 'Aspose testing'; | |
final replaceRequest = ReplaceTextRequest('Sample.docx', requestReplaceText); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestReplaceText = ReplaceTextParameters(); | |
requestReplaceText.oldValue = 'aspose'; | |
requestReplaceText.newValue = 'aspose new'; | |
final replaceRequest = ReplaceTextOnlineRequest(requestDocument, requestReplaceText); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestRangeText = ReplaceRange(); | |
requestRangeText.text = 'Replaced header'; | |
final replaceRequest = ReplaceWithTextRequest('Sample.docx', 'id0.0.0', requestRangeText, rangeEndIdentifier: 'id0.0.1'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.doc').readAsBytes()).buffer.asByteData(); | |
final requestRangeText = ReplaceRange(); | |
requestRangeText.text = 'Replaced header'; | |
final replaceRequest = ReplaceWithTextOnlineRequest(requestDocument, 'id0.0.0', requestRangeText, rangeEndIdentifier: 'id0.0.1'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final resetRequest = ResetCacheRequest(); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestSaveOptionsData = DocxSaveOptionsData(); | |
requestSaveOptionsData.fileName = 'FromPdfToDoc.docx'; | |
final saveRequest = SaveAsRequest('Sample.docx', requestSaveOptionsData); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('test_multi_pages.docx').readAsBytes()).buffer.asByteData(); | |
final requestSaveOptionsData = HtmlSaveOptionsData(); | |
requestSaveOptionsData.fileName = '/TestSaveAsHtml.html'; | |
requestSaveOptionsData.cssStyleSheetType = HtmlSaveOptionsData_CssStyleSheetTypeEnum.external; | |
requestSaveOptionsData.cssStyleSheetFileName = '/TestSaveAsHtml.css'; | |
final saveRequest = SaveAsOnlineRequest(requestDocument, requestSaveOptionsData); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestSaveOptionsData = SaveOptionsData(); | |
requestSaveOptionsData.saveFormat = 'pdf'; | |
requestSaveOptionsData.fileName = 'Sample_out.pdf'; | |
final saveRequest = SaveAsOnlineRequest(requestDocument, requestSaveOptionsData); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestSaveOptionsData = SaveOptionsData(); | |
requestSaveOptionsData.saveFormat = 'html'; | |
requestSaveOptionsData.fileName = 'Sample_out.html'; | |
final saveRequest = SaveAsOnlineRequest(requestDocument, requestSaveOptionsData); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocumentParameters = RangeDocument(); | |
requestDocumentParameters.documentName = 'NewDocument.docx'; | |
final saveRequest = SaveAsRangeRequest('Sample.docx', 'id0.0.0', requestDocumentParameters, rangeEndIdentifier: 'id0.0.1'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.doc').readAsBytes()).buffer.asByteData(); | |
final requestDocumentParameters = RangeDocument(); | |
requestDocumentParameters.documentName = 'NewDocument.docx'; | |
final saveRequest = SaveAsRangeOnlineRequest(requestDocument, 'id0.0.0', requestDocumentParameters, rangeEndIdentifier: 'id0.0.1'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestSaveOptions = TiffSaveOptionsData(); | |
requestSaveOptions.fileName = 'Image.tiff'; | |
final saveRequest = SaveAsTiffRequest('Sample.docx', requestSaveOptions); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('test_multi_pages.docx').readAsBytes()).buffer.asByteData(); | |
final requestSaveOptions = TiffSaveOptionsData(); | |
requestSaveOptions.fileName = 'Image.tiff'; | |
final saveRequest = SaveAsTiffOnlineRequest(requestDocument, requestSaveOptions); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final searchRequest = SearchRequest('Sample.docx', 'aspose'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final searchRequest = SearchOnlineRequest(requestDocument, 'aspose'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final splitRequest = SplitDocumentRequest('Sample.docx', 'text', destFileName: 'SplitDocument.text', from: 1, to: 2); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final splitRequest = SplitDocumentOnlineRequest(requestDocument, 'text', destFileName: 'SplitDocument.text', from: 1, to: 2); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final splitRequest = SplitDocumentOnlineRequest(requestDocument, 'png', from: 1, to: 2); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final splitRequest = SplitDocumentOnlineRequest(requestDocument, 'pdf', from: 1, to: 2); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestProtectionRequest = ProtectionRequest(); | |
requestProtectionRequest.password = 'aspose'; | |
final unprotectRequest = UnprotectDocumentRequest('Sample.docx', requestProtectionRequest); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestProtectionRequest = ProtectionRequest(); | |
requestProtectionRequest.password = 'aspose'; | |
final unprotectRequest = UnprotectDocumentOnlineRequest(requestDocument, requestProtectionRequest); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final bookmarkName = 'aspose'; | |
final requestBookmarkData = BookmarkData(); | |
requestBookmarkData.name = bookmarkName; | |
requestBookmarkData.text = 'This will be the text for Aspose'; | |
final updateRequest = UpdateBookmarkRequest('Sample.docx', bookmarkName, requestBookmarkData); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final bookmarkName = 'aspose'; | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestBookmarkData = BookmarkData(); | |
requestBookmarkData.name = bookmarkName; | |
requestBookmarkData.text = 'This will be the text for Aspose'; | |
final updateRequest = UpdateBookmarkOnlineRequest(requestDocument, bookmarkName, requestBookmarkData, destFileName: 'Sample.docx'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestBorderPropertiesColor = XmlColor(); | |
requestBorderPropertiesColor.web = '#AABBCC'; | |
final requestBorderProperties = Border(); | |
requestBorderProperties.borderType = Border_BorderTypeEnum.left; | |
requestBorderProperties.color = requestBorderPropertiesColor; | |
requestBorderProperties.distanceFromText = 6.0; | |
requestBorderProperties.lineStyle = Border_LineStyleEnum.dashDotStroker; | |
requestBorderProperties.lineWidth = 2.0; | |
requestBorderProperties.shadow = true; | |
final updateRequest = UpdateBorderRequest('Sample.docx', 'left', requestBorderProperties, nodePath: 'tables/1/rows/0/cells/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestBorderPropertiesColor = XmlColor(); | |
requestBorderPropertiesColor.web = '#AABBCC'; | |
final requestBorderProperties = Border(); | |
requestBorderProperties.borderType = Border_BorderTypeEnum.left; | |
requestBorderProperties.color = requestBorderPropertiesColor; | |
requestBorderProperties.distanceFromText = 6; | |
requestBorderProperties.lineStyle = Border_LineStyleEnum.dashDotStroker; | |
requestBorderProperties.lineWidth = 2; | |
requestBorderProperties.shadow = true; | |
final updateRequest = UpdateBorderOnlineRequest(requestDocument, requestBorderProperties, 'left', nodePath: 'tables/1/rows/0/cells/0'); | |
await 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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestCommentRangeStartNode = NodeLink(); | |
requestCommentRangeStartNode.nodeId = '0.3.0'; | |
final requestCommentRangeStart = DocumentPosition(); | |
requestCommentRangeStart.node = requestCommentRangeStartNode; | |
requestCommentRangeStart.offset = 0; | |
final requestCommentRangeEndNode = NodeLink(); | |
requestCommentRangeEndNode.nodeId = '0.3.0'; | |
final requestCommentRangeEnd = DocumentPosition(); | |
requestCommentRangeEnd.node = requestCommentRangeEndNode; | |
requestCommentRangeEnd.offset = 0; | |
final requestComment = CommentUpdate(); | |
requestComment.rangeStart = requestCommentRangeStart; | |
requestComment.rangeEnd = requestCommentRangeEnd; | |
requestComment.initial = 'IA'; | |
requestComment.author = 'John Doe'; | |
requestComment.text = 'A new Comment'; | |
final updateRequest = UpdateCommentRequest('Sample.docx', 0, requestComment); | |
await wordsApi.updateComment(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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestCommentRangeStartNode = NodeLink(); | |
requestCommentRangeStartNode.nodeId = '0.3.0'; | |
final requestCommentRangeStart = DocumentPosition(); | |
requestCommentRangeStart.node = requestCommentRangeStartNode; | |
requestCommentRangeStart.offset = 0; | |
final requestCommentRangeEndNode = NodeLink(); | |
requestCommentRangeEndNode.nodeId = '0.3.0'; | |
final requestCommentRangeEnd = DocumentPosition(); | |
requestCommentRangeEnd.node = requestCommentRangeEndNode; | |
requestCommentRangeEnd.offset = 0; | |
final requestComment = CommentUpdate(); | |
requestComment.rangeStart = requestCommentRangeStart; | |
requestComment.rangeEnd = requestCommentRangeEnd; | |
requestComment.initial = 'IA'; | |
requestComment.author = 'John Doe'; | |
requestComment.text = 'A new Comment'; | |
final updateRequest = UpdateCommentOnlineRequest(requestDocument, 0, requestComment); | |
await wordsApi.updateCommentOnline(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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestCustomXmlPart = CustomXmlPartUpdate(); | |
requestCustomXmlPart.data = '<data>Hello world</data>'; | |
final updateRequest = UpdateCustomXmlPartRequest('Sample.docx', 0, requestCustomXmlPart); | |
await wordsApi.updateCustomXmlPart(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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestCustomXmlPart = CustomXmlPartUpdate(); | |
requestCustomXmlPart.data = '<data>Hello world</data>'; | |
final updateRequest = UpdateCustomXmlPartOnlineRequest(requestDocument, 0, requestCustomXmlPart); | |
await wordsApi.updateCustomXmlPartOnline(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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDrawingObject = DrawingObjectUpdate(); | |
requestDrawingObject.left = 0; | |
final requestImageFile = (await File('Image.png').readAsBytes()).buffer.asByteData(); | |
final updateRequest = UpdateDrawingObjectRequest('Sample.docx', requestDrawingObject, requestImageFile, 0); | |
await wordsApi.updateDrawingObject(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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestDrawingObject = DrawingObjectUpdate(); | |
requestDrawingObject.left = 0; | |
final requestImageFile = (await File('Image.png').readAsBytes()).buffer.asByteData(); | |
final updateRequest = UpdateDrawingObjectOnlineRequest(requestDocument, requestDrawingObject, requestImageFile, 0); | |
await wordsApi.updateDrawingObjectOnline(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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestField = FieldUpdate(); | |
requestField.fieldCode = '{ NUMPAGES }'; | |
final updateRequest = UpdateFieldRequest('Sample.docx', 0, requestField, nodePath: 'sections/0/paragraphs/0'); | |
await wordsApi.updateField(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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final requestDocument = (await File('Sample.docx').readAsBytes()).buffer.asByteData(); | |
final requestField = FieldUpdate(); | |
requestField.fieldCode = '{ NUMPAGES }'; | |
final updateRequest = UpdateFieldOnlineRequest(requestDocument, requestField, 0, nodePath: 'sections/0/paragraphs/0'); | |
await wordsApi.updateFieldOnline(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
import 'dart:io'; | |
import 'package:aspose_words_cloud/aspose_words_cloud.dart'; | |
final clientId = "####-####-####-####-####"; | |
final clientSecret = "##################"; | |
final config = Configuration(clientId, clientSecret); | |
final wordsApi = WordsApi(config); | |
final updateRequest = UpdateFieldsRequest('Sample.docx'); | |
await wordsApi.updateFields(updateRequest); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment