List of usage examples for com.itextpdf.text Chapter setComplete
public void setComplete(final boolean complete)
From source file:eu.aniketos.wp1.ststool.report.pdfgenerator.ReportContentFactory.java
License:Open Source License
private void buildAppendixDChapter(Chapter c, Document d) { c.setTitle(getChapterTitleParagraph("Appendix D")); c.setNumberDepth(0);/*from w w w . j av a2 s .co m*/ c.setTriggerNewPage(true); String sectionIntro = "STS-ml allows for specification of events that threaten goals or documents in a STS model."; c.add(createParagraph(sectionIntro)); sectionIntro = "It currently focus on events threating goals or documents, and as such it propagates the effects over goal trees and goals/documents relationships internal to the actor (need, modify, produce), as well as social relationships involving goals and docs (goal delegation, document provision)."; c.add(createParagraph(sectionIntro)); sectionIntro = "In the following are provided the details of the check performed during threat analysis."; c.add(createParagraph(sectionIntro)); List<Paragraph> plist = new ArrayList<Paragraph>(); for (String aName : RiskAnalysisTasksNames.ALL_TASKS_NAMES) { plist.add(getRiskAnalysisDescription(aName)); } c.add(listParagraphs(plist)); c.setComplete(true); }