Commit ff9634af authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

(2.0.0.171): ASCOfficeDocxFile2

rPr.Vanish чтение/запись

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56407 954022d7-b5bf-4e40-9824-e11837661b57
parent 9b2d22a7
...@@ -202,7 +202,8 @@ var c_oSerProp_rPrType = { ...@@ -202,7 +202,8 @@ var c_oSerProp_rPrType = {
LangBidi: 26, LangBidi: 26,
LangEA: 27, LangEA: 27,
ColorTheme: 28, ColorTheme: 28,
Shd: 29 Shd: 29,
Vanish: 30
}; };
var c_oSerProp_rowPrType = { var c_oSerProp_rowPrType = {
CantSplit:0, CantSplit:0,
...@@ -1797,6 +1798,12 @@ function Binary_rPrWriter(memory) ...@@ -1797,6 +1798,12 @@ function Binary_rPrWriter(memory)
this.memory.WriteByte(c_oSerPropLenType.Variable); this.memory.WriteByte(c_oSerPropLenType.Variable);
this.bs.WriteItemWithLength(function () { _this.bs.WriteShd(rPr.Shd); }); this.bs.WriteItemWithLength(function () { _this.bs.WriteShd(rPr.Shd); });
} }
if(null != rPr.Vanish)
{
this.memory.WriteByte(c_oSerProp_rPrType.Vanish);
this.memory.WriteByte(c_oSerPropLenType.Byte);
this.memory.WriteBool(rPr.Vanish);
}
}; };
}; };
function Binary_oMathWriter(memory, oMathPara) function Binary_oMathWriter(memory, oMathPara)
...@@ -6238,6 +6245,9 @@ function Binary_rPrReader(doc, stream) ...@@ -6238,6 +6245,9 @@ function Binary_rPrReader(doc, stream)
rPr.Shd.Unifill = unifill; rPr.Shd.Unifill = unifill;
else if (null != rPr.Shd.Color && !rPr.Shd.Color.Auto) else if (null != rPr.Shd.Color && !rPr.Shd.Color.Auto)
rPr.Shd.Unifill = CreteSolidFillRGB(rPr.Shd.Color.r, rPr.Shd.Color.g, rPr.Shd.Color.b); rPr.Shd.Unifill = CreteSolidFillRGB(rPr.Shd.Color.r, rPr.Shd.Color.g, rPr.Shd.Color.b);
break;
case c_oSerProp_rPrType.Vanish:
rPr.Vanish = this.stream.GetBool();
break; break;
default: default:
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
......
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