本文整理了Java中com.lowagie.text.Paragraph.getTotalLeading()
方法的一些代码示例,展示了Paragraph.getTotalLeading()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Paragraph.getTotalLeading()
方法的具体详情如下:
包路径:com.lowagie.text.Paragraph
类名称:Paragraph
方法名:getTotalLeading
[英]Gets the total leading. This method is based on the assumption that the font of the Paragraph is the font of all the elements that make part of the paragraph. This isn't necessarily true.
[中]总领先。这种方法基于这样的假设:段落的字体是构成段落一部分的所有元素的字体。这不一定是真的。
代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae
if (section.getTitle().hasLeading()) styleAttributes.setProperty(Markup.CSS_KEY_LINEHEIGHT, section.getTitle().getTotalLeading() + "pt");
代码示例来源:origin: com.github.librepdf/pdf-html
if (section.getTitle().hasLeading()) styleAttributes.setProperty(Markup.CSS_KEY_LINEHEIGHT, section.getTitle().getTotalLeading() + "pt");
代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext
if (section.getTitle().hasLeading()) styleAttributes.setProperty(Markup.CSS_KEY_LINEHEIGHT, section.getTitle().getTotalLeading() + "pt");
代码示例来源:origin: com.github.librepdf/pdf-html
if (paragraph.hasLeading()) styleAttributes.setProperty(Markup.CSS_KEY_LINEHEIGHT, paragraph.getTotalLeading() + "pt");
代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae
if (paragraph.hasLeading()) styleAttributes.setProperty(Markup.CSS_KEY_LINEHEIGHT, paragraph.getTotalLeading() + "pt");
代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext
if (paragraph.hasLeading()) styleAttributes.setProperty(Markup.CSS_KEY_LINEHEIGHT, paragraph.getTotalLeading() + "pt");
代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae
leading = header.paragraph().getTotalLeading();
text.moveText(0, leading);
add(header.paragraph());
代码示例来源:origin: com.github.librepdf/openpdf
leading = header.paragraph().getTotalLeading();
text.moveText(0, leading);
add(header.paragraph());
代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext
leading = header.paragraph().getTotalLeading();
text.moveText(0, leading);
add(header.paragraph());
代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext
leading = footer.paragraph().getTotalLeading();
add(footer.paragraph());
代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae
leading = footer.paragraph().getTotalLeading();
add(footer.paragraph());
代码示例来源:origin: com.github.librepdf/openpdf
leading = footer.paragraph().getTotalLeading();
add(footer.paragraph());
代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae
leading = paragraph.getTotalLeading();
carriageReturn();
element.process(this);
carriageReturn();
addSpacing(paragraph.getSpacingAfter(), paragraph.getTotalLeading(), paragraph.getFont());
代码示例来源:origin: com.github.librepdf/openpdf
leading = paragraph.getTotalLeading();
carriageReturn();
element.process(this);
carriageReturn();
addSpacing(paragraph.getSpacingAfter(), paragraph.getTotalLeading(), paragraph.getFont());
代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext
leading = paragraph.getTotalLeading();
carriageReturn();
element.process(this);
carriageReturn();
addSpacing(paragraph.getSpacingAfter(), paragraph.getTotalLeading(), paragraph.getFont());
内容来源于网络,如有侵权,请联系作者删除!