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

- old
+ new

@@ -1,13 +1,11 @@ module OpenXml module Docx module Properties - class TableLayout < ValueProperty + class TableLayout < ComplexProperty tag :tblLayout - def ok_values - %i(autofit fixed) - end + attribute :type, one_of: %i(autofit fixed), namespace: :w end end end end