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
included, #serialized_attributes, #serialized_element_attributes, #serialized_tag
Methods included from OptionsParser
Constructor Details
#initialize(options = {}) ⇒ SheetCalcPr
creates a new SheetCalcPr
13 14 15 16 |
# File 'lib/axlsx/workbook/worksheet/sheet_calc_pr.rb', line 13 def initialize( = {}) @full_calc_on_load = true end |
Instance Method Details
#to_xml_string(str = +'')) ⇒ String
Serialize the object content to.
26 27 28 29 30 |
# File 'lib/axlsx/workbook/worksheet/sheet_calc_pr.rb', line 26 def to_xml_string(str = +'') str << '<sheetCalcPr ' serialized_attributes(str) str << '/>' end |