Class: RubyXL::ChartFile
- Inherits:
-
GenericStorageObject
- Object
- GenericStorageObject
- RubyXL::ChartFile
- Includes:
- RelationshipSupport
- Defined in:
- lib/rubyXL/objects/storage.rb
Constant Summary collapse
- CONTENT_TYPE =
'application/vnd.openxmlformats-officedocument.drawingml.chart+xml'
- REL_TYPE =
'http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart'
Constants inherited from GenericStorageObject
GenericStorageObject::SAVE_ORDER
Instance Attribute Summary
Attributes included from RelationshipSupport
#generic_storage, #relationship_container
Attributes inherited from GenericStorageObject
#data, #generic_storage, #xlsx_path
Instance Method Summary collapse
Methods included from RelationshipSupport
#collect_related_objects, included, #load_relationships, #related_objects, #store_relationship
Methods inherited from GenericStorageObject
#add_to_zip, #initialize, parse_file
Constructor Details
This class inherits a constructor from RubyXL::GenericStorageObject
Instance Method Details
#attach_relationship(rid, rf) ⇒ Object
58 59 60 61 62 63 64 65 |
# File 'lib/rubyXL/objects/storage.rb', line 58 def attach_relationship(rid, rf) case rf when RubyXL::ChartColorsFile then store_relationship(rf) # TODO when RubyXL::ChartStyleFile then store_relationship(rf) # TODO when RubyXL::ChartUserShapesFile then store_relationship(rf) # TODO else store_relationship(rf, :unknown) end end |