lib/openxml/docx/properties/spacing.rb
module OpenXml
module Docx
module Properties
class Spacing < ComplexProperty
with_namespace :w do
attribute :after, expects: :positive_integer
attribute :after_auto, expects: :on_or_off, displays_as: :afterAutospacing
attribute :after_lines, expects: :integer
attribute :before, expects: :positive_integer
attribute :before_auto, expects: :on_or_off, displays_as: :beforeAutospacing
attribute :before_lines, expects: :integer
attribute :line, expects: :integer
attribute :line_rule, one_of: %i(atLeast auto exact)
end
end
end
end
end