Sha256: 32a4751419a8df42607885a5e0ded4c6cdb7510f2619ab461115cdf8b1aae12a

Contents?: true

Size: 720 Bytes

Versions: 2

Compression:

Stored size: 720 Bytes

Contents

module OpenXml
  module Docx
    module Properties
      class LatentStylesException < ComplexProperty
        tag :lsdException

        with_namespace :w do
          attribute :locked, expects: :true_or_false
          attribute :style_name, expects: :string, displays_as: :name
          attribute :qFormat, expects: :true_or_false
          attribute :semi_hidden, expects: :true_or_false, displays_as: :semiHidden
          attribute :ui_priority, expects: :integer, displays_as: :uiPriority
          attribute :unhide_when_used, expects: :true_or_false, displays_as: :unhideWhenUsed
        end


        def initialize(style_name)
          self.style_name = style_name
        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/latent_styles_exception.rb
openxml-docx-0.10.0 lib/openxml/docx/properties/latent_styles_exception.rb