public class DocumentAppender
extends java.lang.Object
Constructor and Description |
---|
DocumentAppender() |
DocumentAppender(Document baseDocument) |
Modifier and Type | Method and Description |
---|---|
void |
append(Document doc)
Appends another document to the base document.
|
Document |
getDocument() |
Values.ForcePageCount |
getForcePageCount()
Gets the force-page-count property.
|
boolean |
isRestartPageNumbering()
Returns true if a page-numbering restarts when the next
document is appended.
|
boolean |
isStartNewSequence() |
void |
setForcePageCount(Values.ForcePageCount forcePageCount)
Sets the force-page-count property which is applied
to the last page sequence of a preceding document.
|
void |
setRestartPageNumbering(boolean restartPageNumbering)
If set to true, page-numbering is restarted when appending the
next document.
|
void |
setStartNewSequence(boolean startNewSequence) |
public DocumentAppender()
public DocumentAppender(Document baseDocument)
public void append(Document doc)
doc
- Appended document.public boolean isRestartPageNumbering()
public void setRestartPageNumbering(boolean restartPageNumbering)
restartPageNumbering
- public Values.ForcePageCount getForcePageCount()
public void setForcePageCount(Values.ForcePageCount forcePageCount)
forcePageCount
- public boolean isStartNewSequence()
public void setStartNewSequence(boolean startNewSequence)
public Document getDocument()
© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.