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 Python 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 os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
accept_request = asposewordscloud.models.requests.AcceptAllRevisionsRequest(name='Sample.docx') | |
words_api.accept_all_revisions(accept_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
accept_request = asposewordscloud.models.requests.AcceptAllRevisionsOnlineRequest(document=request_document) | |
words_api.accept_all_revisions_online(accept_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
remote_file_name= 'Sample.docx' | |
request_document_list_document_entries0_file_reference = asposewordscloud.FileReference.fromRemoteFilePath(remote_file_name) | |
request_document_list_document_entries0 = asposewordscloud.DocumentEntry(file_reference=request_document_list_document_entries0_file_reference, import_format_mode='KeepSourceFormatting') | |
request_document_list_document_entries = [request_document_list_document_entries0] | |
request_document_list = asposewordscloud.DocumentEntryList(document_entries=request_document_list_document_entries) | |
append_request = asposewordscloud.models.requests.AppendDocumentRequest(name=remote_file_name, document_list=request_document_list) | |
words_api.append_document(append_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
local_file= 'Sample.docx' | |
request_document = open(local_file, 'rb') | |
request_document_list_document_entries0_file_reference_stream = open(os.path.join(self.local_test_folder, local_file), 'rb') | |
request_document_list_document_entries0_file_reference = asposewordscloud.FileReference.fromLocalFileContent(request_document_list_document_entries0_file_reference_stream) | |
request_document_list_document_entries0 = asposewordscloud.DocumentEntry(file_reference=request_document_list_document_entries0_file_reference, import_format_mode='KeepSourceFormatting') | |
request_document_list_document_entries = [request_document_list_document_entries0] | |
request_document_list = asposewordscloud.DocumentEntryList(document_entries=request_document_list_document_entries) | |
append_request = asposewordscloud.models.requests.AppendDocumentOnlineRequest(document=request_document, document_list=request_document_list) | |
words_api.append_document_online(append_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_style_apply = asposewordscloud.StyleApply(style_name='Heading 1') | |
apply_style_request = asposewordscloud.models.requests.ApplyStyleToDocumentElementRequest(name='Sample.docx', styled_node_path='paragraphs/1/paragraphFormat', style_apply=request_style_apply) | |
words_api.apply_style_to_document_element(apply_style_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request_style_apply = asposewordscloud.StyleApply(style_name='Heading 1') | |
apply_style_request = asposewordscloud.models.requests.ApplyStyleToDocumentElementOnlineRequest(document=request_document, styled_node_path='paragraphs/1/paragraphFormat', style_apply=request_style_apply) | |
words_api.apply_style_to_document_element_online(apply_style_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_report_engine_settings_report_build_options = ['AllowMissingMembers', 'RemoveEmptyParagraphs'] | |
request_report_engine_settings = asposewordscloud.ReportEngineSettings(data_source_type='Json', report_build_options=request_report_engine_settings_report_build_options) | |
build_report_request = asposewordscloud.models.requests.BuildReportRequest(name='Sample.docx', data='Data.json', report_engine_settings=request_report_engine_settings) | |
words_api.build_report(build_report_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_template = open('Sample.docx', 'rb') | |
request_report_engine_settings = asposewordscloud.ReportEngineSettings(data_source_type='Json', data_source_name='persons') | |
build_report_request = asposewordscloud.models.requests.BuildReportOnlineRequest(template=request_template, data='Data.json', report_engine_settings=request_report_engine_settings) | |
words_api.build_report_online(build_report_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
classify_request = asposewordscloud.models.requests.ClassifyRequest(text='Try text classification', best_classes_count='3') | |
words_api.classify(classify_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
classify_request = asposewordscloud.models.requests.ClassifyDocumentRequest(name='Sample.docx', best_classes_count='3') | |
words_api.classify_document(classify_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
classify_request = asposewordscloud.models.requests.ClassifyDocumentOnlineRequest(document=request_document, best_classes_count='3') | |
words_api.classify_document_online(classify_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_compare_data = asposewordscloud.CompareData(author='author', comparing_with_document='TestCompareDocument2.doc', date_time=dateutil.parser.isoparse('2015-10-26T00:00:00.0000000Z')) | |
compare_request = asposewordscloud.models.requests.CompareDocumentRequest(name='TestCompareDocument1.doc', compare_data=request_compare_data, dest_file_name='CompareDocumentOut.doc') | |
words_api.compare_document(compare_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('compareTestDoc1.doc', 'rb') | |
request_compare_data = asposewordscloud.CompareData(author='author', comparing_with_document='TestCompareDocument2.doc', date_time=dateutil.parser.isoparse('2015-10-26T00:00:00.0000000Z')) | |
request_comparing_document = open('compareTestDoc2.doc', 'rb') | |
compare_request = asposewordscloud.models.requests.CompareDocumentOnlineRequest(document=request_document, compare_data=request_compare_data, comparing_document=request_comparing_document, dest_file_name='CompareDocumentOut.doc') | |
words_api.compare_document_online(compare_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_compress_options = asposewordscloud.CompressOptions() | |
compress_document = asposewordscloud.models.requests.CompressDocumentRequest(name='Sample.docx', compress_options=request_compress_options) | |
words_api.compress_document(compress_document) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('TestCompress.docx', 'rb') | |
request_compress_options = asposewordscloud.CompressOptions() | |
compress_document_online = asposewordscloud.models.requests.CompressDocumentOnlineRequest(document=request_document, compress_options=request_compress_options) | |
words_api.compress_document_online(compress_document_online) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
convert_request = asposewordscloud.models.requests.ConvertDocumentRequest(document=request_document, format='pdf') | |
words_api.convert_document(convert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
convert_request = asposewordscloud.models.requests.ConvertDocumentRequest(document=request_document, format='pdf') | |
words_api.convert_document(convert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
convert_request = asposewordscloud.models.requests.ConvertDocumentRequest(document=request_document, format='pdf') | |
words_api.convert_document(convert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
copy_request = asposewordscloud.models.requests.CopyFileRequest(dest_path='Copy.docx', src_path='Sample.docx') | |
words_api.copy_file(copy_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
folder_to_copy= '/TestCopyFolder' | |
copy_request = asposewordscloud.models.requests.CopyFolderRequest(dest_path=folder_to_copy + 'Dest', src_path=folder_to_copy + 'Src') | |
words_api.copy_folder(copy_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_style_copy = asposewordscloud.StyleCopy(style_name='Heading 1') | |
copy_request = asposewordscloud.models.requests.CopyStyleRequest(name='Sample.docx', style_copy=request_style_copy) | |
words_api.copy_style(copy_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request_style_copy = asposewordscloud.StyleCopy(style_name='Heading 1') | |
copy_request = asposewordscloud.models.requests.CopyStyleOnlineRequest(document=request_document, style_copy=request_style_copy) | |
words_api.copy_style_online(copy_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
copy_request = asposewordscloud.models.requests.CopyStylesFromTemplateRequest(name='Sample.docx', template_name='StyleTemplate.docx') | |
words_api.copy_styles_from_template(copy_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
create_request = asposewordscloud.models.requests.CreateDocumentRequest(file_name='Sample.docx') | |
words_api.create_document(create_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
create_request = asposewordscloud.models.requests.CreateFolderRequest(path='/TestCreateFolder') | |
words_api.create_folder(create_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_property = asposewordscloud.DocumentPropertyCreateOrUpdate(value='John Doe') | |
create_request = asposewordscloud.models.requests.CreateOrUpdateDocumentPropertyRequest(name='Sample.docx', property_name='AsposeAuthor', _property=request_property) | |
words_api.create_or_update_document_property(create_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request_property = asposewordscloud.DocumentPropertyCreateOrUpdate(value='John Doe') | |
create_request = asposewordscloud.models.requests.CreateOrUpdateDocumentPropertyOnlineRequest(document=request_document, property_name='AsposeAuthor', _property=request_property) | |
words_api.create_or_update_document_property_online(create_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteAllParagraphTabStopsRequest(name='Sample.docx', index=0) | |
words_api.delete_all_paragraph_tab_stops(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteAllParagraphTabStopsOnlineRequest(document=request_document, index=0) | |
words_api.delete_all_paragraph_tab_stops_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteBookmarkRequest(name='Sample.docx', bookmark_name='aspose') | |
words_api.delete_bookmark(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteBookmarkOnlineRequest(document=request_document, bookmark_name='aspose') | |
words_api.delete_bookmark_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteBookmarksRequest(name='Sample.docx') | |
words_api.delete_bookmarks(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteBookmarksOnlineRequest(document=request_document) | |
words_api.delete_bookmarks_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteBorderRequest(name='Sample.docx', border_type='left', node_path='tables/1/rows/0/cells/0') | |
words_api.delete_border(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteBorderOnlineRequest(document=request_document, border_type='left', node_path='tables/1/rows/0/cells/0') | |
words_api.delete_border_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteBordersRequest(name='Sample.docx', node_path='tables/1/rows/0/cells/0') | |
words_api.delete_borders(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteBordersOnlineRequest(document=request_document, node_path='tables/1/rows/0/cells/0') | |
words_api.delete_borders_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteCommentRequest(name='Sample.docx', comment_index=0) | |
words_api.delete_comment(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteCommentOnlineRequest(document=request_document, comment_index=0) | |
words_api.delete_comment_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteCommentsRequest(name='Sample.docx') | |
words_api.delete_comments(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteCommentsOnlineRequest(document=request_document) | |
words_api.delete_comments_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteCustomXmlPartRequest(name='Sample.docx', custom_xml_part_index=0) | |
words_api.delete_custom_xml_part(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteCustomXmlPartOnlineRequest(document=request_document, custom_xml_part_index=0) | |
words_api.delete_custom_xml_part_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteCustomXmlPartsRequest(name='Sample.docx') | |
words_api.delete_custom_xml_parts(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteCustomXmlPartsOnlineRequest(document=request_document) | |
words_api.delete_custom_xml_parts_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteDocumentPropertyRequest(name='Sample.docx', property_name='testProp') | |
words_api.delete_document_property(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteDocumentPropertyOnlineRequest(document=request_document, property_name='testProp') | |
words_api.delete_document_property_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteDrawingObjectRequest(name='Sample.docx', index=0) | |
words_api.delete_drawing_object(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteDrawingObjectOnlineRequest(document=request_document, index=0) | |
words_api.delete_drawing_object_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteFieldRequest(name='Sample.docx', index=0) | |
words_api.delete_field(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteFieldOnlineRequest(document=request_document, index=0, node_path='sections/0/paragraphs/0') | |
words_api.delete_field_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteFieldsRequest(name='Sample.docx') | |
words_api.delete_fields(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteFieldsOnlineRequest(document=request_document) | |
words_api.delete_fields_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteFileRequest(path='Sample.docx') | |
words_api.delete_file(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteFolderRequest(path='') | |
words_api.delete_folder(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteFootnoteRequest(name='Sample.docx', index=0) | |
words_api.delete_footnote(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.doc', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteFootnoteOnlineRequest(document=request_document, index=0) | |
words_api.delete_footnote_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteFormFieldRequest(name='Sample.docx', index=0) | |
words_api.delete_form_field(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteFormFieldOnlineRequest(document=request_document, index=0, node_path='sections/0') | |
words_api.delete_form_field_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteMacrosRequest(name='Sample.docx') | |
words_api.delete_macros(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteMacrosOnlineRequest(document=request_document) | |
words_api.delete_macros_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteOfficeMathObjectRequest(name='Sample.docx', index=0) | |
words_api.delete_office_math_object(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteOfficeMathObjectOnlineRequest(document=request_document, index=0) | |
words_api.delete_office_math_object_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteParagraphRequest(name='Sample.docx', index=0) | |
words_api.delete_paragraph(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteParagraphListFormatRequest(name='Sample.docx', index=0) | |
words_api.delete_paragraph_list_format(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.doc', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteParagraphListFormatOnlineRequest(document=request_document, index=0) | |
words_api.delete_paragraph_list_format_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteParagraphOnlineRequest(document=request_document, index=0) | |
words_api.delete_paragraph_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteParagraphTabStopRequest(name='Sample.docx', position=72.0, index=0) | |
words_api.delete_paragraph_tab_stop(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteParagraphTabStopOnlineRequest(document=request_document, position=72.0, index=0) | |
words_api.delete_paragraph_tab_stop_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteRunRequest(name='Sample.docx', paragraph_path='paragraphs/1', index=0) | |
words_api.delete_run(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.doc', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteRunOnlineRequest(document=request_document, paragraph_path='paragraphs/1', index=0) | |
words_api.delete_run_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteSectionRequest(name='Sample.docx', section_index=0) | |
words_api.delete_section(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteSectionOnlineRequest(document=request_document, section_index=0) | |
words_api.delete_section_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteStructuredDocumentTagRequest(name='Sample.docx', index=0, node_path='sections/0/body/paragraphs/0') | |
words_api.delete_structured_document_tag(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteStructuredDocumentTagOnlineRequest(document=request_document, index=0, node_path='sections/0/body/paragraphs/0') | |
words_api.delete_structured_document_tag_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteTableRequest(name='Sample.docx', index=1) | |
words_api.delete_table(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteTableCellRequest(name='Sample.docx', table_row_path='sections/0/tables/2/rows/0', index=0) | |
words_api.delete_table_cell(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteTableCellOnlineRequest(document=request_document, table_row_path='sections/0/tables/2/rows/0', index=0) | |
words_api.delete_table_cell_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteTableOnlineRequest(document=request_document, index=1) | |
words_api.delete_table_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteTableRowRequest(name='Sample.docx', table_path='tables/1', index=0) | |
words_api.delete_table_row(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteTableRowOnlineRequest(document=request_document, table_path='tables/1', index=0) | |
words_api.delete_table_row_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
delete_request = asposewordscloud.models.requests.DeleteWatermarkRequest(name='Sample.docx') | |
words_api.delete_watermark(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
delete_request = asposewordscloud.models.requests.DeleteWatermarkOnlineRequest(document=request_document) | |
words_api.delete_watermark_online(delete_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
download_request = asposewordscloud.models.requests.DownloadFileRequest(path='Sample.docx') | |
words_api.download_file(download_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_options_current_user = asposewordscloud.UserInformation(name='SdkTestUser') | |
request_options = asposewordscloud.FieldOptions(current_user=request_options_current_user) | |
mail_merge_request = asposewordscloud.models.requests.ExecuteMailMergeRequest(name='Sample.docx', data=open(os.path.join(self.local_test_folder, 'TestMailMergeData.xml')).read(), options=request_options) | |
words_api.execute_mail_merge(mail_merge_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
client_id = '####-####-####-####-####' | |
secret = '##################' | |
words_api = WordsApi(client_id, secret) | |
fileName = "template.doc" | |
destName = "Out_PostDocumentExecuteMailMergeWithHTMLData.docx" | |
# Upload original document to Cloud Storage | |
wordsApi.upload_file(asposewordscloud.models.requests.UploadFileRequest(open(fileName, 'rb'), "", None)) | |
with open("TestPostDocumentExecuteMailMerge.txt", 'rb') as f: data = f.read() | |
request = asposewordscloud.models.requests.ExecuteMailMergeRequest(fileName, data, None, None, None, None, None, None, None, None, destName) | |
result = wordsApi.execute_mail_merge(request) | |
print("Result {}".format(result)) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
client_id = '####-####-####-####-####' | |
secret = '##################' | |
words_api = WordsApi(client_id, secret) | |
fileName = "SampleMailMergeTemplate.docx" | |
destName = "Out_SampleMailMergeTemplate.docx" | |
# Upload original document to Cloud Storage | |
wordsApi.upload_file(asposewordscloud.models.requests.UploadFileRequest(open(fileName, 'rb'), "", None)) | |
with open("SampleMailMergeTemplateData.xml", 'rb') as f: data = f.read() | |
request = asposewordscloud.models.requests.ExecuteMailMergeRequest(fileName, data, | |
None, None, None, None, None, None, None, None, destName) | |
result = wordsApi.execute_mail_merge(request) | |
print("Result {}".format(result)) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_template = open('Sample.docx', 'rb') | |
request_data = open(open(os.path.join(self.local_test_folder, 'TestMailMergeData.xml')).read(), 'rb') | |
request_options_current_user = asposewordscloud.UserInformation(name='SdkTestUser') | |
request_options = asposewordscloud.FieldOptions(current_user=request_options_current_user) | |
mail_merge_request = asposewordscloud.models.requests.ExecuteMailMergeOnlineRequest(template=request_template, data=request_data, options=request_options) | |
words_api.execute_mail_merge_online(mail_merge_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_template = open('TestMailMergeWithImages.doc', 'rb') | |
request_data = open('MailMergeData.json', 'rb') | |
mail_merge_request = asposewordscloud.models.requests.ExecuteMailMergeOnlineRequest(template=request_template, data=request_data, document_file_name='Out_TestMailMergeWithImages.doc') | |
words_api.execute_mail_merge_online(mail_merge_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_template = open('template.doc', 'rb') | |
request_data = open('TestPostDocumentExecuteMailMerge.txt', 'rb') | |
mail_merge_request = asposewordscloud.models.requests.ExecuteMailMergeOnlineRequest(template=request_template, data=request_data, document_file_name='Out_PostDocumentExecuteMailMergeWithHTMLData.docx') | |
words_api.execute_mail_merge_online(mail_merge_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_template = open('SampleMailMergeTemplate.docx', 'rb') | |
request_data = open('SampleMailMergeTemplateData.xml', 'rb') | |
mail_merge_request = asposewordscloud.models.requests.ExecuteMailMergeOnlineRequest(template=request_template, data=request_data, document_file_name='Out_SampleMailMergeTemplate.docx') | |
words_api.execute_mail_merge_online(mail_merge_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetAvailableFontsRequest() | |
words_api.get_available_fonts(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetBookmarkByNameRequest(name='Sample.docx', bookmark_name='aspose') | |
words_api.get_bookmark_by_name(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetBookmarkByNameOnlineRequest(document=request_document, bookmark_name='aspose') | |
words_api.get_bookmark_by_name_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetBookmarksRequest(name='Sample.docx') | |
words_api.get_bookmarks(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetBookmarksOnlineRequest(document=request_document) | |
words_api.get_bookmarks_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetBorderRequest(name='Sample.docx', border_type='left', node_path='tables/1/rows/0/cells/0') | |
words_api.get_border(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetBorderOnlineRequest(document=request_document, border_type='left', node_path='tables/1/rows/0/cells/0') | |
words_api.get_border_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetBordersRequest(name='Sample.docx', node_path='tables/1/rows/0/cells/0') | |
words_api.get_borders(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetBordersOnlineRequest(document=request_document, node_path='tables/1/rows/0/cells/0') | |
words_api.get_borders_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetCommentRequest(name='Sample.docx', comment_index=0) | |
words_api.get_comment(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetCommentOnlineRequest(document=request_document, comment_index=0) | |
words_api.get_comment_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetCommentsRequest(name='Sample.docx') | |
words_api.get_comments(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetCommentsOnlineRequest(document=request_document) | |
words_api.get_comments_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetCustomXmlPartRequest(name='Sample.docx', custom_xml_part_index=0) | |
words_api.get_custom_xml_part(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetCustomXmlPartOnlineRequest(document=request_document, custom_xml_part_index=0) | |
words_api.get_custom_xml_part_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetCustomXmlPartsRequest(name='Sample.docx') | |
words_api.get_custom_xml_parts(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetCustomXmlPartsOnlineRequest(document=request_document) | |
words_api.get_custom_xml_parts_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetDocumentRequest(document_name='Sample.docx') | |
words_api.get_document(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetDocumentDrawingObjectByIndexRequest(name='Sample.docx', index=0) | |
words_api.get_document_drawing_object_by_index(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetDocumentDrawingObjectByIndexOnlineRequest(document=request_document, index=0, node_path='sections/0') | |
words_api.get_document_drawing_object_by_index_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetDocumentDrawingObjectImageDataRequest(name='Sample.docx', index=0) | |
words_api.get_document_drawing_object_image_data(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetDocumentDrawingObjectImageDataOnlineRequest(document=request_document, index=0, node_path='sections/0') | |
words_api.get_document_drawing_object_image_data_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetDocumentDrawingObjectOleDataRequest(name='Sample.docx', index=0) | |
words_api.get_document_drawing_object_ole_data(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetDocumentDrawingObjectOleDataOnlineRequest(document=request_document, index=0, node_path='sections/0') | |
words_api.get_document_drawing_object_ole_data_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetDocumentDrawingObjectsRequest(name='Sample.docx') | |
words_api.get_document_drawing_objects(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetDocumentDrawingObjectsOnlineRequest(document=request_document, node_path='sections/0') | |
words_api.get_document_drawing_objects_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetDocumentFieldNamesRequest(name='Sample.docx') | |
words_api.get_document_field_names(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_template = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetDocumentFieldNamesOnlineRequest(template=request_template, use_non_merge_fields=True) | |
words_api.get_document_field_names_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetDocumentHyperlinkByIndexRequest(name='Sample.docx', hyperlink_index=0) | |
words_api.get_document_hyperlink_by_index(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetDocumentHyperlinkByIndexOnlineRequest(document=request_document, hyperlink_index=0) | |
words_api.get_document_hyperlink_by_index_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetDocumentHyperlinksRequest(name='Sample.docx') | |
words_api.get_document_hyperlinks(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetDocumentHyperlinksOnlineRequest(document=request_document) | |
words_api.get_document_hyperlinks_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetDocumentPropertiesRequest(name='Sample.docx') | |
words_api.get_document_properties(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetDocumentPropertiesOnlineRequest(document=request_document) | |
words_api.get_document_properties_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetDocumentPropertyRequest(name='Sample.docx', property_name='Author') | |
words_api.get_document_property(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetDocumentPropertyOnlineRequest(document=request_document, property_name='Author') | |
words_api.get_document_property_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetDocumentProtectionRequest(name='Sample.docx') | |
words_api.get_document_protection(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetDocumentProtectionOnlineRequest(document=request_document) | |
words_api.get_document_protection_online(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asposewordscloud | |
import asposewordscloud.models.requests | |
from asposewordscloud.rest import ApiException | |
from shutil import copyfile | |
words_api = WordsApi(client_id = '####-####-####-####-####', client_secret = '##################') | |
request = asposewordscloud.models.requests.GetDocumentStatisticsRequest(name='Sample.docx') | |
words_api.get_document_statistics(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters