Sha256: 1eeb7fdfc5fc8adb68cb3f7f26d076e0ea8d53273da12ff8a046826e98413c38

Contents?: true

Size: 991 Bytes

Versions: 3

Compression:

Stored size: 991 Bytes

Contents

module OpenXml
  module Docx
    module Properties
      class ConditionalFormatting < ComplexProperty
        tag :cnfStyle

        attribute :even_horizontal_band, expects: :true_or_false, displays_as: :evenHBand
        attribute :even_vertical_band, expects: :true_or_false, displays_as: :evenVBand
        attribute :first_column, expects: :true_or_false
        attribute :first_row, expects: :true_or_false
        attribute :first_row_first_column, expects: :true_or_false
        attribute :first_row_last_column, expects: :true_or_false
        attribute :last_column, expects: :true_or_false
        attribute :last_row, expects: :true_or_false
        attribute :last_row_first_column, expects: :true_or_false
        attribute :last_row_last_column, expects: :true_or_false
        attribute :odd_horizontal_band, expects: :true_or_false, displays_as: :oddHBand
        attribute :odd_vertical_band, expects: :true_or_false, displays_as: :oddVBand

      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openxml-docx-0.9.0 lib/openxml/docx/properties/conditional_formatting.rb
openxml-docx-0.8.0 lib/openxml/docx/properties/conditional_formatting.rb
openxml-docx-0.8.0.beta1 lib/openxml/docx/properties/conditional_formatting.rb