Commit 81d2108f authored by GoshaZotov's avatar GoshaZotov

changes for paste mso-list

parent 623d7f56
......@@ -5416,21 +5416,28 @@ PasteProcessor.prototype =
{
res = numbering_numfmt_Decimal;
}
else if(str.match(/^[I,X,V]/))
else if(1 === str.length && -1 !== str.indexOf("o"))
{
res = numbering_numfmt_UpperRoman;
res = numbering_numfmt_Bullet;
}
else if(str.match(/^[i,x,v]/))
{
res = numbering_numfmt_LowerRoman;
}
else if(str.match(/^[A-Z]/))
{
res = numbering_numfmt_UpperLetter;
}
else if(str.match(/^[a-z]/))
else
{
res = numbering_numfmt_LowerLetter;
if(str.match(/^[I,X,V]/))
{
res = numbering_numfmt_UpperRoman;
}
else if(str.match(/^[i,x,v]/))
{
res = numbering_numfmt_LowerRoman;
}
else if(str.match(/^[A-Z]/))
{
res = numbering_numfmt_UpperLetter;
}
else if(str.match(/^[a-z]/))
{
res = numbering_numfmt_LowerLetter;
}
}
return res;
......
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