Class: RubyXL::CommentsFile

Inherits:
OOXMLTopLevelObject show all
Defined in:
lib/rubyXL/objects/comments.rb

Overview

Constant Summary collapse

CONTENT_TYPE =
'application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml'
REL_TYPE =
'http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments'

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#before_write_xml, #dup, #index_in_collection, #initialize, #write_xml

Instance Attribute Details

#workbookObject

Returns the value of attribute workbook.



38
39
40
# File 'lib/rubyXL/objects/comments.rb', line 38

def workbook
  @workbook
end

Instance Method Details

#xlsx_pathObject



40
41
42
# File 'lib/rubyXL/objects/comments.rb', line 40

def xlsx_path
  File.join('xl', "comments#{file_index}.xml")
end