rocx 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/rocx.rb +2 -0
  4. data/lib/rocx/elements/container.rb +2 -56
  5. data/lib/rocx/elements/paper_source.rb +11 -0
  6. data/lib/rocx/elements/paragraph.rb +16 -1
  7. data/lib/rocx/parts/document.rb +18 -4
  8. data/lib/rocx/properties.rb +1 -0
  9. data/lib/rocx/properties/column.rb +16 -0
  10. data/lib/rocx/properties/columns.rb +13 -0
  11. data/lib/rocx/properties/container_property.rb +63 -0
  12. data/lib/rocx/properties/document_grid.rb +20 -0
  13. data/lib/rocx/properties/form_protection.rb +7 -0
  14. data/lib/rocx/properties/line_numbering.rb +21 -0
  15. data/lib/rocx/properties/page_borders.rb +59 -0
  16. data/lib/rocx/properties/page_margins.rb +15 -0
  17. data/lib/rocx/properties/page_numbering.rb +87 -0
  18. data/lib/rocx/properties/page_size.rb +21 -0
  19. data/lib/rocx/properties/{borders.rb → paragraph_borders.rb} +3 -2
  20. data/lib/rocx/properties/rtl_gutter.rb +6 -0
  21. data/lib/rocx/properties/section_type.rb +13 -0
  22. data/lib/rocx/properties/tabs.rb +2 -41
  23. data/lib/rocx/properties/vertical_text_alignment.rb +12 -0
  24. data/lib/rocx/property_builder.rb +72 -0
  25. data/lib/rocx/section.rb +34 -0
  26. data/lib/rocx/version.rb +1 -1
  27. data/spec/elements/ruby_spec.rb +5 -5
  28. data/spec/parts/document_spec.rb +63 -0
  29. data/spec/properties/column_spec.rb +46 -0
  30. data/spec/properties/columns_spec.rb +174 -0
  31. data/spec/properties/document_grid_spec.rb +78 -0
  32. data/spec/properties/form_protection_spec.rb +23 -0
  33. data/spec/properties/line_numbering_spec.rb +96 -0
  34. data/spec/properties/page_borders_spec.rb +129 -0
  35. data/spec/properties/page_margins_spec.rb +150 -0
  36. data/spec/properties/page_numbering_spec.rb +395 -0
  37. data/spec/properties/page_size_spec.rb +90 -0
  38. data/spec/properties/paper_source_spec.rb +56 -0
  39. data/spec/properties/{borders_spec.rb → paragraph_borders_spec.rb} +1 -1
  40. data/spec/properties/rtl_gutter_spec.rb +23 -0
  41. data/spec/properties/section_type_spec.rb +33 -0
  42. data/spec/properties/vertical_text_alignment_spec.rb +28 -0
  43. data/spec/section_spec.rb +44 -0
  44. data/spec/support/data/parts/document_with_multiple_sections_part.xml +24 -0
  45. data/spec/support/data/parts/document_with_one_section_part.xml +16 -0
  46. data/spec/support/element_test_macros.rb +28 -8
  47. data/spec/support/part_test_macros.rb +1 -1
  48. data/spec/support/property_test_macros.rb +4 -4
  49. metadata +36 -4
