Sha256: c6c72a1d8b0b6b34db3a881446ffcd00fa5bfe4a5e60706197125367464d93a7
Contents?: true
Size: 860 Bytes
Versions: 7
Compression:
Stored size: 860 Bytes
Contents
module OpenXml module Docx module Properties class TableBorder < ComplexProperty tag_is_one_of %i(top start bottom end insideH insideV left right) with_namespace :w do attribute :color, expects: :hex_color attribute :frame, expects: :boolean attribute :shadow, expects: :boolean attribute :space, expects: :positive_integer attribute :theme_color, one_of: OpenXml::Docx::THEME_COLORS attribute :theme_shade, expects: :hex_digit attribute :theme_tint, expects: :hex_digit attribute :value, one_of: OpenXml::Docx::BORDER_TYPES, displays_as: :val attribute :width, expects: :positive_integer, displays_as: :sz end def initialize(tag, value) super tag @value = value end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems