CloudmersiveconvertClient
Classes
CreateBlankDocxResponse
dataclass
CreateBlankDocxResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Create a blank Word DOCX document
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited XLSX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
DeleteDocxTableRowResponse
dataclass
DeleteDocxTableRowResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Deletes a table row in an existing table in a Word DOCX document
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited DOCX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
DeleteDocxTableRowRangeResponse
dataclass
DeleteDocxTableRowRangeResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Deletes a range of multiple table rows in an existing table in a Word
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited DOCX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
GetDocxBodyResponse
dataclass
GetDocxBodyResponse(*, body: Optional[DocxBody | Mapping[str, Any]] = None, successful: Optional[bool] = None)
GetDocxCommentsHierarchicalResponse
dataclass
GetDocxCommentsHierarchicalResponse(*, comments: Optional[List[DocxTopLevelComment | Mapping[str, Any]]] = None, successful: Optional[bool] = None, top_level_comment_count: Optional[int] = None)
Response for Get comments from a Word DOCX document hierarchically
Attributes
comments
class-attribute
instance-attribute
comments: Optional[List[DocxTopLevelComment | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Comments'})
Comments in the document
GetDocxHeadersAndFootersResponse
dataclass
GetDocxImagesResponse
dataclass
GetDocxImagesResponse(*, images: Optional[List[DocxImage | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
GetDocxPagesResponse
dataclass
GetDocxPagesResponse(*, page_count: Optional[int] = None, pages: Optional[List[DocxPage | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
Response for Get pages and content from a Word DOCX document
Attributes
page_count
class-attribute
instance-attribute
page_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'PageCount'})
Count of pages
GetDocxSectionsResponse
dataclass
GetDocxSectionsResponse(*, sections: Optional[List[DocxSection | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
GetDocxStylesResponse
dataclass
GetDocxStylesResponse(*, styles: Optional[List[DocxStyle | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
GetDocxTableRowResponse
dataclass
GetDocxTableRowResponse(*, row_result: Optional[DocxTableRow | Mapping[str, Any]] = None, successful: Optional[bool] = None)
Response for Gets the contents of an existing table row in an existing table in a W
GetDocxTableByIndexResponse
dataclass
GetDocxTableByIndexResponse(*, successful: Optional[bool] = None, table: Optional[DocxTable | Mapping[str, Any]] = None)
GetDocxTablesResponse
dataclass
GetDocxTablesResponse(*, successful: Optional[bool] = None, tables: Optional[List[DocxTable | Mapping[str, Any]]] = None)
InsertDocxCommentOnParagraphResponse
dataclass
InsertDocxCommentOnParagraphResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Insert a new comment into a Word DOCX document attached to a paragraph
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited DOCX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
DocxInsertImageResponse
dataclass
DocxInsertImageResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Insert image into a Word DOCX document
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited DOCX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
InsertDocxInsertParagraphResponse
dataclass
InsertDocxInsertParagraphResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Insert a new paragraph into a Word DOCX document
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited DOCX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
InsertDocxTablesResponse
dataclass
InsertDocxTablesResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Insert a new table into a Word DOCX document
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited DOCX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
InsertDocxTableRowResponse
dataclass
InsertDocxTableRowResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Insert a new row into an existing table in a Word DOCX document
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited DOCX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
RemoveDocxHeadersAndFootersResponse
dataclass
RemoveDocxHeadersAndFootersResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Remove headers and footers from Word DOCX document
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL of the resulting edited document; this is a secure URL and cannot be downloaded without adding the Apikey header; it is also temporary, stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
DocxRemoveObjectResponse
dataclass
DocxRemoveObjectResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Delete any object in a Word DOCX document
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited DOCX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
DocxSetFooterResponse
dataclass
DocxSetFooterResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Set the footer in a Word DOCX document
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited DOCX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
DocxSetHeaderResponse
dataclass
DocxSetHeaderResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Set the header in a Word DOCX document
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited DOCX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
UpdateDocxTableCellResponse
dataclass
UpdateDocxTableCellResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Update, set contents of a table cell in an existing table in a Word DO
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited DOCX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
UpdateDocxTableRowResponse
dataclass
UpdateDocxTableRowResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Update, set contents of a table row in an existing table in a Word DOCX document
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited DOCX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
ClearXlsxCellResponse
dataclass
ClearXlsxCellResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Clear cell contents in an Excel XLSX spreadsheet, worksheet by index
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited XLSX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
CreateBlankSpreadsheetResponse
dataclass
CreateBlankSpreadsheetResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Create a blank Excel XLSX spreadsheet
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited XLSX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
CreateSpreadsheetFromDataResponse
dataclass
CreateSpreadsheetFromDataResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Create a new Excel XLSX spreadsheet from column and row data
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited XLSX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
EditDocumentXlsxDeleteWorksheetResponse
dataclass
Response for Delete, remove worksheet from an Excel XLSX spreadsheet document
GetXlsxCellByIdentifierResponse
dataclass
GetXlsxCellByIdentifierResponse(*, cell: Optional[XlsxSpreadsheetCell | Mapping[str, Any]] = None, successful: Optional[bool] = None)
Response for Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier
GetXlsxCellResponse
dataclass
GetXlsxCellResponse(*, cell: Optional[XlsxSpreadsheetCell | Mapping[str, Any]] = None, successful: Optional[bool] = None)
GetXlsxColumnsResponse
dataclass
GetXlsxColumnsResponse(*, columns: Optional[List[XlsxSpreadsheetColumn | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
Response for Get rows and cells from a Excel XLSX spreadsheet, worksheet
GetXlsxImagesResponse
dataclass
GetXlsxImagesResponse(*, images: Optional[List[XlsxImage | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
GetXlsxRowsAndCellsResponse
dataclass
GetXlsxRowsAndCellsResponse(*, rows: Optional[List[XlsxSpreadsheetRow | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
Response for Get rows and cells from a Excel XLSX spreadsheet, worksheet
GetXlsxStylesResponse
dataclass
GetXlsxStylesResponse(*, cell_styles: Optional[List[DocxCellStyle | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
GetXlsxWorksheetsResponse
dataclass
GetXlsxWorksheetsResponse(*, successful: Optional[bool] = None, worksheets: Optional[List[XlsxWorksheet | Mapping[str, Any]]] = None)
InsertXlsxWorksheetResponse
dataclass
InsertXlsxWorksheetResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Insert a new worksheet into an Excel XLSX spreadsheet
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited XLSX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
SetXlsxCellByIdentifierResponse
dataclass
SetXlsxCellByIdentifierResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Set, update cell contents in an Excel XLSX spreadsheet, worksheet by c
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited XLSX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
SetXlsxCellResponse
dataclass
SetXlsxCellResponse(*, edited_document_u_r_l: Optional[str] = None, successful: Optional[bool] = None)
Response for Set, update cell contents in an Excel XLSX spreadsheet, worksheet by index
Attributes
edited_document_u_r_l
class-attribute
instance-attribute
edited_document_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EditedDocumentURL'})
URL to the edited XLSX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents.
ConvertDataJsonToXmlInput
dataclass
HtmlTemplateApplicationResponse
dataclass
HtmlTemplateApplicationResponse(*, final_html: Optional[str] = None, successful: Optional[bool] = None)
ConvertWebHtmlToPngResponse
dataclass
HtmlToTextResponse
dataclass
UrlToTextResponse
dataclass
AddPdfAnnotationRequest
dataclass
AddPdfAnnotationRequest(*, annotations_to_add: Optional[List[PdfAnnotation | Mapping[str, Any]]] = None, input_file_bytes: Optional[str] = None)
AlternateFileFormatCandidate
dataclass
AlternateFileFormatCandidate(*, detected_file_extension: Optional[str] = None, detected_mime_type: Optional[str] = None, probability: Optional[float] = None)
Definition: AlternateFileFormatCandidate
Attributes
detected_file_extension
class-attribute
instance-attribute
detected_file_extension: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'DetectedFileExtension'})
Detected file extension of the file format, with a leading period
AutodetectDocumentValidationResult
dataclass
AutodetectDocumentValidationResult(*, document_is_valid: Optional[bool] = None, error_count: Optional[int] = None, errors_and_warnings: Optional[List[DocumentValidationError | Mapping[str, Any]]] = None, file_format_extension: Optional[str] = None, warning_count: Optional[int] = None)
Definition: AutodetectDocumentValidationResult
Attributes
document_is_valid
class-attribute
instance-attribute
document_is_valid: Optional[bool] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'DocumentIsValid'})
True if the document is valid and has no errors, false otherwise
error_count
class-attribute
instance-attribute
error_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ErrorCount'})
Number of validation errors found in the document
AutodetectGetInfoResult
dataclass
AutodetectGetInfoResult(*, alternate_file_type_candidates: Optional[List[AlternateFileFormatCandidate | Mapping[str, Any]]] = None, author: Optional[str] = None, date_modified: Optional[str] = None, detected_file_extension: Optional[str] = None, detected_mime_type: Optional[str] = None, page_count: Optional[int] = None, successful: Optional[bool] = None)
Definition: AutodetectGetInfoResult
Attributes
alternate_file_type_candidates
class-attribute
instance-attribute
alternate_file_type_candidates: Optional[List[AlternateFileFormatCandidate | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'AlternateFileTypeCandidates'})
Alternate file type options and their probability
author
class-attribute
instance-attribute
author: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Author'})
User name of the creator/author of the document, if available, null if not available
date_modified
class-attribute
instance-attribute
date_modified: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'DateModified'})
The timestamp that the document was last modified, if available, null if not available
detected_file_extension
class-attribute
instance-attribute
detected_file_extension: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'DetectedFileExtension'})
Detected file extension of the file format, with a leading period
detected_mime_type
class-attribute
instance-attribute
detected_mime_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'DetectedMimeType'})
MIME type of this file extension
page_count
class-attribute
instance-attribute
page_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'PageCount'})
Number of pages in a page-based document; for presentations, this is the number of slides and for a spreadsheet this is the number of worksheets. Contains 0 when the page count cannot be determined, or if the concept of page count does not apply (e.g. for an image)
AutodetectToPngResult
dataclass
AutodetectToPngResult(*, png_result_pages: Optional[List[ConvertedPngPage | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
Base64DecodeRequest
dataclass
Base64DecodeResponse
dataclass
Base64DetectRequest
dataclass
Base64DetectResponse
dataclass
Base64DetectResponse(*, is_base64_encoded: Optional[bool] = None, successful: Optional[bool] = None)
Base64EncodeRequest
dataclass
Base64EncodeResponse
dataclass
Base64EncodeResponse(*, base64_text_content_result: Optional[str] = None, successful: Optional[bool] = None)
Definition: Base64EncodeResponse
Attributes
base64_text_content_result
class-attribute
instance-attribute
base64_text_content_result: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Base64TextContentResult'})
Result of performing a base 64 encoding operation, a text string representing the encoded original file content
ChangeLineEndingResponse
dataclass
ChangeLineEndingResponse(*, successful: Optional[bool] = None, text_content_result: Optional[str] = None)
ClearXlsxCellRequest
dataclass
ClearXlsxCellRequest(*, cell_index: Optional[int] = None, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, row_index: Optional[int] = None, worksheet_to_update: Optional[XlsxWorksheet | Mapping[str, Any]] = None)
Definition: ClearXlsxCellRequest
Attributes
cell_index
class-attribute
instance-attribute
cell_index: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellIndex'})
0-based index of the cell, 0, 1, 2, ... in the row to clear
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
row_index
class-attribute
instance-attribute
row_index: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'RowIndex'})
0-based index of the row, 0, 1, 2, ... to clear
worksheet_to_update
class-attribute
instance-attribute
worksheet_to_update: Optional[XlsxWorksheet | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'WorksheetToUpdate'})
Optional; Worksheet (tab) within the spreadsheet to update; leave blank to default to the first worksheet
ConvertedPngPage
dataclass
CreateBlankDocxRequest
dataclass
CreateBlankSpreadsheetRequest
dataclass
Definition: CreateBlankSpreadsheetRequest
CreateSpreadsheetFromDataRequest
dataclass
CreateSpreadsheetFromDataRequest(*, rows: Optional[List[XlsxSpreadsheetRow | Mapping[str, Any]]] = None, worksheet_name: Optional[str] = None)
CreateZipArchiveRequest
dataclass
CreateZipArchiveRequest(*, directories_in_zip: Optional[List[ZipDirectory | Mapping[str, Any]]] = None, files_in_zip: Optional[List[ZipFile | Mapping[str, Any]]] = None)
Definition: CreateZipArchiveRequest
Attributes
directories_in_zip
class-attribute
instance-attribute
directories_in_zip: Optional[List[ZipDirectory | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'DirectoriesInZip'})
Top-level directories in the root directory of the zip; directories can contain sub-directories and files
DeleteDocxTableRowRangeRequest
dataclass
DeleteDocxTableRowRangeRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, table_path: Optional[str] = None, table_row_row_index_end: Optional[int] = None, table_row_row_index_start: Optional[int] = None)
Definition: DeleteDocxTableRowRangeRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
table_path
class-attribute
instance-attribute
table_path: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'TablePath'})
Path to the table to delete the row from
DeleteDocxTableRowRequest
dataclass
DeleteDocxTableRowRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, table_path: Optional[str] = None, table_row_row_index: Optional[int] = None)
Definition: DeleteDocxTableRowRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
DetectLineEndingsResponse
dataclass
DetectLineEndingsResponse(*, input_length: Optional[int] = None, primary_newline_terminator: Optional[str] = None, primary_newline_type: Optional[str] = None, successful: Optional[bool] = None)
Definition: DetectLineEndingsResponse
Attributes
input_length
class-attribute
instance-attribute
input_length: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputLength'})
Length of the input string in characters
primary_newline_terminator
class-attribute
instance-attribute
primary_newline_terminator: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'PrimaryNewlineTerminator'})
Characters used to terminate a newline; can be carriage return, linefeed, or carriage return + linefeed
primary_newline_type
class-attribute
instance-attribute
primary_newline_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'PrimaryNewlineType'})
Type of newline in the file; possible vlaues are "Mac" (legacy Mac OS uses carriage return only); "Unix" (Unix and Linux OSes, and modern Mac OS); "Windows" (Windows operating systems)
DocumentValidationError
dataclass
DocumentValidationError(*, description: Optional[str] = None, is_error: Optional[bool] = None, path: Optional[str] = None, uri: Optional[str] = None)
Definition: DocumentValidationError
Attributes
description
class-attribute
instance-attribute
description: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Description'})
Description of the error
is_error
class-attribute
instance-attribute
is_error: Optional[bool] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'IsError'})
True if this is an error, false otherwise
path
class-attribute
instance-attribute
XPath to the error
DocumentValidationResult
dataclass
DocumentValidationResult(*, document_is_valid: Optional[bool] = None, error_count: Optional[int] = None, errors_and_warnings: Optional[List[DocumentValidationError | Mapping[str, Any]]] = None, warning_count: Optional[int] = None)
Definition: DocumentValidationResult
Attributes
document_is_valid
class-attribute
instance-attribute
document_is_valid: Optional[bool] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'DocumentIsValid'})
True if the document is valid and has no errors, false otherwise
error_count
class-attribute
instance-attribute
error_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ErrorCount'})
Number of validation errors found in the document
DocxBody
dataclass
DocxBody(*, all_paragraphs: Optional[List[DocxParagraph | Mapping[str, Any]]] = None, all_tables: Optional[List[DocxTable | Mapping[str, Any]]] = None, path: Optional[str] = None)
Definition: DocxBody
Attributes
all_paragraphs
class-attribute
instance-attribute
all_paragraphs: Optional[List[DocxParagraph | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'AllParagraphs'})
All paragraphs anywhere in the document; these objects are not sequentially placed but are scatted across document
all_tables
class-attribute
instance-attribute
all_tables: Optional[List[DocxTable | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'AllTables'})
All tables anywhere in the document; these objects are not sequentially placed but are scatted across the document
DocxCellStyle
dataclass
DocxCellStyle(*, built_in_id: Optional[int] = None, format_id: Optional[int] = None, name: Optional[str] = None, path: Optional[str] = None)
Definition: DocxCellStyle
Attributes
built_in_id
class-attribute
instance-attribute
built_in_id: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'BuiltInID'})
Built=in ID of the cell style
format_id
class-attribute
instance-attribute
format_id: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'FormatID'})
Format ID of the cell style
name
class-attribute
instance-attribute
Name of the style
DocxComment
dataclass
DocxComment(*, author: Optional[str] = None, author_initials: Optional[str] = None, comment_date: Optional[str] = None, comment_text: Optional[str] = None, done: Optional[bool] = None, is_reply: Optional[bool] = None, is_top_level: Optional[bool] = None, parent_comment_path: Optional[str] = None, path: Optional[str] = None)
Definition: DocxComment
Attributes
author
class-attribute
instance-attribute
author: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Author'})
Author name of the comment
author_initials
class-attribute
instance-attribute
author_initials: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'AuthorInitials'})
Initials of the author of the comment
comment_date
class-attribute
instance-attribute
comment_date: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CommentDate'})
Date timestamp of the comment
comment_text
class-attribute
instance-attribute
comment_text: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CommentText'})
Text content of the comment
done
class-attribute
instance-attribute
True if this comment is marked as Done in Word, otherwise it is false
is_reply
class-attribute
instance-attribute
is_reply: Optional[bool] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'IsReply'})
True if this comment is a reply to another comment, false otherwise
is_top_level
class-attribute
instance-attribute
is_top_level: Optional[bool] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'IsTopLevel'})
True if the comment is at the top level, false if this comment is a child reply of another comment
DocxFooter
dataclass
DocxFooter(*, paragraphs: Optional[List[DocxParagraph | Mapping[str, Any]]] = None, path: Optional[str] = None, sections_with_footer: Optional[List[DocxSection | Mapping[str, Any]]] = None)
Definition: DocxFooter
Attributes
paragraphs
class-attribute
instance-attribute
paragraphs: Optional[List[DocxParagraph | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Paragraphs'})
Paragraphs in this footer
path
class-attribute
instance-attribute
The Path of the location of this object; leave blank for new tables
DocxHeader
dataclass
DocxHeader(*, paragraphs: Optional[List[DocxParagraph | Mapping[str, Any]]] = None, path: Optional[str] = None, sections_with_header: Optional[List[DocxSection | Mapping[str, Any]]] = None)
Definition: DocxHeader
Attributes
paragraphs
class-attribute
instance-attribute
paragraphs: Optional[List[DocxParagraph | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Paragraphs'})
Paragraphs in this header
path
class-attribute
instance-attribute
The Path of the location of this object; leave blank for new tables
DocxImage
dataclass
DocxImage(*, image_contents_u_r_l: Optional[str] = None, image_data_content_type: Optional[str] = None, image_data_embed_id: Optional[str] = None, image_description: Optional[str] = None, image_height: Optional[int] = None, image_id: Optional[int] = None, image_internal_file_name: Optional[str] = None, image_name: Optional[str] = None, image_width: Optional[int] = None, inline_with_text: Optional[bool] = None, path: Optional[str] = None, x_offset: Optional[int] = None, y_offset: Optional[int] = None)
Definition: DocxImage
Attributes
image_contents_u_r_l
class-attribute
instance-attribute
image_contents_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ImageContentsURL'})
URL to the image contents; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the contents.
image_data_content_type
class-attribute
instance-attribute
image_data_content_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ImageDataContentType'})
Read-only; image data MIME content-type
image_data_embed_id
class-attribute
instance-attribute
image_data_embed_id: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ImageDataEmbedId'})
Read-only; internal ID for the image contents
image_description
class-attribute
instance-attribute
image_description: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ImageDescription'})
The Description of the image
image_height
class-attribute
instance-attribute
image_height: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ImageHeight'})
Height of the image in EMUs (English Metric Units); set to 0 to default to page width and aspect-ratio based height
image_id
class-attribute
instance-attribute
image_id: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ImageId'})
The Id of the image
image_internal_file_name
class-attribute
instance-attribute
image_internal_file_name: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ImageInternalFileName'})
Read-only; internal file name/path for the image
image_name
class-attribute
instance-attribute
image_name: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ImageName'})
The Name of the image
image_width
class-attribute
instance-attribute
image_width: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ImageWidth'})
Width of the image in EMUs (English Metric Units); set to 0 to default to page width and aspect-ratio based height
inline_with_text
class-attribute
instance-attribute
inline_with_text: Optional[bool] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InlineWithText'})
True if the image is inline with the text; false if it is floating
path
class-attribute
instance-attribute
The Path of the location of this object; leave blank for new tables
DocxInsertCommentOnParagraphRequest
dataclass
DocxInsertCommentOnParagraphRequest(*, comment_to_insert: Optional[DocxComment | Mapping[str, Any]] = None, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, paragraph_path: Optional[str] = None)
Definition: DocxInsertCommentOnParagraphRequest
Attributes
comment_to_insert
class-attribute
instance-attribute
comment_to_insert: Optional[DocxComment | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CommentToInsert'})
Comment to insert
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
paragraph_path
class-attribute
instance-attribute
paragraph_path: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ParagraphPath'})
Path to the paragraph to attach the comment to. You can get the Path by retrieving all of the Paragraphs in document by calling Get Body and taking the Path property of the desired paragraph to add the comment to.
DocxInsertImageRequest
dataclass
DocxInsertImageRequest(*, height_in_e_m_us: Optional[int] = None, image_to_add: Optional[DocxImage | Mapping[str, Any]] = None, input_document_file_bytes: Optional[str] = None, input_document_file_url: Optional[str] = None, input_image_file_bytes: Optional[str] = None, input_image_file_url: Optional[str] = None, insert_path: Optional[str] = None, insert_placement: Optional[str] = None, width_in_e_m_us: Optional[int] = None)
Definition: DocxInsertImageRequest
Attributes
height_in_e_m_us
class-attribute
instance-attribute
height_in_e_m_us: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'HeightInEMUs'})
Optional: The height of the image in EMUs
image_to_add
class-attribute
instance-attribute
image_to_add: Optional[DocxImage | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ImageToAdd'})
Optional: Image to add; if you supply in this object, do not supply InputImageFileBytes or InputImageFileUrl.
input_document_file_bytes
class-attribute
instance-attribute
input_document_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputDocumentFileBytes'})
Optional: Bytes of the input file to operate on
input_document_file_url
class-attribute
instance-attribute
input_document_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputDocumentFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
input_image_file_bytes
class-attribute
instance-attribute
input_image_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputImageFileBytes'})
Optional: Bytes of the input image file to operate on; if you supply this value do not supply InputImageFileUrl or ImageToAdd.
input_image_file_url
class-attribute
instance-attribute
input_image_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputImageFileUrl'})
Optional: URL of an image file to operate on as input; if you supply this value do not supply InputImageFileBytes or ImageToAdd. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
insert_path
class-attribute
instance-attribute
insert_path: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InsertPath'})
Optional; location within the document to insert the object; fill in the InsertPath field using the Path value from an existing object. Used with InsertPlacement of BeforeExistingObject or AfterExistingObject
insert_placement
class-attribute
instance-attribute
insert_placement: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InsertPlacement'})
Optional; default is DocumentEnd. Placement Type of the insert; possible values are: DocumentStart (very beginning of the document), DocumentEnd (very end of the document), BeforeExistingObject (right before an existing object - fill in the InsertPath field using the Path value from an existing object), AfterExistingObject (right after an existing object - fill in the InsertPath field using the Path value from an existing object)
DocxPage
dataclass
DocxPage(*, page_number: Optional[int] = None, paragraphs: Optional[List[DocxParagraph | Mapping[str, Any]]] = None)
Definition: DocxPage
Attributes
page_number
class-attribute
instance-attribute
page_number: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'PageNumber'})
Page number of this page, 1-based
paragraphs
class-attribute
instance-attribute
paragraphs: Optional[List[DocxParagraph | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Paragraphs'})
All paragraphs anywhere in the document; these objects are not sequentially placed but are scatted across document
DocxParagraph
dataclass
DocxParagraph(*, content_runs: Optional[List[DocxRun | Mapping[str, Any]]] = None, paragraph_index: Optional[int] = None, path: Optional[str] = None, style_id: Optional[str] = None)
Definition: DocxParagraph
Attributes
content_runs
class-attribute
instance-attribute
content_runs: Optional[List[DocxRun | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ContentRuns'})
The content runs in the paragraph - this is where text is stored; similar to a span in HTML
paragraph_index
class-attribute
instance-attribute
paragraph_index: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ParagraphIndex'})
The index of the paragraph; 0-based
path
class-attribute
instance-attribute
The Path of the location of this object; leave blank for new tables
DocxRemoveObjectRequest
dataclass
DocxRemoveObjectRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, path_to_object_to_remove: Optional[str] = None)
Definition: DocxRemoveObjectRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
path_to_object_to_remove
class-attribute
instance-attribute
path_to_object_to_remove: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'PathToObjectToRemove'})
Path within the document of the object to delete; fill in the PathToObjectToRemove field using the Path value from an existing object.
DocxRun
dataclass
DocxRun(*, bold: Optional[bool] = None, font_family: Optional[str] = None, font_size: Optional[str] = None, italic: Optional[bool] = None, path: Optional[str] = None, run_index: Optional[int] = None, text_items: Optional[List[DocxText | Mapping[str, Any]]] = None, underline: Optional[str] = None)
Definition: DocxRun
Attributes
bold
class-attribute
instance-attribute
True to make the text bold, false otherwise
font_family
class-attribute
instance-attribute
font_family: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'FontFamily'})
Font Family name for the text, e.g. "Arial" or "Times New Roman"
font_size
class-attribute
instance-attribute
font_size: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'FontSize'})
Font size in font points (e.g. "24")
italic
class-attribute
instance-attribute
italic: Optional[bool] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Italic'})
True to make the text italic, false otherwise
path
class-attribute
instance-attribute
The Path of the location of this object; leave blank for new tables
run_index
class-attribute
instance-attribute
run_index: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'RunIndex'})
Index of the run, 0-based
text_items
class-attribute
instance-attribute
text_items: Optional[List[DocxText | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'TextItems'})
Text items inside the run; this is where the actual text content is stored
underline
class-attribute
instance-attribute
underline: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Underline'})
Underline mode for the text; possible values are: Words, Double, Thick, Dotted, DottedHeavy, Dash, DashedHeavy, DashLong, DashLongHeavy, DotDash, DashDotHeavy, DotDotDash, DashDotDotHeavy, Wave, WavyHeavy, WavyDouble, None
DocxSection
dataclass
Definition: DocxSection
Attributes
path
class-attribute
instance-attribute
The Path of the location of this object; leave blank for new tables
DocxSetFooterAddPageNumberRequest
dataclass
DocxSetFooterAddPageNumberRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, prepend_text: Optional[str] = None)
Definition: DocxSetFooterAddPageNumberRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
DocxSetFooterRequest
dataclass
DocxSetFooterRequest(*, footer_to_apply: Optional[DocxFooter | Mapping[str, Any]] = None, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None)
Definition: DocxSetFooterRequest
Attributes
footer_to_apply
class-attribute
instance-attribute
footer_to_apply: Optional[DocxFooter | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'FooterToApply'})
Footer to apply
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
DocxSetHeaderRequest
dataclass
DocxSetHeaderRequest(*, header_to_apply: Optional[DocxHeader | Mapping[str, Any]] = None, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None)
Definition: DocxSetHeaderRequest
Attributes
header_to_apply
class-attribute
instance-attribute
header_to_apply: Optional[DocxHeader | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'HeaderToApply'})
Header to apply
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
DocxStyle
dataclass
DocxStyle(*, bold: Optional[bool] = None, font_family: Optional[str] = None, font_size: Optional[str] = None, italic: Optional[bool] = None, path: Optional[str] = None, style_id: Optional[str] = None, underline: Optional[bool] = None)
Definition: DocxStyle
Attributes
bold
class-attribute
instance-attribute
Style applies bold formatting
font_family
class-attribute
instance-attribute
font_family: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'FontFamily'})
Font family
font_size
class-attribute
instance-attribute
font_size: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'FontSize'})
Font size
italic
class-attribute
instance-attribute
italic: Optional[bool] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Italic'})
Style applies italic formatting
path
class-attribute
instance-attribute
The Path of the location of this object; leave blank for new tables
DocxTable
dataclass
DocxTable(*, bottom_border_color: Optional[str] = None, bottom_border_size: Optional[int] = None, bottom_border_space: Optional[int] = None, bottom_border_type: Optional[str] = None, cell_horizontal_border_color: Optional[str] = None, cell_horizontal_border_size: Optional[int] = None, cell_horizontal_border_space: Optional[int] = None, cell_horizontal_border_type: Optional[str] = None, cell_vertical_border_color: Optional[str] = None, cell_vertical_border_size: Optional[int] = None, cell_vertical_border_space: Optional[int] = None, cell_vertical_border_type: Optional[str] = None, end_border_color: Optional[str] = None, end_border_size: Optional[int] = None, end_border_space: Optional[int] = None, end_border_type: Optional[str] = None, left_border_color: Optional[str] = None, left_border_size: Optional[int] = None, left_border_space: Optional[int] = None, left_border_type: Optional[str] = None, path: Optional[str] = None, right_border_color: Optional[str] = None, right_border_size: Optional[int] = None, right_border_space: Optional[int] = None, right_border_type: Optional[str] = None, start_border_color: Optional[str] = None, start_border_size: Optional[int] = None, start_border_space: Optional[int] = None, start_border_type: Optional[str] = None, table_id: Optional[str] = None, table_indentation_mode: Optional[str] = None, table_indentation_width: Optional[int] = None, table_rows: Optional[List[DocxTableRow | Mapping[str, Any]]] = None, top_border_color: Optional[str] = None, top_border_size: Optional[int] = None, top_border_space: Optional[int] = None, top_border_type: Optional[str] = None, width: Optional[str] = None, width_type: Optional[str] = None)
Definition: DocxTable
Attributes
bottom_border_color
class-attribute
instance-attribute
bottom_border_color: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'BottomBorderColor'})
HTML-style color hex value (do not include a #)
bottom_border_size
class-attribute
instance-attribute
bottom_border_size: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'BottomBorderSize'})
Width of the border in points (1/72nd of an inch)
bottom_border_space
class-attribute
instance-attribute
bottom_border_space: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'BottomBorderSpace'})
Spacing around the border in points (1/72nd of an inch)
bottom_border_type
class-attribute
instance-attribute
bottom_border_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'BottomBorderType'})
Type for the bottom border - can be a Single, DashDotStroked, Dashed, DashSmallGap, DotDash, DotDotDash, Dotted, Double, DoubleWave, Inset, Nil, None, Outset, Thick, ThickThinLargeGap, ThickThinMediumGap, ThickThinSmallGap, ThinThickLargeGap, ThinThickMediumGap, ThinThickSmallGap, ThinThickThinLargeGap, ThinThickThinMediumGap, ThinThickThinSmallGap, ThreeDEmboss, ThreeDEngrave, Triple, Wave
cell_horizontal_border_color
class-attribute
instance-attribute
cell_horizontal_border_color: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellHorizontalBorderColor'})
HTML-style color hex value (do not include a #)
cell_horizontal_border_size
class-attribute
instance-attribute
cell_horizontal_border_size: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellHorizontalBorderSize'})
Width of the border in points (1/72nd of an inch)
cell_horizontal_border_space
class-attribute
instance-attribute
cell_horizontal_border_space: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellHorizontalBorderSpace'})
Spacing around the border in points (1/72nd of an inch)
cell_horizontal_border_type
class-attribute
instance-attribute
cell_horizontal_border_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellHorizontalBorderType'})
Type for the cell horizontal border - can be a Single, DashDotStroked, Dashed, DashSmallGap, DotDash, DotDotDash, Dotted, Double, DoubleWave, Inset, Nil, None, Outset, Thick, ThickThinLargeGap, ThickThinMediumGap, ThickThinSmallGap, ThinThickLargeGap, ThinThickMediumGap, ThinThickSmallGap, ThinThickThinLargeGap, ThinThickThinMediumGap, ThinThickThinSmallGap, ThreeDEmboss, ThreeDEngrave, Triple, Wave
cell_vertical_border_color
class-attribute
instance-attribute
cell_vertical_border_color: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellVerticalBorderColor'})
HTML-style color hex value (do not include a #)
cell_vertical_border_size
class-attribute
instance-attribute
cell_vertical_border_size: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellVerticalBorderSize'})
Width of the border in points (1/72nd of an inch)
cell_vertical_border_space
class-attribute
instance-attribute
cell_vertical_border_space: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellVerticalBorderSpace'})
Spacing around the border in points (1/72nd of an inch)
cell_vertical_border_type
class-attribute
instance-attribute
cell_vertical_border_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellVerticalBorderType'})
Type for the cell vertical border - can be a Single, DashDotStroked, Dashed, DashSmallGap, DotDash, DotDotDash, Dotted, Double, DoubleWave, Inset, Nil, None, Outset, Thick, ThickThinLargeGap, ThickThinMediumGap, ThickThinSmallGap, ThinThickLargeGap, ThinThickMediumGap, ThinThickSmallGap, ThinThickThinLargeGap, ThinThickThinMediumGap, ThinThickThinSmallGap, ThreeDEmboss, ThreeDEngrave, Triple, Wave
end_border_color
class-attribute
instance-attribute
end_border_color: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EndBorderColor'})
HTML-style color hex value (do not include a #)
end_border_size
class-attribute
instance-attribute
end_border_size: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EndBorderSize'})
Width of the border in points (1/72nd of an inch)
end_border_space
class-attribute
instance-attribute
end_border_space: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EndBorderSpace'})
Spacing around the border in points (1/72nd of an inch)
end_border_type
class-attribute
instance-attribute
end_border_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EndBorderType'})
Type for the end border - can be a Single, DashDotStroked, Dashed, DashSmallGap, DotDash, DotDotDash, Dotted, Double, DoubleWave, Inset, Nil, None, Outset, Thick, ThickThinLargeGap, ThickThinMediumGap, ThickThinSmallGap, ThinThickLargeGap, ThinThickMediumGap, ThinThickSmallGap, ThinThickThinLargeGap, ThinThickThinMediumGap, ThinThickThinSmallGap, ThreeDEmboss, ThreeDEngrave, Triple, Wave
left_border_color
class-attribute
instance-attribute
left_border_color: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'LeftBorderColor'})
HTML-style color hex value (do not include a #)
left_border_size
class-attribute
instance-attribute
left_border_size: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'LeftBorderSize'})
Width of the border in points (1/72nd of an inch)
left_border_space
class-attribute
instance-attribute
left_border_space: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'LeftBorderSpace'})
Spacing around the border in points (1/72nd of an inch)
left_border_type
class-attribute
instance-attribute
left_border_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'LeftBorderType'})
Type for the left border - can be a Single, DashDotStroked, Dashed, DashSmallGap, DotDash, DotDotDash, Dotted, Double, DoubleWave, Inset, Nil, None, Outset, Thick, ThickThinLargeGap, ThickThinMediumGap, ThickThinSmallGap, ThinThickLargeGap, ThinThickMediumGap, ThinThickSmallGap, ThinThickThinLargeGap, ThinThickThinMediumGap, ThinThickThinSmallGap, ThreeDEmboss, ThreeDEngrave, Triple, Wave
path
class-attribute
instance-attribute
The Path of the location of this table object; leave blank for new tables
right_border_color
class-attribute
instance-attribute
right_border_color: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'RightBorderColor'})
HTML-style color hex value (do not include a #)
right_border_size
class-attribute
instance-attribute
right_border_size: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'RightBorderSize'})
Width of the border in points (1/72nd of an inch)
right_border_space
class-attribute
instance-attribute
right_border_space: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'RightBorderSpace'})
Spacing around the border in points (1/72nd of an inch)
right_border_type
class-attribute
instance-attribute
right_border_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'RightBorderType'})
Type for the right border - can be a Single, DashDotStroked, Dashed, DashSmallGap, DotDash, DotDotDash, Dotted, Double, DoubleWave, Inset, Nil, None, Outset, Thick, ThickThinLargeGap, ThickThinMediumGap, ThickThinSmallGap, ThinThickLargeGap, ThinThickMediumGap, ThinThickSmallGap, ThinThickThinLargeGap, ThinThickThinMediumGap, ThinThickThinSmallGap, ThreeDEmboss, ThreeDEngrave, Triple, Wave
start_border_color
class-attribute
instance-attribute
start_border_color: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'StartBorderColor'})
HTML-style color hex value (do not include a #)
start_border_size
class-attribute
instance-attribute
start_border_size: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'StartBorderSize'})
Width of the border in points (1/72nd of an inch)
start_border_space
class-attribute
instance-attribute
start_border_space: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'StartBorderSpace'})
Spacing around the border in points (1/72nd of an inch)
start_border_type
class-attribute
instance-attribute
start_border_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'StartBorderType'})
Type for the start border - can be a Single, DashDotStroked, Dashed, DashSmallGap, DotDash, DotDotDash, Dotted, Double, DoubleWave, Inset, Nil, None, Outset, Thick, ThickThinLargeGap, ThickThinMediumGap, ThickThinSmallGap, ThinThickLargeGap, ThinThickMediumGap, ThinThickSmallGap, ThinThickThinLargeGap, ThinThickThinMediumGap, ThinThickThinSmallGap, ThreeDEmboss, ThreeDEngrave, Triple, Wave
table_id
class-attribute
instance-attribute
table_id: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'TableID'})
The ID of the table; leave blank for new tables
table_indentation_mode
class-attribute
instance-attribute
table_indentation_mode: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'TableIndentationMode'})
Table indentation type
table_indentation_width
class-attribute
instance-attribute
table_indentation_width: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'TableIndentationWidth'})
Table indentation width
table_rows
class-attribute
instance-attribute
table_rows: Optional[List[DocxTableRow | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'TableRows'})
Rows in the table; this is where the contents is located
top_border_color
class-attribute
instance-attribute
top_border_color: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'TopBorderColor'})
HTML-style color hex value (do not include a #)
top_border_size
class-attribute
instance-attribute
top_border_size: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'TopBorderSize'})
Width of the border in points (1/72nd of an inch)
top_border_space
class-attribute
instance-attribute
top_border_space: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'TopBorderSpace'})
Spacing around the border in points (1/72nd of an inch)
top_border_type
class-attribute
instance-attribute
top_border_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'TopBorderType'})
Type for the top border - can be a Single, DashDotStroked, Dashed, DashSmallGap, DotDash, DotDotDash, Dotted, Double, DoubleWave, Inset, Nil, None, Outset, Thick, ThickThinLargeGap, ThickThinMediumGap, ThickThinSmallGap, ThinThickLargeGap, ThinThickMediumGap, ThinThickSmallGap, ThinThickThinLargeGap, ThinThickThinMediumGap, ThinThickThinSmallGap, ThreeDEmboss, ThreeDEngrave, Triple, Wave
width
class-attribute
instance-attribute
The Width of the table, or 0 if not specified
DocxTableCell
dataclass
DocxTableCell(*, cell_index: Optional[int] = None, cell_shading_color: Optional[str] = None, cell_shading_fill: Optional[str] = None, cell_shading_pattern: Optional[str] = None, cell_width: Optional[str] = None, cell_width_mode: Optional[str] = None, paragraphs: Optional[List[DocxParagraph | Mapping[str, Any]]] = None, path: Optional[str] = None)
Definition: DocxTableCell
Attributes
cell_index
class-attribute
instance-attribute
cell_index: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellIndex'})
The index of the cell, 0-based
cell_shading_color
class-attribute
instance-attribute
cell_shading_color: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellShadingColor'})
Color of the cell shading
cell_shading_fill
class-attribute
instance-attribute
cell_shading_fill: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellShadingFill'})
Fill of the cell shading
cell_shading_pattern
class-attribute
instance-attribute
cell_shading_pattern: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellShadingPattern'})
Pattern of the cell shading
cell_width
class-attribute
instance-attribute
cell_width: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellWidth'})
Width of the cell
cell_width_mode
class-attribute
instance-attribute
cell_width_mode: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellWidthMode'})
Width mode of the cell; can be auto (for automatic) or manual
DocxTableRow
dataclass
DocxTableRow(*, path: Optional[str] = None, row_cells: Optional[List[DocxTableCell | Mapping[str, Any]]] = None, row_index: Optional[int] = None)
Definition: DocxTableRow
Attributes
path
class-attribute
instance-attribute
The Path of the location of this table row object; leave blank for new tables
DocxTemplateApplicationRequest
dataclass
DocxTemplateOperation
dataclass
DocxTemplateOperation(*, action: Optional[int] = None, match_against: Optional[str] = None, replace_with: Optional[str] = None)
Definition: DocxTemplateOperation
Attributes
action
class-attribute
instance-attribute
action: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Action'})
Operation action to take; possible values are "Replace"
DocxText
dataclass
DocxText(*, path: Optional[str] = None, text_content: Optional[str] = None, text_index: Optional[int] = None)
Definition: DocxText
Attributes
path
class-attribute
instance-attribute
The Path of the location of this object; leave blank for new tables
DocxTopLevelComment
dataclass
DocxTopLevelComment(*, author: Optional[str] = None, author_initials: Optional[str] = None, comment_date: Optional[str] = None, comment_text: Optional[str] = None, done: Optional[bool] = None, path: Optional[str] = None, reply_child_comments: Optional[List[DocxComment | Mapping[str, Any]]] = None)
Definition: DocxTopLevelComment
Attributes
author
class-attribute
instance-attribute
author: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Author'})
Author name of the comment
author_initials
class-attribute
instance-attribute
author_initials: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'AuthorInitials'})
Initials of the author of the comment
comment_date
class-attribute
instance-attribute
comment_date: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CommentDate'})
Date timestamp of the comment
comment_text
class-attribute
instance-attribute
comment_text: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CommentText'})
Text content of the comment
done
class-attribute
instance-attribute
True if this comment is marked as Done in Word, otherwise it is false
path
class-attribute
instance-attribute
Path to the comment in the document
ExifValue
dataclass
ExifValue(*, data_type: Optional[str] = None, data_value: Optional[str] = None, tag: Optional[str] = None)
Definition: ExifValue
Attributes
data_type
class-attribute
instance-attribute
data_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'DataType'})
Date type of the EXIF value
FindRegexMatch
dataclass
FindRegexMatch(*, character_offset_end: Optional[int] = None, character_offset_start: Optional[int] = None, containing_line: Optional[str] = None, match_groups: Optional[List[str]] = None, match_value: Optional[str] = None)
Definition: FindRegexMatch
Attributes
character_offset_end
class-attribute
instance-attribute
character_offset_end: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CharacterOffsetEnd'})
0-based index of the end of the match
character_offset_start
class-attribute
instance-attribute
character_offset_start: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CharacterOffsetStart'})
0-based index of the start of the match
containing_line
class-attribute
instance-attribute
containing_line: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ContainingLine'})
Text content of the line containing the match
FindStringMatch
dataclass
FindStringMatch(*, character_offset_end: Optional[int] = None, character_offset_start: Optional[int] = None, containing_line: Optional[str] = None)
Definition: FindStringMatch
Attributes
character_offset_end
class-attribute
instance-attribute
character_offset_end: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CharacterOffsetEnd'})
0-based index of the end of the match
FindStringRegexRequest
dataclass
FindStringRegexRequest(*, match_case: Optional[bool] = None, target_regex: Optional[str] = None, text_content: Optional[str] = None)
Definition: FindStringRegexRequest
Attributes
match_case
class-attribute
instance-attribute
match_case: Optional[bool] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'MatchCase'})
Set to True to match case, False to ignore case
FindStringRegexResponse
dataclass
FindStringRegexResponse(*, match_count: Optional[int] = None, matches: Optional[List[FindRegexMatch | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
Definition: FindStringRegexResponse
Attributes
match_count
class-attribute
instance-attribute
match_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'MatchCount'})
The number of matches
FindStringSimpleRequest
dataclass
FindStringSimpleResponse
dataclass
FindStringSimpleResponse(*, match_count: Optional[int] = None, matches: Optional[List[FindStringMatch | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
Definition: FindStringSimpleResponse
Attributes
match_count
class-attribute
instance-attribute
match_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'MatchCount'})
The number of matches
FinishEditingRequest
dataclass
GetDocxBodyRequest
dataclass
Definition: GetDocxBodyRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
GetDocxCommentsResponse
dataclass
GetDocxCommentsResponse(*, comment_count: Optional[int] = None, comments: Optional[List[DocxComment | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
Definition: GetDocxCommentsResponse
Attributes
comment_count
class-attribute
instance-attribute
comment_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CommentCount'})
The number of comments in the document
GetDocxGetCommentsHierarchicalRequest
dataclass
GetDocxGetCommentsHierarchicalRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None)
Definition: GetDocxGetCommentsHierarchicalRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
GetDocxGetCommentsRequest
dataclass
GetDocxGetCommentsRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None)
Definition: GetDocxGetCommentsRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
GetDocxHeadersAndFootersRequest
dataclass
GetDocxHeadersAndFootersRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None)
Definition: GetDocxHeadersAndFootersRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
GetDocxImagesRequest
dataclass
GetDocxImagesRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None)
Definition: GetDocxImagesRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
GetDocxPagesRequest
dataclass
GetDocxPagesRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None)
Definition: GetDocxPagesRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
GetDocxSectionsRequest
dataclass
GetDocxSectionsRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None)
Definition: GetDocxSectionsRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
GetDocxStylesRequest
dataclass
GetDocxStylesRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None)
Definition: GetDocxStylesRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
GetDocxTableByIndexRequest
dataclass
GetDocxTableByIndexRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, table_index: Optional[int] = None)
Definition: GetDocxTableByIndexRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
GetDocxTableRowRequest
dataclass
GetDocxTableRowRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, table_path: Optional[str] = None, table_row_row_index: Optional[int] = None)
Definition: GetDocxTableRowRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
GetDocxTablesRequest
dataclass
GetDocxTablesRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None)
Definition: GetDocxTablesRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
GetImageInfoResult
dataclass
GetImageInfoResult(*, bit_depth: Optional[int] = None, color_count: Optional[int] = None, color_space: Optional[str] = None, color_type: Optional[str] = None, comment: Optional[str] = None, compression_level: Optional[int] = None, d_p_i: Optional[float] = None, d_p_i_unit: Optional[str] = None, exif_profile_name: Optional[str] = None, exif_values: Optional[List[ExifValue | Mapping[str, Any]]] = None, has_transparency: Optional[bool] = None, height: Optional[int] = None, image_format: Optional[str] = None, image_hash_signature: Optional[str] = None, mime_type: Optional[str] = None, successful: Optional[bool] = None, width: Optional[int] = None)
Definition: GetImageInfoResult
Attributes
bit_depth
class-attribute
instance-attribute
bit_depth: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'BitDepth'})
Bit depth of the image
color_count
class-attribute
instance-attribute
color_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ColorCount'})
Unique colors in the image
color_space
class-attribute
instance-attribute
color_space: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ColorSpace'})
Color space of the image
color_type
class-attribute
instance-attribute
color_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ColorType'})
Color type of the image
comment
class-attribute
instance-attribute
comment: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Comment'})
Comment string in the image
compression_level
class-attribute
instance-attribute
compression_level: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CompressionLevel'})
Compression level value from 0 (lowest quality) to 100 (highest quality)
d_p_i
class-attribute
instance-attribute
DPI (pixels per unit, e.g. pixels per inch) of the image
d_p_i_unit
class-attribute
instance-attribute
d_p_i_unit: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'DPIUnit'})
Units of the DPI measurement; can be either in Inches or Centimeters
exif_profile_name
class-attribute
instance-attribute
exif_profile_name: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ExifProfileName'})
Name of the EXIF profile used
exif_values
class-attribute
instance-attribute
exif_values: Optional[List[ExifValue | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ExifValues'})
EXIF tags and values embedded in the image
has_transparency
class-attribute
instance-attribute
has_transparency: Optional[bool] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'HasTransparency'})
True if the image contains transparency, otherwise false
height
class-attribute
instance-attribute
height: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Height'})
Height in pixels of the image
image_format
class-attribute
instance-attribute
image_format: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ImageFormat'})
Image format
image_hash_signature
class-attribute
instance-attribute
image_hash_signature: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ImageHashSignature'})
SHA256 hash signature of the image
GetPdfAnnotationsResult
dataclass
GetPdfAnnotationsResult(*, annotations: Optional[List[PdfAnnotation | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
Definition: GetPdfAnnotationsResult
GetXlsxCellByIdentifierRequest
dataclass
GetXlsxCellByIdentifierRequest(*, cell_identifier: Optional[str] = None, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, worksheet_to_query: Optional[XlsxWorksheet | Mapping[str, Any]] = None)
Definition: GetXlsxCellByIdentifierRequest
Attributes
cell_identifier
class-attribute
instance-attribute
cell_identifier: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellIdentifier'})
Required; Excel cell identifier, e.g. A1, B22, C33, etc.
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
worksheet_to_query
class-attribute
instance-attribute
worksheet_to_query: Optional[XlsxWorksheet | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'WorksheetToQuery'})
Optional; Worksheet (tab) within the spreadsheet to get the rows and cells of; leave blank to default to the first worksheet
GetXlsxCellRequest
dataclass
GetXlsxCellRequest(*, cell_index: Optional[int] = None, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, row_index: Optional[int] = None, worksheet_to_query: Optional[XlsxWorksheet | Mapping[str, Any]] = None)
Definition: GetXlsxCellRequest
Attributes
cell_index
class-attribute
instance-attribute
cell_index: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellIndex'})
0-based index of the cell, 0, 1, 2, ... in the row to retrieve
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
row_index
class-attribute
instance-attribute
row_index: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'RowIndex'})
0-based index of the row, 0, 1, 2, ... to retrieve
worksheet_to_query
class-attribute
instance-attribute
worksheet_to_query: Optional[XlsxWorksheet | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'WorksheetToQuery'})
Optional; Worksheet (tab) within the spreadsheet to get the rows and cells of; leave blank to default to the first worksheet
GetXlsxColumnsRequest
dataclass
GetXlsxColumnsRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, worksheet_to_query: Optional[XlsxWorksheet | Mapping[str, Any]] = None)
Definition: GetXlsxColumnsRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
worksheet_to_query
class-attribute
instance-attribute
worksheet_to_query: Optional[XlsxWorksheet | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'WorksheetToQuery'})
Optional; Worksheet (tab) within the spreadsheet to get the columns of; leave blank to default to the first worksheet
GetXlsxImagesRequest
dataclass
GetXlsxImagesRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, worksheet_to_query: Optional[XlsxWorksheet | Mapping[str, Any]] = None)
Definition: GetXlsxImagesRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
worksheet_to_query
class-attribute
instance-attribute
worksheet_to_query: Optional[XlsxWorksheet | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'WorksheetToQuery'})
Optional; Worksheet (tab) within the spreadsheet to get the images of; leave blank to default to the first worksheet
GetXlsxRowsAndCellsRequest
dataclass
GetXlsxRowsAndCellsRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, worksheet_to_query: Optional[XlsxWorksheet | Mapping[str, Any]] = None)
Definition: GetXlsxRowsAndCellsRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
worksheet_to_query
class-attribute
instance-attribute
worksheet_to_query: Optional[XlsxWorksheet | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'WorksheetToQuery'})
Optional; Worksheet (tab) within the spreadsheet to get the rows and cells of; leave blank to default to the first worksheet
GetXlsxStylesRequest
dataclass
GetXlsxStylesRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None)
Definition: GetXlsxStylesRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
GetXlsxWorksheetsRequest
dataclass
GetXlsxWorksheetsRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None)
Definition: GetXlsxWorksheetsRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
HtmlMdResult
dataclass
Definition: HtmlMdResult
Attributes
html
class-attribute
instance-attribute
Resulting HTML from the conversion
HtmlTemplateApplicationRequest
dataclass
HtmlTemplateApplicationRequest(*, html_template: Optional[str] = None, html_template_url: Optional[str] = None, operations: Optional[List[HtmlTemplateOperation | Mapping[str, Any]]] = None)
Definition: HtmlTemplateApplicationRequest
Attributes
html_template
class-attribute
instance-attribute
html_template: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'HtmlTemplate'})
HTML template input as a string
HtmlTemplateOperation
dataclass
HtmlTemplateOperation(*, action: Optional[int] = None, match_agsint: Optional[str] = None, replace_with: Optional[str] = None)
Definition: HtmlTemplateOperation
Attributes
action
class-attribute
instance-attribute
action: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Action'})
Operation action to take; possible values are "Replace"
HtmlToOfficeRequest
dataclass
HtmlToPdfRequest
dataclass
Definition: HtmlToPdfRequest
Attributes
extra_loading_wait
class-attribute
instance-attribute
extra_loading_wait: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ExtraLoadingWait'})
Optional: Additional number of milliseconds to wait once the web page has finished loading before taking the screenshot. Can be helpful for highly asynchronous websites.
HtmlToPngRequest
dataclass
HtmlToPngRequest(*, extra_loading_wait: Optional[int] = None, html: Optional[str] = None, screenshot_height: Optional[int] = None, screenshot_width: Optional[int] = None)
Definition: HtmlToPngRequest
Attributes
extra_loading_wait
class-attribute
instance-attribute
extra_loading_wait: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ExtraLoadingWait'})
Optional: Additional number of milliseconds to wait once the web page has finished loading before taking the screenshot. Can be helpful for highly asynchronous websites.
html
class-attribute
instance-attribute
HTML to render to PNG (screenshot)
screenshot_height
class-attribute
instance-attribute
screenshot_height: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ScreenshotHeight'})
Optional: Height of the screenshot in pixels; supply 0 to default to 1280 x 1024, supply -1 to measure the full screen height of the page and attempt to take a screen-height screenshot
screenshot_width
class-attribute
instance-attribute
screenshot_width: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ScreenshotWidth'})
Optional: Width of the screenshot in pixels; supply 0 to default to 1280 x 1024, supply -1 to measure the full screen height of the page and attempt to take a screen-height screenshot
HtmlToTextRequest
dataclass
InsertDocxInsertParagraphRequest
dataclass
InsertDocxInsertParagraphRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, insert_path: Optional[str] = None, insert_placement: Optional[str] = None, paragraph_to_insert: Optional[DocxParagraph | Mapping[str, Any]] = None)
Definition: InsertDocxInsertParagraphRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
insert_path
class-attribute
instance-attribute
insert_path: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InsertPath'})
Optional; location within the document to insert the object; fill in the InsertPath field using the Path value from an existing object. Used with InsertPlacement of BeforeExistingObject or AfterExistingObject
insert_placement
class-attribute
instance-attribute
insert_placement: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InsertPlacement'})
Optional; default is DocumentEnd. Placement Type of the insert; possible values are: DocumentStart (very beginning of the document), DocumentEnd (very end of the document), BeforeExistingObject (right before an existing object - fill in the InsertPath field using the Path value from an existing object), AfterExistingObject (right after an existing object - fill in the InsertPath field using the Path value from an existing object)
InsertDocxTableRowRequest
dataclass
InsertDocxTableRowRequest(*, existing_table_path: Optional[str] = None, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, insert_placement: Optional[str] = None, row_to_insert: Optional[DocxTableRow | Mapping[str, Any]] = None)
Definition: InsertDocxTableRowRequest
Attributes
existing_table_path
class-attribute
instance-attribute
existing_table_path: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ExistingTablePath'})
Required; the path to the existing table to modify
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
insert_placement
class-attribute
instance-attribute
insert_placement: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InsertPlacement'})
Optional; default is TableEnd. Placement Type of the insert; possible values are: TableStart (very beginning of the table), TableEnd (very end of the document), or a 0-based row index number as an integer, 0 being the first row in the table, 1 being the second row in the table, 2 being the third row in the table, etc. to insert this row after
InsertDocxTablesRequest
dataclass
InsertDocxTablesRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, insert_path: Optional[str] = None, insert_placement: Optional[str] = None, table_to_insert: Optional[DocxTable | Mapping[str, Any]] = None)
Definition: InsertDocxTablesRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
insert_path
class-attribute
instance-attribute
insert_path: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InsertPath'})
Optional; location within the document to insert the object; fill in the InsertPath field using the Path value from an existing object. Used with InsertPlacement of BeforeExistingObject or AfterExistingObject
insert_placement
class-attribute
instance-attribute
insert_placement: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InsertPlacement'})
Optional; default is DocumentEnd. Placement Type of the insert; possible values are: DocumentStart (very beginning of the document), DocumentEnd (very end of the document), BeforeExistingObject (right before an existing object - fill in the InsertPath field using the Path value from an existing object), AfterExistingObject (right after an existing object - fill in the InsertPath field using the Path value from an existing object)
InsertXlsxWorksheetRequest
dataclass
InsertXlsxWorksheetRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, worksheet_to_insert: Optional[XlsxWorksheet | Mapping[str, Any]] = None)
Definition: InsertXlsxWorksheetRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
MultipageImageFormatConversionResult
dataclass
MultipageImageFormatConversionResult(*, page_count: Optional[int] = None, pages: Optional[List[PageConversionResult | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
Definition: MultipageImageFormatConversionResult
Attributes
page_count
class-attribute
instance-attribute
page_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'PageCount'})
The number of pages in the converted output
PageConversionResult
dataclass
PdfAnnotation
dataclass
PdfAnnotation(*, annotation_index: Optional[int] = None, annotation_type: Optional[str] = None, creation_date: Optional[str] = None, height: Optional[float] = None, left_x: Optional[float] = None, modified_date: Optional[str] = None, page_number: Optional[int] = None, subject: Optional[str] = None, text_contents: Optional[str] = None, title: Optional[str] = None, top_y: Optional[float] = None, width: Optional[float] = None)
Definition: PdfAnnotation
Attributes
annotation_index
class-attribute
instance-attribute
annotation_index: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'AnnotationIndex'})
The 0-based index of the annotation in the document
annotation_type
class-attribute
instance-attribute
annotation_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'AnnotationType'})
Type of the annotation; possible values are Text
creation_date
class-attribute
instance-attribute
creation_date: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CreationDate'})
Date that the annotation was created
height
class-attribute
instance-attribute
height: Optional[float] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Height'})
Height of the annotation
left_x
class-attribute
instance-attribute
left_x: Optional[float] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'LeftX'})
Left X coordinate for the location of the annotation
modified_date
class-attribute
instance-attribute
modified_date: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ModifiedDate'})
Date that the annotation was last modified
page_number
class-attribute
instance-attribute
page_number: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'PageNumber'})
The 1-based index of the page containing the annotation
subject
class-attribute
instance-attribute
subject: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Subject'})
Subject of the annotation
text_contents
class-attribute
instance-attribute
text_contents: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'TextContents'})
Text contents of the annotation
title
class-attribute
instance-attribute
Title of the annotation; this is often the author of the annotation in Acrobat-created PDF files
PdfDocument
dataclass
PdfDocument(*, document_contents: Optional[str] = None, page_number: Optional[int] = None, u_r_l: Optional[str] = None)
Definition: PdfDocument
Attributes
document_contents
class-attribute
instance-attribute
document_contents: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'DocumentContents'})
If returnDocumentContents is set to true, will contain the contents of the document; otherwise will be set to null and the document contents will be available via the URL parameter
PdfFormField
dataclass
PdfFormField(*, field_combo_box_selected_index: Optional[int] = None, field_name: Optional[str] = None, field_type: Optional[str] = None, field_value: Optional[str] = None)
Definition: PdfFormField
Attributes
field_combo_box_selected_index
class-attribute
instance-attribute
field_combo_box_selected_index: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'FieldComboBoxSelectedIndex'})
Applies to ComboBox field types only; specifies the selected index of the combo box selection if available
field_name
class-attribute
instance-attribute
field_name: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'FieldName'})
Name of the form field
field_type
class-attribute
instance-attribute
field_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'FieldType'})
The data type of the field; possible values are Text (FieldValue will be a string), Checkbox (FieldValue can be "true" or "false"), ComboBox (FieldComboBoxSelectedIndex will also be populated), Other
PdfFormFields
dataclass
PdfFormFields(*, form_fields: Optional[List[PdfFormField | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
PdfMetadata
dataclass
PdfMetadata(*, author: Optional[str] = None, creator: Optional[str] = None, date_created: Optional[str] = None, date_modified: Optional[str] = None, keywords: Optional[str] = None, page_count: Optional[int] = None, subject: Optional[str] = None, successful: Optional[bool] = None, title: Optional[str] = None)
Definition: PdfMetadata
Attributes
author
class-attribute
instance-attribute
author: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Author'})
User name of the creator/author of the document, if available, null if not available
creator
class-attribute
instance-attribute
creator: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Creator'})
Creator of the document
date_created
class-attribute
instance-attribute
date_created: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'DateCreated'})
The timestamp that the document was created, if available, null if not available
date_modified
class-attribute
instance-attribute
date_modified: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'DateModified'})
The timestamp that the document was last modified, if available, null if not available
keywords
class-attribute
instance-attribute
keywords: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Keywords'})
Keywords of the document
page_count
class-attribute
instance-attribute
page_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'PageCount'})
The number of pages in the document
subject
class-attribute
instance-attribute
subject: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'Subject'})
Subject of the document
PdfPageText
dataclass
PdfTextByPageResult
dataclass
PdfTextByPageResult(*, pages: Optional[List[PdfPageText | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
PdfToPngResult
dataclass
PdfToPngResult(*, png_result_pages: Optional[List[ConvertedPngPage | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
PresentationResult
dataclass
PresentationResult(*, presentation_contents: Optional[str] = None, slide_number: Optional[int] = None, u_r_l: Optional[str] = None)
Definition: PresentationResult
Attributes
presentation_contents
class-attribute
instance-attribute
presentation_contents: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'PresentationContents'})
Contents of the presentation in bytes
RemoveDocxHeadersAndFootersRequest
dataclass
RemoveDocxHeadersAndFootersRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, remove_footers: Optional[bool] = None, remove_headers: Optional[bool] = None)
Definition: RemoveDocxHeadersAndFootersRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
RemoveDocxPagesRequest
dataclass
RemoveDocxPagesRequest(*, end_delete_page_number: Optional[int] = None, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, start_delete_page_number: Optional[int] = None)
Definition: RemoveDocxPagesRequest
Attributes
end_delete_page_number
class-attribute
instance-attribute
end_delete_page_number: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EndDeletePageNumber'})
Page number (1-based) to stop deleting pages; inclusive
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
RemoveHtmlFromTextRequest
dataclass
RemoveHtmlFromTextResponse
dataclass
RemoveHtmlFromTextResponse(*, successful: Optional[bool] = None, text_content_result: Optional[str] = None)
RemovePptxSlidesRequest
dataclass
RemovePptxSlidesRequest(*, end_delete_slide_number: Optional[int] = None, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, start_delete_slide_number: Optional[int] = None)
Definition: RemovePptxSlidesRequest
Attributes
end_delete_slide_number
class-attribute
instance-attribute
end_delete_slide_number: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'EndDeleteSlideNumber'})
Slide number (1-based) to stop deleting slides; inclusive
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
RemoveWhitespaceFromTextRequest
dataclass
Definition: RemoveWhitespaceFromTextRequest
RemoveWhitespaceFromTextResponse
dataclass
RemoveWhitespaceFromTextResponse(*, successful: Optional[bool] = None, text_content_result: Optional[str] = None)
RemoveXlsxWorksheetRequest
dataclass
RemoveXlsxWorksheetRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, worksheet_to_remove: Optional[XlsxWorksheet | Mapping[str, Any]] = None)
Definition: RemoveXlsxWorksheetRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
worksheet_to_remove
class-attribute
instance-attribute
worksheet_to_remove: Optional[XlsxWorksheet | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'WorksheetToRemove'})
Required; Worksheet (tab) within the spreadsheet to delete; leave blank to default to the first worksheet. Use the Get Worksheets API to enumerate available worksheets in a spreadsheet.
ReplaceStringRegexRequest
dataclass
ReplaceStringRegexRequest(*, regular_expression_string: Optional[str] = None, replace_with_string: Optional[str] = None, text_content: Optional[str] = None)
Definition: ReplaceStringRegexRequest
Attributes
regular_expression_string
class-attribute
instance-attribute
regular_expression_string: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'RegularExpressionString'})
Target input regular expression (regex) string to match and be replaced; supports all regular expression values
replace_with_string
class-attribute
instance-attribute
replace_with_string: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ReplaceWithString'})
Replacement for target string; supports referencing indexed regex matched values from RegularExpressionString, such as $1, $2, and so on
ReplaceStringRegexResponse
dataclass
ReplaceStringRegexResponse(*, successful: Optional[bool] = None, text_content_result: Optional[str] = None)
ReplaceStringRequest
dataclass
ReplaceStringRequest(*, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, match_case: Optional[bool] = None, match_string: Optional[str] = None, replace_string: Optional[str] = None)
Definition: ReplaceStringRequest
Attributes
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
match_case
class-attribute
instance-attribute
match_case: Optional[bool] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'MatchCase'})
True if the case should be matched, false for case insensitive match
ReplaceStringSimpleRequest
dataclass
ReplaceStringSimpleRequest(*, replace_with_string: Optional[str] = None, target_string: Optional[str] = None, text_content: Optional[str] = None)
Definition: ReplaceStringSimpleRequest
Attributes
replace_with_string
class-attribute
instance-attribute
replace_with_string: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ReplaceWithString'})
Replacement for target string
ReplaceStringSimpleResponse
dataclass
ReplaceStringSimpleResponse(*, successful: Optional[bool] = None, text_content_result: Optional[str] = None)
ScreenshotRequest
dataclass
ScreenshotRequest(*, extra_loading_wait: Optional[int] = None, screenshot_height: Optional[int] = None, screenshot_width: Optional[int] = None, url: Optional[str] = None)
Definition: ScreenshotRequest
Attributes
extra_loading_wait
class-attribute
instance-attribute
extra_loading_wait: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ExtraLoadingWait'})
Optional: Additional number of milliseconds to wait once the web page has finished loading before taking the screenshot. Can be helpful for highly asynchronous websites. Provide a value of 0 for the default of 5000 milliseconds (5 seconds)
screenshot_height
class-attribute
instance-attribute
screenshot_height: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ScreenshotHeight'})
Optional: Height of the screenshot in pixels; supply 0 to default to 1280 x 1024, supply -1 to measure the full screen height of the page and attempt to take a screen-height screenshot
SetFormFieldValue
dataclass
SetFormFieldValue(*, checkbox_value: Optional[bool] = None, combo_box_selected_index: Optional[int] = None, field_name: Optional[str] = None, text_value: Optional[str] = None)
Definition: SetFormFieldValue
Attributes
checkbox_value
class-attribute
instance-attribute
checkbox_value: Optional[bool] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CheckboxValue'})
For fields of type Checkbox, the value to put into the field
combo_box_selected_index
class-attribute
instance-attribute
combo_box_selected_index: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ComboBoxSelectedIndex'})
For fields of type ComboBox; specifies the selected index of the combo box selection
SetPdfFormFieldsRequest
dataclass
SetPdfFormFieldsRequest(*, field_values: Optional[List[SetFormFieldValue | Mapping[str, Any]]] = None, input_file_bytes: Optional[str] = None)
SetPdfMetadataRequest
dataclass
SetPdfMetadataRequest(*, input_file_bytes: Optional[str] = None, metadata_to_set: Optional[PdfMetadata | Mapping[str, Any]] = None)
SetXlsxCellByIdentifierRequest
dataclass
SetXlsxCellByIdentifierRequest(*, cell_identifier: Optional[str] = None, cell_value: Optional[XlsxSpreadsheetCell | Mapping[str, Any]] = None, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, worksheet_to_update: Optional[XlsxWorksheet | Mapping[str, Any]] = None)
Definition: SetXlsxCellByIdentifierRequest
Attributes
cell_identifier
class-attribute
instance-attribute
cell_identifier: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellIdentifier'})
The Excel cell identifier (e.g. A1, B2, C33, etc.) of the cell to update
cell_value
class-attribute
instance-attribute
cell_value: Optional[XlsxSpreadsheetCell | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellValue'})
New Cell value to update/overwrite into the Excel XLSX spreadsheet
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
worksheet_to_update
class-attribute
instance-attribute
worksheet_to_update: Optional[XlsxWorksheet | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'WorksheetToUpdate'})
Optional; Worksheet (tab) within the spreadsheet to update; leave blank to default to the first worksheet
SetXlsxCellRequest
dataclass
SetXlsxCellRequest(*, cell_index: Optional[int] = None, cell_value: Optional[XlsxSpreadsheetCell | Mapping[str, Any]] = None, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, row_index: Optional[int] = None, worksheet_to_update: Optional[XlsxWorksheet | Mapping[str, Any]] = None)
Definition: SetXlsxCellRequest
Attributes
cell_index
class-attribute
instance-attribute
cell_index: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellIndex'})
0-based index of the cell, 0, 1, 2, ... in the row to set
cell_value
class-attribute
instance-attribute
cell_value: Optional[XlsxSpreadsheetCell | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellValue'})
New Cell value to update/overwrite into the Excel XLSX spreadsheet
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
row_index
class-attribute
instance-attribute
row_index: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'RowIndex'})
0-based index of the row, 0, 1, 2, ... to set
worksheet_to_update
class-attribute
instance-attribute
worksheet_to_update: Optional[XlsxWorksheet | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'WorksheetToUpdate'})
Optional; Worksheet (tab) within the spreadsheet to update; leave blank to default to the first worksheet
SplitDocumentResult
dataclass
SplitDocumentResult(*, document_contents: Optional[str] = None, page_number: Optional[int] = None, u_r_l: Optional[str] = None)
Definition: SplitDocumentResult
Attributes
document_contents
class-attribute
instance-attribute
document_contents: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'DocumentContents'})
Contents of the document in bytes
SplitDocxDocumentResult
dataclass
SplitPdfResult
dataclass
SplitPdfResult(*, documents: Optional[List[PdfDocument | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
SplitPptxPresentationResult
dataclass
SplitTextDocumentByLinesResult
dataclass
SplitTextDocumentByLinesResult(*, line_count: Optional[int] = None, result_lines: Optional[List[TextDocumentLine | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
SplitTextDocumentByStringResult
dataclass
SplitTextDocumentByStringResult(*, element_count: Optional[int] = None, result_elements: Optional[List[TextDocumentElement | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
SplitXlsxWorksheetResult
dataclass
TextConversionResult
dataclass
TextDocumentElement
dataclass
TextDocumentElement(*, element_contents: Optional[str] = None, element_number: Optional[int] = None)
TextDocumentLine
dataclass
TextEncodingDetectResponse
dataclass
TextEncodingDetectResponse(*, successful: Optional[bool] = None, text_encoding: Optional[str] = None)
UpdateDocxTableCellRequest
dataclass
UpdateDocxTableCellRequest(*, cell_to_update: Optional[DocxTableCell | Mapping[str, Any]] = None, existing_table_path: Optional[str] = None, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, table_cell_index: Optional[int] = None, table_row_index: Optional[int] = None)
Definition: UpdateDocxTableCellRequest
Attributes
cell_to_update
class-attribute
instance-attribute
cell_to_update: Optional[DocxTableCell | Mapping[str, Any]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellToUpdate'})
Table cell contents you would like to update the cell with
existing_table_path
class-attribute
instance-attribute
existing_table_path: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ExistingTablePath'})
Required; the path to the existing table to modify
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
UpdateDocxTableRowRequest
dataclass
UpdateDocxTableRowRequest(*, existing_table_path: Optional[str] = None, input_file_bytes: Optional[str] = None, input_file_url: Optional[str] = None, row_to_update: Optional[DocxTableRow | Mapping[str, Any]] = None, table_row_index: Optional[int] = None)
Definition: UpdateDocxTableRowRequest
Attributes
existing_table_path
class-attribute
instance-attribute
existing_table_path: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ExistingTablePath'})
Required; the path to the existing table to modify
input_file_bytes
class-attribute
instance-attribute
input_file_bytes: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileBytes'})
Optional: Bytes of the input file to operate on
input_file_url
class-attribute
instance-attribute
input_file_url: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'InputFileUrl'})
Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
UrlToTextRequest
dataclass
ViewerResponse
dataclass
Definition: ViewerResponse
WorksheetResult
dataclass
WorksheetResult(*, u_r_l: Optional[str] = None, worksheet_contents: Optional[str] = None, worksheet_name: Optional[str] = None, worksheet_number: Optional[int] = None)
Definition: WorksheetResult
Attributes
u_r_l
class-attribute
instance-attribute
URL to the XLSX file of this worksheet; file is stored in an in-memory cache and will be deleted
worksheet_contents
class-attribute
instance-attribute
worksheet_contents: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'WorksheetContents'})
Contents of the worksheet in bytes
XlsxImage
dataclass
XlsxImage(*, image_contents_u_r_l: Optional[str] = None, image_data_content_type: Optional[str] = None, image_data_embed_id: Optional[str] = None, image_internal_file_name: Optional[str] = None, path: Optional[str] = None)
Definition: XlsxImage
Attributes
image_contents_u_r_l
class-attribute
instance-attribute
image_contents_u_r_l: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ImageContentsURL'})
URL to the image contents; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the contents.
image_data_content_type
class-attribute
instance-attribute
image_data_content_type: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ImageDataContentType'})
Read-only; image data MIME content-type
image_data_embed_id
class-attribute
instance-attribute
image_data_embed_id: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ImageDataEmbedId'})
Read-only; internal ID for the image contents
XlsxSpreadsheetCell
dataclass
XlsxSpreadsheetCell(*, cell_identifier: Optional[str] = None, formula: Optional[str] = None, path: Optional[str] = None, style_index: Optional[int] = None, text_value: Optional[str] = None)
Definition: XlsxSpreadsheetCell
Attributes
cell_identifier
class-attribute
instance-attribute
cell_identifier: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'CellIdentifier'})
Cell reference of the cell, e.g. A1, Z22, etc.
path
class-attribute
instance-attribute
The Path of the location of this object; leave blank for new rows
XlsxSpreadsheetColumn
dataclass
XlsxSpreadsheetColumn(*, heading_cell: Optional[XlsxSpreadsheetCell | Mapping[str, Any]] = None, path: Optional[str] = None)
XlsxSpreadsheetRow
dataclass
XlsxSpreadsheetRow(*, cells: Optional[List[XlsxSpreadsheetCell | Mapping[str, Any]]] = None, path: Optional[str] = None)
XlsxWorksheet
dataclass
Definition: XlsxWorksheet
Attributes
path
class-attribute
instance-attribute
The Path of the location of this object; leave blank for new worksheets
XmlAddAttributeWithXPathResult
dataclass
XmlAddAttributeWithXPathResult(*, nodes_edited_count: Optional[int] = None, resulting_xml_document: Optional[str] = None, successful: Optional[bool] = None)
Definition: XmlAddAttributeWithXPathResult
Attributes
nodes_edited_count
class-attribute
instance-attribute
nodes_edited_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'NodesEditedCount'})
Count of the matching results
XmlAddChildWithXPathResult
dataclass
XmlAddChildWithXPathResult(*, nodes_edited_count: Optional[int] = None, resulting_xml_document: Optional[str] = None, successful: Optional[bool] = None)
Definition: XmlAddChildWithXPathResult
Attributes
nodes_edited_count
class-attribute
instance-attribute
nodes_edited_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'NodesEditedCount'})
Count of the matching results
XmlFilterWithXPathResult
dataclass
XmlFilterWithXPathResult(*, result_count: Optional[int] = None, successful: Optional[bool] = None, xml_nodes: Optional[List[str]] = None)
Definition: XmlFilterWithXPathResult
Attributes
result_count
class-attribute
instance-attribute
result_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ResultCount'})
Count of the matching results
XmlQueryWithXQueryMultiResult
dataclass
XmlQueryWithXQueryMultiResult(*, error_message: Optional[str] = None, resulting_xml: Optional[str] = None, successful: Optional[bool] = None)
Definition: XmlQueryWithXQueryMultiResult
Attributes
error_message
class-attribute
instance-attribute
error_message: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ErrorMessage'})
If an error occurs, additional details on the error
XmlQueryWithXQueryResult
dataclass
XmlQueryWithXQueryResult(*, error_message: Optional[str] = None, resulting_xml: Optional[str] = None, successful: Optional[bool] = None)
Definition: XmlQueryWithXQueryResult
Attributes
error_message
class-attribute
instance-attribute
error_message: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ErrorMessage'})
If an error occurs, additional details on the error
XmlRemoveAllChildrenWithXPathResult
dataclass
XmlRemoveAllChildrenWithXPathResult(*, nodes_edited_count: Optional[int] = None, resulting_xml_document: Optional[str] = None, successful: Optional[bool] = None)
Definition: XmlRemoveAllChildrenWithXPathResult
Attributes
nodes_edited_count
class-attribute
instance-attribute
nodes_edited_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'NodesEditedCount'})
Count of the matching results
XmlRemoveWithXPathResult
dataclass
XmlRemoveWithXPathResult(*, nodes_removed_count: Optional[int] = None, resulting_xml_document: Optional[str] = None, successful: Optional[bool] = None, xml_nodes_removed: Optional[List[str]] = None)
Definition: XmlRemoveWithXPathResult
Attributes
nodes_removed_count
class-attribute
instance-attribute
nodes_removed_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'NodesRemovedCount'})
Count of the matching results
resulting_xml_document
class-attribute
instance-attribute
resulting_xml_document: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'ResultingXmlDocument'})
Resulting, modified XML document with matching nodes removed as a string
XmlReplaceWithXPathResult
dataclass
XmlReplaceWithXPathResult(*, nodes_edited_count: Optional[int] = None, resulting_xml_document: Optional[str] = None, successful: Optional[bool] = None)
Definition: XmlReplaceWithXPathResult
Attributes
nodes_edited_count
class-attribute
instance-attribute
nodes_edited_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'NodesEditedCount'})
Count of the matching results
XmlSetValueWithXPathResult
dataclass
XmlSetValueWithXPathResult(*, nodes_edited_count: Optional[int] = None, resulting_xml_document: Optional[str] = None, successful: Optional[bool] = None)
Definition: XmlSetValueWithXPathResult
Attributes
nodes_edited_count
class-attribute
instance-attribute
nodes_edited_count: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'NodesEditedCount'})
Count of the matching results
ZipDirectory
dataclass
ZipDirectory(*, directories_in_directory: Optional[List[ZipDirectory | Mapping[str, Any]]] = None, directory_name: Optional[str] = None, files_in_directory: Optional[List[ZipFile | Mapping[str, Any]]] = None)
Definition: ZipDirectory
Attributes
directories_in_directory
class-attribute
instance-attribute
directories_in_directory: Optional[List[ZipDirectory | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'DirectoriesInDirectory'})
Child directories contained directly in this directory
ZipExtractResponse
dataclass
ZipExtractResponse(*, directories_in_zip: Optional[List[ZipDirectory | Mapping[str, Any]]] = None, files_in_zip: Optional[List[ZipFile | Mapping[str, Any]]] = None, successful: Optional[bool] = None)
Definition: ZipExtractResponse
Attributes
directories_in_zip
class-attribute
instance-attribute
directories_in_zip: Optional[List[ZipDirectory | Mapping[str, Any]]] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'DirectoriesInZip'})
Top-level directories in the root directory of the zip; directories can contain sub-directories and files
ZipFile
dataclass
CloudmersiveconvertClient
CloudmersiveconvertClient(connection_runtime_url: str, credential: AsyncTokenCredential | AzureKeyCredential, *, max_retry_attempts: int = 3, timeout: float = 30.0, use_exponential_backoff: bool = True, initial_retry_delay_seconds: float = 0.5, maximum_retry_delay_seconds: float = 120.0, retry_jitter_factor: float = 0.1, retry_unsafe_http_methods: bool = False, transport: Optional[AsyncHttpTransport] = None, **kwargs: Any)
Bases: ConnectorClientBase
Typed client for cloudmersiveconvert connector.
Initialize a CloudmersiveconvertClient.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
connection_runtime_url
|
str
|
The connection runtime URL from Azure Portal. |
required |
credential
|
AsyncTokenCredential | AzureKeyCredential
|
Caller-owned Azure Core credential. |
required |
max_retry_attempts
|
int
|
The maximum number of request attempts. |
3
|
timeout
|
float
|
The network timeout in seconds for each request. The value configures Azure Core retry and transport deadlines. Nonpositive values disable SDK and transport deadlines. |
30.0
|
use_exponential_backoff
|
bool
|
Whether retries use exponential backoff. |
True
|
initial_retry_delay_seconds
|
float
|
The initial retry delay in seconds. |
0.5
|
maximum_retry_delay_seconds
|
float
|
The maximum retry delay in seconds. |
120.0
|
retry_jitter_factor
|
float
|
The jitter fraction applied to retry delays. |
0.1
|
retry_unsafe_http_methods
|
bool
|
Whether unsafe HTTP methods may be retried. |
False
|
transport
|
Optional[AsyncHttpTransport]
|
Optional Azure Core async HTTP transport closed by the client through its asynchronous lifecycle. |
None
|
**kwargs
|
Any
|
Optional Azure Core pipeline policy settings. |
{}
|
Methods:
edit_document_docx_create_blank_document
async
edit_document_docx_create_blank_document(input: CreateBlankDocxRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Create a blank Word DOCX document
Returns a blank Word DOCX Document format file. The file is blank, with no contents. Use additional editing commands such as Insert Paragraph or Insert Table or Insert Image to populate the document.
Swagger operation ID: EditDocument_DocxCreateBlankDocument.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateBlankDocxRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_delete_pages
async
edit_document_docx_delete_pages(input: RemoveDocxPagesRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> bytes
Delete, remove pages from a Word DOCX document
Returns the edited Word Document in the Word Document (DOCX) format file with the specified pages removed
Swagger operation ID: EditDocument_DocxDeletePages.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
RemoveDocxPagesRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
bytes |
bytes
|
The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_delete_table_row
async
edit_document_docx_delete_table_row(input: DeleteDocxTableRowRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Deletes a table row in an existing table in a Word DOCX document
Deletes an existing table row in a Word DOCX Document and returns the result.
Swagger operation ID: EditDocument_DocxDeleteTableRow.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DeleteDocxTableRowRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_delete_table_row_range
async
edit_document_docx_delete_table_row_range(input: DeleteDocxTableRowRangeRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Deletes a range of multiple table rows in an existing table in a Word
Deletes a range of 1 or more existing table rows in a Word DOCX Document and returns the result.
Swagger operation ID: EditDocument_DocxDeleteTableRowRange.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DeleteDocxTableRowRangeRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_body
async
edit_document_docx_body(input: GetDocxBodyRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get body from a Word DOCX document
Returns the body defined in the Word Document (DOCX) format file; this is the main content part of a DOCX document
Swagger operation ID: EditDocument_DocxBody.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetDocxBodyRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_get_comments_hierarchical
async
edit_document_docx_get_comments_hierarchical(input: GetDocxGetCommentsHierarchicalRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get comments from a Word DOCX document hierarchically
Returns the comments and review annotations stored in the Word Document (DOCX) format file hierarchically, where reply comments are nested as children under top-level comments in the results returned.
Swagger operation ID: EditDocument_DocxGetCommentsHierarchical.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetDocxGetCommentsHierarchicalRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_get_headers_and_footers
async
edit_document_docx_get_headers_and_footers(input: GetDocxHeadersAndFootersRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get content of a footer from a Word DOCX document
Returns the footer content from a Word Document (DOCX) format file
Swagger operation ID: EditDocument_DocxGetHeadersAndFooters.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetDocxHeadersAndFootersRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_get_images
async
edit_document_docx_get_images(input: GetDocxImagesRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get images from a Word DOCX document
Returns the images defined in the Word Document (DOCX) format file
Swagger operation ID: EditDocument_DocxGetImages.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetDocxImagesRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_pages
async
edit_document_docx_pages(input: GetDocxPagesRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get pages and content from a Word DOCX document
Returns the pages and contents of each page defined in the Word Document (DOCX) format file
Swagger operation ID: EditDocument_DocxPages.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetDocxPagesRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_get_sections
async
edit_document_docx_get_sections(input: GetDocxSectionsRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get sections from a Word DOCX document
Returns the sections defined in the Word Document (DOCX) format file
Swagger operation ID: EditDocument_DocxGetSections.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetDocxSectionsRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_get_styles
async
edit_document_docx_get_styles(input: GetDocxStylesRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get styles from a Word DOCX document
Returns the styles defined in the Word Document (DOCX) format file
Swagger operation ID: EditDocument_DocxGetStyles.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetDocxStylesRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_get_table_row
async
edit_document_docx_get_table_row(input: GetDocxTableRowRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Gets the contents of an existing table row in an existing table in a W
Gets the contents of an existing table row in a Word DOCX Document and returns the result.
Swagger operation ID: EditDocument_DocxGetTableRow.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetDocxTableRowRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_get_table_by_index
async
edit_document_docx_get_table_by_index(input: GetDocxTableByIndexRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get a specific table by index in a Word DOCX document
Returns the specific table object by its 0-based index in an Office Word Document (DOCX)
Swagger operation ID: EditDocument_DocxGetTableByIndex.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetDocxTableByIndexRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_get_tables
async
edit_document_docx_get_tables(input: GetDocxTablesRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get all tables in Word DOCX document
Returns all the table objects in an Office Word Document (docx)
Swagger operation ID: EditDocument_DocxGetTables.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetDocxTablesRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_insert_comment_on_paragraph
async
edit_document_docx_insert_comment_on_paragraph(input: DocxInsertCommentOnParagraphRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Insert a new comment into a Word DOCX document attached to a paragraph
Adds a new comment into a Word DOCX document attached to a paragraph and returns the result. Call Finish Editing on the output URL to complete the operation.
Swagger operation ID: EditDocument_DocxInsertCommentOnParagraph.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DocxInsertCommentOnParagraphRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_insert_image
async
edit_document_docx_insert_image(input: DocxInsertImageRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Insert image into a Word DOCX document
Set the footer in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
Swagger operation ID: EditDocument_DocxInsertImage.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DocxInsertImageRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_insert_paragraph
async
edit_document_docx_insert_paragraph(input: InsertDocxInsertParagraphRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Insert a new paragraph into a Word DOCX document
Adds a new paragraph into a DOCX and returns the result. You can insert at the beginning/end of a document, or before/after an existing object using its Path (location within the document). Call Finish Editing on the output URL to complete the operation.
Swagger operation ID: EditDocument_DocxInsertParagraph.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
InsertDocxInsertParagraphRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_insert_table
async
edit_document_docx_insert_table(input: InsertDocxTablesRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Insert a new table into a Word DOCX document
Adds a new table into a DOCX and returns the result. Call Finish Editing on the output URL to complete the operation.
Swagger operation ID: EditDocument_DocxInsertTable.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
InsertDocxTablesRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_insert_table_row
async
edit_document_docx_insert_table_row(input: InsertDocxTableRowRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Insert a new row into an existing table in a Word DOCX document
Adds a new table row into a DOCX Document and returns the result. Call Finish Editing on the output URL to complete the operation.
Swagger operation ID: EditDocument_DocxInsertTableRow.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
InsertDocxTableRowRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_remove_headers_and_footers
async
edit_document_docx_remove_headers_and_footers(input: RemoveDocxHeadersAndFootersRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Remove headers and footers from Word DOCX document
Remove all headers, or footers, or both from a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
Swagger operation ID: EditDocument_DocxRemoveHeadersAndFooters.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
RemoveDocxHeadersAndFootersRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_remove_object
async
edit_document_docx_remove_object(input: DocxRemoveObjectRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Delete any object in a Word DOCX document
Delete any object, such as a paragraph, table, image, etc. from a Word Document (DOCX). Pass in the Path of the object you would like to delete. You can call other functions such as Get-Tables, Get-Images, Get-Body, etc. to get the paths of the objects in the document. Call Finish Editing on the output URL to complete the operation.
Swagger operation ID: EditDocument_DocxRemoveObject.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DocxRemoveObjectRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_replace
async
edit_document_docx_replace(input: ReplaceStringRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> bytes
Replace string in Word DOCX document
Replace all instances of a string in an Office Word Document (docx)
Swagger operation ID: EditDocument_DocxReplace.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ReplaceStringRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
bytes |
bytes
|
The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_set_footer
async
edit_document_docx_set_footer(input: DocxSetFooterRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Set the footer in a Word DOCX document
Set the footer in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
Swagger operation ID: EditDocument_DocxSetFooter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DocxSetFooterRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_set_footer_add_page_number
async
edit_document_docx_set_footer_add_page_number(input: DocxSetFooterAddPageNumberRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Add page number to footer in a Word DOCX document
Set the footer in a Word Document (DOCX) to contain a page number. Call Finish Editing on the output URL to complete the operation.
Swagger operation ID: EditDocument_DocxSetFooterAddPageNumber.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DocxSetFooterAddPageNumberRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_set_header
async
edit_document_docx_set_header(input: DocxSetHeaderRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Set the header in a Word DOCX document
Set the header in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
Swagger operation ID: EditDocument_DocxSetHeader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DocxSetHeaderRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_update_table_cell
async
edit_document_docx_update_table_cell(input: UpdateDocxTableCellRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Update, set contents of a table cell in an existing table in a Word DO
Sets the contents of a table cell into a DOCX Document and returns the result. Call Finish Editing on the output URL to complete the operation.
Swagger operation ID: EditDocument_DocxUpdateTableCell.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
UpdateDocxTableCellRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_docx_update_table_row
async
edit_document_docx_update_table_row(input: UpdateDocxTableRowRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Update, set contents of a table row in an existing table in a Word DOCX document
Sets the contents of a table row into a DOCX Document and returns the result. Call Finish Editing on the output URL to complete the operation.
Swagger operation ID: EditDocument_DocxUpdateTableRow.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
UpdateDocxTableRowRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_finish_editing
async
edit_document_finish_editing(input: FinishEditingRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> bytes
Finish editing document, and download result from document editing
Once done editing a document, download the result. Begin editing a document by calling begin-editing, then perform operations, then call finish-editing to get the result.
Swagger operation ID: EditDocument_FinishEditing.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
FinishEditingRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
bytes |
bytes
|
The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_pptx_delete_slides
async
edit_document_pptx_delete_slides(input: RemovePptxSlidesRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> bytes
Delete, remove slides from a PowerPoint PPTX presentation document
Edits the input PowerPoint PPTX presentation document to remove the specified slides
Swagger operation ID: EditDocument_PptxDeleteSlides.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
RemovePptxSlidesRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
bytes |
bytes
|
The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_pptx_replace
async
edit_document_pptx_replace(input: ReplaceStringRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> bytes
Replace string in PowerPoint PPTX presentation
Replace all instances of a string in an Office PowerPoint Document (pptx)
Swagger operation ID: EditDocument_PptxReplace.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ReplaceStringRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
bytes |
bytes
|
The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_xlsx_clear_cell_by_index
async
edit_document_xlsx_clear_cell_by_index(input: ClearXlsxCellRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Clear cell contents in an Excel XLSX spreadsheet, worksheet by index
Clears, sets to blank, the contents of a specific cell in an Excel XLSX spreadsheet, worksheet
Swagger operation ID: EditDocument_XlsxClearCellByIndex.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ClearXlsxCellRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_xlsx_create_blank_spreadsheet
async
edit_document_xlsx_create_blank_spreadsheet(input: CreateBlankSpreadsheetRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Create a blank Excel XLSX spreadsheet
Returns a blank Excel XLSX Spreadsheet (XLSX) format file
Swagger operation ID: EditDocument_XlsxCreateBlankSpreadsheet.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateBlankSpreadsheetRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_xlsx_create_spreadsheet_from_data
async
edit_document_xlsx_create_spreadsheet_from_data(input: CreateSpreadsheetFromDataRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Create a new Excel XLSX spreadsheet from column and row data
Returns a new Excel XLSX Spreadsheet (XLSX) format file populated with column and row data specified as input
Swagger operation ID: EditDocument_XlsxCreateSpreadsheetFromData.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateSpreadsheetFromDataRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_xlsx_delete_worksheet
async
edit_document_xlsx_delete_worksheet(input: RemoveXlsxWorksheetRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Delete, remove worksheet from an Excel XLSX spreadsheet document
Edits the input Excel XLSX spreadsheet document to remove the specified worksheet (tab). Use the Get Worksheets API to enumerate available worksheets in a spreadsheet.
Swagger operation ID: EditDocument_XlsxDeleteWorksheet.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
RemoveXlsxWorksheetRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_xlsx_get_cell_by_identifier
async
edit_document_xlsx_get_cell_by_identifier(input: GetXlsxCellByIdentifierRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier
Returns the value of a specific cell based on its identifier (e.g. A1, B22, C33, etc.) in the Excel Spreadsheet worksheet
Swagger operation ID: EditDocument_XlsxGetCellByIdentifier.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetXlsxCellByIdentifierRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_xlsx_get_cell_by_index
async
edit_document_xlsx_get_cell_by_index(input: GetXlsxCellRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get cell from an Excel XLSX spreadsheet, worksheet by index
Returns the value and definition of a specific cell in a specific row in the Excel Spreadsheet worksheet
Swagger operation ID: EditDocument_XlsxGetCellByIndex.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetXlsxCellRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_xlsx_get_columns
async
edit_document_xlsx_get_columns(input: GetXlsxColumnsRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get rows and cells from a Excel XLSX spreadsheet, worksheet
Returns the rows and cells defined in the Excel Spreadsheet worksheet
Swagger operation ID: EditDocument_XlsxGetColumns.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetXlsxColumnsRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_xlsx_get_images
async
edit_document_xlsx_get_images(input: GetXlsxImagesRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get images from a Excel XLSX spreadsheet, worksheet
Returns the images defined in the Excel Spreadsheet worksheet
Swagger operation ID: EditDocument_XlsxGetImages.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetXlsxImagesRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_xlsx_get_rows_and_cells
async
edit_document_xlsx_get_rows_and_cells(input: GetXlsxRowsAndCellsRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get rows and cells from a Excel XLSX spreadsheet, worksheet
Returns the rows and cells defined in the Excel Spreadsheet worksheet
Swagger operation ID: EditDocument_XlsxGetRowsAndCells.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetXlsxRowsAndCellsRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_xlsx_get_styles
async
edit_document_xlsx_get_styles(input: GetXlsxStylesRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get styles from a Excel XLSX spreadsheet, worksheet
Returns the style defined in the Excel Spreadsheet
Swagger operation ID: EditDocument_XlsxGetStyles.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetXlsxStylesRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_xlsx_get_worksheets
async
edit_document_xlsx_get_worksheets(input: GetXlsxWorksheetsRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get worksheets from a Excel XLSX spreadsheet
Returns the worksheets (tabs) defined in the Excel Spreadsheet (XLSX) format file
Swagger operation ID: EditDocument_XlsxGetWorksheets.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetXlsxWorksheetsRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_xlsx_insert_worksheet
async
edit_document_xlsx_insert_worksheet(input: InsertXlsxWorksheetRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Insert a new worksheet into an Excel XLSX spreadsheet
Inserts a new worksheet into an Excel Spreadsheet
Swagger operation ID: EditDocument_XlsxInsertWorksheet.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
InsertXlsxWorksheetRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_xlsx_set_cell_by_identifier
async
edit_document_xlsx_set_cell_by_identifier(input: SetXlsxCellByIdentifierRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Set, update cell contents in an Excel XLSX spreadsheet, worksheet by c
Sets, updates the contents of a specific cell in an Excel XLSX spreadsheet, worksheet using its cell identifier (e.g. A1, B22, C33) in the worksheet
Swagger operation ID: EditDocument_XlsxSetCellByIdentifier.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
SetXlsxCellByIdentifierRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
edit_document_xlsx_set_cell_by_index
async
edit_document_xlsx_set_cell_by_index(input: SetXlsxCellRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Set, update cell contents in an Excel XLSX spreadsheet, worksheet by index
Sets, updates the contents of a specific cell in an Excel XLSX spreadsheet, worksheet
Swagger operation ID: EditDocument_XlsxSetCellByIndex.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
SetXlsxCellRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
convert_web_html_to_docx
async
convert_web_html_to_docx(input: HtmlToOfficeRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> bytes
Convert HTML to Word DOCX Document
Convert HTML to Office Word Document (DOCX) format
Swagger operation ID: ConvertWeb_HtmlToDocx.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
HtmlToOfficeRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
bytes |
bytes
|
The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
convert_data_json_to_xml
async
convert_data_json_to_xml(input: ConvertDataJsonToXmlInput | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Convert JSON to XML conversion
Convert a JSON object into XML
Swagger operation ID: ConvertData_JsonToXml.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ConvertDataJsonToXmlInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
convert_template_apply_html_template
async
convert_template_apply_html_template(input: HtmlTemplateApplicationRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Apply HTML template
Apply operations to fill in an HTML template, generating a final HTML result
Swagger operation ID: ConvertTemplate_ApplyHtmlTemplate.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
HtmlTemplateApplicationRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
convert_web_html_to_pdf
async
convert_web_html_to_pdf(input: HtmlToPdfRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> bytes
Convert HTML string to PDF
Fully renders a website and returns a PDF of the HTML. Javascript, HTML5, CSS and other advanced features are all supported.
Swagger operation ID: ConvertWeb_HtmlToPdf.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
HtmlToPdfRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
bytes |
bytes
|
The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
convert_web_html_to_png
async
convert_web_html_to_png(input: HtmlToPngRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Convert HTML string to PNG screenshot
Fully renders a website and returns a PNG (screenshot) of the HTML. Javascript, HTML5, CSS and other advanced features are all supported.
Swagger operation ID: ConvertWeb_HtmlToPng.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
HtmlToPngRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
convert_web_html_to_txt
async
convert_web_html_to_txt(input: HtmlToTextRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Convert HTML string to text (txt)
Converts an HTML string input into text (txt); extracts text from HTML
Swagger operation ID: ConvertWeb_HtmlToTxt.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
HtmlToTextRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
convert_web_url_to_pdf
async
convert_web_url_to_pdf(input: ScreenshotRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> bytes
Convert a URL to PDF
Fully renders a website and returns a PDF of the full page. Javascript, HTML5, CSS and other advanced features are all supported.
Swagger operation ID: ConvertWeb_UrlToPdf.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ScreenshotRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
bytes |
bytes
|
The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
convert_web_url_to_screenshot
async
convert_web_url_to_screenshot(input: ScreenshotRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> bytes
Take screenshot of URL
Fully renders a website and returns a PNG screenshot of the full page image. Javascript, HTML5, CSS and other advanced features are all supported.
Swagger operation ID: ConvertWeb_UrlToScreenshot.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ScreenshotRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
bytes |
bytes
|
The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
convert_web_url_to_txt
async
convert_web_url_to_txt(input: UrlToTextRequest | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Convert website URL page to text (txt)
Converts a website URL page into text (txt); extracts text from HTML
Swagger operation ID: ConvertWeb_UrlToTxt.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
UrlToTextRequest | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |