Sha256: dc596e60ae38d0ab379e0d86596b189ddf45321be8d0913c980294f036007e98

Contents?: true

Size: 639 Bytes

Versions: 7

Compression:

Stored size: 639 Bytes

Contents

module OpenXml
  module Docx
    module Elements
      class WordProcessingDrawingWrapSquare < OpenXml::Docx::Element
        tag :wrapSquare
        namespace :wp

        attribute :distance_from_bottom, expects: :positive_integer, displays_as: :distB
        attribute :distance_from_left, expects: :positive_integer, displays_as: :distL
        attribute :distance_from_right, expects: :positive_integer, displays_as: :distR
        attribute :distance_from_top, expects: :positive_integer, displays_as: :distT
        attribute :wrap_text, one_of: %i(bothSides largest left right), displays_as: :wrapText

      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
openxml-docx-0.11.5 lib/openxml/docx/elements/word_processing_drawing_wrap_square.rb
openxml-docx-0.11.4 lib/openxml/docx/elements/word_processing_drawing_wrap_square.rb
openxml-docx-0.11.3 lib/openxml/docx/elements/word_processing_drawing_wrap_square.rb
openxml-docx-0.11.2 lib/openxml/docx/elements/word_processing_drawing_wrap_square.rb
openxml-docx-0.11.1 lib/openxml/docx/elements/word_processing_drawing_wrap_square.rb
openxml-docx-0.11.0 lib/openxml/docx/elements/word_processing_drawing_wrap_square.rb
openxml-docx-0.11.0.rc lib/openxml/docx/elements/word_processing_drawing_wrap_square.rb