public class PLPageBreak extends AbstractPLRenderableObject<PLPageBreak>
DEFAULT_MAX_SIZE, DEFAULT_MIN_SIZE| Constructor and Description |
|---|
PLPageBreak(boolean bForcePageBreak)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static PLPageBreak |
createPreparedPageBreak() |
boolean |
isForcePageBreak() |
protected void |
onPerform(RenderingContext aCtx)
Abstract method to be implemented by subclasses.
|
protected SizeSpec |
onPrepare(PreparationContext aCtx)
The abstract method that must be implemented by all subclasses.
|
String |
toString() |
getMaxSize, getMinSize, getPreparedSize, internalCheckNotPrepared, internalMarkAsNotPrepared, internalMarkAsPrepared, isPrepared, onPerformFillAndBorder, perform, prepare, setMaxSize, setMinSizegetDebugID, getID, setBasicDataFrom, setIDclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdoPageSetup, setExactSizegetAsSplittable, getDebugID, isSplittablegetFullBottom, getFullLeft, getFullRight, getFullTop, getFullXSum, getFullYSumpublic PLPageBreak(boolean bForcePageBreak)
bForcePageBreak - true if this is a forced page break, false
if it is a normal page break.public boolean isForcePageBreak()
true if this is a forced page break,
false if it is a normal page break.protected SizeSpec onPrepare(@Nonnull PreparationContext aCtx) throws IOException
AbstractPLRenderableObjectonPrepare in class AbstractPLRenderableObject<PLPageBreak>aCtx - Preparation context. Never null.null.IOException - on errorprotected void onPerform(@Nonnull RenderingContext aCtx) throws IOException
AbstractPLRenderableObjectonPerform in class AbstractPLRenderableObject<PLPageBreak>aCtx - Rendering contextIOException - In case of a PDFBox errorpublic String toString()
toString in class AbstractPLRenderableObject<PLPageBreak>@Nonnull public static PLPageBreak createPreparedPageBreak()
Copyright © 2014–2016 Philip Helger. All rights reserved.