Sha256: 1ed787d6801c10712c3d82a24aba8b54677da3310791736937108bc916370e09

Contents?: true

Size: 808 Bytes

Versions: 14

Compression:

Stored size: 808 Bytes

Contents

module OpenXml
  module Docx
    module Properties
      class TablePPr < ComplexProperty
        tag :tblpPr

        with_namespace :w do
          attribute :bottomFromText, expects: :positive_integer
          attribute :horizAnchor, one_of: %i(margin page text)
          attribute :leftFromText, expects: :positive_integer
          attribute :rightFromText, expects: :positive_integer
          attribute :tblpX, expects: :integer
          attribute :tblpXSpec, one_of: %i(center inside left outside right)
          attribute :tblpY, expects: :integer
          attribute :tblpYSpec, one_of: %i(bottom center inline inside outside top)
          attribute :topFromText, expects: :positive_integer
          attribute :vertAnchor, one_of: %i(margin page text)
        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/table_p_pr.rb
openxml-docx-0.11.4 lib/openxml/docx/properties/table_p_pr.rb
openxml-docx-0.11.3 lib/openxml/docx/properties/table_p_pr.rb
openxml-docx-0.11.2 lib/openxml/docx/properties/table_p_pr.rb
openxml-docx-0.11.1 lib/openxml/docx/properties/table_p_pr.rb
openxml-docx-0.11.0 lib/openxml/docx/properties/table_p_pr.rb
openxml-docx-0.11.0.rc lib/openxml/docx/properties/table_p_pr.rb
openxml-docx-0.10.6 lib/openxml/docx/properties/table_p_pr.rb
openxml-docx-0.10.5 lib/openxml/docx/properties/table_p_pr.rb
openxml-docx-0.10.4 lib/openxml/docx/properties/table_p_pr.rb
openxml-docx-0.10.3 lib/openxml/docx/properties/table_p_pr.rb
openxml-docx-0.10.2 lib/openxml/docx/properties/table_p_pr.rb
openxml-docx-0.10.1 lib/openxml/docx/properties/table_p_pr.rb
openxml-docx-0.10.0 lib/openxml/docx/properties/table_p_pr.rb