Commit d60a72dc authored by konovalovsergey's avatar konovalovsergey

continuationSeparator

parent 46e89bdf
...@@ -353,7 +353,9 @@ var c_oSerRunType = { ...@@ -353,7 +353,9 @@ var c_oSerRunType = {
columnbreak: 18, columnbreak: 18,
cr: 19, cr: 19,
nonBreakHyphen: 20, nonBreakHyphen: 20,
softHyphen: 21 softHyphen: 21,
separator: 22,
continuationSeparator: 23
}; };
var c_oSerImageType = { var c_oSerImageType = {
MediaId:0, MediaId:0,
...@@ -4308,6 +4310,14 @@ function BinaryDocumentTableWriter(memory, doc, oMapCommentId, oNumIdMap, copyPa ...@@ -4308,6 +4310,14 @@ function BinaryDocumentTableWriter(memory, doc, oMapCommentId, oNumIdMap, copyPa
} }
oThis.memory.WriteLong(c_oSerPropLenType.Null); oThis.memory.WriteLong(c_oSerPropLenType.Null);
break; break;
case para_Separator:
oThis.memory.WriteByte(c_oSerRunType.separator);
oThis.memory.WriteLong(c_oSerPropLenType.Null);
break;
case para_ContinuationSeparator:
oThis.memory.WriteByte(c_oSerRunType.continuationSeparator);
oThis.memory.WriteLong(c_oSerPropLenType.Null);
break;
case para_Drawing: case para_Drawing:
sCurText = this.WriteText(sCurText, delText); sCurText = this.WriteText(sCurText, delText);
//if (item.Extent && item.GraphicObj && item.GraphicObj.spPr && item.GraphicObj.spPr.xfrm) { //if (item.Extent && item.GraphicObj && item.GraphicObj.spPr && item.GraphicObj.spPr.xfrm) {
...@@ -8716,6 +8726,14 @@ function Binary_DocumentTableReader(doc, oReadResult, openParams, stream, bAllow ...@@ -8716,6 +8726,14 @@ function Binary_DocumentTableReader(doc, oReadResult, openParams, stream, bAllow
{ {
//todo //todo
} }
else if (c_oSerRunType.separator === type)
{
oNewElem = new ParaSeparator();
}
else if (c_oSerRunType.continuationSeparator === type)
{
oNewElem = new ParaContinuationSeparator();
}
else else
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
if (null != oNewElem) if (null != oNewElem)
...@@ -9569,6 +9587,14 @@ function Binary_oMathReader(stream, oReadResult) ...@@ -9569,6 +9587,14 @@ function Binary_oMathReader(stream, oReadResult)
{ {
//todo //todo
} }
else if (c_oSerRunType.separator === type)
{
oNewElem = new ParaSeparator();
}
else if (c_oSerRunType.continuationSeparator === type)
{
oNewElem = new ParaContinuationSeparator();
}
else if (c_oSerRunType._LastRun === type) else if (c_oSerRunType._LastRun === type)
this.oReadResult.bLastRun = true; this.oReadResult.bLastRun = true;
else else
......
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