public class CssRunningManager extends Object
Constructor and Description |
---|
CssRunningManager() |
Modifier and Type | Method and Description |
---|---|
void |
addRunningElement(String runningElemName, RunningElementContainer container)
Registers new running element from HTML document.
|
RunningElementContainer |
getRunningElement(String runningElemName, String occurrenceOption, int pageNum)
Finds the running element that has particular name and should appear on specific page with given occurrence options.
|
public void addRunningElement(String runningElemName, RunningElementContainer container)
runningElemName
- the name of the new running element.
container
- a wrapper for the running elements taken out of the normal flow.
public RunningElementContainer getRunningElement(String runningElemName, String occurrenceOption, int pageNum)
runningElemName
- the running element name.
occurrenceOption
- an option defining which running element should be chosen in case there are multiple running elements with the same name on the given page.
pageNum
- the 1-based index of the page for which running element is requested.
RunningElementContainer
with corresponding running element, or null
if no running element should be displayed for the given page with the given name or occurrence option.
Copyright © 1998–2021 iText Group NV. All rights reserved.