lib/rubyXL/objects/worksheet.rb in rubyXL-3.0.1 vs lib/rubyXL/objects/worksheet.rb in rubyXL-3.0.2
- old
+ new
@@ -51,19 +51,19 @@
define_attribute(:ref, :ref)
define_element_name 'dimension'
end
class WorksheetFormatProperties < OOXMLObject
- define_attribute(:baseColWidth, :int, :default => 8)
- define_attribute(:defaultColWidth, :float)
- define_attribute(:defaultRowHeight, :float, :required => true)
- define_attribute(:customHeight, :bool, :default => false)
- define_attribute(:zeroHeight, :bool, :default => false)
- define_attribute(:thickTop, :bool, :default => false)
- define_attribute(:thickBottom, :bool, :default => false)
- define_attribute(:outlineLevelRow, :int, :default => 0)
- define_attribute(:outlineLevelCol, :int, :default => 0)
+ define_attribute(:baseColWidth, :int, :default => 8)
+ define_attribute(:defaultColWidth, :double)
+ define_attribute(:defaultRowHeight, :double, :required => true)
+ define_attribute(:customHeight, :bool, :default => false)
+ define_attribute(:zeroHeight, :bool, :default => false)
+ define_attribute(:thickTop, :bool, :default => false)
+ define_attribute(:thickBottom, :bool, :default => false)
+ define_attribute(:outlineLevelRow, :int, :default => 0)
+ define_attribute(:outlineLevelCol, :int, :default => 0)
define_element_name 'sheetFormatPr'
end
# http://www.schemacentral.com/sc/ooxml/e-ssml_pageSetup-1.html
class PageSetup < OOXMLObject
@@ -353,11 +353,11 @@
define_element_name 'dataConsolidate'
end
# http://www.schemacentral.com/sc/ooxml/e-ssml_pane-1.html
class Pane < OOXMLObject
- define_attribute(:xSplit, :int)
- define_attribute(:ySplit, :int)
+ define_attribute(:xSplit, :double)
+ define_attribute(:ySplit, :double)
define_attribute(:topLeftCell, :string)
define_attribute(:activePane, RubyXL::ST_Pane, :default => 'topLeft', )
define_attribute(:state, RubyXL::ST_PaneState, :default=> 'split')
define_element_name 'pane'
end