Class: AsposeSlidesCloud::OleObjectFrame
- Inherits:
-
ShapeBase
- Object
- BaseObject
- ResourceBase
- ShapeBase
- AsposeSlidesCloud::OleObjectFrame
- Defined in:
- lib/aspose_slides_cloud/models/ole_object_frame.rb
Overview
Represents OleObjectFrame resource.
Instance Attribute Summary collapse
-
#embedded_file_base64_data ⇒ Object
File data of embedded OLE object.
-
#embedded_file_extension ⇒ Object
File extension for the current embedded OLE object.
-
#is_object_icon ⇒ Object
True if an object is visible as icon.
-
#link_path ⇒ Object
Full path to a linked file.
-
#object_name ⇒ Object
Returns or sets the name of an object.
-
#object_prog_id ⇒ Object
ProgID of an object.
-
#substitute_picture_format ⇒ Object
OleObject image fill properties.
-
#substitute_picture_title ⇒ Object
The title for OleObject icon.
-
#update_automatic ⇒ Object
Determines if the linked embedded object is automatically updated when the presentation is opened or printed.
Attributes inherited from ShapeBase
#alternative_text, #alternative_text_title, #effect_format, #fill_format, #height, #hidden, #hyperlink_click, #hyperlink_mouse_over, #is_decorative, #line_format, #name, #three_d_format, #type, #width, #x, #y, #z_order_position
Attributes inherited from ResourceBase
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ OleObjectFrame
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Methods inherited from BaseObject
#_deserialize, #_to_hash, #build_from_hash, #to_body, #to_hash, #to_s
Constructor Details
#initialize(attributes = {}) ⇒ OleObjectFrame
Initializes the object
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# 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. = attributes[:'EmbeddedFileBase64Data'] end if attributes.has_key?(:'EmbeddedFileExtension') self. = 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 |
Instance Attribute Details
#embedded_file_base64_data ⇒ Object
File data of embedded OLE object.
41 42 43 |
# File 'lib/aspose_slides_cloud/models/ole_object_frame.rb', line 41 def @embedded_file_base64_data end |
#embedded_file_extension ⇒ Object
File extension for the current embedded OLE object
44 45 46 |
# File 'lib/aspose_slides_cloud/models/ole_object_frame.rb', line 44 def @embedded_file_extension end |
#is_object_icon ⇒ Object
True if an object is visible as icon.
29 30 31 |
# File 'lib/aspose_slides_cloud/models/ole_object_frame.rb', line 29 def is_object_icon @is_object_icon end |
#link_path ⇒ Object
Full path to a linked file.
50 51 52 |
# File 'lib/aspose_slides_cloud/models/ole_object_frame.rb', line 50 def link_path @link_path end |
#object_name ⇒ Object
Returns or sets the name of an object.
38 39 40 |
# File 'lib/aspose_slides_cloud/models/ole_object_frame.rb', line 38 def object_name @object_name end |
#object_prog_id ⇒ Object
ProgID of an object.
47 48 49 |
# File 'lib/aspose_slides_cloud/models/ole_object_frame.rb', line 47 def object_prog_id @object_prog_id end |
#substitute_picture_format ⇒ Object
OleObject image fill properties.
35 36 37 |
# File 'lib/aspose_slides_cloud/models/ole_object_frame.rb', line 35 def substitute_picture_format @substitute_picture_format end |
#substitute_picture_title ⇒ Object
The title for OleObject icon.
32 33 34 |
# File 'lib/aspose_slides_cloud/models/ole_object_frame.rb', line 32 def substitute_picture_title @substitute_picture_title end |
#update_automatic ⇒ Object
Determines if the linked embedded object is automatically updated when the presentation is opened or printed. Read/write Boolean.
53 54 55 |
# File 'lib/aspose_slides_cloud/models/ole_object_frame.rb', line 53 def update_automatic @update_automatic end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
56 57 58 59 60 61 62 63 64 65 66 67 68 |
# 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 |
.swagger_types ⇒ Object
Attribute type mapping.
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# 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 |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
# 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 && == o. && == o. && object_prog_id == o.object_prog_id && link_path == o.link_path && update_automatic == o.update_automatic end |
#eql?(o) ⇒ Boolean
179 180 181 |
# File 'lib/aspose_slides_cloud/models/ole_object_frame.rb', line 179 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
185 186 187 |
# 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, , , object_prog_id, link_path, update_automatic].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
130 131 132 133 |
# File 'lib/aspose_slides_cloud/models/ole_object_frame.rb', line 130 def list_invalid_properties invalid_properties = super invalid_properties end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
137 138 139 140 |
# File 'lib/aspose_slides_cloud/models/ole_object_frame.rb', line 137 def valid? return false if !super true end |