lib/openxml/docx/elements/table_row.rb in openxml-docx-0.9.0 vs lib/openxml/docx/elements/table_row.rb in openxml-docx-0.10.0
- old
+ new
@@ -2,14 +2,16 @@
module Docx
module Elements
class TableRow < Container
tag :tr
- attribute :rsidDel, expects: :valid_long_hex
- attribute :rsidR, expects: :valid_long_hex
- attribute :rsidRPr, expects: :valid_long_hex
- attribute :risdTr, expects: :valid_long_hex
+ with_namespace :w do
+ attribute :rsidDel, expects: :valid_long_hex
+ attribute :rsidR, expects: :valid_long_hex
+ attribute :rsidRPr, expects: :valid_long_hex
+ attribute :risdTr, expects: :valid_long_hex
+ end
value_property :cant_split
value_property :div_id
value_property :grid_after
value_property :grid_before
@@ -18,10 +20,10 @@
value_property :table_header
value_property :v_align
property :conditional_formatting
property :table_cell_spacing
- property :tr_height
+ property :table_row_height
property :w_after
property :w_before
private