Sha256: 4ed09f561cba6d7651632e64e98b4b19de920187cd38debd6c98d873cee4f401

Contents?: true

Size: 411 Bytes

Versions: 14

Compression:

Stored size: 411 Bytes

Contents

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

        with_namespace :w do
          attribute :space, expects: :positive_integer
          attribute :width, expects: :positive_integer, displays_as: :w
        end

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

      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
openxml-docx-0.11.5 lib/openxml/docx/properties/column.rb
openxml-docx-0.11.4 lib/openxml/docx/properties/column.rb
openxml-docx-0.11.3 lib/openxml/docx/properties/column.rb
openxml-docx-0.11.2 lib/openxml/docx/properties/column.rb
openxml-docx-0.11.1 lib/openxml/docx/properties/column.rb
openxml-docx-0.11.0 lib/openxml/docx/properties/column.rb
openxml-docx-0.11.0.rc lib/openxml/docx/properties/column.rb
openxml-docx-0.10.6 lib/openxml/docx/properties/column.rb
openxml-docx-0.10.5 lib/openxml/docx/properties/column.rb
openxml-docx-0.10.4 lib/openxml/docx/properties/column.rb
openxml-docx-0.10.3 lib/openxml/docx/properties/column.rb
openxml-docx-0.10.2 lib/openxml/docx/properties/column.rb
openxml-docx-0.10.1 lib/openxml/docx/properties/column.rb
openxml-docx-0.10.0 lib/openxml/docx/properties/column.rb