Class: RubyXL::RootRelationships
- Inherits:
-
OOXMLRelationshipsFile
- Object
- OOXMLObject
- OOXMLTopLevelObject
- OOXMLRelationshipsFile
- RubyXL::RootRelationships
- Defined in:
- lib/rubyXL/objects/relationships.rb
Constant Summary
Constants inherited from OOXMLRelationshipsFile
OOXMLRelationshipsFile::SAVE_ORDER
Constants inherited from OOXMLTopLevelObject
OOXMLTopLevelObject::SAVE_ORDER
Instance Attribute Summary
Attributes inherited from OOXMLRelationshipsFile
Instance Method Summary collapse
Methods inherited from OOXMLRelationshipsFile
#find_by_rid, #find_by_target, get_class_by_rel_type, #load_related_files, load_relationship_file
Methods inherited from OOXMLTopLevelObject
#add_to_zip, #file_index, parse_file, set_namespaces
Methods included from OOXMLObjectClassMethods
#define_attribute, #define_child_node, #define_element_name, #obtain_class_variable, #parse
Methods included from OOXMLObjectInstanceMethods
#dup, #index_in_collection, #initialize, #write_xml
Instance Method Details
#before_write_xml ⇒ Object
147 148 149 150 151 152 153 154 155 156 |
# File 'lib/rubyXL/objects/relationships.rb', line 147 def before_write_xml self.relationships = [] add_relationship(owner.workbook) add_relationship(owner.thumbnail) add_relationship(owner.core_properties) add_relationship(owner.document_properties) true end |
#xlsx_path ⇒ Object
158 159 160 |
# File 'lib/rubyXL/objects/relationships.rb', line 158 def xlsx_path File.join('_rels', '.rels') end |