Class: RubyXL::RootRelationships
- Inherits:
-
OOXMLRelationshipsFile
- Object
- OOXMLObject
- OOXMLTopLevelObject
- OOXMLRelationshipsFile
- RubyXL::RootRelationships
- Defined in:
- lib/rubyXL/objects/relationships.rb
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, save_order
Methods inherited from OOXMLTopLevelObject
#add_to_zip, #file_index, parse_file, save_order, set_namespaces
Methods included from OOXMLObjectClassMethods
#define_attribute, #define_child_node, #define_element_name, #obtain_class_variable, #parse, #set_countable
Methods included from OOXMLObjectInstanceMethods
#dup, #index_in_collection, #initialize, #write_xml
Instance Method Details
#before_write_xml ⇒ Object
149 150 151 152 153 154 155 156 157 158 |
# File 'lib/rubyXL/objects/relationships.rb', line 149 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
160 161 162 |
# File 'lib/rubyXL/objects/relationships.rb', line 160 def xlsx_path File.join('_rels', '.rels') end |