@@ -0,0 +1,56 @@
1
+ require "spec_helper"
2
+
3
+ describe Rocx::Properties::PaperSource do
4
+ include PropertyTestMacros
5
+
6
+ it_should_use tag: :paperSrc, name: "paper_source"
7
+
8
+ for_attribute(:first) do
9
+ with_value(1) do
10
+ it_should_assign_successfully
11
+ it_should_output "<w:paperSrc w:first=\"1\"/>"
12
+ end
13
+
14
+ with_value(-1) do
15
+ it_should_assign_successfully
16
+ it_should_output "<w:paperSrc w:first=\"-1\"/>"
17
+ end
18
+
19
+ with_value(1234.4) do
20
+ it_should_raise_an_exception
21
+ end
22
+
23
+ with_value(:one_million) do
24
+ it_should_raise_an_exception
25
+ end
26
+ end
27
+
28
+ for_attribute(:other) do
29
+ with_value(1) do
30
+ it_should_assign_successfully
31
+ it_should_output "<w:paperSrc w:other=\"1\"/>"
32
+ end
33
+
34
+ with_value(-1) do
35
+ it_should_assign_successfully
36
+ it_should_output "<w:paperSrc w:other=\"-1\"/>"
37
+ end
38
+
39
+ with_value(1234.4) do
40
+ it_should_raise_an_exception
41
+ end
42
+
43
+ with_value(:one_million) do
44
+ it_should_raise_an_exception
45
+ end
46
+ end
47
+
48
+ with_no_attributes_set do
49
+ it_should_output "", assign: false
50
+ end
51
+
52
+ with_these_attributes_set(first: 1, other: 1) do
53
+ it_should_output "<w:paperSrc w:first=\"1\" w:other=\"1\"/>", assign: false
54
+ end
55
+
56
+ end
@@ -1,6 +1,6 @@
1
1
  require "spec_helper"
2
2
 
3
- describe Rocx::Properties::Borders do
3
+ describe Rocx::Properties::ParagraphBorders do
4
4
  include PropertyTestMacros
5
5
 
6
6
  it_should_use tag: :pBdr, name: "borders"
@@ -0,0 +1,23 @@
1
+ require "spec_helper"
2
+
3
+ describe Rocx::Properties::RtlGutter do
4
+ include ValuePropertyTestMacros
5
+
6
+ it_should_use tag: :rtlGutter, name: "rtl_gutter"
7
+
8
+ with_value(true) do
9
+ it_should_work
10
+ it_should_output "<w:rtlGutter w:val=\"true\"/>"
11
+ end
12
+
13
+ with_value(false) do
14
+ it_should_work
15
+ it_should_output ""
16
+ end
17
+
18
+ with_value(nil) do
19
+ it_should_work
20
+ it_should_output ""
21
+ end
22
+
23
+ end
@@ -0,0 +1,33 @@
1
+ require "spec_helper"
2
+
3
+ describe Rocx::Properties::SectionType do
4
+ include ValuePropertyTestMacros
5
+
6
+ it_should_use tag: :type, name: "type", value: :oddPage
7
+
8
+ with_value(:continuous) do
9
+ it_should_work
10
+ it_should_output "<w:type w:val=\"continuous\"/>"
11
+ end
12
+
13
+ with_value(:evenPage) do
14
+ it_should_work
15
+ it_should_output "<w:type w:val=\"evenPage\"/>"
16
+ end
17
+
18
+ with_value(:nextColumn) do
19
+ it_should_work
20
+ it_should_output "<w:type w:val=\"nextColumn\"/>"
21
+ end
22
+
23
+ with_value(:nextPage) do
24
+ it_should_work
25
+ it_should_output "<w:type w:val=\"nextPage\"/>"
26
+ end
27
+
28
+ with_value(:oddPage) do
29
+ it_should_work
30
+ it_should_output "<w:type w:val=\"oddPage\"/>"
31
+ end
32
+
33
+ end
@@ -0,0 +1,28 @@
1
+ require "spec_helper"
2
+
3
+ describe Rocx::Properties::VerticalTextAlignment do
4
+ include ValuePropertyTestMacros
5
+
6
+ it_should_use tag: :vAlign, name: "vertical_text_alignment", value: :both
7
+
8
+ with_value(:both) do
9
+ it_should_work
10
+ it_should_output "<w:vAlign w:val=\"both\"/>"
11
+ end
12
+
13
+ with_value(:bottom) do
14
+ it_should_work
15
+ it_should_output "<w:vAlign w:val=\"bottom\"/>"
16
+ end
17
+
18
+ with_value(:center) do
19
+ it_should_work
20
+ it_should_output "<w:vAlign w:val=\"center\"/>"
21
+ end
22
+
23
+ with_value(:top) do
24
+ it_should_work
25
+ it_should_output "<w:vAlign w:val=\"top\"/>"
26
+ end
27
+
28
+ end
@@ -0,0 +1,44 @@
1
+ require "spec_helper"
2
+
3
+ describe Rocx::Section do
4
+ include ElementTestMacros
5
+
6
+ it_should_have_property :columns
7
+ it_should_have_property :document_grid
8
+ it_should_have_property :line_numbering
9
+ it_should_have_property :page_margins
10
+ it_should_have_property :page_borders
11
+ it_should_have_property :page_numbering
12
+ it_should_have_property :page_size
13
+ it_should_have_property :paper_source
14
+
15
+ it_should_have_value_property :bidi
16
+ it_should_have_value_property :form_protection
17
+ it_should_have_value_property :rtl_gutter
18
+ it_should_have_value_property :text_direction, with_value: :lr
19
+ it_should_have_value_property :type, as_instance_of: :section_type, with_value: :oddPage
20
+ it_should_have_value_property :vertical_alignment, as_instance_of: :vertical_text_alignment, with_value: :both
21
+
22
+ context "if no attribute are set" do
23
+ before(:each) do
24
+ @instance = described_class.new
25
+ end
26
+
27
+ it "should output nothing" do
28
+ expect(xml(instance)).to eq("")
29
+ end
30
+ end
31
+
32
+ context "if there are properties set" do
33
+ before(:each) do
34
+ @instance = described_class.new
35
+ instance.bidi = true
36
+ instance.columns << Rocx::Properties::Column.new(1, 1)
37
+ end
38
+
39
+ it "should output the correct XML" do
40
+ expect(xml(instance)).to eq("<w:sectPr>\n <w:cols>\n <w:col w:space=\"1\" w:w=\"1\"/>\n </w:cols>\n <w:bidi/>\n </w:sectPr>")
41
+ end
42
+ end
43
+
44
+ end
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mo="http://schemas.microsoft.com/office/mac/office/2008/main" xmlns:mv="urn:schemas-microsoft-com:mac:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="w14 wp14">
3
+ <w:body>
4
+ <w:p>
5
+ <w:sectPr>
6
+ <w:bidi/>
7
+ </w:sectPr>
8
+ <w:r>
9
+ <w:t>This is just a test run.</w:t>
10
+ </w:r>
11
+ <w:r>
12
+ <w:t>But this isn't!</w:t>
13
+ </w:r>
14
+ </w:p>
15
+ <w:p>
16
+ <w:r>
17
+ <w:t>This is just a test run.</w:t>
18
+ </w:r>
19
+ </w:p>
20
+ <w:sectPr>
21
+ <w:textDirection w:val="lr"/>
22
+ </w:sectPr>
23
+ </w:body>
24
+ </w:document>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mo="http://schemas.microsoft.com/office/mac/office/2008/main" xmlns:mv="urn:schemas-microsoft-com:mac:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="w14 wp14">
3
+ <w:body>
4
+ <w:p>
5
+ <w:r>
6
+ <w:t>This is just a test run.</w:t>
7
+ </w:r>
8
+ <w:r>
9
+ <w:t>But this isn't!</w:t>
10
+ </w:r>
11
+ </w:p>
12
+ <w:sectPr>
13
+ <w:bidi/>
14
+ </w:sectPr>
15
+ </w:body>
16
+ </w:document>
@@ -133,7 +133,29 @@ module ElementTestMacros
133
133
  attribute_context.class_eval &block
134
134
  end
135
135
 
136
- def it_should_have_property(property, as_instance_of: nil, with_value: nil)
136
+ def it_should_have_property(property, as_instance_of: nil)
137
+ as_instance_of ||= property
138
+
139
+ context "this class" do
140
+ before(:each) do
141
+ @instance = described_class.new
142
+ end
143
+
144
+ it "should have the #{property} method defined" do
145
+ expect(instance.respond_to?(property)).to be(true)
146
+ end
147
+
148
+ it "should have #{property} return an instance of #{as_instance_of}" do
149
+ class_name = as_instance_of.to_s.split("_").map(&:capitalize).join
150
+ prop_class = Rocx::Properties.const_get class_name
151
+ expect(instance.public_send(property)).to be_instance_of(prop_class)
152
+ end
153
+ end
154
+ end
155
+
156
+ def it_should_have_value_property(property, as_instance_of: nil, with_value: nil)
157
+ as_instance_of ||= property
158
+
137
159
  context "this class" do
