/** * * @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); }
/** * 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); }
public XDDFBulletStyle getBulletStyle() { return findDefinedParagraphProperty( props -> props.isSetBuAutoNum() || props.isSetBuBlip() || props.isSetBuChar() || props.isSetBuNone(), props -> new XDDFParagraphBulletProperties(props).getBulletStyle()).orElse(null); }
/** * Set the font to be used on bullet characters within a given paragraph. * * @param font * the bullet font */ public void setBulletFont(XDDFFont font) { if (font != null || _p.isSetPPr()) { getOrCreateBulletProperties().setBulletFont(font); } }
@Internal protected XDDFParagraphProperties(CTTextParagraphProperties properties) { this.props = properties; this.bullet = new XDDFParagraphBulletProperties(properties); }
/** * Set the color to be used on bullet characters within a given paragraph. * * @param color * the bullet color */ public void setBulletColor(XDDFColor color) { if (color != null || _p.isSetPPr()) { getOrCreateBulletProperties().setBulletColor(color); } }
/** * Specifies the color to be used on bullet characters has to follow text * color within a given paragraph. */ public void setBulletColorFollowText() { getOrCreateBulletProperties().setBulletColorFollowText(); }
/** * Specifies the font to be used on bullet characters has to follow text * font within a given paragraph. */ public void setBulletFontFollowText() { getOrCreateBulletProperties().setBulletFontFollowText(); }
/** * Sets 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 given value is instance of XDDFBulletSizeFollowText, then bullet size * is text size; If given value is instance of XDDFBulletSizePercent, then * bullet size is a percentage of the font size; If given value is instance * of XDDFBulletSizePoints, then bullet size is specified in points. * </p> * * @param size * the bullet size specification */ public void setBulletSize(XDDFBulletSize size) { if (size != null || _p.isSetPPr()) { getOrCreateBulletProperties().setBulletSize(size); } }
public XDDFBulletStyle getBulletStyle() { return findDefinedParagraphProperty( props -> props.isSetBuAutoNum() || props.isSetBuBlip() || props.isSetBuChar() || props.isSetBuNone(), props -> new XDDFParagraphBulletProperties(props).getBulletStyle()).orElse(null); }
/** * Set the font to be used on bullet characters within a given paragraph. * * @param font * the bullet font */ public void setBulletFont(XDDFFont font) { if (font != null || _p.isSetPPr()) { getOrCreateBulletProperties().setBulletFont(font); } }
@Internal protected XDDFParagraphProperties(CTTextParagraphProperties properties) { this.props = properties; this.bullet = new XDDFParagraphBulletProperties(properties); }
/** * Set the color to be used on bullet characters within a given paragraph. * * @param color * the bullet color */ public void setBulletColor(XDDFColor color) { if (color != null || _p.isSetPPr()) { getOrCreateBulletProperties().setBulletColor(color); } }
/** * Specifies the color to be used on bullet characters has to follow text * color within a given paragraph. */ public void setBulletColorFollowText() { getOrCreateBulletProperties().setBulletColorFollowText(); }
/** * Specifies the font to be used on bullet characters has to follow text * font within a given paragraph. */ public void setBulletFontFollowText() { getOrCreateBulletProperties().setBulletFontFollowText(); }
/** * Sets 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 given value is instance of XDDFBulletSizeFollowText, then bullet size * is text size; If given value is instance of XDDFBulletSizePercent, then * bullet size is a percentage of the font size; If given value is instance * of XDDFBulletSizePoints, then bullet size is specified in points. * </p> * * @param size * the bullet size specification */ public void setBulletSize(XDDFBulletSize size) { if (size != null || _p.isSetPPr()) { getOrCreateBulletProperties().setBulletSize(size); } }
/** * * @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); }
/** * 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); }