Class: Axlsx::SheetCalcPr
- Inherits:
-
Object
- Object
- Axlsx::SheetCalcPr
- Includes:
- Accessors, OptionsParser, SerializedAttributes
- Defined in:
- lib/axlsx/workbook/worksheet/sheet_calc_pr.rb
Overview
the SheetCalcPr object for the worksheet This object contains calculation properties for the worksheet.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ SheetCalcPr
constructor
creates a new SheetCalcPr.
-
#to_xml_string(str = '') ⇒ String
Serialize the object content to.
Methods included from SerializedAttributes
#declared_attributes, included, #serialized_attributes, #serialized_element_attributes, #serialized_tag
Methods included from OptionsParser
Constructor Details
#initialize(options = {}) ⇒ SheetCalcPr
creates a new SheetCalcPr
12 13 14 15 |
# File 'lib/axlsx/workbook/worksheet/sheet_calc_pr.rb', line 12 def initialize(={}) @full_calc_on_load = true end |
Instance Method Details
#to_xml_string(str = '') ⇒ String
Serialize the object content to.
25 26 27 |
# File 'lib/axlsx/workbook/worksheet/sheet_calc_pr.rb', line 25 def to_xml_string(str='') str << "<sheetCalcPr #{serialized_attributes}/>" end |