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 @@
text = "";
//*paraRun*
if(content[n] instanceof ParaRun)
switch(content[n].Type)
{
case para_Run://*paraRun*
{
paraRunContent = content[n].Content;
......@@ -3371,15 +3372,22 @@
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;
}
else if(paraRunContent[pR] instanceof ParaSpace)
break;
};
case para_Space://*paraSpace*
{
text += " ";
}
else if(paraRunContent[pR] instanceof ParaTab || paraRunContent[pR] instanceof ParaEnd)//tab
break;
};
case para_Tab://*paraEnd / paraTab*
case para_End:
{
if(!oNewItem.length)
{
......@@ -3406,8 +3414,13 @@
text = "";
oNewItem = [];
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