Sha256: 7524bc8e1be27a5a4cffd3e36095a29f9b7ce10ca0e92dc1969d9ac1ac458ed3
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
module Axlsx # The OutlinePr class manages serialization of a worksheet's outlinePr element, which provides various # options to control outlining. class OutlinePr include Axlsx::OptionsParser include Axlsx::Accessors include Axlsx::SerializedAttributes serializable_attributes :summary_below, :summary_right, :apply_styles # These attributes are all boolean so I'm doing a bit of a hand # waving magic show to set up the attriubte accessors boolean_attr_accessor :summary_below, :summary_right, :apply_styles # Creates a new OutlinePr object # @param [Hash] options used to create the outline_pr def initialize(options = {}) parse_options options end # Serialize the object # @param [String] str serialized output will be appended to this object if provided. # @return [String] def to_xml_string(str = '') str << "<outlinePr #{serialized_attributes} />" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
caxlsx-3.2.0 | lib/axlsx/workbook/worksheet/outline_pr.rb |