Sha256: 5cbaf9b14c32ab4f3f1c0afb54907850300143d6fb8b7d9070ecd23b864558fe
Contents?: true
Size: 646 Bytes
Versions: 12
Compression:
Stored size: 646 Bytes
Contents
require "openxml/docx/properties/column" module OpenXml module Docx module Properties class Columns < ContainerProperty tag :cols child_class :column with_namespace :w do attribute :equal_width, expects: :boolean attribute :number, expects: :integer, displays_as: :num attribute :separator, expects: :boolean, displays_as: :sep attribute :space, expects: :integer end def render? return true if %i(equal_width number separator space).any? { |attribute| !public_send(attribute).nil? } super end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems