Sha256: 7eddb2916f2cd91496f6001d27e4b3fec598d5eed324857f679a60be744b926a

Contents?: true

Size: 966 Bytes

Versions: 1

Compression:

Stored size: 966 Bytes

Contents

module Rocx
  module Properties
    class ConditionalFormatting < ComplexProperty
      include AttributeBuilder

      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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rocx-0.5.8 lib/rocx/properties/conditional_formatting.rb