Sha256: 3990a3ac968892272af5d003d1d9500ea850e56ebef6a0edecf432f05482ae11

Contents?: true

Size: 972 Bytes

Versions: 4

Compression:

Stored size: 972 Bytes

Contents

module OpenXml
  module DrawingML
    module Properties
      class PresetTextWarp < OpenXml::Properties::ComplexProperty
        namespace :a
        tag :prstTxWarp

        PRESET_WARPS = %i{
          textArchDown textArchDownPour textArchUp textArchUpPour textButton
          textButtonPour textCanDown textCanUp textCascadeDown textCascadeUp
          textChevron textChevronInverted textCircle textCirclePour
          textCurveDown textCurveUp textDeflate textDeflateBottom
          textDeflateInflate textDeflateInflateDeflate textDeflateTop
          textDoubleWave1 textFadeDown textFadeLeft textFadeRight textFadeUp
          textInflate textInflateBottom textInflateTop textNoShape textPlain
          textRingInside textRingOutside textSlantDown textSlantUp textStop
          textTriangle textTriangleInverted textWave1 textWave2 textWave4
        }.freeze

        attribute :preset, displays_as: :prst, one_of: PRESET_WARPS

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openxml-drawingml-0.3.1 lib/openxml/drawingml/properties/preset_text_warp.rb
openxml-drawingml-0.3.0 lib/openxml/drawingml/properties/preset_text_warp.rb
openxml-drawingml-0.2.1 lib/openxml/drawingml/properties/preset_text_warp.rb
openxml-drawingml-0.2.0 lib/openxml/drawingml/properties/preset_text_warp.rb