本文整理了Java中com.itextpdf.text.Paragraph.getAlignment()
方法的一些代码示例,展示了Paragraph.getAlignment()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Paragraph.getAlignment()
方法的具体详情如下:
包路径:com.itextpdf.text.Paragraph
类名称:Paragraph
方法名:getAlignment
[英]Gets the alignment of this paragraph.
[中]获取此段落的对齐方式。
代码示例来源:origin: com.itextpdf/itextpdf
setTextAlignAttribute(paragraph.getAlignment());
代码示例来源:origin: com.itextpdf/itextg
setTextAlignAttribute(paragraph.getAlignment());
代码示例来源:origin: com.itextpdf/itextg
protected void populateProperties(Paragraph copy, boolean spacingBefore) {
copy.setFont(getFont());
copy.setAlignment(getAlignment());
copy.setLeading(getLeading(), multipliedLeading);
copy.setIndentationLeft(getIndentationLeft());
copy.setIndentationRight(getIndentationRight());
copy.setFirstLineIndent(getFirstLineIndent());
copy.setSpacingAfter(getSpacingAfter());
if (spacingBefore)
copy.setSpacingBefore(getSpacingBefore());
copy.setExtraParagraphSpace(getExtraParagraphSpace());
copy.setRole(role);
copy.id = getId();
if (accessibleAttributes != null)
copy.accessibleAttributes = new HashMap<PdfName, PdfObject>(accessibleAttributes);
copy.setTabSettings(getTabSettings());
copy.setKeepTogether(getKeepTogether());
}
代码示例来源:origin: com.itextpdf/itextpdf
protected void populateProperties(Paragraph copy, boolean spacingBefore) {
copy.setFont(getFont());
copy.setAlignment(getAlignment());
copy.setLeading(getLeading(), multipliedLeading);
copy.setIndentationLeft(getIndentationLeft());
copy.setIndentationRight(getIndentationRight());
copy.setFirstLineIndent(getFirstLineIndent());
copy.setSpacingAfter(getSpacingAfter());
if (spacingBefore)
copy.setSpacingBefore(getSpacingBefore());
copy.setExtraParagraphSpace(getExtraParagraphSpace());
copy.setRole(role);
copy.id = getId();
if (accessibleAttributes != null)
copy.accessibleAttributes = new HashMap<PdfName, PdfObject>(accessibleAttributes);
copy.setTabSettings(getTabSettings());
copy.setKeepTogether(getKeepTogether());
}
代码示例来源:origin: com.itextpdf/itextpdf
if (compositeColumn == null) {
compositeColumn = new ColumnText(canvas);
compositeColumn.setAlignment(para.getAlignment());
compositeColumn.setIndent(para.getIndentationLeft() + para.getFirstLineIndent(), false);
compositeColumn.setExtraParagraphSpace(para.getExtraParagraphSpace());
代码示例来源:origin: com.itextpdf/itextg
if (compositeColumn == null) {
compositeColumn = new ColumnText(canvas);
compositeColumn.setAlignment(para.getAlignment());
compositeColumn.setIndent(para.getIndentationLeft() + para.getFirstLineIndent(), false);
compositeColumn.setExtraParagraphSpace(para.getExtraParagraphSpace());
代码示例来源:origin: com.itextpdf/itextg
alignment = paragraph.getAlignment();
leading = paragraph.getTotalLeading();
pushLeading();
代码示例来源:origin: com.itextpdf/itextpdf
alignment = paragraph.getAlignment();
leading = paragraph.getTotalLeading();
pushLeading();
内容来源于网络,如有侵权,请联系作者删除!