lib/openxml/docx/properties/latent_styles_exception.rb in openxml-docx-0.10.1 vs lib/openxml/docx/properties/latent_styles_exception.rb in openxml-docx-0.10.2
- old
+ new
@@ -3,15 +3,15 @@
module Properties
class LatentStylesException < ComplexProperty
tag :lsdException
with_namespace :w do
- attribute :locked, expects: :true_or_false
+ attribute :locked, expects: :boolean
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 :qFormat, expects: :boolean
+ attribute :semi_hidden, expects: :boolean, displays_as: :semiHidden
attribute :ui_priority, expects: :integer, displays_as: :uiPriority
- attribute :unhide_when_used, expects: :true_or_false, displays_as: :unhideWhenUsed
+ attribute :unhide_when_used, expects: :boolean, displays_as: :unhideWhenUsed
end
def initialize(style_name)
self.style_name = style_name