class AsposeSlidesCloud::Html5ExportOptions
Provides options that control how a presentation is saved in Html5 format.
Attributes
Gets or sets shapes animation option.
Gets or sets transitions animation option.
Gets or sets embed images option.
Slides
layouting options
Path to custom templates
Public Class Methods
Attribute mapping from ruby-style variable name to JSON key.
AsposeSlidesCloud::ExportOptions::attribute_map
# File lib/aspose_slides_cloud/models/html5_export_options.rb, line 44 def self.attribute_map super.merge({ :'animate_transitions' => :'AnimateTransitions', :'animate_shapes' => :'AnimateShapes', :'embed_images' => :'EmbedImages', :'notes_comments_layouting' => :'NotesCommentsLayouting', :'templates_path' => :'TemplatesPath', }) end
Initializes the object @param [Hash] attributes Model attributes in the form of hash
AsposeSlidesCloud::ExportOptions::new
# File lib/aspose_slides_cloud/models/html5_export_options.rb, line 67 def initialize(attributes = {}) super if attributes.has_key?(:'AnimateTransitions') self.animate_transitions = attributes[:'AnimateTransitions'] end if attributes.has_key?(:'AnimateShapes') self.animate_shapes = attributes[:'AnimateShapes'] end if attributes.has_key?(:'EmbedImages') self.embed_images = attributes[:'EmbedImages'] end if attributes.has_key?(:'NotesCommentsLayouting') self.notes_comments_layouting = attributes[:'NotesCommentsLayouting'] end if attributes.has_key?(:'TemplatesPath') self.templates_path = attributes[:'TemplatesPath'] end self.format = 'html5' end
Attribute type mapping.
AsposeSlidesCloud::ExportOptions::swagger_types
# File lib/aspose_slides_cloud/models/html5_export_options.rb, line 55 def self.swagger_types super.merge({ :'animate_transitions' => :'BOOLEAN', :'animate_shapes' => :'BOOLEAN', :'embed_images' => :'BOOLEAN', :'notes_comments_layouting' => :'NotesCommentsLayoutingOptions', :'templates_path' => :'String', }) end
Public Instance Methods
Checks equality by comparing each attribute. @param [Object] Object to be compared
# File lib/aspose_slides_cloud/models/html5_export_options.rb, line 108 def ==(o) return true if self.equal?(o) self.class == o.class && default_regular_font == o.default_regular_font && gradient_style == o.gradient_style && font_fallback_rules == o.font_fallback_rules && font_subst_rules == o.font_subst_rules && format == o.format && animate_transitions == o.animate_transitions && animate_shapes == o.animate_shapes && embed_images == o.embed_images && notes_comments_layouting == o.notes_comments_layouting && templates_path == o.templates_path end
@see the ‘==` method @param [Object] Object to be compared
# File lib/aspose_slides_cloud/models/html5_export_options.rb, line 125 def eql?(o) self == o end
Calculates hash code according to all attributes. @return [Fixnum] Hash code
# File lib/aspose_slides_cloud/models/html5_export_options.rb, line 131 def hash [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, animate_transitions, animate_shapes, embed_images, notes_comments_layouting, templates_path].hash end
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
AsposeSlidesCloud::ExportOptions#list_invalid_properties
# File lib/aspose_slides_cloud/models/html5_export_options.rb, line 94 def list_invalid_properties invalid_properties = super invalid_properties end
Check to see if the all the properties in the model are valid @return true if the model is valid
AsposeSlidesCloud::ExportOptions#valid?
# File lib/aspose_slides_cloud/models/html5_export_options.rb, line 101 def valid? return false if !super true end