lib/openxml/docx/properties/page_margins.rb in openxml-docx-0.9.0 vs lib/openxml/docx/properties/page_margins.rb in openxml-docx-0.10.0

- old
+ new

@@ -2,16 +2,19 @@ module Docx module Properties class PageMargins < ComplexProperty tag :pgMar - attribute :bottom, expects: :integer - attribute :footer, expects: :positive_integer - attribute :gutter, expects: :positive_integer - attribute :header, expects: :positive_integer - attribute :left, expects: :positive_integer - attribute :right, expects: :positive_integer - attribute :top, expects: :integer + with_namespace :w do + attribute :bottom, expects: :integer + attribute :footer, expects: :positive_integer + attribute :gutter, expects: :positive_integer + attribute :header, expects: :positive_integer + attribute :left, expects: :positive_integer + attribute :right, expects: :positive_integer + attribute :top, expects: :integer + end + end end end end