class Axlsx::OutlinePr

The OutlinePr class manages serialization of a worksheet's outlinePr element, which provides various options to control outlining.

Public Class Methods

new(options = {}) click to toggle source

Creates a new OutlinePr object @param [Worksheet] worksheet The worksheet that owns this OutlinePr object

# File lib/axlsx/workbook/worksheet/outline_pr.rb, line 22
def initialize(options = {})
  parse_options options
end

Public Instance Methods

to_xml_string(str = '') click to toggle source

Serialize the object @param [String] str serialized output will be appended to this object if provided. @return [String]

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