words_ruby_sdk 18.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/words_ruby_sdk.rb +225 -0
- data/lib/words_ruby_sdk/api/words_api.rb +10654 -0
- data/lib/words_ruby_sdk/api_client.rb +403 -0
- data/lib/words_ruby_sdk/api_error.rb +54 -0
- data/lib/words_ruby_sdk/configuration.rb +203 -0
- data/lib/words_ruby_sdk/models/aspose_response.rb +222 -0
- data/lib/words_ruby_sdk/models/bmp_save_options_data.rb +477 -0
- data/lib/words_ruby_sdk/models/bookmark.rb +227 -0
- data/lib/words_ruby_sdk/models/bookmark_data.rb +217 -0
- data/lib/words_ruby_sdk/models/bookmark_response.rb +232 -0
- data/lib/words_ruby_sdk/models/bookmarks.rb +219 -0
- data/lib/words_ruby_sdk/models/bookmarks_outline_level_data.rb +222 -0
- data/lib/words_ruby_sdk/models/bookmarks_response.rb +232 -0
- data/lib/words_ruby_sdk/models/border.rb +320 -0
- data/lib/words_ruby_sdk/models/border_response.rb +232 -0
- data/lib/words_ruby_sdk/models/borders_collection.rb +219 -0
- data/lib/words_ruby_sdk/models/borders_response.rb +232 -0
- data/lib/words_ruby_sdk/models/classification_response.rb +254 -0
- data/lib/words_ruby_sdk/models/classification_result.rb +222 -0
- data/lib/words_ruby_sdk/models/comment.rb +277 -0
- data/lib/words_ruby_sdk/models/comment_link.rb +207 -0
- data/lib/words_ruby_sdk/models/comment_response.rb +232 -0
- data/lib/words_ruby_sdk/models/comments_collection.rb +219 -0
- data/lib/words_ruby_sdk/models/comments_response.rb +232 -0
- data/lib/words_ruby_sdk/models/compare_data.rb +227 -0
- data/lib/words_ruby_sdk/models/doc_save_options_data.rb +307 -0
- data/lib/words_ruby_sdk/models/document.rb +311 -0
- data/lib/words_ruby_sdk/models/document_entry.rb +217 -0
- data/lib/words_ruby_sdk/models/document_entry_list.rb +209 -0
- data/lib/words_ruby_sdk/models/document_position.rb +217 -0
- data/lib/words_ruby_sdk/models/document_properties.rb +219 -0
- data/lib/words_ruby_sdk/models/document_properties_response.rb +232 -0
- data/lib/words_ruby_sdk/models/document_property.rb +237 -0
- data/lib/words_ruby_sdk/models/document_property_response.rb +232 -0
- data/lib/words_ruby_sdk/models/document_response.rb +232 -0
- data/lib/words_ruby_sdk/models/document_stat_data.rb +264 -0
- data/lib/words_ruby_sdk/models/downsample_options_data.rb +227 -0
- data/lib/words_ruby_sdk/models/drawing_object.rb +388 -0
- data/lib/words_ruby_sdk/models/drawing_object_collection.rb +219 -0
- data/lib/words_ruby_sdk/models/drawing_object_link.rb +217 -0
- data/lib/words_ruby_sdk/models/drawing_object_response.rb +232 -0
- data/lib/words_ruby_sdk/models/drawing_objects_response.rb +232 -0
- data/lib/words_ruby_sdk/models/emf_save_options_data.rb +477 -0
- data/lib/words_ruby_sdk/models/epub_save_options_data.rb +746 -0
- data/lib/words_ruby_sdk/models/field.rb +247 -0
- data/lib/words_ruby_sdk/models/field_collection.rb +219 -0
- data/lib/words_ruby_sdk/models/field_link.rb +227 -0
- data/lib/words_ruby_sdk/models/field_names.rb +219 -0
- data/lib/words_ruby_sdk/models/field_names_response.rb +232 -0
- data/lib/words_ruby_sdk/models/field_response.rb +232 -0
- data/lib/words_ruby_sdk/models/fields_response.rb +232 -0
- data/lib/words_ruby_sdk/models/file_link.rb +237 -0
- data/lib/words_ruby_sdk/models/fixed_page_save_options_data.rb +347 -0
- data/lib/words_ruby_sdk/models/font.rb +676 -0
- data/lib/words_ruby_sdk/models/font_response.rb +232 -0
- data/lib/words_ruby_sdk/models/footnote.rb +304 -0
- data/lib/words_ruby_sdk/models/footnote_collection.rb +219 -0
- data/lib/words_ruby_sdk/models/footnote_link.rb +217 -0
- data/lib/words_ruby_sdk/models/footnote_response.rb +232 -0
- data/lib/words_ruby_sdk/models/footnotes_response.rb +232 -0
- data/lib/words_ruby_sdk/models/footnotes_stat_data.rb +227 -0
- data/lib/words_ruby_sdk/models/form_field.rb +307 -0
- data/lib/words_ruby_sdk/models/form_field_checkbox.rb +337 -0
- data/lib/words_ruby_sdk/models/form_field_collection.rb +219 -0
- data/lib/words_ruby_sdk/models/form_field_drop_down.rb +329 -0
- data/lib/words_ruby_sdk/models/form_field_response.rb +232 -0
- data/lib/words_ruby_sdk/models/form_field_text_input.rb +384 -0
- data/lib/words_ruby_sdk/models/form_fields_response.rb +232 -0
- data/lib/words_ruby_sdk/models/gif_save_options_data.rb +477 -0
- data/lib/words_ruby_sdk/models/graphics_quality_options_data.rb +358 -0
- data/lib/words_ruby_sdk/models/header_footer.rb +274 -0
- data/lib/words_ruby_sdk/models/header_footer_link.rb +254 -0
- data/lib/words_ruby_sdk/models/header_footer_link_collection.rb +219 -0
- data/lib/words_ruby_sdk/models/header_footer_response.rb +232 -0
- data/lib/words_ruby_sdk/models/header_footers_response.rb +232 -0
- data/lib/words_ruby_sdk/models/html_fixed_save_options_data.rb +467 -0
- data/lib/words_ruby_sdk/models/html_save_options_data.rb +736 -0
- data/lib/words_ruby_sdk/models/hyperlink.rb +227 -0
- data/lib/words_ruby_sdk/models/hyperlink_response.rb +232 -0
- data/lib/words_ruby_sdk/models/hyperlinks.rb +219 -0
- data/lib/words_ruby_sdk/models/hyperlinks_response.rb +232 -0
- data/lib/words_ruby_sdk/models/image_save_options_data.rb +477 -0
- data/lib/words_ruby_sdk/models/jpeg_save_options_data.rb +477 -0
- data/lib/words_ruby_sdk/models/link.rb +237 -0
- data/lib/words_ruby_sdk/models/link_element.rb +207 -0
- data/lib/words_ruby_sdk/models/load_web_document_data.rb +217 -0
- data/lib/words_ruby_sdk/models/metafile_rendering_options_data.rb +227 -0
- data/lib/words_ruby_sdk/models/mhtml_save_options_data.rb +736 -0
- data/lib/words_ruby_sdk/models/modification_operation_result.rb +217 -0
- data/lib/words_ruby_sdk/models/node_link.rb +217 -0
- data/lib/words_ruby_sdk/models/odt_save_options_data.rb +354 -0
- data/lib/words_ruby_sdk/models/office_math_link.rb +217 -0
- data/lib/words_ruby_sdk/models/office_math_object.rb +326 -0
- data/lib/words_ruby_sdk/models/office_math_object_response.rb +232 -0
- data/lib/words_ruby_sdk/models/office_math_objects_collection.rb +219 -0
- data/lib/words_ruby_sdk/models/office_math_objects_response.rb +232 -0
- data/lib/words_ruby_sdk/models/ooxml_save_options_data.rb +317 -0
- data/lib/words_ruby_sdk/models/outline_options_data.rb +239 -0
- data/lib/words_ruby_sdk/models/page_number.rb +247 -0
- data/lib/words_ruby_sdk/models/page_setup.rb +646 -0
- data/lib/words_ruby_sdk/models/page_stat_data.rb +252 -0
- data/lib/words_ruby_sdk/models/paragraph.rb +229 -0
- data/lib/words_ruby_sdk/models/paragraph_insert.rb +207 -0
- data/lib/words_ruby_sdk/models/paragraph_link.rb +227 -0
- data/lib/words_ruby_sdk/models/paragraph_link_collection.rb +219 -0
- data/lib/words_ruby_sdk/models/paragraph_link_collection_response.rb +232 -0
- data/lib/words_ruby_sdk/models/paragraph_response.rb +232 -0
- data/lib/words_ruby_sdk/models/pcl_save_options_data.rb +367 -0
- data/lib/words_ruby_sdk/models/pdf_digital_signature_details_data.rb +247 -0
- data/lib/words_ruby_sdk/models/pdf_encryption_details_data.rb +237 -0
- data/lib/words_ruby_sdk/models/pdf_save_options_data.rb +567 -0
- data/lib/words_ruby_sdk/models/png_save_options_data.rb +477 -0
- data/lib/words_ruby_sdk/models/preferred_width.rb +259 -0
- data/lib/words_ruby_sdk/models/protection_data.rb +207 -0
- data/lib/words_ruby_sdk/models/protection_data_response.rb +242 -0
- data/lib/words_ruby_sdk/models/protection_request.rb +227 -0
- data/lib/words_ruby_sdk/models/protection_response.rb +242 -0
- data/lib/words_ruby_sdk/models/ps_save_options_data.rb +357 -0
- data/lib/words_ruby_sdk/models/replace_text_request.rb +262 -0
- data/lib/words_ruby_sdk/models/replace_text_response.rb +242 -0
- data/lib/words_ruby_sdk/models/requests/AcceptAllRevisionsRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/ClassifyDocumentRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/ClassifyRequest.rb +49 -0
- data/lib/words_ruby_sdk/models/requests/CreateOrUpdateDocumentPropertyRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/DeleteBorderRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/DeleteBordersRequest.rb +77 -0
- data/lib/words_ruby_sdk/models/requests/DeleteCommentRequest.rb +77 -0
- data/lib/words_ruby_sdk/models/requests/DeleteDocumentMacrosRequest.rb +73 -0
- data/lib/words_ruby_sdk/models/requests/DeleteDocumentPropertyRequest.rb +77 -0
- data/lib/words_ruby_sdk/models/requests/DeleteDocumentWatermarkRequest.rb +73 -0
- data/lib/words_ruby_sdk/models/requests/DeleteDrawingObjectRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/DeleteFieldRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/DeleteFieldsRequest.rb +77 -0
- data/lib/words_ruby_sdk/models/requests/DeleteFootnoteRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/DeleteFormFieldRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/DeleteHeaderFooterRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/DeleteHeadersFootersRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/DeleteOfficeMathObjectRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/DeleteParagraphRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/DeleteRunRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/DeleteTableCellRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/DeleteTableRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/DeleteTableRowRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/DeleteUnprotectDocumentRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetBorderRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetBordersRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/GetCommentRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/GetCommentsRequest.rb +61 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentBookmarkByNameRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentBookmarksRequest.rb +61 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentDrawingObjectByIndexRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentDrawingObjectImageDataRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentDrawingObjectOleDataRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentDrawingObjectsRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentFieldNamesRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentHyperlinkByIndexRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentHyperlinksRequest.rb +61 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentParagraphRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentParagraphRunFontRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentParagraphRunRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentParagraphRunsRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentParagraphsRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentPropertiesRequest.rb +61 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentPropertyRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentProtectionRequest.rb +61 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentRequest.rb +61 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentStatisticsRequest.rb +73 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentTextItemsRequest.rb +61 -0
- data/lib/words_ruby_sdk/models/requests/GetDocumentWithFormatRequest.rb +73 -0
- data/lib/words_ruby_sdk/models/requests/GetFieldRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetFieldsRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/GetFootnoteRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetFootnotesRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/GetFormFieldRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetFormFieldsRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/GetHeaderFooterOfSectionRequest.rb +73 -0
- data/lib/words_ruby_sdk/models/requests/GetHeaderFooterRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetHeaderFootersRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetOfficeMathObjectRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetOfficeMathObjectsRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/GetSectionPageSetupRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/GetSectionRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/GetSectionsRequest.rb +61 -0
- data/lib/words_ruby_sdk/models/requests/GetTableCellFormatRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetTableCellRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetTablePropertiesRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetTableRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetTableRowFormatRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetTableRowRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/GetTablesRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/InsertTableCellRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/InsertTableRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/InsertTableRowRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/PostAppendDocumentRequest.rb +77 -0
- data/lib/words_ruby_sdk/models/requests/PostChangeDocumentProtectionRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/PostCommentRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/PostCompareDocumentRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/PostDocumentExecuteMailMergeRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/PostDocumentParagraphRunFontRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/PostDocumentSaveAsRequest.rb +73 -0
- data/lib/words_ruby_sdk/models/requests/PostDrawingObjectRequest.rb +89 -0
- data/lib/words_ruby_sdk/models/requests/PostExecuteTemplateRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/PostFieldRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/PostFootnoteRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/PostFormFieldRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/PostInsertDocumentWatermarkImageRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/PostInsertDocumentWatermarkTextRequest.rb +77 -0
- data/lib/words_ruby_sdk/models/requests/PostInsertPageNumbersRequest.rb +77 -0
- data/lib/words_ruby_sdk/models/requests/PostLoadWebDocumentRequest.rb +49 -0
- data/lib/words_ruby_sdk/models/requests/PostReplaceTextRequest.rb +77 -0
- data/lib/words_ruby_sdk/models/requests/PostRunRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/PostSplitDocumentRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/PostUpdateDocumentBookmarkRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/PostUpdateDocumentFieldsRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/PutCommentRequest.rb +77 -0
- data/lib/words_ruby_sdk/models/requests/PutConvertDocumentRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/PutCreateDocumentRequest.rb +53 -0
- data/lib/words_ruby_sdk/models/requests/PutDocumentFieldNamesRequest.rb +49 -0
- data/lib/words_ruby_sdk/models/requests/PutDocumentSaveAsTiffRequest.rb +145 -0
- data/lib/words_ruby_sdk/models/requests/PutDrawingObjectRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/PutExecuteMailMergeOnlineRequest.rb +61 -0
- data/lib/words_ruby_sdk/models/requests/PutExecuteTemplateOnlineRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/PutFieldRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/PutFootnoteRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/PutFormFieldRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/PutHeaderFooterRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/PutParagraphRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/PutProtectDocumentRequest.rb +69 -0
- data/lib/words_ruby_sdk/models/requests/PutRunRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/RejectAllRevisionsRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/RenderDrawingObjectRequest.rb +77 -0
- data/lib/words_ruby_sdk/models/requests/RenderMathObjectRequest.rb +77 -0
- data/lib/words_ruby_sdk/models/requests/RenderPageRequest.rb +73 -0
- data/lib/words_ruby_sdk/models/requests/RenderParagraphRequest.rb +77 -0
- data/lib/words_ruby_sdk/models/requests/RenderTableRequest.rb +77 -0
- data/lib/words_ruby_sdk/models/requests/ResetCacheRequest.rb +36 -0
- data/lib/words_ruby_sdk/models/requests/SearchRequest.rb +65 -0
- data/lib/words_ruby_sdk/models/requests/UpdateBorderRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/UpdateSectionPageSetupRequest.rb +81 -0
- data/lib/words_ruby_sdk/models/requests/UpdateTableCellFormatRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/UpdateTablePropertiesRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/requests/UpdateTableRowFormatRequest.rb +85 -0
- data/lib/words_ruby_sdk/models/revisions_modification_response.rb +232 -0
- data/lib/words_ruby_sdk/models/rtf_save_options_data.rb +317 -0
- data/lib/words_ruby_sdk/models/run.rb +227 -0
- data/lib/words_ruby_sdk/models/run_link.rb +227 -0
- data/lib/words_ruby_sdk/models/run_response.rb +232 -0
- data/lib/words_ruby_sdk/models/runs.rb +219 -0
- data/lib/words_ruby_sdk/models/runs_response.rb +232 -0
- data/lib/words_ruby_sdk/models/save_options_data.rb +287 -0
- data/lib/words_ruby_sdk/models/save_response.rb +232 -0
- data/lib/words_ruby_sdk/models/save_result.rb +229 -0
- data/lib/words_ruby_sdk/models/search_response.rb +242 -0
- data/lib/words_ruby_sdk/models/search_result.rb +217 -0
- data/lib/words_ruby_sdk/models/search_results_collection.rb +219 -0
- data/lib/words_ruby_sdk/models/section.rb +259 -0
- data/lib/words_ruby_sdk/models/section_link.rb +207 -0
- data/lib/words_ruby_sdk/models/section_link_collection.rb +219 -0
- data/lib/words_ruby_sdk/models/section_link_collection_response.rb +232 -0
- data/lib/words_ruby_sdk/models/section_page_setup_response.rb +232 -0
- data/lib/words_ruby_sdk/models/section_response.rb +232 -0
- data/lib/words_ruby_sdk/models/split_document_response.rb +232 -0
- data/lib/words_ruby_sdk/models/split_document_result.rb +229 -0
- data/lib/words_ruby_sdk/models/stat_data_response.rb +242 -0
- data/lib/words_ruby_sdk/models/story_child_nodes.rb +209 -0
- data/lib/words_ruby_sdk/models/string_format_data.rb +348 -0
- data/lib/words_ruby_sdk/models/svg_save_options_data.rb +407 -0
- data/lib/words_ruby_sdk/models/table.rb +239 -0
- data/lib/words_ruby_sdk/models/table_cell.rb +229 -0
- data/lib/words_ruby_sdk/models/table_cell_format.rb +412 -0
- data/lib/words_ruby_sdk/models/table_cell_format_response.rb +232 -0
- data/lib/words_ruby_sdk/models/table_cell_insert.rb +207 -0
- data/lib/words_ruby_sdk/models/table_cell_response.rb +232 -0
- data/lib/words_ruby_sdk/models/table_insert.rb +237 -0
- data/lib/words_ruby_sdk/models/table_link.rb +217 -0
- data/lib/words_ruby_sdk/models/table_link_collection.rb +219 -0
- data/lib/words_ruby_sdk/models/table_link_collection_response.rb +232 -0
- data/lib/words_ruby_sdk/models/table_properties.rb +432 -0
- data/lib/words_ruby_sdk/models/table_properties_response.rb +232 -0
- data/lib/words_ruby_sdk/models/table_response.rb +232 -0
- data/lib/words_ruby_sdk/models/table_row.rb +239 -0
- data/lib/words_ruby_sdk/models/table_row_format.rb +284 -0
- data/lib/words_ruby_sdk/models/table_row_format_response.rb +232 -0
- data/lib/words_ruby_sdk/models/table_row_insert.rb +222 -0
- data/lib/words_ruby_sdk/models/table_row_response.rb +232 -0
- data/lib/words_ruby_sdk/models/text_item.rb +217 -0
- data/lib/words_ruby_sdk/models/text_items.rb +219 -0
- data/lib/words_ruby_sdk/models/text_items_response.rb +232 -0
- data/lib/words_ruby_sdk/models/text_save_options_data.rb +347 -0
- data/lib/words_ruby_sdk/models/tiff_save_options_data.rb +497 -0
- data/lib/words_ruby_sdk/models/watermark_text.rb +222 -0
- data/lib/words_ruby_sdk/models/word_ml_save_options_data.rb +297 -0
- data/lib/words_ruby_sdk/models/words_api_error_response.rb +232 -0
- data/lib/words_ruby_sdk/models/words_api_link.rb +237 -0
- data/lib/words_ruby_sdk/models/xaml_fixed_save_options_data.rb +367 -0
- data/lib/words_ruby_sdk/models/xaml_flow_save_options_data.rb +307 -0
- data/lib/words_ruby_sdk/models/xml_color.rb +222 -0
- data/lib/words_ruby_sdk/models/xps_save_options_data.rb +387 -0
- data/lib/words_ruby_sdk/version.rb +29 -0
- metadata +412 -0
@@ -0,0 +1,145 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutDocumentSaveAsTiffRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.Words for Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module WordsRubySdk
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_document_save_as_tiff operation.
|
32
|
+
#
|
33
|
+
class PutDocumentSaveAsTiffRequest
|
34
|
+
|
35
|
+
# The document name.
|
36
|
+
attr_accessor :name
|
37
|
+
# Tiff save options.
|
38
|
+
attr_accessor :save_options
|
39
|
+
# Original document folder.
|
40
|
+
attr_accessor :folder
|
41
|
+
# File storage, which have to be used.
|
42
|
+
attr_accessor :storage
|
43
|
+
# Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
44
|
+
attr_accessor :load_encoding
|
45
|
+
# Password for opening an encrypted document.
|
46
|
+
attr_accessor :password
|
47
|
+
# Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
|
48
|
+
attr_accessor :dest_file_name
|
49
|
+
# The resulting file name.
|
50
|
+
attr_accessor :result_file
|
51
|
+
# Use antialiasing flag.
|
52
|
+
attr_accessor :use_anti_aliasing
|
53
|
+
# Use high quality flag.
|
54
|
+
attr_accessor :use_high_quality_rendering
|
55
|
+
# Brightness for the generated images.
|
56
|
+
attr_accessor :image_brightness
|
57
|
+
# Color mode for the generated images.
|
58
|
+
attr_accessor :image_color_mode
|
59
|
+
# The contrast for the generated images.
|
60
|
+
attr_accessor :image_contrast
|
61
|
+
# The images numeral format.
|
62
|
+
attr_accessor :numeral_format
|
63
|
+
# Number of pages to render.
|
64
|
+
attr_accessor :page_count
|
65
|
+
# Page index to start rendering.
|
66
|
+
attr_accessor :page_index
|
67
|
+
# Background image color.
|
68
|
+
attr_accessor :paper_color
|
69
|
+
# The pixel format of generated images.
|
70
|
+
attr_accessor :pixel_format
|
71
|
+
# The resolution of generated images.
|
72
|
+
attr_accessor :resolution
|
73
|
+
# Zoom factor for generated images.
|
74
|
+
attr_accessor :scale
|
75
|
+
# The compression tipe.
|
76
|
+
attr_accessor :tiff_compression
|
77
|
+
# Optional, default is Fallback.
|
78
|
+
attr_accessor :dml_rendering_mode
|
79
|
+
# Optional, default is Simplified.
|
80
|
+
attr_accessor :dml_effects_rendering_mode
|
81
|
+
# Optional, Tiff binarization method, possible values are: FloydSteinbergDithering, Threshold.
|
82
|
+
attr_accessor :tiff_binarization_method
|
83
|
+
# Optional. A value determining zip output or not.
|
84
|
+
attr_accessor :zip_output
|
85
|
+
# Folder in filestorage with custom fonts.
|
86
|
+
attr_accessor :fonts_location
|
87
|
+
|
88
|
+
#
|
89
|
+
# Initializes a new instance.
|
90
|
+
# @param name The document name.
|
91
|
+
# @param save_options Tiff save options.
|
92
|
+
# @param folder Original document folder.
|
93
|
+
# @param storage File storage, which have to be used.
|
94
|
+
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
95
|
+
# @param password Password for opening an encrypted document.
|
96
|
+
# @param dest_file_name Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
|
97
|
+
# @param result_file The resulting file name.
|
98
|
+
# @param use_anti_aliasing Use antialiasing flag.
|
99
|
+
# @param use_high_quality_rendering Use high quality flag.
|
100
|
+
# @param image_brightness Brightness for the generated images.
|
101
|
+
# @param image_color_mode Color mode for the generated images.
|
102
|
+
# @param image_contrast The contrast for the generated images.
|
103
|
+
# @param numeral_format The images numeral format.
|
104
|
+
# @param page_count Number of pages to render.
|
105
|
+
# @param page_index Page index to start rendering.
|
106
|
+
# @param paper_color Background image color.
|
107
|
+
# @param pixel_format The pixel format of generated images.
|
108
|
+
# @param resolution The resolution of generated images.
|
109
|
+
# @param scale Zoom factor for generated images.
|
110
|
+
# @param tiff_compression The compression tipe.
|
111
|
+
# @param dml_rendering_mode Optional, default is Fallback.
|
112
|
+
# @param dml_effects_rendering_mode Optional, default is Simplified.
|
113
|
+
# @param tiff_binarization_method Optional, Tiff binarization method, possible values are: FloydSteinbergDithering, Threshold.
|
114
|
+
# @param zip_output Optional. A value determining zip output or not.
|
115
|
+
# @param fonts_location Folder in filestorage with custom fonts.
|
116
|
+
def initialize(name, save_options, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, result_file = nil, use_anti_aliasing = nil, use_high_quality_rendering = nil, image_brightness = nil, image_color_mode = nil, image_contrast = nil, numeral_format = nil, page_count = nil, page_index = nil, paper_color = nil, pixel_format = nil, resolution = nil, scale = nil, tiff_compression = nil, dml_rendering_mode = nil, dml_effects_rendering_mode = nil, tiff_binarization_method = nil, zip_output = nil, fonts_location = nil)
|
117
|
+
self.name = name
|
118
|
+
self.save_options = save_options
|
119
|
+
self.folder = folder
|
120
|
+
self.storage = storage
|
121
|
+
self.load_encoding = load_encoding
|
122
|
+
self.password = password
|
123
|
+
self.dest_file_name = dest_file_name
|
124
|
+
self.result_file = result_file
|
125
|
+
self.use_anti_aliasing = use_anti_aliasing
|
126
|
+
self.use_high_quality_rendering = use_high_quality_rendering
|
127
|
+
self.image_brightness = image_brightness
|
128
|
+
self.image_color_mode = image_color_mode
|
129
|
+
self.image_contrast = image_contrast
|
130
|
+
self.numeral_format = numeral_format
|
131
|
+
self.page_count = page_count
|
132
|
+
self.page_index = page_index
|
133
|
+
self.paper_color = paper_color
|
134
|
+
self.pixel_format = pixel_format
|
135
|
+
self.resolution = resolution
|
136
|
+
self.scale = scale
|
137
|
+
self.tiff_compression = tiff_compression
|
138
|
+
self.dml_rendering_mode = dml_rendering_mode
|
139
|
+
self.dml_effects_rendering_mode = dml_effects_rendering_mode
|
140
|
+
self.tiff_binarization_method = tiff_binarization_method
|
141
|
+
self.zip_output = zip_output
|
142
|
+
self.fonts_location = fonts_location
|
143
|
+
end
|
144
|
+
end
|
145
|
+
end
|
@@ -0,0 +1,85 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutDrawingObjectRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.Words for Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module WordsRubySdk
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_drawing_object operation.
|
32
|
+
#
|
33
|
+
class PutDrawingObjectRequest
|
34
|
+
|
35
|
+
# The document name.
|
36
|
+
attr_accessor :name
|
37
|
+
# Drawing object parameters
|
38
|
+
attr_accessor :drawing_object
|
39
|
+
# File with image
|
40
|
+
attr_accessor :image_file
|
41
|
+
# Original document folder.
|
42
|
+
attr_accessor :folder
|
43
|
+
# File storage, which have to be used.
|
44
|
+
attr_accessor :storage
|
45
|
+
# Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
46
|
+
attr_accessor :load_encoding
|
47
|
+
# Password for opening an encrypted document.
|
48
|
+
attr_accessor :password
|
49
|
+
# Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
|
50
|
+
attr_accessor :dest_file_name
|
51
|
+
# Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
|
52
|
+
attr_accessor :revision_author
|
53
|
+
# The date and time to use for revisions.
|
54
|
+
attr_accessor :revision_date_time
|
55
|
+
# Path to node, which contains collection of drawing objects.
|
56
|
+
attr_accessor :node_path
|
57
|
+
|
58
|
+
#
|
59
|
+
# Initializes a new instance.
|
60
|
+
# @param name The document name.
|
61
|
+
# @param drawing_object Drawing object parameters
|
62
|
+
# @param image_file File with image
|
63
|
+
# @param folder Original document folder.
|
64
|
+
# @param storage File storage, which have to be used.
|
65
|
+
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
66
|
+
# @param password Password for opening an encrypted document.
|
67
|
+
# @param dest_file_name Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
|
68
|
+
# @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
|
69
|
+
# @param revision_date_time The date and time to use for revisions.
|
70
|
+
# @param node_path Path to node, which contains collection of drawing objects.
|
71
|
+
def initialize(name, drawing_object, image_file, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil, node_path = nil)
|
72
|
+
self.name = name
|
73
|
+
self.drawing_object = drawing_object
|
74
|
+
self.image_file = image_file
|
75
|
+
self.folder = folder
|
76
|
+
self.storage = storage
|
77
|
+
self.load_encoding = load_encoding
|
78
|
+
self.password = password
|
79
|
+
self.dest_file_name = dest_file_name
|
80
|
+
self.revision_author = revision_author
|
81
|
+
self.revision_date_time = revision_date_time
|
82
|
+
self.node_path = node_path
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutExecuteMailMergeOnlineRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.Words for Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module WordsRubySdk
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_execute_mail_merge_online operation.
|
32
|
+
#
|
33
|
+
class PutExecuteMailMergeOnlineRequest
|
34
|
+
|
35
|
+
# File with template
|
36
|
+
attr_accessor :template
|
37
|
+
# File with mailmerge data
|
38
|
+
attr_accessor :data
|
39
|
+
# With regions flag.
|
40
|
+
attr_accessor :with_regions
|
41
|
+
# Clean up options.
|
42
|
+
attr_accessor :cleanup
|
43
|
+
# This file name will be used when resulting document has dynamic field for document file name {filename}. If it is not setted, \"template\" will be used instead.
|
44
|
+
attr_accessor :document_file_name
|
45
|
+
|
46
|
+
#
|
47
|
+
# Initializes a new instance.
|
48
|
+
# @param template File with template
|
49
|
+
# @param data File with mailmerge data
|
50
|
+
# @param with_regions With regions flag.
|
51
|
+
# @param cleanup Clean up options.
|
52
|
+
# @param document_file_name This file name will be used when resulting document has dynamic field for document file name {filename}. If it is not setted, \"template\" will be used instead.
|
53
|
+
def initialize(template, data, with_regions = nil, cleanup = nil, document_file_name = nil)
|
54
|
+
self.template = template
|
55
|
+
self.data = data
|
56
|
+
self.with_regions = with_regions
|
57
|
+
self.cleanup = cleanup
|
58
|
+
self.document_file_name = document_file_name
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutExecuteTemplateOnlineRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.Words for Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module WordsRubySdk
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_execute_template_online operation.
|
32
|
+
#
|
33
|
+
class PutExecuteTemplateOnlineRequest
|
34
|
+
|
35
|
+
# File with template
|
36
|
+
attr_accessor :template
|
37
|
+
# File with mailmerge data
|
38
|
+
attr_accessor :data
|
39
|
+
# Clean up options.
|
40
|
+
attr_accessor :cleanup
|
41
|
+
# Gets or sets a value indicating whether paragraph with TableStart or TableEnd field should be fully included into mail merge region or particular range between TableStart and TableEnd fields. The default value is true.
|
42
|
+
attr_accessor :use_whole_paragraph_as_region
|
43
|
+
# Merge with regions or not. True by default
|
44
|
+
attr_accessor :with_regions
|
45
|
+
# This file name will be used when resulting document has dynamic field for document file name {filename}. If it is not setted, \"template\" will be used instead. Note: if withRegions == true executeTemplate updates fields only inside regions
|
46
|
+
attr_accessor :document_file_name
|
47
|
+
|
48
|
+
#
|
49
|
+
# Initializes a new instance.
|
50
|
+
# @param template File with template
|
51
|
+
# @param data File with mailmerge data
|
52
|
+
# @param cleanup Clean up options.
|
53
|
+
# @param use_whole_paragraph_as_region Gets or sets a value indicating whether paragraph with TableStart or TableEnd field should be fully included into mail merge region or particular range between TableStart and TableEnd fields. The default value is true.
|
54
|
+
# @param with_regions Merge with regions or not. True by default
|
55
|
+
# @param document_file_name This file name will be used when resulting document has dynamic field for document file name {filename}. If it is not setted, \"template\" will be used instead. Note: if withRegions == true executeTemplate updates fields only inside regions
|
56
|
+
def initialize(template, data, cleanup = nil, use_whole_paragraph_as_region = nil, with_regions = nil, document_file_name = nil)
|
57
|
+
self.template = template
|
58
|
+
self.data = data
|
59
|
+
self.cleanup = cleanup
|
60
|
+
self.use_whole_paragraph_as_region = use_whole_paragraph_as_region
|
61
|
+
self.with_regions = with_regions
|
62
|
+
self.document_file_name = document_file_name
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,85 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutFieldRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.Words for Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module WordsRubySdk
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_field operation.
|
32
|
+
#
|
33
|
+
class PutFieldRequest
|
34
|
+
|
35
|
+
# The document name.
|
36
|
+
attr_accessor :name
|
37
|
+
# Field data.
|
38
|
+
attr_accessor :field
|
39
|
+
# Original document folder.
|
40
|
+
attr_accessor :folder
|
41
|
+
# File storage, which have to be used.
|
42
|
+
attr_accessor :storage
|
43
|
+
# Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
44
|
+
attr_accessor :load_encoding
|
45
|
+
# Password for opening an encrypted document.
|
46
|
+
attr_accessor :password
|
47
|
+
# Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
|
48
|
+
attr_accessor :dest_file_name
|
49
|
+
# Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
|
50
|
+
attr_accessor :revision_author
|
51
|
+
# The date and time to use for revisions.
|
52
|
+
attr_accessor :revision_date_time
|
53
|
+
# Path to node, which contains collection of fields.
|
54
|
+
attr_accessor :node_path
|
55
|
+
# Field will be inserted before node with id=\"nodeId\".
|
56
|
+
attr_accessor :insert_before_node
|
57
|
+
|
58
|
+
#
|
59
|
+
# Initializes a new instance.
|
60
|
+
# @param name The document name.
|
61
|
+
# @param field Field data.
|
62
|
+
# @param folder Original document folder.
|
63
|
+
# @param storage File storage, which have to be used.
|
64
|
+
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
65
|
+
# @param password Password for opening an encrypted document.
|
66
|
+
# @param dest_file_name Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
|
67
|
+
# @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
|
68
|
+
# @param revision_date_time The date and time to use for revisions.
|
69
|
+
# @param node_path Path to node, which contains collection of fields.
|
70
|
+
# @param insert_before_node Field will be inserted before node with id=\"nodeId\".
|
71
|
+
def initialize(name, field, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil, node_path = nil, insert_before_node = nil)
|
72
|
+
self.name = name
|
73
|
+
self.field = field
|
74
|
+
self.folder = folder
|
75
|
+
self.storage = storage
|
76
|
+
self.load_encoding = load_encoding
|
77
|
+
self.password = password
|
78
|
+
self.dest_file_name = dest_file_name
|
79
|
+
self.revision_author = revision_author
|
80
|
+
self.revision_date_time = revision_date_time
|
81
|
+
self.node_path = node_path
|
82
|
+
self.insert_before_node = insert_before_node
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
@@ -0,0 +1,81 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutFootnoteRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.Words for Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module WordsRubySdk
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_footnote operation.
|
32
|
+
#
|
33
|
+
class PutFootnoteRequest
|
34
|
+
|
35
|
+
# The document name.
|
36
|
+
attr_accessor :name
|
37
|
+
# Footnote data.
|
38
|
+
attr_accessor :footnote_dto
|
39
|
+
# Original document folder.
|
40
|
+
attr_accessor :folder
|
41
|
+
# File storage, which have to be used.
|
42
|
+
attr_accessor :storage
|
43
|
+
# Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
44
|
+
attr_accessor :load_encoding
|
45
|
+
# Password for opening an encrypted document.
|
46
|
+
attr_accessor :password
|
47
|
+
# Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
|
48
|
+
attr_accessor :dest_file_name
|
49
|
+
# Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
|
50
|
+
attr_accessor :revision_author
|
51
|
+
# The date and time to use for revisions.
|
52
|
+
attr_accessor :revision_date_time
|
53
|
+
# Path to node, which contains collection of footnotes.
|
54
|
+
attr_accessor :node_path
|
55
|
+
|
56
|
+
#
|
57
|
+
# Initializes a new instance.
|
58
|
+
# @param name The document name.
|
59
|
+
# @param footnote_dto Footnote data.
|
60
|
+
# @param folder Original document folder.
|
61
|
+
# @param storage File storage, which have to be used.
|
62
|
+
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
63
|
+
# @param password Password for opening an encrypted document.
|
64
|
+
# @param dest_file_name Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
|
65
|
+
# @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
|
66
|
+
# @param revision_date_time The date and time to use for revisions.
|
67
|
+
# @param node_path Path to node, which contains collection of footnotes.
|
68
|
+
def initialize(name, footnote_dto, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil, node_path = nil)
|
69
|
+
self.name = name
|
70
|
+
self.footnote_dto = footnote_dto
|
71
|
+
self.folder = folder
|
72
|
+
self.storage = storage
|
73
|
+
self.load_encoding = load_encoding
|
74
|
+
self.password = password
|
75
|
+
self.dest_file_name = dest_file_name
|
76
|
+
self.revision_author = revision_author
|
77
|
+
self.revision_date_time = revision_date_time
|
78
|
+
self.node_path = node_path
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|