Class: Axlsx::OutlinePr
- Inherits:
-
Object
- Object
- Axlsx::OutlinePr
- Includes:
- Accessors, OptionsParser, SerializedAttributes
- Defined in:
- lib/axlsx/workbook/worksheet/outline_pr.rb
Overview
The OutlinePr class manages serialization of a worksheet's outlinePr element, which provides various options to control outlining.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ OutlinePr
constructor
Creates a new OutlinePr object.
-
#to_xml_string(str = +'')) ⇒ String
Serialize the object.
Methods included from SerializedAttributes
included, #serialized_attributes, #serialized_element_attributes, #serialized_tag
Methods included from OptionsParser
Constructor Details
#initialize(options = {}) ⇒ OutlinePr
Creates a new OutlinePr object
23 24 25 |
# File 'lib/axlsx/workbook/worksheet/outline_pr.rb', line 23 def initialize( = {}) end |
Instance Method Details
#to_xml_string(str = +'')) ⇒ String
Serialize the object
30 31 32 33 34 |
# File 'lib/axlsx/workbook/worksheet/outline_pr.rb', line 30 def to_xml_string(str = +'') str << '<outlinePr ' serialized_attributes(str) str << '/>' end |