/** * @param size * font size in points. The value <code>null</code> unsets the * size for this run. * <dl> * <dt>Minimum inclusive =</dt> * <dd>1</dd> * <dt>Maximum inclusive =</dt> * <dd>400</dd></dt> * */ public void setFontSize(Double size) { getOrCreateProperties().setFontSize(size); }
public XDDFTextParagraph initialize() { _body.addNewLstStyle(); _body.addNewBodyPr(); XDDFBodyProperties bp = getBodyProperties(); bp.setAnchoring(AnchorType.TOP); bp.setRightToLeft(false); XDDFTextParagraph p = addNewParagraph(); p.setTextAlignment(TextAlignment.LEFT); XDDFRunProperties end = p.addAfterLastRunProperties(); end.setLanguage(Locale.US); end.setFontSize(11.0); return p; }
/** * @param size * font size in points. The value <code>null</code> unsets the * size for this run. * <dl> * <dt>Minimum inclusive =</dt> * <dd>1</dd> * <dt>Maximum inclusive =</dt> * <dd>400</dd></dt> * */ public void setFontSize(Double size) { getOrCreateProperties().setFontSize(size); }
public XDDFTextParagraph initialize() { _body.addNewLstStyle(); _body.addNewBodyPr(); XDDFBodyProperties bp = getBodyProperties(); bp.setAnchoring(AnchorType.TOP); bp.setRightToLeft(false); XDDFTextParagraph p = addNewParagraph(); p.setTextAlignment(TextAlignment.LEFT); XDDFRunProperties end = p.addAfterLastRunProperties(); end.setLanguage(Locale.US); end.setFontSize(11.0); return p; }
properties.setItalic(true); properties.setUnderline(UnderlineType.DOT_DOT_DASH_HEAVY); properties.setFontSize(22.5); XDDFFont[] fonts = new XDDFFont[]{ new XDDFFont(FontGroup.LATIN, "Calibri", null, null, null),