class Axlsx::SheetCalcPr

the SheetCalcPr object for the worksheet This object contains calculation properties for the worksheet.

Public Class Methods

new(options={}) click to toggle source

creates a new SheetCalcPr @param [Hash] options Options for this object @option [Boolean] full_calc_on_load @see full_calc_on_load

# File lib/axlsx/workbook/worksheet/sheet_calc_pr.rb, line 12
def initialize(options={})
  @full_calc_on_load = true
  parse_options options
end

Public Instance Methods

to_xml_string(str='') click to toggle source

Serialize the object @param [String] str the string to append this objects serialized content to. @return [String]

# File lib/axlsx/workbook/worksheet/sheet_calc_pr.rb, line 25
def to_xml_string(str='')
  str << "<sheetCalcPr #{serialized_attributes}/>"
end