Class: OoxmlParser::Image
- Inherits:
-
Object
- Object
- OoxmlParser::Image
- Defined in:
- lib/ooxml_parser/docx_parser/docx_data/document_structure/image.rb
Instance Attribute Summary collapse
-
#end_x ⇒ Object
Returns the value of attribute end_x.
-
#end_y ⇒ Object
Returns the value of attribute end_y.
-
#path ⇒ Object
Returns the value of attribute path.
-
#start_x ⇒ Object
Returns the value of attribute start_x.
-
#start_y ⇒ Object
Returns the value of attribute start_y.
-
#wrap_text ⇒ Object
Returns the value of attribute wrap_text.
Instance Method Summary collapse
-
#initialize ⇒ Image
constructor
A new instance of Image.
Constructor Details
#initialize ⇒ Image
Returns a new instance of Image.
6 7 8 9 10 11 12 13 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/image.rb', line 6 def initialize @path = nil @start_x = 0 @start_y = 0 @end_x = nil @end_y = nil @wrap_text = 'In text' end |
Instance Attribute Details
#end_x ⇒ Object
Returns the value of attribute end_x.
4 5 6 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/image.rb', line 4 def end_x @end_x end |
#end_y ⇒ Object
Returns the value of attribute end_y.
4 5 6 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/image.rb', line 4 def end_y @end_y end |
#path ⇒ Object
Returns the value of attribute path.
4 5 6 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/image.rb', line 4 def path @path end |
#start_x ⇒ Object
Returns the value of attribute start_x.
4 5 6 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/image.rb', line 4 def start_x @start_x end |
#start_y ⇒ Object
Returns the value of attribute start_y.
4 5 6 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/image.rb', line 4 def start_y @start_y end |
#wrap_text ⇒ Object
Returns the value of attribute wrap_text.
4 5 6 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/image.rb', line 4 def wrap_text @wrap_text end |