Commit 66cfdd3c authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55598 954022d7-b5bf-4e40-9824-e11837661b57
parent 6004d6d4
...@@ -3356,8 +3356,9 @@ ...@@ -3356,8 +3356,9 @@
text = ""; text = "";
//*paraRun* switch(content[n].Type)
if(content[n] instanceof ParaRun) {
case para_Run://*paraRun*
{ {
paraRunContent = content[n].Content; paraRunContent = content[n].Content;
...@@ -3371,15 +3372,22 @@ ...@@ -3371,15 +3372,22 @@
for(var pR = 0; pR < paraRunContent.length; pR++) for(var pR = 0; pR < paraRunContent.length; pR++)
{ {
if(paraRunContent[pR] instanceof ParaText)//text switch(paraRunContent[pR].Type)
{
case para_Text://*paraText*
{ {
text += paraRunContent[pR].Value; text += paraRunContent[pR].Value;
} break;
else if(paraRunContent[pR] instanceof ParaSpace) };
case para_Space://*paraSpace*
{ {
text += " "; text += " ";
} break;
else if(paraRunContent[pR] instanceof ParaTab || paraRunContent[pR] instanceof ParaEnd)//tab };
case para_Tab://*paraEnd / paraTab*
case para_End:
{ {
if(!oNewItem.length) if(!oNewItem.length)
{ {
...@@ -3406,8 +3414,13 @@ ...@@ -3406,8 +3414,13 @@
text = ""; text = "";
oNewItem = []; oNewItem = [];
s++; s++;
break;
};
} }
}; };
break;
};
}; };
}; };
}, },
......
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