public class CssCounterManager extends Object
| Constructor and Description |
|---|
CssCounterManager()
Creates a new
CssCounterManager instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
incrementCounter(String counterName,
com.itextpdf.styledxmlparser.node.INode scope)
Increments the counter.
|
void |
incrementCounter(String counterName,
int incrementValue,
com.itextpdf.styledxmlparser.node.INode scope)
Increments the counter.
|
void |
resetCounter(String counterName,
com.itextpdf.styledxmlparser.node.INode scope)
Resets the counter.
|
void |
resetCounter(String counterName,
int value,
com.itextpdf.styledxmlparser.node.INode scope)
Resets the counter.
|
String |
resolveCounter(String counterName,
String listSymbolType,
com.itextpdf.styledxmlparser.node.INode scope)
Resolves a counter.
|
String |
resolveCounters(String counterName,
String counterSeparatorStr,
String listSymbolType,
com.itextpdf.styledxmlparser.node.INode scope)
Resolves counters.
|
public CssCounterManager()
CssCounterManager instance.public String resolveCounter(String counterName, String listSymbolType, com.itextpdf.styledxmlparser.node.INode scope)
counterName - the counter namelistSymbolType - the list symbol typescope - the scopeStringpublic String resolveCounters(String counterName, String counterSeparatorStr, String listSymbolType, com.itextpdf.styledxmlparser.node.INode scope)
counterName - the counter namecounterSeparatorStr - the counter separatorlistSymbolType - the list symbol typescope - the scopeStringpublic void resetCounter(String counterName, com.itextpdf.styledxmlparser.node.INode scope)
counterName - the counter namescope - the scopepublic void resetCounter(String counterName, int value, com.itextpdf.styledxmlparser.node.INode scope)
counterName - the counter namevalue - the new valuescope - the scopepublic void incrementCounter(String counterName, int incrementValue, com.itextpdf.styledxmlparser.node.INode scope)
counterName - the counter nameincrementValue - the increment valuescope - the scopepublic void incrementCounter(String counterName, com.itextpdf.styledxmlparser.node.INode scope)
counterName - the counter namescope - the scopeCopyright © 1998–2020 iText Group NV. All rights reserved.