openxml-docx 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/{example → examples/base} +1 -1
  4. data/examples/table +68 -0
  5. data/lib/openxml/docx/elements/grid_column.rb +12 -0
  6. data/lib/openxml/docx/elements/table.rb +30 -0
  7. data/lib/openxml/docx/elements/table_cell.rb +26 -0
  8. data/lib/openxml/docx/elements/table_grid.rb +10 -0
  9. data/lib/openxml/docx/elements/table_row.rb +36 -0
  10. data/lib/openxml/docx/package.rb +3 -0
  11. data/lib/openxml/docx/properties.rb +2 -0
  12. data/lib/openxml/docx/properties/base_property.rb +14 -0
  13. data/lib/openxml/docx/properties/cant_split.rb +8 -0
  14. data/lib/openxml/docx/properties/columns.rb +2 -0
  15. data/lib/openxml/docx/properties/grid_after.rb +8 -0
  16. data/lib/openxml/docx/properties/grid_before.rb +8 -0
  17. data/lib/openxml/docx/properties/grid_span.rb +8 -0
  18. data/lib/openxml/docx/properties/header.rb +8 -0
  19. data/lib/openxml/docx/properties/headers.rb +12 -0
  20. data/lib/openxml/docx/properties/hidden.rb +8 -0
  21. data/lib/openxml/docx/properties/hide_mark.rb +8 -0
  22. data/lib/openxml/docx/properties/no_wrap.rb +8 -0
  23. data/lib/openxml/docx/properties/table_border.rb +25 -0
  24. data/lib/openxml/docx/properties/table_borders.rb +13 -0
  25. data/lib/openxml/docx/properties/table_caption.rb +10 -0
  26. data/lib/openxml/docx/properties/table_cell_border.rb +25 -0
  27. data/lib/openxml/docx/properties/table_cell_borders.rb +13 -0
  28. data/lib/openxml/docx/properties/table_cell_cell_margin.rb +13 -0
  29. data/lib/openxml/docx/properties/table_cell_fit_text.rb +9 -0
  30. data/lib/openxml/docx/properties/table_cell_margin.rb +13 -0
  31. data/lib/openxml/docx/properties/table_cell_margins.rb +13 -0
  32. data/lib/openxml/docx/properties/table_cell_spacing.rb +13 -0
  33. data/lib/openxml/docx/properties/table_cell_width.rb +13 -0
  34. data/lib/openxml/docx/properties/table_description.rb +10 -0
  35. data/lib/openxml/docx/properties/table_header.rb +10 -0
  36. data/lib/openxml/docx/properties/table_indent.rb +13 -0
  37. data/lib/openxml/docx/properties/table_layout.rb +14 -0
  38. data/lib/openxml/docx/properties/table_look.rb +17 -0
  39. data/lib/openxml/docx/properties/table_overlap.rb +14 -0
  40. data/lib/openxml/docx/properties/table_p_pr.rb +41 -0
  41. data/lib/openxml/docx/properties/table_style.rb +10 -0
  42. data/lib/openxml/docx/properties/table_width.rb +13 -0
  43. data/lib/openxml/docx/properties/tr_height.rb +19 -0
  44. data/lib/openxml/docx/properties/valign.rb +13 -0
  45. data/lib/openxml/docx/properties/wafter.rb +12 -0
  46. data/lib/openxml/docx/properties/wbefore.rb +12 -0
  47. data/lib/openxml/docx/properties/width_property.rb +17 -0
  48. data/lib/openxml/docx/style.rb +17 -7
  49. data/lib/openxml/docx/version.rb +1 -1
  50. data/spec/elements/grid_column_spec.rb +15 -0
  51. data/spec/elements/table_cell_spec.rb +15 -0
  52. data/spec/elements/table_grid_spec.rb +17 -0
  53. data/spec/elements/table_row_spec.rb +18 -0
  54. data/spec/elements/table_spec.rb +21 -0
  55. data/spec/properties/border_spec.rb +21 -95
  56. data/spec/properties/cant_split_spec.rb +23 -0
  57. data/spec/properties/color_spec.rb +9 -29
  58. data/spec/properties/column_spec.rb +6 -22
  59. data/spec/properties/columns_spec.rb +4 -14
  60. data/spec/properties/conditional_formatting_spec.rb +12 -108
  61. data/spec/properties/document_grid_spec.rb +12 -53
  62. data/spec/properties/east_asian_layout_spec.rb +14 -74
  63. data/spec/properties/font_spec.rb +35 -238
  64. data/spec/properties/frame_spec.rb +48 -285
  65. data/spec/properties/grid_after_spec.rb +26 -0
  66. data/spec/properties/grid_before_spec.rb +26 -0
  67. data/spec/properties/grid_span_spec.rb +24 -0
  68. data/spec/properties/header_spec.rb +17 -0
  69. data/spec/properties/headers_spec.rb +39 -0
  70. data/spec/properties/hidden_spec.rb +23 -0
  71. data/spec/properties/hide_mark_spec.rb +23 -0
  72. data/spec/properties/indentation_spec.rb +32 -136
  73. data/spec/properties/language_spec.rb +3 -12
  74. data/spec/properties/latent_styles_exception_spec.rb +7 -22
  75. data/spec/properties/latent_styles_spec.rb +5 -18
  76. data/spec/properties/line_numbering_spec.rb +15 -68
  77. data/spec/properties/manual_width_spec.rb +8 -33
  78. data/spec/properties/no_wrap_spec.rb +23 -0
  79. data/spec/properties/numbering_spec.rb +4 -13
  80. data/spec/properties/page_margins_spec.rb +28 -114
  81. data/spec/properties/page_numbering_spec.rb +26 -367
  82. data/spec/properties/page_size_spec.rb +15 -62
  83. data/spec/properties/paper_source_spec.rb +8 -34
  84. data/spec/properties/shading_spec.rb +21 -92
  85. data/spec/properties/spacing_spec.rb +27 -119
  86. data/spec/properties/table_border_spec.rb +119 -0
  87. data/spec/properties/table_borders_spec.rb +41 -0
  88. data/spec/properties/table_caption_spec.rb +17 -0
  89. data/spec/properties/table_cell_border_spec.rb +119 -0
  90. data/spec/properties/table_cell_borders_spec.rb +40 -0
  91. data/spec/properties/table_cell_cell_margin_spec.rb +46 -0
  92. data/spec/properties/table_cell_fit_text.rb +23 -0
  93. data/spec/properties/table_cell_margin_spec.rb +40 -0
  94. data/spec/properties/table_cell_margins_spec.rb +46 -0
  95. data/spec/properties/table_cell_spacing_spec.rb +21 -0
  96. data/spec/properties/table_cell_width.rb +21 -0
  97. data/spec/properties/table_description_spec.rb +17 -0
  98. data/spec/properties/table_header_spec.rb +23 -0
  99. data/spec/properties/table_indent_spec.rb +43 -0
  100. data/spec/properties/table_layout_spec.rb +22 -0
  101. data/spec/properties/table_look_spec.rb +38 -0
  102. data/spec/properties/table_overlap_spec.rb +22 -0
  103. data/spec/properties/table_p_pr_spec.rb +68 -0
  104. data/spec/properties/table_row_height.rb +20 -0
  105. data/spec/properties/table_style_spec.rb +17 -0
  106. data/spec/properties/table_width_spec.rb +21 -0
  107. data/spec/properties/underline_spec.rb +14 -130
  108. data/spec/properties/valign_spec.rb +19 -0
  109. data/spec/properties/wafter_spec.rb +21 -0
  110. data/spec/properties/wbefore_spec.rb +21 -0
  111. data/spec/support/data/elements/grid_column_element.xml +4 -0
  112. data/spec/support/data/elements/table_cell_element.xml +8 -0
  113. data/spec/support/data/elements/table_element.xml +18 -0
  114. data/spec/support/data/elements/table_grid_element.xml +6 -0
  115. data/spec/support/data/elements/table_row_element.xml +13 -0
  116. data/spec/support/property_test_macros.rb +61 -0
  117. metadata +86 -3
@@ -0,0 +1,19 @@
1
+ require "spec_helper"
2
+
3
+ describe OpenXml::Docx::Properties::VAlign do
4
+ include ValuePropertyTestMacros
5
+
6
+ it_should_use tag: :vAlign, name: "v_align", value: :both
7
+
8
+ %i(both bottom center top).each do |good_value|
9
+ with_value(good_value) do
10
+ it_should_work
11
+ it_should_output "<w:vAlign w:val=\"#{good_value}\"/>"
12
+ end
13
+ end
14
+
15
+ with_value(:invalid) do
16
+ it_should_not_work
17
+ end
18
+
19
+ end
@@ -0,0 +1,21 @@
1
+ require "spec_helper"
2
+
3
+ describe OpenXml::Docx::Properties::WAfter do
4
+ include PropertyTestMacros
5
+
6
+ it_should_use tag: :wAfter, name: "w_after"
7
+
8
+ for_attribute(:type) do
9
+ values = %i(auto dxa nil pct)
10
+ it_should_assign_and_output_xml values
11
+ it_should_not_allow_invalid_value
12
+ it_should_not_allow_integers
13
+ end
14
+
15
+ for_attribute(:width) do
16
+ it_should_assign_and_output_xml 2
17
+ it_should_not_allow_invalid_value
18
+ it_should_not_allow_floats
19
+ end
20
+
21
+ end
@@ -0,0 +1,21 @@
1
+ require "spec_helper"
2
+
3
+ describe OpenXml::Docx::Properties::WBefore do
4
+ include PropertyTestMacros
5
+
6
+ it_should_use tag: :wBefore, name: "w_before"
7
+
8
+ for_attribute(:type) do
9
+ values = %i(auto dxa nil pct)
10
+ it_should_assign_and_output_xml values
11
+ it_should_not_allow_invalid_value
12
+ it_should_not_allow_integers
13
+ end
14
+
15
+ for_attribute(:width) do
16
+ it_should_assign_and_output_xml 2
17
+ it_should_not_allow_invalid_value
18
+ it_should_not_allow_floats
19
+ end
20
+
21
+ end
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0"?>
2
+ <root xmlns:w="http://wnamespace.org">
3
+ <w:gridColumn w:w="1"/>
4
+ </root>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0"?>
2
+ <root xmlns:w="http://wnamespace.org">
3
+ <w:tc>
4
+ <w:tcPr>
5
+ <w:noWrap/>
6
+ </w:tcPr>
7
+ </w:tc>
8
+ </root>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0"?>
2
+ <root xmlns:w="http://wnamespace.org">
3
+ <w:tbl>
4
+ <w:tblPr>
5
+ <w:cantSplit/>
6
+ </w:tblPr>
7
+ <w:tr>
8
+ <w:trPr>
9
+ <w:hidden/>
10
+ </w:trPr>
11
+ <w:tc>
12
+ <w:tcPr>
13
+ <w:noWrap/>
14
+ </w:tcPr>
15
+ </w:tc>
16
+ </w:tr>
17
+ </w:tbl>
18
+ </root>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0"?>
2
+ <root xmlns:w="http://wnamespace.org">
3
+ <w:tblGrid>
4
+ <w:gridColumn w:w="1"/>
5
+ </w:tblGrid>
6
+ </root>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0"?>
2
+ <root xmlns:w="http://wnamespace.org">
3
+ <w:tr>
4
+ <w:trPr>
5
+ <w:hidden/>
6
+ </w:trPr>
7
+ <w:tc>
8
+ <w:tcPr>
9
+ <w:noWrap/>
10
+ </w:tcPr>
11
+ </w:tc>
12
+ </w:tr>
13
+ </root>
@@ -112,5 +112,66 @@ module PropertyTestMacros
112
112
  attribute_context.class_eval &block
113
113
  end
114
114
 
115
+ def it_should_output_expected_xml(*values, expected_xml: nil)
116
+ it "should output the correct XML" do
117
+ @instance = described_class.new *values
118
+ instance.send "#{attribute}=", value
119
+ property_name, property_namespace = instance.attributes[attribute]
120
+ expected_xml ||= "<w:#{instance.tag} #{property_namespace}:#{property_name}=\"#{value}\"/>"
121
+
122
+ expect(xml(instance)).to eq(expected_xml)
123
+ end
124
+ end
125
+
126
+ def it_should_assign_and_output_xml(values)
127
+ values = [values] unless values.respond_to? :each
128
+ values.each do |value|
129
+ with_value(value) do
130
+ it_should_assign_successfully
131
+ it_should_output_expected_xml
132
+ end
133
+ end
134
+ end
135
+
136
+ def it_should_behave_like_a_boolean_attribute
137
+ with_value(true) do
138
+ it_should_assign_successfully
139
+ it_should_output_expected_xml
140
+ end
141
+
142
+ with_value(false) do
143
+ it_should_assign_successfully
144
+ it_should_output ""
145
+ end
146
+ end
147
+
148
+ def it_should_not_allow_invalid_value
149
+ with_value(:invalid) do
150
+ it_should_raise_an_exception
151
+ end
152
+ end
153
+
154
+ def it_should_not_allow_integers
155
+ with_value(1) do
156
+ it_should_raise_an_exception
157
+ end
158
+ end
159
+ def it_should_not_allow_floats
160
+ with_value(12.1) do
161
+ it_should_raise_an_exception
162
+ end
163
+ end
164
+
165
+ def it_should_not_allow_negative_numbers
166
+ with_value(-1) do
167
+ it_should_raise_an_exception
168
+ end
169
+ end
170
+
171
+ def it_should_not_allow_nil
172
+ with_value(nil) do
173
+ it_should_raise_an_exception
174
+ end
175
+ end
115
176
  end
116
177
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openxml-docx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.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: 2015-11-30 00:00:00.000000000 Z
11
+ date: 2015-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -136,7 +136,8 @@ files:
136
136
  - LICENSE.txt
137
137
  - README.md
138
138
  - Rakefile
139
- - example
139
+ - examples/base
140
+ - examples/table
140
141
  - lib/openxml-docx.rb
141
142
  - lib/openxml/docx.rb
142
143
  - lib/openxml/docx/attribute_builder.rb
@@ -152,6 +153,7 @@ files:
152
153
  - lib/openxml/docx/elements/deleted_text.rb
153
154
  - lib/openxml/docx/elements/dirty.rb
154
155
  - lib/openxml/docx/elements/element.rb
156
+ - lib/openxml/docx/elements/grid_column.rb
155
157
  - lib/openxml/docx/elements/last_rendered_page_break.rb
156
158
  - lib/openxml/docx/elements/long_day.rb
157
159
  - lib/openxml/docx/elements/long_month.rb
@@ -168,6 +170,10 @@ files:
168
170
  - lib/openxml/docx/elements/short_year.rb
169
171
  - lib/openxml/docx/elements/symbol.rb
170
172
  - lib/openxml/docx/elements/tab.rb
173
+ - lib/openxml/docx/elements/table.rb
174
+ - lib/openxml/docx/elements/table_cell.rb
175
+ - lib/openxml/docx/elements/table_grid.rb
176
+ - lib/openxml/docx/elements/table_row.rb
171
177
  - lib/openxml/docx/elements/text.rb
172
178
  - lib/openxml/docx/package.rb
173
179
  - lib/openxml/docx/parts.rb
@@ -184,6 +190,7 @@ files:
184
190
  - lib/openxml/docx/properties/bold.rb
185
191
  - lib/openxml/docx/properties/boolean_property.rb
186
192
  - lib/openxml/docx/properties/border.rb
193
+ - lib/openxml/docx/properties/cant_split.rb
187
194
  - lib/openxml/docx/properties/caps.rb
188
195
  - lib/openxml/docx/properties/character_spacing.rb
189
196
  - lib/openxml/docx/properties/color.rb
@@ -210,8 +217,15 @@ files:
210
217
  - lib/openxml/docx/properties/font_size.rb
211
218
  - lib/openxml/docx/properties/form_protection.rb
212
219
  - lib/openxml/docx/properties/frame.rb
220
+ - lib/openxml/docx/properties/grid_after.rb
221
+ - lib/openxml/docx/properties/grid_before.rb
222
+ - lib/openxml/docx/properties/grid_span.rb
223
+ - lib/openxml/docx/properties/header.rb
224
+ - lib/openxml/docx/properties/headers.rb
225
+ - lib/openxml/docx/properties/hidden.rb
213
226
  - lib/openxml/docx/properties/hidden_style.rb
214
227
  - lib/openxml/docx/properties/hidden_text.rb
228
+ - lib/openxml/docx/properties/hide_mark.rb
215
229
  - lib/openxml/docx/properties/highlight.rb
216
230
  - lib/openxml/docx/properties/imprint.rb
217
231
  - lib/openxml/docx/properties/indentation.rb
@@ -231,6 +245,7 @@ files:
231
245
  - lib/openxml/docx/properties/mirror_indent.rb
232
246
  - lib/openxml/docx/properties/next_style.rb
233
247
  - lib/openxml/docx/properties/no_proof.rb
248
+ - lib/openxml/docx/properties/no_wrap.rb
234
249
  - lib/openxml/docx/properties/numbering.rb
235
250
  - lib/openxml/docx/properties/on_off_property.rb
236
251
  - lib/openxml/docx/properties/outline.rb
@@ -277,19 +292,44 @@ files:
277
292
  - lib/openxml/docx/properties/supress_line_numbers.rb
278
293
  - lib/openxml/docx/properties/supress_overlap.rb
279
294
  - lib/openxml/docx/properties/tab.rb
295
+ - lib/openxml/docx/properties/table_border.rb
296
+ - lib/openxml/docx/properties/table_borders.rb
297
+ - lib/openxml/docx/properties/table_caption.rb
298
+ - lib/openxml/docx/properties/table_cell_border.rb
299
+ - lib/openxml/docx/properties/table_cell_borders.rb
300
+ - lib/openxml/docx/properties/table_cell_cell_margin.rb
301
+ - lib/openxml/docx/properties/table_cell_fit_text.rb
302
+ - lib/openxml/docx/properties/table_cell_margin.rb
303
+ - lib/openxml/docx/properties/table_cell_margins.rb
304
+ - lib/openxml/docx/properties/table_cell_spacing.rb
305
+ - lib/openxml/docx/properties/table_cell_width.rb
306
+ - lib/openxml/docx/properties/table_description.rb
307
+ - lib/openxml/docx/properties/table_header.rb
308
+ - lib/openxml/docx/properties/table_indent.rb
309
+ - lib/openxml/docx/properties/table_layout.rb
310
+ - lib/openxml/docx/properties/table_look.rb
311
+ - lib/openxml/docx/properties/table_overlap.rb
312
+ - lib/openxml/docx/properties/table_p_pr.rb
313
+ - lib/openxml/docx/properties/table_style.rb
314
+ - lib/openxml/docx/properties/table_width.rb
280
315
  - lib/openxml/docx/properties/tabs.rb
281
316
  - lib/openxml/docx/properties/text_alignment.rb
282
317
  - lib/openxml/docx/properties/text_direction.rb
283
318
  - lib/openxml/docx/properties/textbox_tight_wrap.rb
284
319
  - lib/openxml/docx/properties/toggle_property.rb
320
+ - lib/openxml/docx/properties/tr_height.rb
285
321
  - lib/openxml/docx/properties/ui_priority.rb
286
322
  - lib/openxml/docx/properties/underline.rb
287
323
  - lib/openxml/docx/properties/unhide_when_used.rb
324
+ - lib/openxml/docx/properties/valign.rb
288
325
  - lib/openxml/docx/properties/value_property.rb
289
326
  - lib/openxml/docx/properties/vertical_alignment.rb
290
327
  - lib/openxml/docx/properties/vertical_text_alignment.rb
328
+ - lib/openxml/docx/properties/wafter.rb
329
+ - lib/openxml/docx/properties/wbefore.rb
291
330
  - lib/openxml/docx/properties/web_hidden.rb
292
331
  - lib/openxml/docx/properties/widow_control.rb
332
+ - lib/openxml/docx/properties/width_property.rb
293
333
  - lib/openxml/docx/properties/word_wrap.rb
294
334
  - lib/openxml/docx/property_builder.rb
295
335
  - lib/openxml/docx/section.rb
@@ -305,6 +345,7 @@ files:
305
345
  - spec/elements/control_spec.rb
306
346
  - spec/elements/deleted_text_spec.rb
307
347
  - spec/elements/dirty_spec.rb
348
+ - spec/elements/grid_column_spec.rb
308
349
  - spec/elements/last_rendered_page_break_spec.rb
309
350
  - spec/elements/long_day_spec.rb
310
351
  - spec/elements/long_month_spec.rb
@@ -320,6 +361,10 @@ files:
320
361
  - spec/elements/short_year_spec.rb
321
362
  - spec/elements/symbol_spec.rb
322
363
  - spec/elements/tab_spec.rb
364
+ - spec/elements/table_cell_spec.rb
365
+ - spec/elements/table_grid_spec.rb
366
+ - spec/elements/table_row_spec.rb
367
+ - spec/elements/table_spec.rb
323
368
  - spec/elements/text_spec.rb
324
369
  - spec/package_spec.rb
325
370
  - spec/parts/document_spec.rb
@@ -332,6 +377,7 @@ files:
332
377
  - spec/properties/bidi_spec.rb
333
378
  - spec/properties/bold_spec.rb
334
379
  - spec/properties/border_spec.rb
380
+ - spec/properties/cant_split_spec.rb
335
381
  - spec/properties/caps_spec.rb
336
382
  - spec/properties/character_spacing_spec.rb
337
383
  - spec/properties/color_spec.rb
@@ -356,8 +402,15 @@ files:
356
402
  - spec/properties/font_spec.rb
357
403
  - spec/properties/form_protection_spec.rb
358
404
  - spec/properties/frame_spec.rb
405
+ - spec/properties/grid_after_spec.rb
406
+ - spec/properties/grid_before_spec.rb
407
+ - spec/properties/grid_span_spec.rb
408
+ - spec/properties/header_spec.rb
409
+ - spec/properties/headers_spec.rb
410
+ - spec/properties/hidden_spec.rb
359
411
  - spec/properties/hidden_style_spec.rb
360
412
  - spec/properties/hidden_text_spec.rb
413
+ - spec/properties/hide_mark_spec.rb
361
414
  - spec/properties/highlight_spec.rb
362
415
  - spec/properties/imprint_spec.rb
363
416
  - spec/properties/indentation_spec.rb
@@ -376,6 +429,7 @@ files:
376
429
  - spec/properties/mirror_indent_spec.rb
377
430
  - spec/properties/next_style_spec.rb
378
431
  - spec/properties/no_proof_spec.rb
432
+ - spec/properties/no_wrap_spec.rb
379
433
  - spec/properties/numbering_spec.rb
380
434
  - spec/properties/outline_level_spec.rb
381
435
  - spec/properties/outline_spec.rb
@@ -419,6 +473,27 @@ files:
419
473
  - spec/properties/supress_line_numbers_spec.rb
420
474
  - spec/properties/supress_overlap_spec.rb
421
475
  - spec/properties/tab_spec.rb
476
+ - spec/properties/table_border_spec.rb
477
+ - spec/properties/table_borders_spec.rb
478
+ - spec/properties/table_caption_spec.rb
479
+ - spec/properties/table_cell_border_spec.rb
480
+ - spec/properties/table_cell_borders_spec.rb
481
+ - spec/properties/table_cell_cell_margin_spec.rb
482
+ - spec/properties/table_cell_fit_text.rb
483
+ - spec/properties/table_cell_margin_spec.rb
484
+ - spec/properties/table_cell_margins_spec.rb
485
+ - spec/properties/table_cell_spacing_spec.rb
486
+ - spec/properties/table_cell_width.rb
487
+ - spec/properties/table_description_spec.rb
488
+ - spec/properties/table_header_spec.rb
489
+ - spec/properties/table_indent_spec.rb
490
+ - spec/properties/table_layout_spec.rb
491
+ - spec/properties/table_look_spec.rb
492
+ - spec/properties/table_overlap_spec.rb
493
+ - spec/properties/table_p_pr_spec.rb
494
+ - spec/properties/table_row_height.rb
495
+ - spec/properties/table_style_spec.rb
496
+ - spec/properties/table_width_spec.rb
422
497
  - spec/properties/tabs_spec.rb
423
498
  - spec/properties/text_alignment_spec.rb
424
499
  - spec/properties/text_direction_spec.rb
@@ -426,8 +501,11 @@ files:
426
501
  - spec/properties/ui_priority_spec.rb
427
502
  - spec/properties/underline_spec.rb
428
503
  - spec/properties/unhide_when_used_spec.rb
504
+ - spec/properties/valign_spec.rb
429
505
  - spec/properties/vertical_alignment_spec.rb
430
506
  - spec/properties/vertical_text_alignment_spec.rb
507
+ - spec/properties/wafter_spec.rb
508
+ - spec/properties/wbefore_spec.rb
431
509
  - spec/properties/web_hidden_spec.rb
432
510
  - spec/properties/widow_control_spec.rb
433
511
  - spec/properties/word_wrap_spec.rb
@@ -436,10 +514,15 @@ files:
436
514
  - spec/style_spec.rb
437
515
  - spec/support/data/elements/break_element.xml
438
516
  - spec/support/data/elements/break_with_attributes_element.xml
517
+ - spec/support/data/elements/grid_column_element.xml
439
518
  - spec/support/data/elements/paragraph_element.xml
440
519
  - spec/support/data/elements/paragraph_with_runs_element.xml
441
520
  - spec/support/data/elements/run_element.xml
442
521
  - spec/support/data/elements/symbol_element.xml
522
+ - spec/support/data/elements/table_cell_element.xml
523
+ - spec/support/data/elements/table_element.xml
524
+ - spec/support/data/elements/table_grid_element.xml
525
+ - spec/support/data/elements/table_row_element.xml
443
526
  - spec/support/data/elements/text_element.xml
444
527
  - spec/support/data/parts/content_types_part.xml
445
528
  - spec/support/data/parts/document_with_children_part.xml