public class RunningElementContainer extends Object
|Constructor and Description|
Initializes a new instance of
|Modifier and Type||Method and Description|
Gets the page on which underlying running element was to be placed.
Specifies if the given running element would have placed as the first element on the page or not.
Sets the page on which underlying running element was to be placed.
public RunningElementContainer(com.itextpdf.styledxmlparser.node.IElementNode runningElement, ITagWorker processedElementWorker)
RunningElementContainerthat contains given running element
IElementNodeof the running element.
ITagWorkerthat 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–2019 iText Group NV. All rights reserved.