138
160
  before(:each) do
139
161
  @instance = described_class.new
@@ -147,13 +169,11 @@ module ElementTestMacros
147
169
  expect(instance.respond_to?("#{property}=")).to be(true)
148
170
  end
149
171
 
150
- if as_instance_of
151
- it "should have #{property} return an instance of #{as_instance_of}" do
152
- instance.public_send "#{property}=", with_value
153
- class_name = as_instance_of.to_s.split("_").map(&:capitalize).join
154
- prop_class = Rocx::Properties.const_get class_name
155
- expect(instance.public_send(property)).to be_instance_of(prop_class)
156
- end
172
+ it "should have #{property} return an instance of #{as_instance_of}" do
173
+ instance.public_send "#{property}=", with_value
174
+ class_name = as_instance_of.to_s.split("_").map(&:capitalize).join
175
+ prop_class = Rocx::Properties.const_get class_name
176
+ expect(instance.public_send(property)).to be_instance_of(prop_class)
157
177
  end
158
178
 
159
179
  end
@@ -1,7 +1,7 @@
1
1
  module PartTestMacros
2
2
 
3
3
  def xml(part)
4
- File.read(File.join(File.dirname(__FILE__), "data", "parts", "#{part}_part.xml")).strip
4
+ File.read(File.join(File.dirname(__FILE__), "data", "parts", "#{part}_part.xml")).lines.map(&:strip).join
5
5
  end
6
6
 
7
7
  def self.included(base)
@@ -40,10 +40,10 @@ module PropertyTestMacros
40
40
  end
41
41
  end
42
42
 
43
- def it_should_output(expected_xml, assign: true)
43
+ def it_should_output(expected_xml, *values, assign: true)
44
44
  it "should output the correct XML" do
45
45
  if assign
46
- @instance = described_class.new
46
+ @instance = described_class.new *values
47
47
  instance.send "#{attribute}=", value
48
48
  end
49
49
 
@@ -71,10 +71,10 @@ module PropertyTestMacros
71
71
  value_context.class_eval &block
72
72
  end
73
73
 
74
- def it_should_assign_successfully
74
+ def it_should_assign_successfully(*values)
75
75
  it "should assign successfully" do
76
76
  expect do
77
- obj = described_class.new
77
+ obj = described_class.new *values
78
78
  obj.send "#{attribute}=", value
79
79
  end.to_not raise_error
80
80
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gene Doyel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-17 00:00:00.000000000 Z
11
+ date: 2014-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -157,6 +157,7 @@ files:
157
157
  - lib/rocx/elements/nonbreaking_hyphen.rb
158
158
  - lib/rocx/elements/optional_hyphen.rb
159
159
  - lib/rocx/elements/page_number.rb
160
+ - lib/rocx/elements/paper_source.rb
160
161
  - lib/rocx/elements/paragraph.rb
161
162
  - lib/rocx/elements/ruby.rb
162
163
  - lib/rocx/elements/run.rb
@@ -185,10 +186,11 @@ files:
185
186
  - lib/rocx/properties/bold.rb
186
187
  - lib/rocx/properties/boolean_property.rb
187
188
  - lib/rocx/properties/border.rb
188
- - lib/rocx/properties/borders.rb
189
189
  - lib/rocx/properties/caps.rb
190
190
  - lib/rocx/properties/character_spacing.rb
191
191
  - lib/rocx/properties/color.rb
192
+ - lib/rocx/properties/column.rb
193
+ - lib/rocx/properties/columns.rb
192
194
  - lib/rocx/properties/complex_bold.rb
193
195
  - lib/rocx/properties/complex_font_size.rb
194
196
  - lib/rocx/properties/complex_italics.rb
@@ -196,8 +198,10 @@ files:
196
198
  - lib/rocx/properties/complex_script_formatting.rb
197
199
  - lib/rocx/properties/compress_punctuation.rb
198
200
  - lib/rocx/properties/conditional_formatting.rb
