public class RunningElementContainer extends Object
| Constructor and Description |
|---|
RunningElementContainer(com.itextpdf.styledxmlparser.node.IElementNode runningElement,
ITagWorker processedElementWorker)
Initializes a new instance of
RunningElementContainer that contains
given running element IElementNode and ITagWorker instances. |
| Modifier and Type | Method and Description |
|---|---|
int |
getOccurrencePage()
Gets the page on which underlying running element was to be placed.
|
boolean |
isFirstOnPage()
Specifies if the given running element would have placed as the first element on the page or not.
|
void |
setOccurrencePage(int pageNum,
boolean firstOnPage)
Sets the page on which underlying running element was to be placed.
|
public RunningElementContainer(com.itextpdf.styledxmlparser.node.IElementNode runningElement,
ITagWorker processedElementWorker)
RunningElementContainer that contains
given running element IElementNode and ITagWorker instances.runningElement - the IElementNode of the running element.processedElementWorker - the ITagWorker that was created for the running element
and have been already completely processed (with all running element children).public void setOccurrencePage(int pageNum,
boolean firstOnPage)
pageNum - the 1-based index of the page on which running element was to be placed.firstOnPage - specifies if the given running element would have placed as the first element on the page or not.public int getOccurrencePage()
public boolean isFirstOnPage()
getOccurrencePage() returns value greater than 0.Copyright © 1998–2024 Apryse Group NV. All rights reserved.