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
#declared_attributes, included, #serialized_attributes, #serialized_element_attributes, #serialized_tag
Methods included from OptionsParser
Constructor Details
#initialize(options = {}) ⇒ OutlinePr
Creates a new OutlinePr object
22 23 24 |
# File 'lib/axlsx/workbook/worksheet/outline_pr.rb', line 22 def initialize( = {}) end |
Instance Method Details
#to_xml_string(str = '') ⇒ String
Serialize the object
29 30 31 |
# File 'lib/axlsx/workbook/worksheet/outline_pr.rb', line 29 def to_xml_string(str = '') str << "<outlinePr #{serialized_attributes} />" end |