@Internal protected XDDFParagraphProperties(CTTextParagraphProperties properties) { this.props = properties; this.bullet = new XDDFParagraphBulletProperties(properties); }
/** * * @return the font of bullet characters within a given paragraph. A * <code>null</code> value means to use the text font font. */ public XDDFFont getBulletFont() { return findDefinedParagraphProperty(props -> props.isSetBuFont() || props.isSetBuFontTx(), props -> new XDDFParagraphBulletProperties(props).getBulletFont()).orElse(null); }
/** * * @return the color of bullet characters within a given paragraph. A * <code>null</code> value means to use the text font color. */ public XDDFColor getBulletColor() { return findDefinedParagraphProperty(props -> props.isSetBuClr() || props.isSetBuClrTx(), props -> new XDDFParagraphBulletProperties(props).getBulletColor()).orElse(null); }
public XDDFBulletStyle getBulletStyle() { return findDefinedParagraphProperty( props -> props.isSetBuAutoNum() || props.isSetBuBlip() || props.isSetBuChar() || props.isSetBuNone(), props -> new XDDFParagraphBulletProperties(props).getBulletStyle()).orElse(null); }
/** * Returns the bullet size that is to be used within a paragraph. This may * be specified in three different ways, follows text size, percentage size * and font points size: * <p> * If returned value is instance of XDDFBulletSizeFollowText, then bullet * size is text size; If returned value is instance of * XDDFBulletSizePercent, then bullet size is a percentage of the font size; * If returned value is instance of XDDFBulletSizePoints, then bullet size * is specified in points. * </p> * * @return the bullet size */ public XDDFBulletSize getBulletSize() { return findDefinedParagraphProperty( props -> props.isSetBuSzPct() || props.isSetBuSzPts() || props.isSetBuSzTx(), props -> new XDDFParagraphBulletProperties(props).getBulletSize()).orElse(null); }
@Internal protected XDDFParagraphProperties(CTTextParagraphProperties properties) { this.props = properties; this.bullet = new XDDFParagraphBulletProperties(properties); }
/** * * @return the font of bullet characters within a given paragraph. A * <code>null</code> value means to use the text font font. */ public XDDFFont getBulletFont() { return findDefinedParagraphProperty(props -> props.isSetBuFont() || props.isSetBuFontTx(), props -> new XDDFParagraphBulletProperties(props).getBulletFont()).orElse(null); }
/** * * @return the color of bullet characters within a given paragraph. A * <code>null</code> value means to use the text font color. */ public XDDFColor getBulletColor() { return findDefinedParagraphProperty(props -> props.isSetBuClr() || props.isSetBuClrTx(), props -> new XDDFParagraphBulletProperties(props).getBulletColor()).orElse(null); }
public XDDFBulletStyle getBulletStyle() { return findDefinedParagraphProperty( props -> props.isSetBuAutoNum() || props.isSetBuBlip() || props.isSetBuChar() || props.isSetBuNone(), props -> new XDDFParagraphBulletProperties(props).getBulletStyle()).orElse(null); }
/** * Returns the bullet size that is to be used within a paragraph. This may * be specified in three different ways, follows text size, percentage size * and font points size: * <p> * If returned value is instance of XDDFBulletSizeFollowText, then bullet * size is text size; If returned value is instance of * XDDFBulletSizePercent, then bullet size is a percentage of the font size; * If returned value is instance of XDDFBulletSizePoints, then bullet size * is specified in points. * </p> * * @return the bullet size */ public XDDFBulletSize getBulletSize() { return findDefinedParagraphProperty( props -> props.isSetBuSzPct() || props.isSetBuSzPts() || props.isSetBuSzTx(), props -> new XDDFParagraphBulletProperties(props).getBulletSize()).orElse(null); }