Sha256: 8f618c004603901b128a1b7a9c1978c3f079efdc388e2d55b439a5c49821b02b

Contents?: true

Size: 366 Bytes

Versions: 3

Compression:

Stored size: 366 Bytes

Contents

module OpenXml
  module Docx
    module Properties
      class Column < ComplexProperty
        tag :col

        attribute :space, expects: :positive_integer
        attribute :width, expects: :positive_integer, displays_as: :w

        def initialize(space, width)
          self.space = space
          self.width = width
        end

      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openxml-docx-0.9.0 lib/openxml/docx/properties/column.rb
openxml-docx-0.8.0 lib/openxml/docx/properties/column.rb
openxml-docx-0.8.0.beta1 lib/openxml/docx/properties/column.rb