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 name
listSymbolType
- the list symbol type
scope
- the scope
String
public String resolveCounters(String counterName, String counterSeparatorStr, String listSymbolType, com.itextpdf.styledxmlparser.node.INode scope)
counterName
- the counter name
counterSeparatorStr
- the counter separator
listSymbolType
- the list symbol type
scope
- the scope
String
public void resetCounter(String counterName, com.itextpdf.styledxmlparser.node.INode scope)
counterName
- the counter name
scope
- the scope
public void resetCounter(String counterName, int value, com.itextpdf.styledxmlparser.node.INode scope)
counterName
- the counter name
value
- the new value
scope
- the scope
public void incrementCounter(String counterName, int incrementValue, com.itextpdf.styledxmlparser.node.INode scope)
counterName
- the counter name
incrementValue
- the increment value
scope
- the scope
public void incrementCounter(String counterName, com.itextpdf.styledxmlparser.node.INode scope)
counterName
- the counter name
scope
- the scope
Copyright © 1998–2019 iText Group NV. All rights reserved.