Class: OoxmlParser::PresentationShapeProperties

Inherits:
OOXMLDocumentObject show all
Defined in:
lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape_properties.rb

Constant Summary

Constants inherited from OOXMLDocumentObject

OOXMLDocumentObject::DEFAULT_DIRECTORY_FOR_MEDIA

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from OOXMLDocumentObject

#==, add_to_xmls_stack, copy_file_and_rename_to_zip, copy_media_file, current_xml, dir, encrypted_file?, get_link_from_rels, media_folder, option_enabled?, unzip_file

Constructor Details

#initialize(transform = TransformEffect.new, preset = nil) ⇒ PresentationShapeProperties

Returns a new instance of PresentationShapeProperties.



8
9
10
11
# File 'lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape_properties.rb', line 8

def initialize(transform = TransformEffect.new, preset = nil)
  @transform = transform
  @preset = preset
end

Instance Attribute Details

#customObject

Returns the value of attribute custom.



6
7
8
# File 'lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape_properties.rb', line 6

def custom
  @custom
end

#fillObject

Returns the value of attribute fill.



6
7
8
# File 'lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape_properties.rb', line 6

def fill
  @fill
end

#lineObject

Returns the value of attribute line.



6
7
8
# File 'lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape_properties.rb', line 6

def line
  @line
end

#presetObject

Returns the value of attribute preset.



6
7
8
# File 'lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape_properties.rb', line 6

def preset
  @preset
end

#transformObject

Returns the value of attribute transform.



6
7
8
# File 'lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape_properties.rb', line 6

def transform
  @transform
end