@@ -95,8 +95,8 @@ class PdfSaveOptionsData
9595 # Gets or sets the 0-based index of the first page to render.
9696 attr_accessor :page_index
9797
98- # Gets or sets a value indicating whether or not to cache shapes placed in header and footer of document.
99- attr_accessor :cache_header_footer_shapes
98+ # Gets or sets a value determining whether or not to cache graphics placed in document's background .
99+ attr_accessor :cache_background_graphics
100100
101101 # Gets or sets the PDF standards compliance level for output documents.
102102 attr_accessor :compliance
@@ -119,6 +119,9 @@ class PdfSaveOptionsData
119119 # Gets or sets the downsample options.
120120 attr_accessor :downsample_options
121121
122+ # Gets or sets a value determining whether or not to embed attachments to the PDF document.
123+ attr_accessor :embed_attachments
124+
122125 # Gets or sets a value indicating whether fonts are embedded into the resulting PDF documents.
123126 attr_accessor :embed_full_fonts
124127
@@ -225,13 +228,14 @@ def self.attribute_map
225228 :'optimize_output' => :'OptimizeOutput' ,
226229 :'page_count' => :'PageCount' ,
227230 :'page_index' => :'PageIndex' ,
228- :'cache_header_footer_shapes ' => :'CacheHeaderFooterShapes ' ,
231+ :'cache_background_graphics ' => :'CacheBackgroundGraphics ' ,
229232 :'compliance' => :'Compliance' ,
230233 :'create_note_hyperlinks' => :'CreateNoteHyperlinks' ,
231234 :'custom_properties_export' => :'CustomPropertiesExport' ,
232235 :'digital_signature_details' => :'DigitalSignatureDetails' ,
233236 :'display_doc_title' => :'DisplayDocTitle' ,
234237 :'downsample_options' => :'DownsampleOptions' ,
238+ :'embed_attachments' => :'EmbedAttachments' ,
235239 :'embed_full_fonts' => :'EmbedFullFonts' ,
236240 :'encryption_details' => :'EncryptionDetails' ,
237241 :'export_document_structure' => :'ExportDocumentStructure' ,
@@ -278,13 +282,14 @@ def self.swagger_types
278282 :'optimize_output' => :'BOOLEAN' ,
279283 :'page_count' => :'Integer' ,
280284 :'page_index' => :'Integer' ,
281- :'cache_header_footer_shapes ' => :'BOOLEAN' ,
285+ :'cache_background_graphics ' => :'BOOLEAN' ,
282286 :'compliance' => :'String' ,
283287 :'create_note_hyperlinks' => :'BOOLEAN' ,
284288 :'custom_properties_export' => :'String' ,
285289 :'digital_signature_details' => :'PdfDigitalSignatureDetailsData' ,
286290 :'display_doc_title' => :'BOOLEAN' ,
287291 :'downsample_options' => :'DownsampleOptionsData' ,
292+ :'embed_attachments' => :'BOOLEAN' ,
288293 :'embed_full_fonts' => :'BOOLEAN' ,
289294 :'encryption_details' => :'PdfEncryptionDetailsData' ,
290295 :'export_document_structure' => :'BOOLEAN' ,
@@ -398,8 +403,8 @@ def initialize(attributes = {})
398403 self . page_index = attributes [ :'PageIndex' ]
399404 end
400405
401- if attributes . key? ( :'CacheHeaderFooterShapes ' )
402- self . cache_header_footer_shapes = attributes [ :'CacheHeaderFooterShapes ' ]
406+ if attributes . key? ( :'CacheBackgroundGraphics ' )
407+ self . cache_background_graphics = attributes [ :'CacheBackgroundGraphics ' ]
403408 end
404409
405410 if attributes . key? ( :'Compliance' )
@@ -426,6 +431,10 @@ def initialize(attributes = {})
426431 self . downsample_options = attributes [ :'DownsampleOptions' ]
427432 end
428433
434+ if attributes . key? ( :'EmbedAttachments' )
435+ self . embed_attachments = attributes [ :'EmbedAttachments' ]
436+ end
437+
429438 if attributes . key? ( :'EmbedFullFonts' )
430439 self . embed_full_fonts = attributes [ :'EmbedFullFonts' ]
431440 end
@@ -767,13 +776,14 @@ def ==(other)
767776 optimize_output == other . optimize_output &&
768777 page_count == other . page_count &&
769778 page_index == other . page_index &&
770- cache_header_footer_shapes == other . cache_header_footer_shapes &&
779+ cache_background_graphics == other . cache_background_graphics &&
771780 compliance == other . compliance &&
772781 create_note_hyperlinks == other . create_note_hyperlinks &&
773782 custom_properties_export == other . custom_properties_export &&
774783 digital_signature_details == other . digital_signature_details &&
775784 display_doc_title == other . display_doc_title &&
776785 downsample_options == other . downsample_options &&
786+ embed_attachments == other . embed_attachments &&
777787 embed_full_fonts == other . embed_full_fonts &&
778788 encryption_details == other . encryption_details &&
779789 export_document_structure == other . export_document_structure &&
@@ -805,7 +815,7 @@ def eql?(other)
805815 # Calculates hash code according to all attributes.
806816 # @return [Fixnum] Hash code
807817 def hash
808- [ allow_embedding_post_script_fonts , custom_time_zone_info_data , dml3_d_effects_rendering_mode , dml_effects_rendering_mode , dml_rendering_mode , file_name , iml_rendering_mode , update_created_time_property , update_fields , update_last_printed_property , update_last_saved_time_property , update_sdt_content , zip_output , color_mode , jpeg_quality , metafile_rendering_options , numeral_format , optimize_output , page_count , page_index , cache_header_footer_shapes , compliance , create_note_hyperlinks , custom_properties_export , digital_signature_details , display_doc_title , downsample_options , embed_full_fonts , encryption_details , export_document_structure , export_language_to_span_tag , font_embedding_mode , header_footer_bookmarks_export_mode , image_color_space_export_mode , image_compression , interpolate_images , open_hyperlinks_in_new_window , outline_options , page_mode , preblend_images , preserve_form_fields , save_format , text_compression , use_book_fold_printing_settings , use_core_fonts , zoom_behavior , zoom_factor ] . hash
818+ [ allow_embedding_post_script_fonts , custom_time_zone_info_data , dml3_d_effects_rendering_mode , dml_effects_rendering_mode , dml_rendering_mode , file_name , iml_rendering_mode , update_created_time_property , update_fields , update_last_printed_property , update_last_saved_time_property , update_sdt_content , zip_output , color_mode , jpeg_quality , metafile_rendering_options , numeral_format , optimize_output , page_count , page_index , cache_background_graphics , compliance , create_note_hyperlinks , custom_properties_export , digital_signature_details , display_doc_title , downsample_options , embed_attachments , embed_full_fonts , encryption_details , export_document_structure , export_language_to_span_tag , font_embedding_mode , header_footer_bookmarks_export_mode , image_color_space_export_mode , image_compression , interpolate_images , open_hyperlinks_in_new_window , outline_options , page_mode , preblend_images , preserve_form_fields , save_format , text_compression , use_book_fold_printing_settings , use_core_fonts , zoom_behavior , zoom_factor ] . hash
809819 end
810820
811821 # Builds the object from hash
0 commit comments