Sha256: a1e78356fe174e7ef9ce13d62e2380c6d4ad508cfbb7a58d1c7120c34dfe9980

Contents?: true

Size: 1.08 KB

Versions: 4

Compression:

Stored size: 1.08 KB

Contents

module OpenXml
  module DrawingML
    module Properties
      class BulletStyleAutoNumbered < OpenXml::Properties::ComplexProperty
        namespace :a
        tag :buAutoNum

        AUTONUMBER_SCHEMES = %i{
          alphaLcParenBoth alphaLcParenR alphaLcPeriod alphaUcParenBoth
          alphaUcParenR alphaUcPeriod arabic1Minus arabic2Minus
          arabicDbPeriod arabicDbPlain arabicParenBoth arabicParenR
          arabicPeriod arabicPlain circleNumDbPlain circleNumWdBlackPlain
          circleNumWdWhitePlain ea1ChsPeriod ea1ChsPlain eaChtPeriod
          eaChtPlain ea1JpnKorPeriod ea1JpnKorPlain hebrew2Minus
          hindiAlpha1Period hindiAlphaPeriod hindiNumParenR hindiNumPeriod
          romanLcParenBoth romanLcParenR romanLcPeriod romanUcParenBoth
          romanUcParenR romanUcPeriod thaiAlphaParenBoth thaiAlphaParenR
          thaiAlphaPeriod thaiNumParenBoth thaiNumParenR thaiNumPeriod
        }.freeze

        attribute :start_at, displays_as: :startAt, expects: :integer, in_range: (1..32_767)
        attribute :type, one_of: AUTONUMBER_SCHEMES

      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/bullet_style_auto_numbered.rb
openxml-drawingml-0.3.0 lib/openxml/drawingml/properties/bullet_style_auto_numbered.rb
openxml-drawingml-0.2.1 lib/openxml/drawingml/properties/bullet_style_auto_numbered.rb
openxml-drawingml-0.2.0 lib/openxml/drawingml/properties/bullet_style_auto_numbered.rb