Last active
May 15, 2023 14:59
-
-
Save aspose-words-cloud-gists/e26813ced70692c544820cd8011ee7e0 to your computer and use it in GitHub Desktop.
This gist exceeds the recommended number of files (~10).
To access all files, please clone this gist.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This Gist contains 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
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.GetDocumentStatisticsOnlineRequest(document=request_document) | |
words_api.get_document_statistics_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.GetDocumentWithFormatRequest(name='Sample.docx', format='text', out_path='DocumentWithFormat.text') | |
words_api.get_document_with_format(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetFieldRequest(name='Sample.docx', index=0) | |
words_api.get_field(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetFieldOnlineRequest(document=request_document, index=0, node_path='sections/0/paragraphs/0') | |
words_api.get_field_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.GetFieldsRequest(name='Sample.docx') | |
words_api.get_fields(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetFieldsOnlineRequest(document=request_document, node_path='sections/0') | |
words_api.get_fields_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.GetFilesListRequest(path='') | |
words_api.get_files_list(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetFootnoteRequest(name='Sample.docx', index=0) | |
words_api.get_footnote(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
request = asposewordscloud.models.requests.GetFootnoteOnlineRequest(document=request_document, index=0) | |
words_api.get_footnote_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.GetFootnotesRequest(name='Sample.docx') | |
words_api.get_footnotes(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
request = asposewordscloud.models.requests.GetFootnotesOnlineRequest(document=request_document) | |
words_api.get_footnotes_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.GetFormFieldRequest(name='Sample.docx', index=0) | |
words_api.get_form_field(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetFormFieldOnlineRequest(document=request_document, index=0, node_path='sections/0') | |
words_api.get_form_field_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.GetFormFieldsRequest(name='Sample.docx') | |
words_api.get_form_fields(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetFormFieldsOnlineRequest(document=request_document, node_path='sections/0') | |
words_api.get_form_fields_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.GetInfoRequest() | |
words_api.get_info(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetListRequest(name='TestGetLists.doc', list_id=1) | |
words_api.get_list(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
request = asposewordscloud.models.requests.GetListOnlineRequest(document=request_document, list_id=1) | |
words_api.get_list_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.GetListsRequest(name='TestGetLists.doc') | |
words_api.get_lists(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
request = asposewordscloud.models.requests.GetListsOnlineRequest(document=request_document) | |
words_api.get_lists_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.GetOfficeMathObjectRequest(name='Sample.docx', index=0) | |
words_api.get_office_math_object(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetOfficeMathObjectOnlineRequest(document=request_document, index=0) | |
words_api.get_office_math_object_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.GetOfficeMathObjectsRequest(name='Sample.docx') | |
words_api.get_office_math_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.GetOfficeMathObjectsOnlineRequest(document=request_document) | |
words_api.get_office_math_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.GetParagraphRequest(name='Sample.docx', index=0) | |
words_api.get_paragraph(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetParagraphFormatRequest(name='Sample.docx', index=0) | |
words_api.get_paragraph_format(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetParagraphFormatOnlineRequest(document=request_document, index=0) | |
words_api.get_paragraph_format_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.GetParagraphListFormatRequest(name='Sample.docx', index=0) | |
words_api.get_paragraph_list_format(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
request = asposewordscloud.models.requests.GetParagraphListFormatOnlineRequest(document=request_document, index=0) | |
words_api.get_paragraph_list_format_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_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetParagraphOnlineRequest(document=request_document, index=0, node_path='sections/0') | |
words_api.get_paragraph_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.GetParagraphsRequest(name='Sample.docx') | |
words_api.get_paragraphs(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetParagraphsOnlineRequest(document=request_document, node_path='sections/0') | |
words_api.get_paragraphs_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.GetParagraphTabStopsRequest(name='Sample.docx', index=0) | |
words_api.get_paragraph_tab_stops(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetParagraphTabStopsOnlineRequest(document=request_document, index=0) | |
words_api.get_paragraph_tab_stops_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.GetPublicKeyRequest() | |
words_api.get_public_key(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetRangeTextRequest(name='Sample.docx', range_start_identifier='id0.0.0', range_end_identifier='id0.0.1') | |
words_api.get_range_text(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
request = asposewordscloud.models.requests.GetRangeTextOnlineRequest(document=request_document, range_start_identifier='id0.0.0', range_end_identifier='id0.0.1') | |
words_api.get_range_text_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.GetRunRequest(name='Sample.docx', paragraph_path='paragraphs/0', index=0) | |
words_api.get_run(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetRunFontRequest(name='Sample.docx', paragraph_path='paragraphs/0', index=0) | |
words_api.get_run_font(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetRunFontOnlineRequest(document=request_document, paragraph_path='paragraphs/0', index=0) | |
words_api.get_run_font_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_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetRunOnlineRequest(document=request_document, paragraph_path='paragraphs/0', index=0) | |
words_api.get_run_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.GetRunsRequest(name='Sample.docx', paragraph_path='sections/0/paragraphs/0') | |
words_api.get_runs(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetRunsOnlineRequest(document=request_document, paragraph_path='sections/0/paragraphs/0') | |
words_api.get_runs_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.GetSectionRequest(name='Sample.docx', section_index=0) | |
words_api.get_section(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetSectionOnlineRequest(document=request_document, section_index=0) | |
words_api.get_section_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.GetSectionPageSetupRequest(name='Sample.docx', section_index=0) | |
words_api.get_section_page_setup(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetSectionPageSetupOnlineRequest(document=request_document, section_index=0) | |
words_api.get_section_page_setup_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.GetSectionsRequest(name='Sample.docx') | |
words_api.get_sections(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetSectionsOnlineRequest(document=request_document) | |
words_api.get_sections_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.GetStructuredDocumentTagRequest(name='Sample.docx', index=0, node_path='sections/0/body/paragraphs/0') | |
words_api.get_structured_document_tag(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetStructuredDocumentTagOnlineRequest(document=request_document, index=0, node_path='sections/0/body/paragraphs/0') | |
words_api.get_structured_document_tag_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.GetStyleRequest(name='Sample.docx', style_name='Heading 1') | |
words_api.get_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 = asposewordscloud.models.requests.GetStyleFromDocumentElementRequest(name='Sample.docx', styled_node_path='paragraphs/1/paragraphFormat') | |
words_api.get_style_from_document_element(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetStyleFromDocumentElementOnlineRequest(document=request_document, styled_node_path='paragraphs/1/paragraphFormat') | |
words_api.get_style_from_document_element_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_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetStyleOnlineRequest(document=request_document, style_name='Heading 1') | |
words_api.get_style_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.GetStylesRequest(name='Sample.docx') | |
words_api.get_styles(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetStylesOnlineRequest(document=request_document) | |
words_api.get_styles_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.GetTableRequest(name='Sample.docx', index=1) | |
words_api.get_table(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetTableCellRequest(name='Sample.docx', table_row_path='sections/0/tables/2/rows/0', index=0) | |
words_api.get_table_cell(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetTableCellFormatRequest(name='Sample.docx', table_row_path='sections/0/tables/2/rows/0', index=0) | |
words_api.get_table_cell_format(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetTableCellFormatOnlineRequest(document=request_document, table_row_path='sections/0/tables/2/rows/0', index=0) | |
words_api.get_table_cell_format_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_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetTableCellOnlineRequest(document=request_document, table_row_path='sections/0/tables/2/rows/0', index=0) | |
words_api.get_table_cell_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_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetTableOnlineRequest(document=request_document, index=1) | |
words_api.get_table_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.GetTablePropertiesRequest(name='Sample.docx', index=1) | |
words_api.get_table_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.GetTablePropertiesOnlineRequest(document=request_document, index=1) | |
words_api.get_table_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.GetTableRowRequest(name='Sample.docx', table_path='tables/1', index=0) | |
words_api.get_table_row(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetTableRowFormatRequest(name='Sample.docx', table_path='sections/0/tables/2', index=0) | |
words_api.get_table_row_format(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetTableRowFormatOnlineRequest(document=request_document, table_path='sections/0/tables/2', index=0) | |
words_api.get_table_row_format_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_document = open('Sample.docx', 'rb') | |
request = asposewordscloud.models.requests.GetTableRowOnlineRequest(document=request_document, table_path='tables/1', index=0) | |
words_api.get_table_row_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.GetTablesRequest(name='Sample.docx') | |
words_api.get_tables(request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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.GetTablesOnlineRequest(document=request_document) | |
words_api.get_tables_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_bookmark_start_range = asposewordscloud.NewDocumentPosition(node_id='0.0.0.0', offset=0) | |
request_bookmark_end_range = asposewordscloud.NewDocumentPosition(node_id='0.0.0.0', offset=0) | |
request_bookmark = asposewordscloud.BookmarkInsert(start_range=request_bookmark_start_range, end_range=request_bookmark_end_range, name='new_bookmark', text='Some text') | |
insert_request = asposewordscloud.models.requests.InsertBookmarkRequest(name='Sample.docx', bookmark=request_bookmark) | |
words_api.insert_bookmark(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_bookmark_start_range = asposewordscloud.NewDocumentPosition(node_id='0.0.0.0', offset=0) | |
request_bookmark_end_range = asposewordscloud.NewDocumentPosition(node_id='0.0.0.0', offset=0) | |
request_bookmark = asposewordscloud.BookmarkInsert(start_range=request_bookmark_start_range, end_range=request_bookmark_end_range, name='new_bookmark', text='Some text') | |
insert_request = asposewordscloud.models.requests.InsertBookmarkOnlineRequest(document=request_document, bookmark=request_bookmark) | |
words_api.insert_bookmark_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_comment_range_start = asposewordscloud.NewDocumentPosition(node_id='0.3.0.3', offset=0) | |
request_comment_range_end = asposewordscloud.NewDocumentPosition(node_id='0.3.0.3', offset=0) | |
request_comment = asposewordscloud.CommentInsert(range_start=request_comment_range_start, range_end=request_comment_range_end, initial='IA', author='John Doe', text='A new Comment') | |
insert_request = asposewordscloud.models.requests.InsertCommentRequest(name='Sample.docx', comment=request_comment) | |
words_api.insert_comment(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_comment_range_start = asposewordscloud.NewDocumentPosition(node_id='0.3.0.3', offset=0) | |
request_comment_range_end = asposewordscloud.NewDocumentPosition(node_id='0.3.0.3', offset=0) | |
request_comment = asposewordscloud.CommentInsert(range_start=request_comment_range_start, range_end=request_comment_range_end, initial='IA', author='John Doe', text='A new Comment') | |
insert_request = asposewordscloud.models.requests.InsertCommentOnlineRequest(document=request_document, comment=request_comment) | |
words_api.insert_comment_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_custom_xml_part = asposewordscloud.CustomXmlPartInsert(id='hello', data='<data>Hello world</data>') | |
insert_request = asposewordscloud.models.requests.InsertCustomXmlPartRequest(name='Sample.docx', custom_xml_part=request_custom_xml_part) | |
words_api.insert_custom_xml_part(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_custom_xml_part = asposewordscloud.CustomXmlPartInsert(id='hello', data='<data>Hello world</data>') | |
insert_request = asposewordscloud.models.requests.InsertCustomXmlPartOnlineRequest(document=request_document, custom_xml_part=request_custom_xml_part) | |
words_api.insert_custom_xml_part_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_drawing_object = asposewordscloud.DrawingObjectInsert(height=0, left=0, top=0, width=0, relative_horizontal_position='Margin', relative_vertical_position='Margin', wrap_type='Inline') | |
request_image_file = open('Image.png', 'rb') | |
insert_request = asposewordscloud.models.requests.InsertDrawingObjectRequest(name='Sample.docx', drawing_object=request_drawing_object, image_file=request_image_file) | |
words_api.insert_drawing_object(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_drawing_object = asposewordscloud.DrawingObjectInsert(height=0, left=0, top=0, width=0, relative_horizontal_position='Margin', relative_vertical_position='Margin', wrap_type='Inline') | |
request_image_file = open('Image.png', 'rb') | |
insert_request = asposewordscloud.models.requests.InsertDrawingObjectOnlineRequest(document=request_document, drawing_object=request_drawing_object, image_file=request_image_file) | |
words_api.insert_drawing_object_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_field = asposewordscloud.FieldInsert(field_code='{ NUMPAGES }') | |
insert_request = asposewordscloud.models.requests.InsertFieldRequest(name='Sample.docx', field=request_field) | |
words_api.insert_field(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_field = asposewordscloud.FieldInsert(field_code='{ NUMPAGES }') | |
insert_request = asposewordscloud.models.requests.InsertFieldOnlineRequest(document=request_document, field=request_field, node_path='sections/0/paragraphs/0') | |
words_api.insert_field_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_footnote_dto = asposewordscloud.FootnoteInsert(footnote_type='Endnote', text='test endnote') | |
insert_request = asposewordscloud.models.requests.InsertFootnoteRequest(name='Sample.docx', footnote_dto=request_footnote_dto) | |
words_api.insert_footnote(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
request_footnote_dto = asposewordscloud.FootnoteInsert(footnote_type='Endnote', text='test endnote') | |
insert_request = asposewordscloud.models.requests.InsertFootnoteOnlineRequest(document=request_document, footnote_dto=request_footnote_dto) | |
words_api.insert_footnote_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_form_field = asposewordscloud.FormFieldTextInput(name='FullName', enabled=True, calculate_on_exit=True, status_text='', text_input_type='Regular', text_input_default='123', text_input_format='UPPERCASE') | |
insert_request = asposewordscloud.models.requests.InsertFormFieldRequest(name='Sample.docx', form_field=request_form_field) | |
words_api.insert_form_field(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_form_field = asposewordscloud.FormFieldTextInput(name='FullName', enabled=True, calculate_on_exit=True, status_text='', text_input_type='Regular', text_input_default='123', text_input_format='UPPERCASE') | |
insert_request = asposewordscloud.models.requests.InsertFormFieldOnlineRequest(document=request_document, form_field=request_form_field, node_path='sections/0/paragraphs/0') | |
words_api.insert_form_field_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_list_insert = asposewordscloud.ListInsert(template='OutlineLegal') | |
insert_request = asposewordscloud.models.requests.InsertListRequest(name='TestGetLists.doc', list_insert=request_list_insert) | |
words_api.insert_list(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
request_list_insert = asposewordscloud.ListInsert(template='OutlineLegal') | |
insert_request = asposewordscloud.models.requests.InsertListOnlineRequest(document=request_document, list_insert=request_list_insert) | |
words_api.insert_list_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_tab_stop_insert_dto = asposewordscloud.TabStopInsert(alignment='Left', leader='None', position=100.0) | |
insert_request = asposewordscloud.models.requests.InsertOrUpdateParagraphTabStopRequest(name='Sample.docx', index=0, tab_stop_insert_dto=request_tab_stop_insert_dto) | |
words_api.insert_or_update_paragraph_tab_stop(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_tab_stop_insert_dto = asposewordscloud.TabStopInsert(alignment='Left', leader='None', position=72) | |
insert_request = asposewordscloud.models.requests.InsertOrUpdateParagraphTabStopOnlineRequest(document=request_document, tab_stop_insert_dto=request_tab_stop_insert_dto, index=0) | |
words_api.insert_or_update_paragraph_tab_stop_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_page_number = asposewordscloud.PageNumber(alignment='center', format='{PAGE} of {NUMPAGES}') | |
insert_request = asposewordscloud.models.requests.InsertPageNumbersRequest(name='Sample.docx', page_number=request_page_number) | |
words_api.insert_page_numbers(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_page_number = asposewordscloud.PageNumber(alignment='center', format='{PAGE} of {NUMPAGES}') | |
insert_request = asposewordscloud.models.requests.InsertPageNumbersOnlineRequest(document=request_document, page_number=request_page_number) | |
words_api.insert_page_numbers_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_paragraph = asposewordscloud.ParagraphInsert(text='This is a new paragraph for your document') | |
insert_request = asposewordscloud.models.requests.InsertParagraphRequest(name='Sample.docx', paragraph=request_paragraph) | |
words_api.insert_paragraph(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_paragraph = asposewordscloud.ParagraphInsert(text='This is a new paragraph for your document') | |
insert_request = asposewordscloud.models.requests.InsertParagraphOnlineRequest(document=request_document, paragraph=request_paragraph, node_path='sections/0') | |
words_api.insert_paragraph_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_run = asposewordscloud.RunInsert(text='run with text') | |
insert_request = asposewordscloud.models.requests.InsertRunRequest(name='Sample.docx', paragraph_path='paragraphs/1', run=request_run) | |
words_api.insert_run(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
request_run = asposewordscloud.RunInsert(text='run with text') | |
insert_request = asposewordscloud.models.requests.InsertRunOnlineRequest(document=request_document, paragraph_path='paragraphs/1', run=request_run) | |
words_api.insert_run_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_structured_document_tag = asposewordscloud.StructuredDocumentTagInsert(sdt_type='ComboBox', level='Inline') | |
insert_request = asposewordscloud.models.requests.InsertStructuredDocumentTagRequest(name='Sample.docx', structured_document_tag=request_structured_document_tag, node_path='sections/0/body/paragraphs/0') | |
words_api.insert_structured_document_tag(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_structured_document_tag = asposewordscloud.StructuredDocumentTagInsert(sdt_type='ComboBox', level='Inline') | |
insert_request = asposewordscloud.models.requests.InsertStructuredDocumentTagOnlineRequest(document=request_document, structured_document_tag=request_structured_document_tag, node_path='sections/0/body/paragraphs/0') | |
words_api.insert_structured_document_tag_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_insert = asposewordscloud.StyleInsert(style_name='My Style', style_type='Paragraph') | |
insert_request = asposewordscloud.models.requests.InsertStyleRequest(name='Sample.docx', style_insert=request_style_insert) | |
words_api.insert_style(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_insert = asposewordscloud.StyleInsert(style_name='My Style', style_type='Paragraph') | |
insert_request = asposewordscloud.models.requests.InsertStyleOnlineRequest(document=request_document, style_insert=request_style_insert) | |
words_api.insert_style_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_table = asposewordscloud.TableInsert(columns_count=5, rows_count=4) | |
insert_request = asposewordscloud.models.requests.InsertTableRequest(name='Sample.docx', table=request_table) | |
words_api.insert_table(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_cell = asposewordscloud.TableCellInsert() | |
insert_request = asposewordscloud.models.requests.InsertTableCellRequest(name='Sample.docx', table_row_path='sections/0/tables/2/rows/0', cell=request_cell) | |
words_api.insert_table_cell(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_cell = asposewordscloud.TableCellInsert() | |
insert_request = asposewordscloud.models.requests.InsertTableCellOnlineRequest(document=request_document, table_row_path='sections/0/tables/2/rows/0', cell=request_cell) | |
words_api.insert_table_cell_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_table = asposewordscloud.TableInsert(columns_count=5, rows_count=4) | |
insert_request = asposewordscloud.models.requests.InsertTableOnlineRequest(document=request_document, table=request_table) | |
words_api.insert_table_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_row = asposewordscloud.TableRowInsert(columns_count=5) | |
insert_request = asposewordscloud.models.requests.InsertTableRowRequest(name='Sample.docx', table_path='sections/0/tables/2', row=request_row) | |
words_api.insert_table_row(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_row = asposewordscloud.TableRowInsert(columns_count=5) | |
insert_request = asposewordscloud.models.requests.InsertTableRowOnlineRequest(document=request_document, table_path='sections/0/tables/2', row=request_row) | |
words_api.insert_table_row_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = '##################') | |
insert_request = asposewordscloud.models.requests.InsertWatermarkImageRequest(name='Sample.docx', image_file=None, image='Sample.png') | |
words_api.insert_watermark_image(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_image_file = open('Image.png', 'rb') | |
insert_request = asposewordscloud.models.requests.InsertWatermarkImageOnlineRequest(document=request_document, image_file=request_image_file) | |
words_api.insert_watermark_image_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_watermark_text = asposewordscloud.WatermarkText(text='This is the text', rotation_angle=90.0) | |
insert_request = asposewordscloud.models.requests.InsertWatermarkTextRequest(name='Sample.docx', watermark_text=request_watermark_text) | |
words_api.insert_watermark_text(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_watermark_text = asposewordscloud.WatermarkText(text='This is the text', rotation_angle=90) | |
insert_request = asposewordscloud.models.requests.InsertWatermarkTextOnlineRequest(document=request_document, watermark_text=request_watermark_text) | |
words_api.insert_watermark_text_online(insert_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_data_save_options = asposewordscloud.DocSaveOptionsData(file_name='google.doc', dml_effects_rendering_mode='None', dml_rendering_mode='DrawingML', update_sdt_content=False, zip_output=False) | |
request_data = asposewordscloud.LoadWebDocumentData(loading_document_url='http://google.com', save_options=request_data_save_options) | |
load_request = asposewordscloud.models.requests.LoadWebDocumentRequest(data=request_data) | |
words_api.load_web_document(load_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = '##################') | |
move_request = asposewordscloud.models.requests.MoveFileRequest(dest_path='MoveFileSample.docx', src_path='Sample.docx') | |
words_api.move_file(move_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = '##################') | |
move_request = asposewordscloud.models.requests.MoveFolderRequest(dest_path='/TestMoveFolderDest_Sample', src_path='/TestMoveFolderSrc') | |
words_api.move_folder(move_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = asposewordscloud.OptimizationOptions(ms_word_version='Word2002') | |
optimize_request = asposewordscloud.models.requests.OptimizeDocumentRequest(name='Sample.docx', options=request_options) | |
words_api.optimize_document(optimize_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_options = asposewordscloud.OptimizationOptions(ms_word_version='Word2002') | |
optimize_request = asposewordscloud.models.requests.OptimizeDocumentOnlineRequest(document=request_document, options=request_options) | |
words_api.optimize_document_online(optimize_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_protection_request = asposewordscloud.ProtectionRequest(password='123', protection_type='ReadOnly') | |
protect_request = asposewordscloud.models.requests.ProtectDocumentRequest(name='Sample.docx', protection_request=request_protection_request) | |
words_api.protect_document(protect_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_protection_request = asposewordscloud.ProtectionRequest(new_password='123') | |
protect_request = asposewordscloud.models.requests.ProtectDocumentOnlineRequest(document=request_document, protection_request=request_protection_request) | |
words_api.protect_document_online(protect_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = '##################') | |
reject_request = asposewordscloud.models.requests.RejectAllRevisionsRequest(name='Sample.docx') | |
words_api.reject_all_revisions(reject_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
reject_request = asposewordscloud.models.requests.RejectAllRevisionsOnlineRequest(document=request_document) | |
words_api.reject_all_revisions_online(reject_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = '##################') | |
remove_request = asposewordscloud.models.requests.RemoveRangeRequest(name='Sample.docx', range_start_identifier='id0.0.0', range_end_identifier='id0.0.1') | |
words_api.remove_range(remove_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
remove_request = asposewordscloud.models.requests.RemoveRangeOnlineRequest(document=request_document, range_start_identifier='id0.0.0', range_end_identifier='id0.0.1') | |
words_api.remove_range_online(remove_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = '##################') | |
render_request = asposewordscloud.models.requests.RenderDrawingObjectRequest(name='Sample.docx', format='png', index=0) | |
words_api.render_drawing_object(render_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
render_request = asposewordscloud.models.requests.RenderDrawingObjectOnlineRequest(document=request_document, format='png', index=0, node_path='sections/0') | |
words_api.render_drawing_object_online(render_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = '##################') | |
render_request = asposewordscloud.models.requests.RenderMathObjectRequest(name='Sample.docx', format='png', index=0) | |
words_api.render_math_object(render_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
render_request = asposewordscloud.models.requests.RenderMathObjectOnlineRequest(document=request_document, format='png', index=0) | |
words_api.render_math_object_online(render_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = '##################') | |
render_request = asposewordscloud.models.requests.RenderPageRequest(name='Sample.docx', page_index=1, format='jpg') | |
words_api.render_page(render_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
render_request = asposewordscloud.models.requests.RenderPageOnlineRequest(document=request_document, page_index=1, format='jpg') | |
words_api.render_page_online(render_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = '##################') | |
render_request = asposewordscloud.models.requests.RenderParagraphRequest(name='Sample.docx', format='png', index=0) | |
words_api.render_paragraph(render_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
render_request = asposewordscloud.models.requests.RenderParagraphOnlineRequest(document=request_document, format='png', index=0) | |
words_api.render_paragraph_online(render_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = '##################') | |
render_request = asposewordscloud.models.requests.RenderTableRequest(name='Sample.docx', format='png', index=0) | |
words_api.render_table(render_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
render_request = asposewordscloud.models.requests.RenderTableOnlineRequest(document=request_document, format='png', index=0) | |
words_api.render_table_online(render_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_replace_text = asposewordscloud.ReplaceTextParameters(old_value='Testing', new_value='Aspose testing') | |
replace_request = asposewordscloud.models.requests.ReplaceTextRequest(name='Sample.docx', replace_text=request_replace_text) | |
words_api.replace_text(replace_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_replace_text = asposewordscloud.ReplaceTextParameters(old_value='aspose', new_value='aspose new') | |
replace_request = asposewordscloud.models.requests.ReplaceTextOnlineRequest(document=request_document, replace_text=request_replace_text) | |
words_api.replace_text_online(replace_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_range_text = asposewordscloud.ReplaceRange(text='Replaced header') | |
replace_request = asposewordscloud.models.requests.ReplaceWithTextRequest(name='Sample.docx', range_start_identifier='id0.0.0', range_text=request_range_text, range_end_identifier='id0.0.1') | |
words_api.replace_with_text(replace_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
request_range_text = asposewordscloud.ReplaceRange(text='Replaced header') | |
replace_request = asposewordscloud.models.requests.ReplaceWithTextOnlineRequest(document=request_document, range_start_identifier='id0.0.0', range_text=request_range_text, range_end_identifier='id0.0.1') | |
words_api.replace_with_text_online(replace_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = '##################') | |
reset_request = asposewordscloud.models.requests.ResetCacheRequest() | |
words_api.reset_cache(reset_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_save_options_data = asposewordscloud.DocxSaveOptionsData(file_name='FromPdfToDoc.docx') | |
save_request = asposewordscloud.models.requests.SaveAsRequest(name='Sample.docx', save_options_data=request_save_options_data) | |
words_api.save_as(save_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = "test_multi_pages.pdf" | |
format = "docx" | |
destName = "Out_test_multi_pages.docx" | |
# Upload original document to Cloud Storage | |
wordsApi.upload_file(asposewordscloud.models.requests.UploadFileRequest(open(fileName, 'rb'), "", None)) | |
request = asposewordscloud.models.requests.SaveAsRequest(fileName, asposewordscloud.SaveOptionsData(format, destName), None, None, None, None, None) | |
result = wordsApi.save_as(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 = "test_multi_pages.docx" | |
format = "html" | |
destName = "Out_test_multi_pages.html" | |
# Upload original document to Cloud Storage | |
wordsApi.upload_file(asposewordscloud.models.requests.UploadFileRequest(open(fileName, 'rb'), "", None)) | |
request = asposewordscloud.models.requests.SaveAsRequest(fileName,asposewordscloud.SaveOptionsData(format, destName),None,None,None,None,None) | |
result = wordsApi.save_as(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_document = open('test_multi_pages.docx', 'rb') | |
request_save_options_data = asposewordscloud.HtmlSaveOptionsData(file_name='/TestSaveAsHtml.html', css_style_sheet_type='External', css_style_sheet_file_name='/TestSaveAsHtml.css') | |
save_request = asposewordscloud.models.requests.SaveAsOnlineRequest(document=request_document, save_options_data=request_save_options_data) | |
words_api.save_as_online(save_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_save_options_data = asposewordscloud.SaveOptionsData(save_format='pdf', file_name='Sample_out.pdf') | |
save_request = asposewordscloud.models.requests.SaveAsOnlineRequest(document=request_document, save_options_data=request_save_options_data) | |
words_api.save_as_online(save_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_save_options_data = asposewordscloud.SaveOptionsData(save_format='html', file_name='Sample_out.html') | |
save_request = asposewordscloud.models.requests.SaveAsOnlineRequest(document=request_document, save_options_data=request_save_options_data) | |
words_api.save_as_online(save_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_parameters = asposewordscloud.RangeDocument(document_name='NewDocument.docx') | |
save_request = asposewordscloud.models.requests.SaveAsRangeRequest(name='Sample.docx', range_start_identifier='id0.0.0', document_parameters=request_document_parameters, range_end_identifier='id0.0.1') | |
words_api.save_as_range(save_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
request_document_parameters = asposewordscloud.RangeDocument(document_name='NewDocument.docx') | |
save_request = asposewordscloud.models.requests.SaveAsRangeOnlineRequest(document=request_document, range_start_identifier='id0.0.0', document_parameters=request_document_parameters, range_end_identifier='id0.0.1') | |
words_api.save_as_range_online(save_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_save_options = asposewordscloud.TiffSaveOptionsData(file_name='Image.tiff') | |
save_request = asposewordscloud.models.requests.SaveAsTiffRequest(name='Sample.docx', save_options=request_save_options) | |
words_api.save_as_tiff(save_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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('test_multi_pages.docx', 'rb') | |
request_save_options = asposewordscloud.TiffSaveOptionsData(file_name='Image.tiff') | |
save_request = asposewordscloud.models.requests.SaveAsTiffOnlineRequest(document=request_document, save_options=request_save_options) | |
words_api.save_as_tiff_online(save_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = '##################') | |
search_request = asposewordscloud.models.requests.SearchRequest(name='Sample.docx', pattern='aspose') | |
words_api.search(search_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
search_request = asposewordscloud.models.requests.SearchOnlineRequest(document=request_document, pattern='aspose') | |
words_api.search_online(search_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = '##################') | |
split_request = asposewordscloud.models.requests.SplitDocumentRequest(name='Sample.docx', format='text', dest_file_name='SplitDocument.text', _from=1, to=2) | |
words_api.split_document(split_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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 = "test_multi_pages.docx" | |
format = "png" | |
fromPage = 1 # Splitting starts from the first page of the document | |
toPage = 1 # splitting ends at the last page of the document | |
# Upload original document to Cloud Storage | |
wordsApi.upload_file(asposewordscloud.models.requests.UploadFileRequest(open(fileName, 'rb'), "", None)) | |
request = asposewordscloud.models.requests.SplitDocumentRequest(fileName, format, None, None, None, None, None, fromPage, toPage, None, None) | |
result = wordsApi.split_document(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 = "test_multi_pages.docx" | |
format = "pdf" | |
fromPage = 1 # Splitting starts from the first page of the document | |
toPage = 2 # splitting ends at the last page of the document | |
# Upload original document to Cloud Storage | |
wordsApi.upload_file(asposewordscloud.models.requests.UploadFileRequest(open(fileName, 'rb'), "", None)) | |
request = asposewordscloud.models.requests.SplitDocumentRequest(fileName, format, None, None, None, None, None, fromPage, toPage, None, None) | |
result = wordsApi.split_document(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_document = open('Sample.docx', 'rb') | |
split_request = asposewordscloud.models.requests.SplitDocumentOnlineRequest(document=request_document, format='text', dest_file_name='SplitDocument.text', _from=1, to=2) | |
words_api.split_document_online(split_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
split_request = asposewordscloud.models.requests.SplitDocumentOnlineRequest(document=request_document, format='png', _from=1, to=2) | |
words_api.split_document_online(split_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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') | |
split_request = asposewordscloud.models.requests.SplitDocumentOnlineRequest(document=request_document, format='pdf', _from=1, to=2) | |
words_api.split_document_online(split_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently 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_protection_request = asposewordscloud.ProtectionRequest(password='aspose') | |
unprotect_request = asposewordscloud.models.requests.UnprotectDocumentRequest(name='Sample.docx', protection_request=request_protection_request) | |
words_api.unprotect_document(unprotect_request) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment