lib/rubyXL/objects/border.rb in rubyXL-3.3.25 vs lib/rubyXL/objects/border.rb in rubyXL-3.3.26
- old
+ new
@@ -14,11 +14,11 @@
def get_rgb_color
color && color.rgb
end
end
- # http://www.schemacentral.com/sc/ooxml/e-ssml_border-2.html
+ # http://www.datypic.com/sc/ooxml/e-ssml_border-2.html
class Border < OOXMLObject
define_attribute(:diagonalUp, :bool)
define_attribute(:diagonalDown, :bool)
define_attribute(:outline, :bool, :default => true)
define_child_node(RubyXL::BorderEdge, :node_name => :left)
@@ -58,10 +58,10 @@
self.send(direction).set_rgb_color(color)
end
end
end
- # http://www.schemacentral.com/sc/ooxml/e-ssml_borders-1.html
+ # http://www.datypic.com/sc/ooxml/e-ssml_borders-1.html
class Borders < OOXMLContainerObject
define_child_node(RubyXL::Border, :collection => :with_count)
define_element_name 'borders'
def self.default