Sha256: 9e3af7e8f5f113dd1b7fdb9edebb81b67e3e83781b50f93e4520fe2eeb40d8e3

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

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

        with_namespace :w do
          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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openxml-docx-0.10.1 lib/openxml/docx/properties/conditional_formatting.rb
openxml-docx-0.10.0 lib/openxml/docx/properties/conditional_formatting.rb