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 Swift 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let acceptRequest = AcceptAllRevisionsRequest(name: "Sample.docx"); | |
_ = try api.acceptAllRevisions(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let acceptRequest = AcceptAllRevisionsOnlineRequest(document: requestDocument); | |
_ = try api.acceptAllRevisionsOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let remoteFileName = "Sample.docx"; | |
let requestDocumentListDocumentEntries0FileReference = FileReference(remoteFilePath: remoteFileName); | |
let requestDocumentListDocumentEntries0 = DocumentEntry() | |
.setImportFormatMode(importFormatMode: "KeepSourceFormatting") | |
.setFileReference(fileReference: requestDocumentListDocumentEntries0FileReference); | |
let requestDocumentListDocumentEntries = [ | |
requestDocumentListDocumentEntries0 as! DocumentEntry | |
]; | |
let requestDocumentList = DocumentEntryList() | |
.setDocumentEntries(documentEntries: requestDocumentListDocumentEntries); | |
let appendRequest = AppendDocumentRequest(name: remoteFileName, documentList: requestDocumentList); | |
_ = try api.appendDocument(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let localFile = "Sample.docx"; | |
let requestDocument = InputStream(url: URL(string: localFile))!; | |
let requestDocumentListDocumentEntries0FileReferenceStream = InputStream(url: self.getLocalTestDataFolder().appendingPathComponent(localFile, isDirectory: false))!; | |
let requestDocumentListDocumentEntries0FileReference = FileReference(localFileContent: requestDocumentListDocumentEntries0FileReferenceStream); | |
let requestDocumentListDocumentEntries0 = DocumentEntry() | |
.setImportFormatMode(importFormatMode: "KeepSourceFormatting") | |
.setFileReference(fileReference: requestDocumentListDocumentEntries0FileReference); | |
let requestDocumentListDocumentEntries = [ | |
requestDocumentListDocumentEntries0 as! DocumentEntry | |
]; | |
let requestDocumentList = DocumentEntryList() | |
.setDocumentEntries(documentEntries: requestDocumentListDocumentEntries); | |
let appendRequest = AppendDocumentOnlineRequest(document: requestDocument, documentList: requestDocumentList); | |
_ = try api.appendDocumentOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestStyleApply = StyleApply() | |
.setStyleName(styleName: "Heading 1"); | |
let applyStyleRequest = ApplyStyleToDocumentElementRequest(name: "Sample.docx", styledNodePath: "paragraphs/1/paragraphFormat", styleApply: requestStyleApply); | |
_ = try api.applyStyleToDocumentElement(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let requestStyleApply = StyleApply() | |
.setStyleName(styleName: "Heading 1"); | |
let applyStyleRequest = ApplyStyleToDocumentElementOnlineRequest(document: requestDocument, styledNodePath: "paragraphs/1/paragraphFormat", styleApply: requestStyleApply); | |
_ = try api.applyStyleToDocumentElementOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestReportEngineSettingsReportBuildOptions = [ | |
ReportBuildOptions.allowMissingMembers, | |
ReportBuildOptions.removeEmptyParagraphs | |
]; | |
let requestReportEngineSettings = ReportEngineSettings() | |
.setDataSourceType(dataSourceType: ReportEngineSettings.DataSourceType.json) | |
.setReportBuildOptions(reportBuildOptions: requestReportEngineSettingsReportBuildOptions); | |
let buildReportRequest = BuildReportRequest(name: "Sample.docx", data: "Data.json", reportEngineSettings: requestReportEngineSettings); | |
_ = try api.buildReport(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestTemplate = InputStream(url: URL(string: "Sample.docx"))!; | |
let requestReportEngineSettings = ReportEngineSettings() | |
.setDataSourceName(dataSourceName: "persons") | |
.setDataSourceType(dataSourceType: ReportEngineSettings.DataSourceType.json); | |
let buildReportRequest = BuildReportOnlineRequest(template: requestTemplate, data: "Data.json", reportEngineSettings: requestReportEngineSettings); | |
_ = try api.buildReportOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let classifyRequest = ClassifyRequest(text: "Try text classification", bestClassesCount: "3"); | |
_ = try api.classify(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let classifyRequest = ClassifyDocumentRequest(name: "Sample.docx", bestClassesCount: "3"); | |
_ = try api.classifyDocument(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let classifyRequest = ClassifyDocumentOnlineRequest(document: requestDocument, bestClassesCount: "3"); | |
_ = try api.classifyDocumentOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestCompareData = CompareData() | |
.setAuthor(author: "author") | |
.setComparingWithDocument(comparingWithDocument: "TestCompareDocument2.doc") | |
.setDateTime(dateTime: ObjectSerializer.customIso8601.date(from: "2015-10-26T00:00:00Z")!); | |
let compareRequest = CompareDocumentRequest(name: "TestCompareDocument1.doc", compareData: requestCompareData, destFileName: "CompareDocumentOut.doc"); | |
_ = try api.compareDocument(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "compareTestDoc1.doc"))!; | |
let requestCompareData = CompareData() | |
.setAuthor(author: "author") | |
.setComparingWithDocument(comparingWithDocument: "TestCompareDocument2.doc") | |
.setDateTime(dateTime: ObjectSerializer.customIso8601.date(from: "2015-10-26T00:00:00Z")!); | |
let requestComparingDocument = InputStream(url: URL(string: "compareTestDoc2.doc"))!; | |
let compareRequest = CompareDocumentOnlineRequest(document: requestDocument, compareData: requestCompareData, comparingDocument: requestComparingDocument, destFileName: "CompareDocumentOut.doc"); | |
_ = try api.compareDocumentOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestCompressOptions = CompressOptions(); | |
let compressDocument = CompressDocumentRequest(name: "Sample.docx", compressOptions: requestCompressOptions); | |
_ = try api.compressDocument(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "TestCompress.docx"))!; | |
let requestCompressOptions = CompressOptions(); | |
let compressDocumentOnline = CompressDocumentOnlineRequest(document: requestDocument, compressOptions: requestCompressOptions); | |
_ = try api.compressDocumentOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let convertRequest = ConvertDocumentRequest(document: requestDocument, format: "pdf"); | |
_ = try api.convertDocument(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let convertRequest = ConvertDocumentRequest(document: requestDocument, format: "pdf"); | |
_ = try api.convertDocument(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let convertRequest = ConvertDocumentRequest(document: requestDocument, format: "pdf"); | |
_ = try api.convertDocument(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let copyRequest = CopyFileRequest(destPath: "Copy.docx", srcPath: "Sample.docx"); | |
_ = try api.copyFile(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let folderToCopy = "/TestCopyFolder"; | |
let copyRequest = CopyFolderRequest(destPath: folderToCopy + "Dest", srcPath: folderToCopy + "Src"); | |
_ = try api.copyFolder(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestStyleCopy = StyleCopy() | |
.setStyleName(styleName: "Heading 1"); | |
let copyRequest = CopyStyleRequest(name: "Sample.docx", styleCopy: requestStyleCopy); | |
_ = try api.copyStyle(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let requestStyleCopy = StyleCopy() | |
.setStyleName(styleName: "Heading 1"); | |
let copyRequest = CopyStyleOnlineRequest(document: requestDocument, styleCopy: requestStyleCopy); | |
_ = try api.copyStyleOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let copyRequest = CopyStylesFromTemplateRequest(name: "Sample.docx", templateName: "StyleTemplate.docx"); | |
_ = try api.copyStylesFromTemplate(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let createRequest = CreateDocumentRequest(fileName: "Sample.docx"); | |
_ = try api.createDocument(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let createRequest = CreateFolderRequest(path: "/TestCreateFolder"); | |
_ = try api.createFolder(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestProperty = DocumentPropertyCreateOrUpdate() | |
.setValue(value: "John Doe"); | |
let createRequest = CreateOrUpdateDocumentPropertyRequest(name: "Sample.docx", propertyName: "AsposeAuthor", property: requestProperty as! DocumentPropertyCreateOrUpdate); | |
_ = try api.createOrUpdateDocumentProperty(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let requestProperty = DocumentPropertyCreateOrUpdate() | |
.setValue(value: "John Doe"); | |
let createRequest = CreateOrUpdateDocumentPropertyOnlineRequest(document: requestDocument, propertyName: "AsposeAuthor", property: requestProperty as! DocumentPropertyCreateOrUpdate); | |
_ = try api.createOrUpdateDocumentPropertyOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteAllParagraphTabStopsRequest(name: "Sample.docx", index: 0); | |
_ = try api.deleteAllParagraphTabStops(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteAllParagraphTabStopsOnlineRequest(document: requestDocument, index: 0); | |
_ = try api.deleteAllParagraphTabStopsOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteBookmarkRequest(name: "Sample.docx", bookmarkName: "aspose"); | |
_ = try api.deleteBookmark(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteBookmarkOnlineRequest(document: requestDocument, bookmarkName: "aspose"); | |
_ = try api.deleteBookmarkOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteBookmarksRequest(name: "Sample.docx"); | |
_ = try api.deleteBookmarks(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteBookmarksOnlineRequest(document: requestDocument); | |
_ = try api.deleteBookmarksOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteBorderRequest(name: "Sample.docx", borderType: "left", nodePath: "tables/1/rows/0/cells/0"); | |
_ = try api.deleteBorder(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteBorderOnlineRequest(document: requestDocument, borderType: "left", nodePath: "tables/1/rows/0/cells/0"); | |
_ = try api.deleteBorderOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteBordersRequest(name: "Sample.docx", nodePath: "tables/1/rows/0/cells/0"); | |
_ = try api.deleteBorders(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteBordersOnlineRequest(document: requestDocument, nodePath: "tables/1/rows/0/cells/0"); | |
_ = try api.deleteBordersOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteCommentRequest(name: "Sample.docx", commentIndex: 0); | |
_ = try api.deleteComment(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteCommentOnlineRequest(document: requestDocument, commentIndex: 0); | |
_ = try api.deleteCommentOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteCommentsRequest(name: "Sample.docx"); | |
_ = try api.deleteComments(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteCommentsOnlineRequest(document: requestDocument); | |
_ = try api.deleteCommentsOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteCustomXmlPartRequest(name: "Sample.docx", customXmlPartIndex: 0); | |
_ = try api.deleteCustomXmlPart(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteCustomXmlPartOnlineRequest(document: requestDocument, customXmlPartIndex: 0); | |
_ = try api.deleteCustomXmlPartOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteCustomXmlPartsRequest(name: "Sample.docx"); | |
_ = try api.deleteCustomXmlParts(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteCustomXmlPartsOnlineRequest(document: requestDocument); | |
_ = try api.deleteCustomXmlPartsOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteDocumentPropertyRequest(name: "Sample.docx", propertyName: "testProp"); | |
_ = try api.deleteDocumentProperty(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteDocumentPropertyOnlineRequest(document: requestDocument, propertyName: "testProp"); | |
_ = try api.deleteDocumentPropertyOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteDrawingObjectRequest(name: "Sample.docx", index: 0); | |
_ = try api.deleteDrawingObject(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteDrawingObjectOnlineRequest(document: requestDocument, index: 0); | |
_ = try api.deleteDrawingObjectOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteFieldRequest(name: "Sample.docx", index: 0); | |
_ = try api.deleteField(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteFieldOnlineRequest(document: requestDocument, index: 0, nodePath: "sections/0/paragraphs/0"); | |
_ = try api.deleteFieldOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteFieldsRequest(name: "Sample.docx"); | |
_ = try api.deleteFields(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteFieldsOnlineRequest(document: requestDocument); | |
_ = try api.deleteFieldsOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteFileRequest(path: "Sample.docx"); | |
_ = try api.deleteFile(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteFolderRequest(path: ""); | |
_ = try api.deleteFolder(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteFootnoteRequest(name: "Sample.docx", index: 0); | |
_ = try api.deleteFootnote(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.doc"))!; | |
let deleteRequest = DeleteFootnoteOnlineRequest(document: requestDocument, index: 0); | |
_ = try api.deleteFootnoteOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteFormFieldRequest(name: "Sample.docx", index: 0); | |
_ = try api.deleteFormField(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteFormFieldOnlineRequest(document: requestDocument, index: 0, nodePath: "sections/0"); | |
_ = try api.deleteFormFieldOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteMacrosRequest(name: "Sample.docx"); | |
_ = try api.deleteMacros(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteMacrosOnlineRequest(document: requestDocument); | |
_ = try api.deleteMacrosOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteOfficeMathObjectRequest(name: "Sample.docx", index: 0); | |
_ = try api.deleteOfficeMathObject(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteOfficeMathObjectOnlineRequest(document: requestDocument, index: 0); | |
_ = try api.deleteOfficeMathObjectOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteParagraphRequest(name: "Sample.docx", index: 0); | |
_ = try api.deleteParagraph(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteParagraphListFormatRequest(name: "Sample.docx", index: 0); | |
_ = try api.deleteParagraphListFormat(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.doc"))!; | |
let deleteRequest = DeleteParagraphListFormatOnlineRequest(document: requestDocument, index: 0); | |
_ = try api.deleteParagraphListFormatOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteParagraphOnlineRequest(document: requestDocument, index: 0); | |
_ = try api.deleteParagraphOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteParagraphTabStopRequest(name: "Sample.docx", position: 72.0, index: 0); | |
_ = try api.deleteParagraphTabStop(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteParagraphTabStopOnlineRequest(document: requestDocument, position: 72.0, index: 0); | |
_ = try api.deleteParagraphTabStopOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteRunRequest(name: "Sample.docx", paragraphPath: "paragraphs/1", index: 0); | |
_ = try api.deleteRun(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.doc"))!; | |
let deleteRequest = DeleteRunOnlineRequest(document: requestDocument, paragraphPath: "paragraphs/1", index: 0); | |
_ = try api.deleteRunOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteSectionRequest(name: "Sample.docx", sectionIndex: 0); | |
_ = try api.deleteSection(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteSectionOnlineRequest(document: requestDocument, sectionIndex: 0); | |
_ = try api.deleteSectionOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteStructuredDocumentTagRequest(name: "Sample.docx", index: 0, nodePath: "sections/0/body/paragraphs/0"); | |
_ = try api.deleteStructuredDocumentTag(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteStructuredDocumentTagOnlineRequest(document: requestDocument, index: 0, nodePath: "sections/0/body/paragraphs/0"); | |
_ = try api.deleteStructuredDocumentTagOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteTableRequest(name: "Sample.docx", index: 1); | |
_ = try api.deleteTable(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteTableCellRequest(name: "Sample.docx", tableRowPath: "sections/0/tables/2/rows/0", index: 0); | |
_ = try api.deleteTableCell(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteTableCellOnlineRequest(document: requestDocument, tableRowPath: "sections/0/tables/2/rows/0", index: 0); | |
_ = try api.deleteTableCellOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteTableOnlineRequest(document: requestDocument, index: 1); | |
_ = try api.deleteTableOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteTableRowRequest(name: "Sample.docx", tablePath: "tables/1", index: 0); | |
_ = try api.deleteTableRow(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteTableRowOnlineRequest(document: requestDocument, tablePath: "tables/1", index: 0); | |
_ = try api.deleteTableRowOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let deleteRequest = DeleteWatermarkRequest(name: "Sample.docx"); | |
_ = try api.deleteWatermark(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let deleteRequest = DeleteWatermarkOnlineRequest(document: requestDocument); | |
_ = try api.deleteWatermarkOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let downloadRequest = DownloadFileRequest(path: "Sample.docx"); | |
_ = try api.downloadFile(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestOptionsCurrentUser = UserInformation() | |
.setName(name: "SdkTestUser"); | |
let requestOptions = FieldOptions() | |
.setCurrentUser(currentUser: requestOptionsCurrentUser); | |
let mailMergeRequest = ExecuteMailMergeRequest(name: "Sample.docx", data: try String(contentsOf: self.getLocalTestDataFolder().appendingPathComponent("TestMailMergeData.xml", isDirectory: false)), options: requestOptions); | |
_ = try api.executeMailMerge(request: 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 Foundation; | |
import AsposeWordsCloud; | |
let clientId = "####-####-####-####-####"; | |
let secret = "##################"; | |
let wordsApi = WordsAPI(clientId: clientId, clientSecret: secret); | |
let fileName = "template.doc"; | |
let destName = "Out_PostDocumentExecuteMailMergeWithHTMLData.docx"; | |
// Upload original document to Cloud Storage | |
let requestUpload = UploadFileRequest(fileContent: InputStream(url: URL(fileURLWithPath: fileName))!, path: fileName); | |
let actual = try wordsApi.uploadFile(request: requestUpload); | |
let request = ExecuteMailMergeRequest(name: fileName, data: try String(contentsOf: URL(fileURLWithPath: "TestPostDocumentExecuteMailMerge.txt"), encoding: .utf8), folder: nil, storage: nil, withRegions: false, destFileName: destName); | |
let response = try wordsApi.executeMailMerge(request: request); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation; | |
import AsposeWordsCloud; | |
let clientId = "####-####-####-####-####"; | |
let secret = "##################"; | |
let wordsApi = WordsAPI(clientId: clientId, clientSecret: secret); | |
let fileName = "SampleMailMergeTemplate.docx"; | |
let destName = "Out_SampleMailMergeTemplate.docx"; | |
// Upload original document to Cloud Storage | |
let requestUpload = UploadFileRequest(fileContent: InputStream(url: URL(fileURLWithPath: fileName))!, path: fileName); | |
let actual = try wordsApi.uploadFile(request: requestUpload); | |
let request = ExecuteMailMergeRequest(name: fileName, data: try String(contentsOf: URL(fileURLWithPath: "SampleMailMergeTemplateData.xml"), encoding: .utf8), folder: nil, storage: nil, withRegions: false, destFileName: destName); | |
let response = try wordsApi.executeMailMerge(request: request); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestTemplate = InputStream(url: URL(string: "Sample.docx"))!; | |
let requestData = InputStream(url: URL(string: try String(contentsOf: self.getLocalTestDataFolder().appendingPathComponent("TestMailMergeData.xml", isDirectory: false))))!; | |
let requestOptionsCurrentUser = UserInformation() | |
.setName(name: "SdkTestUser"); | |
let requestOptions = FieldOptions() | |
.setCurrentUser(currentUser: requestOptionsCurrentUser); | |
let mailMergeRequest = ExecuteMailMergeOnlineRequest(template: requestTemplate, data: requestData, options: requestOptions); | |
_ = try api.executeMailMergeOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestTemplate = InputStream(url: URL(string: "TestMailMergeWithImages.doc"))!; | |
let requestData = InputStream(url: URL(string: "MailMergeData.json"))!; | |
let mailMergeRequest = ExecuteMailMergeOnlineRequest(template: requestTemplate, data: requestData, documentFileName: "Out_TestMailMergeWithImages.doc"); | |
_ = try api.executeMailMergeOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestTemplate = InputStream(url: URL(string: "template.doc"))!; | |
let requestData = InputStream(url: URL(string: "TestPostDocumentExecuteMailMerge.txt"))!; | |
let mailMergeRequest = ExecuteMailMergeOnlineRequest(template: requestTemplate, data: requestData, documentFileName: "Out_PostDocumentExecuteMailMergeWithHTMLData.docx"); | |
_ = try api.executeMailMergeOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestTemplate = InputStream(url: URL(string: "SampleMailMergeTemplate.docx"))!; | |
let requestData = InputStream(url: URL(string: "SampleMailMergeTemplateData.xml"))!; | |
let mailMergeRequest = ExecuteMailMergeOnlineRequest(template: requestTemplate, data: requestData, documentFileName: "Out_SampleMailMergeTemplate.docx"); | |
_ = try api.executeMailMergeOnline(request: 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 AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetAvailableFontsRequest(); | |
_ = try api.getAvailableFonts(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetBookmarkByNameRequest(name: "Sample.docx", bookmarkName: "aspose"); | |
_ = try api.getBookmarkByName(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetBookmarkByNameOnlineRequest(document: requestDocument, bookmarkName: "aspose"); | |
_ = try api.getBookmarkByNameOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetBookmarksRequest(name: "Sample.docx"); | |
_ = try api.getBookmarks(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetBookmarksOnlineRequest(document: requestDocument); | |
_ = try api.getBookmarksOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetBorderRequest(name: "Sample.docx", borderType: "left", nodePath: "tables/1/rows/0/cells/0"); | |
_ = try api.getBorder(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetBorderOnlineRequest(document: requestDocument, borderType: "left", nodePath: "tables/1/rows/0/cells/0"); | |
_ = try api.getBorderOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetBordersRequest(name: "Sample.docx", nodePath: "tables/1/rows/0/cells/0"); | |
_ = try api.getBorders(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetBordersOnlineRequest(document: requestDocument, nodePath: "tables/1/rows/0/cells/0"); | |
_ = try api.getBordersOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetCommentRequest(name: "Sample.docx", commentIndex: 0); | |
_ = try api.getComment(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetCommentOnlineRequest(document: requestDocument, commentIndex: 0); | |
_ = try api.getCommentOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetCommentsRequest(name: "Sample.docx"); | |
_ = try api.getComments(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetCommentsOnlineRequest(document: requestDocument); | |
_ = try api.getCommentsOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetCustomXmlPartRequest(name: "Sample.docx", customXmlPartIndex: 0); | |
_ = try api.getCustomXmlPart(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetCustomXmlPartOnlineRequest(document: requestDocument, customXmlPartIndex: 0); | |
_ = try api.getCustomXmlPartOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetCustomXmlPartsRequest(name: "Sample.docx"); | |
_ = try api.getCustomXmlParts(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetCustomXmlPartsOnlineRequest(document: requestDocument); | |
_ = try api.getCustomXmlPartsOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetDocumentRequest(documentName: "Sample.docx"); | |
_ = try api.getDocument(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetDocumentDrawingObjectByIndexRequest(name: "Sample.docx", index: 0); | |
_ = try api.getDocumentDrawingObjectByIndex(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetDocumentDrawingObjectByIndexOnlineRequest(document: requestDocument, index: 0, nodePath: "sections/0"); | |
_ = try api.getDocumentDrawingObjectByIndexOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetDocumentDrawingObjectImageDataRequest(name: "Sample.docx", index: 0); | |
_ = try api.getDocumentDrawingObjectImageData(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetDocumentDrawingObjectImageDataOnlineRequest(document: requestDocument, index: 0, nodePath: "sections/0"); | |
_ = try api.getDocumentDrawingObjectImageDataOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetDocumentDrawingObjectOleDataRequest(name: "Sample.docx", index: 0); | |
_ = try api.getDocumentDrawingObjectOleData(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetDocumentDrawingObjectOleDataOnlineRequest(document: requestDocument, index: 0, nodePath: "sections/0"); | |
_ = try api.getDocumentDrawingObjectOleDataOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetDocumentDrawingObjectsRequest(name: "Sample.docx"); | |
_ = try api.getDocumentDrawingObjects(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetDocumentDrawingObjectsOnlineRequest(document: requestDocument, nodePath: "sections/0"); | |
_ = try api.getDocumentDrawingObjectsOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetDocumentFieldNamesRequest(name: "Sample.docx"); | |
_ = try api.getDocumentFieldNames(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestTemplate = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetDocumentFieldNamesOnlineRequest(template: requestTemplate, useNonMergeFields: true); | |
_ = try api.getDocumentFieldNamesOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetDocumentHyperlinkByIndexRequest(name: "Sample.docx", hyperlinkIndex: 0); | |
_ = try api.getDocumentHyperlinkByIndex(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetDocumentHyperlinkByIndexOnlineRequest(document: requestDocument, hyperlinkIndex: 0); | |
_ = try api.getDocumentHyperlinkByIndexOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetDocumentHyperlinksRequest(name: "Sample.docx"); | |
_ = try api.getDocumentHyperlinks(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetDocumentHyperlinksOnlineRequest(document: requestDocument); | |
_ = try api.getDocumentHyperlinksOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetDocumentPropertiesRequest(name: "Sample.docx"); | |
_ = try api.getDocumentProperties(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetDocumentPropertiesOnlineRequest(document: requestDocument); | |
_ = try api.getDocumentPropertiesOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetDocumentPropertyRequest(name: "Sample.docx", propertyName: "Author"); | |
_ = try api.getDocumentProperty(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetDocumentPropertyOnlineRequest(document: requestDocument, propertyName: "Author"); | |
_ = try api.getDocumentPropertyOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetDocumentProtectionRequest(name: "Sample.docx"); | |
_ = try api.getDocumentProtection(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetDocumentProtectionOnlineRequest(document: requestDocument); | |
_ = try api.getDocumentProtectionOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetDocumentStatisticsRequest(name: "Sample.docx"); | |
_ = try api.getDocumentStatistics(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetDocumentStatisticsOnlineRequest(document: requestDocument); | |
_ = try api.getDocumentStatisticsOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetDocumentWithFormatRequest(name: "Sample.docx", format: "text", outPath: "DocumentWithFormat.text"); | |
_ = try api.getDocumentWithFormat(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetFieldRequest(name: "Sample.docx", index: 0); | |
_ = try api.getField(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetFieldOnlineRequest(document: requestDocument, index: 0, nodePath: "sections/0/paragraphs/0"); | |
_ = try api.getFieldOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetFieldsRequest(name: "Sample.docx"); | |
_ = try api.getFields(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetFieldsOnlineRequest(document: requestDocument, nodePath: "sections/0"); | |
_ = try api.getFieldsOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetFilesListRequest(path: ""); | |
_ = try api.getFilesList(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetFootnoteRequest(name: "Sample.docx", index: 0); | |
_ = try api.getFootnote(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.doc"))!; | |
let request = GetFootnoteOnlineRequest(document: requestDocument, index: 0); | |
_ = try api.getFootnoteOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetFootnotesRequest(name: "Sample.docx"); | |
_ = try api.getFootnotes(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.doc"))!; | |
let request = GetFootnotesOnlineRequest(document: requestDocument); | |
_ = try api.getFootnotesOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetFormFieldRequest(name: "Sample.docx", index: 0); | |
_ = try api.getFormField(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetFormFieldOnlineRequest(document: requestDocument, index: 0, nodePath: "sections/0"); | |
_ = try api.getFormFieldOnline(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let request = GetFormFieldsRequest(name: "Sample.docx"); | |
_ = try api.getFormFields(request: request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AsposeWordsCloud | |
let config = Configuration(clientId: "####-####-####-####-####", clientSecret: "##################"); | |
let api = try WordsAPI(configuration: config); | |
let requestDocument = InputStream(url: URL(string: "Sample.docx"))!; | |
let request = GetFormFieldsOnlineRequest(document: requestDocument, nodePath: "sections/0"); | |
_ = try api.getFormFieldsOnline(request: request); |