class BerkeleyLibrary::Util::ODS::XML::Style::TableRowProperties
Attributes
height[R]
Public Class Methods
new(height, doc:)
click to toggle source
Calls superclass method
BerkeleyLibrary::Util::ODS::XML::ElementNode::new
# File lib/berkeley_library/util/ods/xml/style/table_column_properties.rb, line 11 def initialize(height, doc:) super(:style, 'table-row-properties', doc: doc) @height = height set_default_attributes! end
Private Instance Methods
set_default_attributes!()
click to toggle source
# File lib/berkeley_library/util/ods/xml/style/table_column_properties.rb, line 20 def set_default_attributes! set_attribute('row-height', height) set_attribute(:fo, 'break-before', 'auto') set_attribute('use-optimal-row-height', 'true') end