lib/rubyXL/objects/sheet_common.rb in rubyXL-3.4.23 vs lib/rubyXL/objects/sheet_common.rb in rubyXL-3.4.24

- old
+ new

@@ -1,20 +1,19 @@ require 'rubyXL/objects/ooxml_object' require 'rubyXL/objects/storage' module RubyXL - # http://www.datypic.com/sc/ooxml/e-ssml_webPublishItem-1.html class WebPublishingItem < OOXMLObject define_attribute(:id, :int, :required => true) define_attribute(:divId, :int, :required => true) define_attribute(:sourceType, RubyXL::ST_WebSourceType, :required => true) define_attribute(:sourceRef, :ref) define_attribute(:sourceObject, :string) define_attribute(:destinationFile, :string, :required => true) define_attribute(:title, :string) - define_attribute(:autoRepublish, :bool, :default => false) + define_attribute(:autoRepublish, :bool, :default => false) define_element_name 'webPublishItem' end # http://www.datypic.com/sc/ooxml/e-ssml_webPublishItems-1.html class WebPublishingItems < OOXMLContainerObject @@ -45,7 +44,6 @@ define_child_node(RubyXL::StringNode, :node_name => :evenFooter) define_child_node(RubyXL::StringNode, :node_name => :firstHeader) define_child_node(RubyXL::StringNode, :node_name => :firstFooter) define_element_name 'headerFooter' end - end