201
+ - lib/rocx/properties/container_property.rb
199
202
  - lib/rocx/properties/contextual_spacing.rb
200
203
  - lib/rocx/properties/div_id.rb
204
+ - lib/rocx/properties/document_grid.rb
201
205
  - lib/rocx/properties/double_strikethrough.rb
202
206
  - lib/rocx/properties/east_asian_layout.rb
203
207
  - lib/rocx/properties/effect.rb
@@ -206,6 +210,7 @@ files:
206
210
  - lib/rocx/properties/expansion.rb
207
211
  - lib/rocx/properties/font.rb
208
212
  - lib/rocx/properties/font_size.rb
213
+ - lib/rocx/properties/form_protection.rb
209
214
  - lib/rocx/properties/frame.rb
210
215
  - lib/rocx/properties/hidden_text.rb
211
216
  - lib/rocx/properties/highlight.rb
@@ -218,6 +223,7 @@ files:
218
223
  - lib/rocx/properties/kerning.rb
219
224
  - lib/rocx/properties/kinsoku.rb
220
225
  - lib/rocx/properties/language.rb
226
+ - lib/rocx/properties/line_numbering.rb
221
227
  - lib/rocx/properties/manual_width.rb
222
228
  - lib/rocx/properties/math.rb
223
229
  - lib/rocx/properties/mirror_indent.rb
@@ -227,7 +233,12 @@ files:
227
233
  - lib/rocx/properties/outline.rb
228
234
  - lib/rocx/properties/outline_level.rb
229
235
  - lib/rocx/properties/overflow_punctuation.rb
236
+ - lib/rocx/properties/page_borders.rb
230
237
  - lib/rocx/properties/page_break_before.rb
238
+ - lib/rocx/properties/page_margins.rb
239
+ - lib/rocx/properties/page_numbering.rb
240
+ - lib/rocx/properties/page_size.rb
241
+ - lib/rocx/properties/paragraph_borders.rb
231
242
  - lib/rocx/properties/paragraph_style.rb
232
243
  - lib/rocx/properties/phonetic_guide_alignment.rb
233
244
  - lib/rocx/properties/phonetic_guide_base_font_size.rb
@@ -237,7 +248,9 @@ files:
237
248
  - lib/rocx/properties/position.rb
238
249
  - lib/rocx/properties/positive_integer_property.rb
239
250
  - lib/rocx/properties/right_to_left.rb
251
+ - lib/rocx/properties/rtl_gutter.rb
240
252
  - lib/rocx/properties/run_style.rb
253
+ - lib/rocx/properties/section_type.rb
241
254
  - lib/rocx/properties/shading.rb
242
255
  - lib/rocx/properties/shadow.rb
243
256
  - lib/rocx/properties/small_caps.rb
@@ -258,9 +271,12 @@ files:
258
271
  - lib/rocx/properties/underline.rb
259
272
  - lib/rocx/properties/value_property.rb
260
273
  - lib/rocx/properties/vertical_alignment.rb
274
+ - lib/rocx/properties/vertical_text_alignment.rb
261
275
  - lib/rocx/properties/web_hidden.rb
262
276
  - lib/rocx/properties/widow_control.rb
263
277
  - lib/rocx/properties/word_wrap.rb
278
+ - lib/rocx/property_builder.rb
279
+ - lib/rocx/section.rb
264
280
  - lib/rocx/style.rb
265
281
  - lib/rocx/version.rb
266
282
  - rocx.gemspec
@@ -303,10 +319,11 @@ files:
303
319
  - spec/properties/bidi_spec.rb
304
320
  - spec/properties/bold_spec.rb
305
321
  - spec/properties/border_spec.rb
306
- - spec/properties/borders_spec.rb
307
322
  - spec/properties/caps_spec.rb
308
323
  - spec/properties/character_spacing_spec.rb
309
324
  - spec/properties/color_spec.rb
325
+ - spec/properties/column_spec.rb
326
+ - spec/properties/columns_spec.rb
310
327
  - spec/properties/complex_bold_spec.rb
311
328
  - spec/properties/complex_font_size_spec.rb
