Java 类com.itextpdf.text.List 实例源码

项目:CPI    文件:generarPDF.java   
private static void createList(Section subCatPart) {
  List list = new List(true, false, 10);
  list.add(new ListItem("First point"));
  list.add(new ListItem("Second point"));
  list.add(new ListItem("Third point"));
  subCatPart.add(list);
}
项目:FOXopen    文件:ListComponentBuilder.java   
@Override
public void buildComponent(SerialisationContext pSerialisationContext, PDFSerialiser pSerialiser, EvaluatedHtmlPresentationNode pEvalNode) {
  List lList = pSerialiser.getElementFactory().getList();
  lList.setNumbered(mIsNumbered);

  pSerialiser.startContainer(ElementContainerFactory.getContainer(lList));
  processChildren(pSerialisationContext, pSerialiser, pEvalNode);
  pSerialiser.endContainer();

  pSerialiser.add(lList);
}
项目:FOXopen    文件:ElementFactory.java   
/**
 * Create a list with the factory element attributes applied
 * @return A list with the element attributes applied
 */
public List getList() {
  List lList = new List();
  return lList;
}