@@ -55,9 +55,6 @@ class BmpSaveOptionsData
5555 # Gets or sets the value determining how ink (InkML) objects are rendered.
5656 attr_accessor :iml_rendering_mode
5757
58- # Gets or sets the format of save.
59- attr_accessor :save_format
60-
6158 # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
6259 # Default value is false.
6360 attr_accessor :update_created_time_property
@@ -144,6 +141,9 @@ class BmpSaveOptionsData
144141 # The default value is 96.
145142 attr_accessor :vertical_resolution
146143
144+ # Gets the format of save.
145+ attr_accessor :save_format
146+
147147 class EnumAttributeValidator
148148 attr_reader :datatype
149149 attr_reader :allowable_values
@@ -177,7 +177,6 @@ def self.attribute_map
177177 :'file_name' => :'FileName' ,
178178 :'flat_opc_xml_mapping_only' => :'FlatOpcXmlMappingOnly' ,
179179 :'iml_rendering_mode' => :'ImlRenderingMode' ,
180- :'save_format' => :'SaveFormat' ,
181180 :'update_created_time_property' => :'UpdateCreatedTimeProperty' ,
182181 :'update_fields' => :'UpdateFields' ,
183182 :'update_last_printed_property' => :'UpdateLastPrintedProperty' ,
@@ -202,7 +201,8 @@ def self.attribute_map
202201 :'use_anti_aliasing' => :'UseAntiAliasing' ,
203202 :'use_gdi_emf_renderer' => :'UseGdiEmfRenderer' ,
204203 :'use_high_quality_rendering' => :'UseHighQualityRendering' ,
205- :'vertical_resolution' => :'VerticalResolution'
204+ :'vertical_resolution' => :'VerticalResolution' ,
205+ :'save_format' => :'SaveFormat'
206206 }
207207 end
208208
@@ -217,7 +217,6 @@ def self.swagger_types
217217 :'file_name' => :'String' ,
218218 :'flat_opc_xml_mapping_only' => :'BOOLEAN' ,
219219 :'iml_rendering_mode' => :'String' ,
220- :'save_format' => :'String' ,
221220 :'update_created_time_property' => :'BOOLEAN' ,
222221 :'update_fields' => :'BOOLEAN' ,
223222 :'update_last_printed_property' => :'BOOLEAN' ,
@@ -242,7 +241,8 @@ def self.swagger_types
242241 :'use_anti_aliasing' => :'BOOLEAN' ,
243242 :'use_gdi_emf_renderer' => :'BOOLEAN' ,
244243 :'use_high_quality_rendering' => :'BOOLEAN' ,
245- :'vertical_resolution' => :'Float'
244+ :'vertical_resolution' => :'Float' ,
245+ :'save_format' => :'String'
246246 }
247247 end
248248
@@ -254,6 +254,8 @@ def initialize(attributes = {})
254254 # convert string to symbol for hash key
255255 attributes = attributes . each_with_object ( { } ) { |( k , v ) , h | h [ k . to_sym ] = v }
256256
257+ self . save_format = 'bmp'
258+
257259 if attributes . key? ( :'AllowEmbeddingPostScriptFonts' )
258260 self . allow_embedding_post_script_fonts = attributes [ :'AllowEmbeddingPostScriptFonts' ]
259261 end
@@ -286,10 +288,6 @@ def initialize(attributes = {})
286288 self . iml_rendering_mode = attributes [ :'ImlRenderingMode' ]
287289 end
288290
289- if attributes . key? ( :'SaveFormat' )
290- self . save_format = attributes [ :'SaveFormat' ]
291- end
292-
293291 if attributes . key? ( :'UpdateCreatedTimeProperty' )
294292 self . update_created_time_property = attributes [ :'UpdateCreatedTimeProperty' ]
295293 end
@@ -435,7 +433,6 @@ def ==(other)
435433 file_name == other . file_name &&
436434 flat_opc_xml_mapping_only == other . flat_opc_xml_mapping_only &&
437435 iml_rendering_mode == other . iml_rendering_mode &&
438- save_format == other . save_format &&
439436 update_created_time_property == other . update_created_time_property &&
440437 update_fields == other . update_fields &&
441438 update_last_printed_property == other . update_last_printed_property &&
@@ -460,7 +457,8 @@ def ==(other)
460457 use_anti_aliasing == other . use_anti_aliasing &&
461458 use_gdi_emf_renderer == other . use_gdi_emf_renderer &&
462459 use_high_quality_rendering == other . use_high_quality_rendering &&
463- vertical_resolution == other . vertical_resolution
460+ vertical_resolution == other . vertical_resolution &&
461+ save_format == other . save_format
464462 end
465463
466464 # @see the `==` method
@@ -472,7 +470,7 @@ def eql?(other)
472470 # Calculates hash code according to all attributes.
473471 # @return [Fixnum] Hash code
474472 def hash
475- [ allow_embedding_post_script_fonts , custom_time_zone_info_data , dml3_d_effects_rendering_mode , dml_effects_rendering_mode , dml_rendering_mode , file_name , flat_opc_xml_mapping_only , iml_rendering_mode , save_format , 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 , horizontal_resolution , image_brightness , image_color_mode , image_contrast , paper_color , pixel_format , resolution , scale , use_anti_aliasing , use_gdi_emf_renderer , use_high_quality_rendering , vertical_resolution ] . hash
473+ [ allow_embedding_post_script_fonts , custom_time_zone_info_data , dml3_d_effects_rendering_mode , dml_effects_rendering_mode , dml_rendering_mode , file_name , flat_opc_xml_mapping_only , 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 , horizontal_resolution , image_brightness , image_color_mode , image_contrast , paper_color , pixel_format , resolution , scale , use_anti_aliasing , use_gdi_emf_renderer , use_high_quality_rendering , vertical_resolution , save_format ] . hash
476474 end
477475
478476 # Builds the object from hash
0 commit comments