Class: RubyXL::Chartsheet
- Inherits:
-
OOXMLTopLevelObject
- Object
- OOXMLObject
- OOXMLTopLevelObject
- RubyXL::Chartsheet
- Includes:
- RelationshipSupport
- Defined in:
- lib/rubyXL/objects/chartsheet.rb
Overview
Constant Summary collapse
- CONTENT_TYPE =
'application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml'.freeze
- REL_TYPE =
'http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet'.freeze
Constants inherited from OOXMLTopLevelObject
OOXMLTopLevelObject::ROOT, OOXMLTopLevelObject::SAVE_ORDER
Instance Attribute Summary collapse
-
#rels ⇒ Object
Returns the value of attribute rels.
-
#sheet_id ⇒ Object
Returns the value of attribute sheet_id.
-
#sheet_name ⇒ Object
Returns the value of attribute sheet_name.
-
#state ⇒ Object
Returns the value of attribute state.
-
#workbook ⇒ Object
Returns the value of attribute workbook.
Attributes included from RelationshipSupport
#generic_storage, #relationship_container
Attributes inherited from OOXMLTopLevelObject
Attributes included from OOXMLObjectInstanceMethods
Instance Method Summary collapse
Methods included from RelationshipSupport
#attach_relationship, #collect_related_objects, included, #load_relationships, #related_objects, #store_relationship
Methods inherited from OOXMLTopLevelObject
#add_to_zip, #file_index, parse_file, set_namespaces
Methods included from OOXMLObjectInstanceMethods
#==, #before_write_xml, included, #index_in_collection, #initialize, #write_xml
Instance Attribute Details
#rels ⇒ Object
Returns the value of attribute rels.
65 66 67 |
# File 'lib/rubyXL/objects/chartsheet.rb', line 65 def rels @rels end |
#sheet_id ⇒ Object
Returns the value of attribute sheet_id.
65 66 67 |
# File 'lib/rubyXL/objects/chartsheet.rb', line 65 def sheet_id @sheet_id end |
#sheet_name ⇒ Object
Returns the value of attribute sheet_name.
65 66 67 |
# File 'lib/rubyXL/objects/chartsheet.rb', line 65 def sheet_name @sheet_name end |
#state ⇒ Object
Returns the value of attribute state.
65 66 67 |
# File 'lib/rubyXL/objects/chartsheet.rb', line 65 def state @state end |
#workbook ⇒ Object
Returns the value of attribute workbook.
65 66 67 |
# File 'lib/rubyXL/objects/chartsheet.rb', line 65 def workbook @workbook end |
Instance Method Details
#xlsx_path ⇒ Object
84 85 86 |
# File 'lib/rubyXL/objects/chartsheet.rb', line 84 def xlsx_path ROOT.join('xl', 'chartsheets', "sheet#{file_index}.xml") end |