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'
- REL_TYPE =
- 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet'
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.
| 66 67 68 | # File 'lib/rubyXL/objects/chartsheet.rb', line 66 def rels @rels end | 
#sheet_id ⇒ Object
Returns the value of attribute sheet_id.
| 67 68 69 | # File 'lib/rubyXL/objects/chartsheet.rb', line 67 def sheet_id @sheet_id end | 
#sheet_name ⇒ Object
Returns the value of attribute sheet_name.
| 67 68 69 | # File 'lib/rubyXL/objects/chartsheet.rb', line 67 def sheet_name @sheet_name end | 
#state ⇒ Object
Returns the value of attribute state.
| 66 67 68 | # File 'lib/rubyXL/objects/chartsheet.rb', line 66 def state @state end | 
#workbook ⇒ Object
Returns the value of attribute workbook.
| 67 68 69 | # File 'lib/rubyXL/objects/chartsheet.rb', line 67 def workbook @workbook end | 
Instance Method Details
#xlsx_path ⇒ Object
| 86 87 88 | # File 'lib/rubyXL/objects/chartsheet.rb', line 86 def xlsx_path ROOT.join('xl', 'chartsheets', "sheet#{file_index}.xml") end |