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

FramePr wrap constants

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55796 954022d7-b5bf-4e40-9824-e11837661b57
parent fa4b25b0
......@@ -1384,7 +1384,7 @@ function Binary_pPrWriter(memory, oNumIdMap, oBinaryHeaderFooterTableWriter)
{
this.memory.WriteByte(c_oSer_FramePrType.Wrap);
this.memory.WriteByte(c_oSerPropLenType.Byte);
this.memory.WriteByte(oFramePr.Wrap);
this.memory.WriteByte(oFramePr.Wrap - 1);//todo
}
if(null != oFramePr.X)
{
......@@ -6057,7 +6057,7 @@ function Binary_pPrReader(doc, oReadResult, stream)
else if(c_oSer_FramePrType.W == type)
oFramePr.W = g_dKoef_twips_to_mm * this.stream.GetULongLE();
else if(c_oSer_FramePrType.Wrap == type)
oFramePr.Wrap = this.stream.GetUChar();
oFramePr.Wrap = this.stream.GetUChar() + 1;//todo
else if(c_oSer_FramePrType.X == type)
oFramePr.X = g_dKoef_twips_to_mm * this.stream.GetULongLE();
else if(c_oSer_FramePrType.XAlign == 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