Commit 2c9c560b authored by konovalovsergey's avatar konovalovsergey

TableCellSpacing

parent 8a0ca7e5
...@@ -146,7 +146,8 @@ var c_oSerProp_tblPrType = { ...@@ -146,7 +146,8 @@ var c_oSerProp_tblPrType = {
Style: 10, Style: 10,
tblpPr2: 11, tblpPr2: 11,
Layout: 12, Layout: 12,
tblPrChange: 13 tblPrChange: 13,
TableCellSpacing: 14
}; };
var c_oSer_tblpPrType = { var c_oSer_tblpPrType = {
Page:0, Page:0,
...@@ -3367,6 +3368,10 @@ Binary_tblPrWriter.prototype = ...@@ -3367,6 +3368,10 @@ Binary_tblPrWriter.prototype =
{ {
this.bs.WriteItem(c_oSerProp_tblPrType.tblpPr2, function(){oThis.Write_tblpPr2(table);}); this.bs.WriteItem(c_oSerProp_tblPrType.tblpPr2, function(){oThis.Write_tblpPr2(table);});
} }
if(null != tblPr.TableCellSpacing)
{
this.bs.WriteItem(c_oSerProp_tblPrType.TableCellSpacing, function(){oThis.memory.WriteDouble(tblPr.TableCellSpacing);});
}
}, },
WriteCellMar: function(cellMar) WriteCellMar: function(cellMar)
{ {
...@@ -7362,6 +7367,10 @@ Binary_tblPrReader.prototype = ...@@ -7362,6 +7367,10 @@ Binary_tblPrReader.prototype =
case ETblLayoutType.tbllayouttypeFixed: Pr.TableLayout = tbllayout_Fixed;break; case ETblLayoutType.tbllayouttypeFixed: Pr.TableLayout = tbllayout_Fixed;break;
} }
} }
else if( c_oSerProp_tblPrType.TableCellSpacing === type )
{
Pr.TableCellSpacing = this.bcr.ReadDouble();
}
else if(null != table) else if(null != table)
{ {
if( c_oSerProp_tblPrType.tblpPr === type ) if( c_oSerProp_tblPrType.tblpPr === type )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment