Class: RubyXL::Workbook
Overview
Constant Summary
LegacyWorkbook::APPLICATION, LegacyWorkbook::APPVERSION, LegacyWorkbook::SHEET_NAME_TEMPLATE
Instance Attribute Summary
#calculation_chain, #chart_rels, #charts, #chartsheet_rels, #created_at, #creator, #document_properties, #drawings, #drawings_rels, #external_links, #external_links_rels, #filepath, #macros, #media, #modified_at, #modifier, #printer_settings, #relationship_container, #shared_strings_container, #stylesheet, #theme, #worksheet_rels, #worksheets
Instance Method Summary
collapse
#[], #add_worksheet, #borders, #cell_xfs, #date_to_num, #each, #fills, #fonts, #get_fill_color, #initialize, #modify_alignment, #modify_border, #modify_fill, #modify_text_wrap, #num_to_date, #register_new_fill, #register_new_font, #register_new_xf, #write
#add_to_zip, filepath, #filepath, parse_file, set_namespaces
#define_attribute, #define_child_node, #define_element_name, #obtain_class_variable, #parse, #set_countable
#before_write_xml, #dup, #index_in_collection, #initialize, #write_xml
Instance Method Details
#application ⇒ Object
337
338
339
|
# File 'lib/rubyXL/objects/workbook.rb', line 337
def application
self.document_properties.application && self.document_properties.application.value
end
|
#application=(v) ⇒ Object
341
342
343
344
|
# File 'lib/rubyXL/objects/workbook.rb', line 341
def application=(v)
self.document_properties.application ||= StringNode.new
self.document_properties.application.value = v
end
|
#appversion ⇒ Object
346
347
348
|
# File 'lib/rubyXL/objects/workbook.rb', line 346
def appversion
self.document_properties.app_version && self.document_properties.app_version.value
end
|
#appversion=(v) ⇒ Object
350
351
352
353
|
# File 'lib/rubyXL/objects/workbook.rb', line 350
def appversion=(v)
self.document_properties.app_version ||= StringNode.new
self.document_properties.app_version.value = v
end
|
#company ⇒ Object
328
329
330
|
# File 'lib/rubyXL/objects/workbook.rb', line 328
def company
self.document_properties.company && self.document_properties.company.value
end
|
#company=(v) ⇒ Object
332
333
334
335
|
# File 'lib/rubyXL/objects/workbook.rb', line 332
def company=(v)
self.document_properties.company ||= StringNode.new
self.document_properties.company.value = v
end
|
#date1904 ⇒ Object
319
320
321
|
# File 'lib/rubyXL/objects/workbook.rb', line 319
def date1904
workbook_properties && workbook_properties.date1904
end
|
#date1904=(v) ⇒ Object
323
324
325
326
|
# File 'lib/rubyXL/objects/workbook.rb', line 323
def date1904=(v)
self.workbook_properties ||= RubyXL::WorkbookProperties.new
workbook_properties.date1904 = v
end
|