diff --git a/lib/openxml/docx/elements/paragraph.rb b/lib/openxml/docx/elements/paragraph.rb
index 5adfc12f..68867f14 100644
--- a/lib/openxml/docx/elements/paragraph.rb
+++ b/lib/openxml/docx/elements/paragraph.rb
@@ -23,9 +23,9 @@ class Paragraph < OpenXml::Docx::Element
value_property :page_break_before
value_property :snap_to_grid
value_property :paragraph_style
- value_property :supress_auto_hyphens
- value_property :supress_line_numbers
- value_property :supress_overlap
+ value_property :suppress_auto_hyphens
+ value_property :suppress_line_numbers
+ value_property :suppress_overlap
value_property :textbox_tight_wrap
value_property :text_alignment
value_property :text_direction
diff --git a/lib/openxml/docx/properties/supress_auto_hyphens.rb b/lib/openxml/docx/properties/suppress_auto_hyphens.rb
similarity index 61%
rename from lib/openxml/docx/properties/supress_auto_hyphens.rb
rename to lib/openxml/docx/properties/suppress_auto_hyphens.rb
index c5c66906..f8cd2a16 100644
--- a/lib/openxml/docx/properties/supress_auto_hyphens.rb
+++ b/lib/openxml/docx/properties/suppress_auto_hyphens.rb
@@ -1,7 +1,7 @@
module OpenXml
module Docx
module Properties
- class SupressAutoHyphens < ToggleProperty
+ class SuppressAutoHyphens < ToggleProperty
end
end
end
diff --git a/lib/openxml/docx/properties/supress_line_numbers.rb b/lib/openxml/docx/properties/suppress_line_numbers.rb
similarity index 61%
rename from lib/openxml/docx/properties/supress_line_numbers.rb
rename to lib/openxml/docx/properties/suppress_line_numbers.rb
index 7eda0513..ce751c48 100644
--- a/lib/openxml/docx/properties/supress_line_numbers.rb
+++ b/lib/openxml/docx/properties/suppress_line_numbers.rb
@@ -1,7 +1,7 @@
module OpenXml
module Docx
module Properties
- class SupressLineNumbers < ToggleProperty
+ class SuppressLineNumbers < ToggleProperty
end
end
end
diff --git a/lib/openxml/docx/properties/supress_overlap.rb b/lib/openxml/docx/properties/suppress_overlap.rb
similarity index 63%
rename from lib/openxml/docx/properties/supress_overlap.rb
rename to lib/openxml/docx/properties/suppress_overlap.rb
index 17baa9bf..414d2a71 100644
--- a/lib/openxml/docx/properties/supress_overlap.rb
+++ b/lib/openxml/docx/properties/suppress_overlap.rb
@@ -1,7 +1,7 @@
module OpenXml
module Docx
module Properties
- class SupressOverlap < ToggleProperty
+ class SuppressOverlap < ToggleProperty
end
end
end
diff --git a/spec/properties/suppress_auto_hyphens_spec.rb b/spec/properties/suppress_auto_hyphens_spec.rb
new file mode 100644
index 00000000..e6d2c4c1
--- /dev/null
+++ b/spec/properties/suppress_auto_hyphens_spec.rb
@@ -0,0 +1,22 @@
+require "spec_helper"
+
+describe OpenXml::Docx::Properties::SuppressAutoHyphens do
+ include ValuePropertyTestMacros
+
+ it_should_use tag: :suppressAutoHyphens, name: "suppress_auto_hyphens", value: true
+
+ with_value(true) do
+ it_should_work
+ it_should_output ""
+ end
+
+ with_value(false) do
+ it_should_work
+ it_should_output ""
+ end
+
+ with_value(nil) do
+ it_should_not_work
+ end
+
+end
diff --git a/spec/properties/suppress_line_numbers_spec.rb b/spec/properties/suppress_line_numbers_spec.rb
new file mode 100644
index 00000000..c96a7566
--- /dev/null
+++ b/spec/properties/suppress_line_numbers_spec.rb
@@ -0,0 +1,22 @@
+require "spec_helper"
+
+describe OpenXml::Docx::Properties::SuppressLineNumbers do
+ include ValuePropertyTestMacros
+
+ it_should_use tag: :suppressLineNumbers, name: "suppress_line_numbers", value: true
+
+ with_value(true) do
+ it_should_work
+ it_should_output ""
+ end
+
+ with_value(false) do
+ it_should_work
+ it_should_output ""
+ end
+
+ with_value(nil) do
+ it_should_not_work
+ end
+
+end
diff --git a/spec/properties/suppress_overlap_spec.rb b/spec/properties/suppress_overlap_spec.rb
new file mode 100644
index 00000000..8b6af09e
--- /dev/null
+++ b/spec/properties/suppress_overlap_spec.rb
@@ -0,0 +1,22 @@
+require "spec_helper"
+
+describe OpenXml::Docx::Properties::SuppressOverlap do
+ include ValuePropertyTestMacros
+
+ it_should_use tag: :suppressOverlap, name: "suppress_overlap", value: true
+
+ with_value(true) do
+ it_should_work
+ it_should_output ""
+ end
+
+ with_value(false) do
+ it_should_work
+ it_should_output ""
+ end
+
+ with_value(nil) do
+ it_should_not_work
+ end
+
+end
diff --git a/spec/properties/supress_auto_hyphens_spec.rb b/spec/properties/supress_auto_hyphens_spec.rb
deleted file mode 100644
index 57ac8a3f..00000000
--- a/spec/properties/supress_auto_hyphens_spec.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-require "spec_helper"
-
-describe OpenXml::Docx::Properties::SupressAutoHyphens do
- include ValuePropertyTestMacros
-
- it_should_use tag: :supressAutoHyphens, name: "supress_auto_hyphens", value: true
-
- with_value(true) do
- it_should_work
- it_should_output ""
- end
-
- with_value(false) do
- it_should_work
- it_should_output ""
- end
-
- with_value(nil) do
- it_should_not_work
- end
-
-end
diff --git a/spec/properties/supress_line_numbers_spec.rb b/spec/properties/supress_line_numbers_spec.rb
deleted file mode 100644
index d70557d3..00000000
--- a/spec/properties/supress_line_numbers_spec.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-require "spec_helper"
-
-describe OpenXml::Docx::Properties::SupressLineNumbers do
- include ValuePropertyTestMacros
-
- it_should_use tag: :supressLineNumbers, name: "supress_line_numbers", value: true
-
- with_value(true) do
- it_should_work
- it_should_output ""
- end
-
- with_value(false) do
- it_should_work
- it_should_output ""
- end
-
- with_value(nil) do
- it_should_not_work
- end
-
-end
diff --git a/spec/properties/supress_overlap_spec.rb b/spec/properties/supress_overlap_spec.rb
deleted file mode 100644
index 9b438a17..00000000
--- a/spec/properties/supress_overlap_spec.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-require "spec_helper"
-
-describe OpenXml::Docx::Properties::SupressOverlap do
- include ValuePropertyTestMacros
-
- it_should_use tag: :supressOverlap, name: "supress_overlap", value: true
-
- with_value(true) do
- it_should_work
- it_should_output ""
- end
-
- with_value(false) do
- it_should_work
- it_should_output ""
- end
-
- with_value(nil) do
- it_should_not_work
- end
-
-end