312
329
  - spec/properties/complex_italics_spec.rb
@@ -315,6 +332,7 @@ files:
315
332
  - spec/properties/conditional_formatting_spec.rb
316
333
  - spec/properties/contextual_spacing_spec.rb
317
334
  - spec/properties/div_id_spec.rb
335
+ - spec/properties/document_grid_spec.rb
318
336
  - spec/properties/double_strikethrough_spec.rb
319
337
  - spec/properties/east_asian_layout_spec.rb
320
338
  - spec/properties/effect_spec.rb
@@ -323,6 +341,7 @@ files:
323
341
  - spec/properties/expansion_spec.rb
324
342
  - spec/properties/font_size_spec.rb
325
343
  - spec/properties/font_spec.rb
344
+ - spec/properties/form_protection_spec.rb
326
345
  - spec/properties/frame_spec.rb
327
346
  - spec/properties/hidden_text_spec.rb
328
347
  - spec/properties/highlight_spec.rb
@@ -334,6 +353,7 @@ files:
334
353
  - spec/properties/kerning_spec.rb
335
354
  - spec/properties/kinsoku_spec.rb
336
355
  - spec/properties/language_spec.rb
356
+ - spec/properties/line_numbering_spec.rb
337
357
  - spec/properties/manual_width_spec.rb
338
358
  - spec/properties/math_spec.rb
339
359
  - spec/properties/mirror_indent_spec.rb
@@ -342,7 +362,13 @@ files:
342
362
  - spec/properties/outline_level_spec.rb
343
363
  - spec/properties/outline_spec.rb
344
364
  - spec/properties/overflow_punctuation_spec.rb
365
+ - spec/properties/page_borders_spec.rb
345
366
  - spec/properties/page_break_before_spec.rb
367
+ - spec/properties/page_margins_spec.rb
368
+ - spec/properties/page_numbering_spec.rb
369
+ - spec/properties/page_size_spec.rb
370
+ - spec/properties/paper_source_spec.rb
371
+ - spec/properties/paragraph_borders_spec.rb
346
372
  - spec/properties/paragraph_style_spec.rb
347
373
  - spec/properties/phonetic_guide_alignment_spec.rb
348
374
  - spec/properties/phonetic_guide_base_font_size_spec.rb
@@ -351,7 +377,9 @@ files:
351
377
  - spec/properties/phonetic_guide_language_spec.rb
352
378
  - spec/properties/position_spec.rb
353
379
  - spec/properties/right_to_left_spec.rb
380
+ - spec/properties/rtl_gutter_spec.rb
354
381
  - spec/properties/run_style_spec.rb
382
+ - spec/properties/section_type_spec.rb
355
383
  - spec/properties/shading_spec.rb
356
384
  - spec/properties/shadow_property_spec.rb
357
385
  - spec/properties/small_caps_spec.rb
@@ -369,9 +397,11 @@ files:
369
397
  - spec/properties/textbox_tight_wrap_spec.rb
370
398
  - spec/properties/underline_spec.rb
371
399
  - spec/properties/vertical_alignment_spec.rb
400
+ - spec/properties/vertical_text_alignment_spec.rb
372
401
  - spec/properties/web_hidden_spec.rb
373
402
  - spec/properties/widow_control_spec.rb
374
403
  - spec/properties/word_wrap_spec.rb
404
+ - spec/section_spec.rb
375
405
  - spec/spec_helper.rb
376
406
  - spec/style_spec.rb
377
407
  - spec/support/data/elements/break_element.xml
@@ -383,6 +413,8 @@ files:
383
413
  - spec/support/data/elements/text_element.xml
384
414
  - spec/support/data/parts/content_types_part.xml
385
415
  - spec/support/data/parts/document_with_children_part.xml
416
+ - spec/support/data/parts/document_with_multiple_sections_part.xml
417
+ - spec/support/data/parts/document_with_one_section_part.xml
386
418
  - spec/support/data/parts/empty_document_part.xml
387
419
  - spec/support/data/parts/global_rels_part.xml
388
420
  - spec/support/data/parts/rels_part.xml