class AsposeSlidesCloud::OleObjectFrame
Represents OleObjectFrame
resource.
Attributes
File data of embedded OLE object.
File extension for the current embedded OLE object
True if an object is visible as icon.
Full path to a linked file.
Returns or sets the name of an object.
ProgID of an object.
OleObject image fill properties.
The title for OleObject icon.
Determines if the linked embedded object is automatically updated when the presentation is opened or printed. Read/write Boolean.
Public Class Methods
Source
# File lib/aspose_slides_cloud/models/ole_object_frame.rb, line 56 def self.attribute_map super.merge({ :'is_object_icon' => :'IsObjectIcon', :'substitute_picture_title' => :'SubstitutePictureTitle', :'substitute_picture_format' => :'SubstitutePictureFormat', :'object_name' => :'ObjectName', :'embedded_file_base64_data' => :'EmbeddedFileBase64Data', :'embedded_file_extension' => :'EmbeddedFileExtension', :'object_prog_id' => :'ObjectProgId', :'link_path' => :'LinkPath', :'update_automatic' => :'UpdateAutomatic', }) end
Attribute mapping from ruby-style variable name to JSON key.
Source
# File lib/aspose_slides_cloud/models/ole_object_frame.rb, line 87 def initialize(attributes = {}) super if attributes.has_key?(:'IsObjectIcon') self.is_object_icon = attributes[:'IsObjectIcon'] end if attributes.has_key?(:'SubstitutePictureTitle') self.substitute_picture_title = attributes[:'SubstitutePictureTitle'] end if attributes.has_key?(:'SubstitutePictureFormat') self.substitute_picture_format = attributes[:'SubstitutePictureFormat'] end if attributes.has_key?(:'ObjectName') self.object_name = attributes[:'ObjectName'] end if attributes.has_key?(:'EmbeddedFileBase64Data') self.embedded_file_base64_data = attributes[:'EmbeddedFileBase64Data'] end if attributes.has_key?(:'EmbeddedFileExtension') self.embedded_file_extension = attributes[:'EmbeddedFileExtension'] end if attributes.has_key?(:'ObjectProgId') self.object_prog_id = attributes[:'ObjectProgId'] end if attributes.has_key?(:'LinkPath') self.link_path = attributes[:'LinkPath'] end if attributes.has_key?(:'UpdateAutomatic') self.update_automatic = attributes[:'UpdateAutomatic'] end self.type = 'OleObjectFrame' end
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Source
# File lib/aspose_slides_cloud/models/ole_object_frame.rb, line 71 def self.swagger_types super.merge({ :'is_object_icon' => :'BOOLEAN', :'substitute_picture_title' => :'String', :'substitute_picture_format' => :'PictureFill', :'object_name' => :'String', :'embedded_file_base64_data' => :'String', :'embedded_file_extension' => :'String', :'object_prog_id' => :'String', :'link_path' => :'String', :'update_automatic' => :'BOOLEAN', }) end
Attribute type mapping.
Public Instance Methods
Source
# File lib/aspose_slides_cloud/models/ole_object_frame.rb, line 144 def ==(o) return true if self.equal?(o) self.class == o.class && self_uri == o.self_uri && alternate_links == o.alternate_links && name == o.name && width == o.width && height == o.height && alternative_text == o.alternative_text && alternative_text_title == o.alternative_text_title && hidden == o.hidden && is_decorative == o.is_decorative && x == o.x && y == o.y && z_order_position == o.z_order_position && fill_format == o.fill_format && effect_format == o.effect_format && three_d_format == o.three_d_format && line_format == o.line_format && hyperlink_click == o.hyperlink_click && hyperlink_mouse_over == o.hyperlink_mouse_over && type == o.type && is_object_icon == o.is_object_icon && substitute_picture_title == o.substitute_picture_title && substitute_picture_format == o.substitute_picture_format && object_name == o.object_name && embedded_file_base64_data == o.embedded_file_base64_data && embedded_file_extension == o.embedded_file_extension && object_prog_id == o.object_prog_id && link_path == o.link_path && update_automatic == o.update_automatic end
Checks equality by comparing each attribute. @param [Object] Object to be compared
Source
# File lib/aspose_slides_cloud/models/ole_object_frame.rb, line 179 def eql?(o) self == o end
@see the ‘==` method @param [Object] Object to be compared
Source
# File lib/aspose_slides_cloud/models/ole_object_frame.rb, line 185 def hash [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, is_object_icon, substitute_picture_title, substitute_picture_format, object_name, embedded_file_base64_data, embedded_file_extension, object_prog_id, link_path, update_automatic].hash end
Calculates hash code according to all attributes. @return [Fixnum] Hash code
Source
# File lib/aspose_slides_cloud/models/ole_object_frame.rb, line 130 def list_invalid_properties invalid_properties = super invalid_properties end
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Source
# File lib/aspose_slides_cloud/models/ole_object_frame.rb, line 137 def valid? return false if !super true end
Check to see if the all the properties in the model are valid @return true if the model is valid