lib/openxml/docx/style.rb in openxml-docx-0.10.6 vs lib/openxml/docx/style.rb in openxml-docx-0.11.0.rc
- old
+ new
@@ -1,9 +1,10 @@
+require "openxml/has_attributes"
+
module OpenXml
module Docx
class Style
- include AttributeBuilder
- include PropertyBuilder
+ include HasAttributes, HasProperties
attr_reader :paragraph, :character, :table, :type
attribute :custom, expects: :boolean, displays_as: :customStyle, namespace: :w
attribute :default, expects: :boolean, namespace: :w