com.lowagie.text.List.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(4.1k)|赞(0)|评价(0)|浏览(170)

本文整理了Java中com.lowagie.text.List.<init>()方法的一些代码示例,展示了List.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。List.<init>()方法的具体详情如下:
包路径:com.lowagie.text.List
类名称:List
方法名:<init>

List.<init>介绍

[英]Constructs a List.
[中]构造一个List

代码示例

代码示例来源:origin: org.seasar.tuigwaa/tuigwaa-cms

private com.lowagie.text.List startList(int type) {
  com.lowagie.text.List e = null;
  if (type == WikiHelper.LIST_TYPE_NORMAL) {
    e = new com.lowagie.text.List(false, LIST_INDENT);
  } else if (type == WikiHelper.LIST_TYPE_NUMERICAL) {
    e = new com.lowagie.text.List(true, LIST_INDENT);
  }
  return e;
}

代码示例来源:origin: org.jboss.seam/jboss-seam-pdf

list = new List(true, indent);
 list = new List(false, true, indent);
list = new List(false, indent);
if (listSymbol != null)

代码示例来源:origin: org.seasar.tuigwaa/tuigwaa-cms

skipText = true;
cprops.addToChain(tag, h);
com.lowagie.text.List list = new com.lowagie.text.List(false, 10);
list.setListSymbol("\u2022");
stack.push(list);
skipText = true;
cprops.addToChain(tag, h);
com.lowagie.text.List list = new com.lowagie.text.List(true, 10);
stack.push(list);
return;

代码示例来源:origin: fr.opensagres.xdocreport/fr.opensagres.xdocreport.itext.extension-gae

@Override
public void addElement( Element element )
{
  this.empty = false;
  if ( element instanceof ListItem )
  {
    List aList = new List();
    aList.setIndentationLeft( ( (ListItem) element ).getIndentationLeft() );
    aList.add( element );
    super.addElement( aList );
  }
  else
  {
    super.addElement( element );
  }
}

代码示例来源:origin: fr.opensagres.xdocreport/fr.opensagres.xdocreport.itext.extension

@Override
public void addElement( Element element )
{
  this.empty = false;
  if ( element instanceof ListItem )
  {
    List aList = new List();
    aList.setIndentationLeft( ( (ListItem) element ).getIndentationLeft() );
    aList.add( element );
    super.addElement( aList );
  }
  else
  {
    super.addElement( element );
  }
}

代码示例来源:origin: com.github.librepdf/openpdf

List list = new List();

代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext

List list = new List();

代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae

List list = new List();

代码示例来源:origin: com.github.librepdf/pdf-html

skipText = true;
cprops.addToChain(tag, h);
com.lowagie.text.List list = new com.lowagie.text.List(false);
try{
  list.setIndentationLeft(new Float(cprops.getProperty("indent")).floatValue());
skipText = true;
cprops.addToChain(tag, h);
com.lowagie.text.List list = new com.lowagie.text.List(true);
try{
  list.setIndentationLeft(new Float(cprops.getProperty("indent")).floatValue());

代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae

skipText = true;
cprops.addToChain(tag, h);
com.lowagie.text.List list = new com.lowagie.text.List(false);
try{
  list.setIndentationLeft(new Float(cprops.getProperty("indent")).floatValue());
skipText = true;
cprops.addToChain(tag, h);
com.lowagie.text.List list = new com.lowagie.text.List(true);
try{
  list.setIndentationLeft(new Float(cprops.getProperty("indent")).floatValue());

代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext

skipText = true;
cprops.addToChain(tag, h);
com.lowagie.text.List list = new com.lowagie.text.List(false);
try{
  list.setIndentationLeft(new Float(cprops.getProperty("indent")).floatValue());
skipText = true;
cprops.addToChain(tag, h);
com.lowagie.text.List list = new com.lowagie.text.List(true);
try{
  list.setIndentationLeft(new Float(cprops.getProperty("indent")).floatValue());

代码示例来源:origin: SonarQubeCommunity/sonar-pdf-report

private void printProjectInfo(final Project project, final Section section)
  throws DocumentException {
 List data = new List();
 data.add(new ListItem(super.getTextProperty("general.name") + ": "
   + project.getName()));
 data.add(new ListItem(super.getTextProperty("general.description") + ": "
   + project.getDescription()));
 data.add(new ListItem(super.getTextProperty("general.modules") + ": "));
 List sublist = new List();
 if (project.getSubprojects().size() != 0) {
  Iterator<Project> it = project.getSubprojects().iterator();
  while (it.hasNext()) {
   sublist.add(new ListItem(it.next().getName()));
  }
 } else {
  sublist.add(new ListItem(super.getTextProperty("general.no_modules")));
 }
 sublist.setIndentationLeft(indentation);
 data.add(sublist);
 section.add(data);
 printMeasures(project.getMeasures(), section);
}

相关文章