class BerkeleyLibrary::Util::ODS::XML::Style::ParagraphProperties
Constants
- DEFAULT_TAB_STOP_DISTANCE
Attributes
tab_stop_distance[R]
Public Class Methods
new(tab_stop_distance = DEFAULT_TAB_STOP_DISTANCE, doc:)
click to toggle source
Calls superclass method
BerkeleyLibrary::Util::ODS::XML::ElementNode::new
# File lib/berkeley_library/util/ods/xml/style/paragraph_properties.rb, line 14 def initialize(tab_stop_distance = DEFAULT_TAB_STOP_DISTANCE, doc:) super(:style, 'paragraph-properties', doc: doc) @tab_stop_distance = tab_stop_distance set_default_attributes! end
Private Instance Methods
set_default_attributes!()
click to toggle source
# File lib/berkeley_library/util/ods/xml/style/paragraph_properties.rb, line 22 def set_default_attributes! set_attribute('tab-stop-distance', tab_stop_distance) end