use of org.apache.poi.hslf.model.PPFont in project poi by apache.
the class HSLFTextParagraph method getBulletFont.
/**
* Returns the bullet font
*/
public String getBulletFont() {
TextProp tp = getPropVal(_paragraphStyle, _masterStyle, "bullet.font");
boolean hasFont = getFlag(ParagraphFlagsTextProp.BULLET_HARDFONT_IDX);
if (tp == null || !hasFont) {
return getDefaultFontFamily();
}
PPFont ppFont = getSheet().getSlideShow().getFont(tp.getValue());
assert (ppFont != null);
return ppFont.getFontName();
}
Aggregations