Class: RubyXL::Workbook
Overview
Constant Summary
LegacyWorkbook::APPLICATION, LegacyWorkbook::APPVERSION, LegacyWorkbook::SHEET_NAME_TEMPLATE
Instance Attribute Summary
#calculation_chain, #chart_rels, #charts, #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
Methods inherited from OOXMLObject
#add_to_zip, #before_write_xml, define_attribute, define_child_node, define_element_name, #dup, filepath, #index_in_collection, #initialize, obtain_class_variable, parse, parse_file, set_countable, set_namespaces, #write_xml
Instance Method Details
#application ⇒ Object
213
214
215
|
# File 'lib/rubyXL/objects/workbook.rb', line 213
def application
self.document_properties.application && self.document_properties.application.value
end
|
#application=(v) ⇒ Object
217
218
219
220
|
# File 'lib/rubyXL/objects/workbook.rb', line 217
def application=(v)
self.document_properties.application ||= StringNode.new
self.document_properties.application.value = v
end
|
#appversion ⇒ Object
222
223
224
|
# File 'lib/rubyXL/objects/workbook.rb', line 222
def appversion
self.document_properties.app_version && self.document_properties.app_version.value
end
|
#appversion=(v) ⇒ Object
226
227
228
229
|
# File 'lib/rubyXL/objects/workbook.rb', line 226
def appversion=(v)
self.document_properties.app_version ||= StringNode.new
self.document_properties.app_version.value = v
end
|
#company ⇒ Object
204
205
206
|
# File 'lib/rubyXL/objects/workbook.rb', line 204
def company
self.document_properties.company && self.document_properties.company.value
end
|
#company=(v) ⇒ Object
208
209
210
211
|
# File 'lib/rubyXL/objects/workbook.rb', line 208
def company=(v)
self.document_properties.company ||= StringNode.new
self.document_properties.company.value = v
end
|
#date1904 ⇒ Object
195
196
197
|
# File 'lib/rubyXL/objects/workbook.rb', line 195
def date1904
workbook_properties && workbook_properties.date1904
end
|
#date1904=(v) ⇒ Object
199
200
201
202
|
# File 'lib/rubyXL/objects/workbook.rb', line 199
def date1904=(v)
self.workbook_properties ||= RubyXL::WorkbookProperties.new
workbook_properties.date1904 = v
end
|