Commit 5cbf688f authored by SergeyLuzyanin's avatar SergeyLuzyanin

get bullet fonts

parent b9dd4d64
......@@ -8467,6 +8467,12 @@ CBullet.prototype =
this.bulletType = new CBulletType();
this.bulletType.Read_FromBinary(r);
}
},
Get_AllFontNames: function(AllFonts){
if(this.bulletTypeface && typeof this.bulletTypeface.typeface === "string" && this.bulletTypeface.typeface.length > 0){
AllFonts[this.bulletTypeface.typeface] = true;
}
}
};
......
......@@ -9233,6 +9233,14 @@ Paragraph.prototype.Document_Get_AllFontNames = function(AllFonts)
{
// Смотрим на знак конца параграфа
this.TextPr.Value.Document_Get_AllFontNames(AllFonts);
if(this.Pr.Bullet)
{
this.Pr.Bullet.Get_AllFontNames(AllFonts);
}
if(this.Pr.DefaultRunPr)
{
this.Pr.DefaultRunPr.Document_Get_AllFontNames(AllFonts);
}
var Count = this.Content.length;
for (var Index = 0; Index < Count; Index++)
......
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