Sha256: 8dd953fcd575fa3088fa3cbf9e6562f88587c0a88c87f911812181ef7af73d2d
Contents?: true
Size: 767 Bytes
Versions: 2
Compression:
Stored size: 767 Bytes
Contents
module OpenXml module Docx module Properties class Border < ComplexProperty attr_reader :tag with_namespace :w do attribute :color, expects: :hex_color attribute :frame, expects: :true_or_false attribute :shadow, expects: :true_or_false attribute :size, expects: :positive_integer, displays_as: :sz attribute :space, expects: :positive_integer attribute :theme_color, expects: :valid_theme_color attribute :theme_shade, expects: :hex_digit attribute :theme_tint, expects: :hex_digit attribute :type, expects: :valid_type, displays_as: :val end def initialize(tag=:bdr) @tag = tag end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openxml-docx-0.10.1 | lib/openxml/docx/properties/border.rb |
openxml-docx-0.10.0 | lib/openxml/docx/properties/border.rb |