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, parse_file, set_namespaces
Methods inherited from OOXMLObject
#before_write_xml, define_attribute, define_child_node, define_element_name, #dup, #index_in_collection, #initialize, obtain_class_variable, parse, set_countable, #write_xml
Instance Method Details
#application ⇒ Object
338
339
340
|
# File 'lib/rubyXL/objects/workbook.rb', line 338
def application
self.document_properties.application && self.document_properties.application.value
end
|
#application=(v) ⇒ Object
342
343
344
345
|
# File 'lib/rubyXL/objects/workbook.rb', line 342
def application=(v)
self.document_properties.application ||= StringNode.new
self.document_properties.application.value = v
end
|
#appversion ⇒ Object
347
348
349
|
# File 'lib/rubyXL/objects/workbook.rb', line 347
def appversion
self.document_properties.app_version && self.document_properties.app_version.value
end
|
#appversion=(v) ⇒ Object
351
352
353
354
|
# File 'lib/rubyXL/objects/workbook.rb', line 351
def appversion=(v)
self.document_properties.app_version ||= StringNode.new
self.document_properties.app_version.value = v
end
|
#company ⇒ Object
329
330
331
|
# File 'lib/rubyXL/objects/workbook.rb', line 329
def company
self.document_properties.company && self.document_properties.company.value
end
|
#company=(v) ⇒ Object
333
334
335
336
|
# File 'lib/rubyXL/objects/workbook.rb', line 333
def company=(v)
self.document_properties.company ||= StringNode.new
self.document_properties.company.value = v
end
|
#date1904 ⇒ Object
320
321
322
|
# File 'lib/rubyXL/objects/workbook.rb', line 320
def date1904
workbook_properties && workbook_properties.date1904
end
|
#date1904=(v) ⇒ Object
324
325
326
327
|
# File 'lib/rubyXL/objects/workbook.rb', line 324
def date1904=(v)
self.workbook_properties ||= RubyXL::WorkbookProperties.new
workbook_properties.date1904 = v
end
|