Package com.openhtmltopdf.layout.counter
Class RootCounterContext
- java.lang.Object
-
- com.openhtmltopdf.layout.counter.RootCounterContext
-
- All Implemented Interfaces:
AbstractCounterContext
public class RootCounterContext extends java.lang.Object implements AbstractCounterContext
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.Integer>
counterMap
-
Constructor Summary
Constructors Constructor Description RootCounterContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCurrentCounterValue(java.lang.String name)
java.util.List<java.lang.Integer>
getCurrentCounterValues(java.lang.String name)
void
incrementCounterValue(CalculatedStyle style)
void
resetCounterValue(CalculatedStyle style)
-
-
-
Method Detail
-
resetCounterValue
public void resetCounterValue(CalculatedStyle style)
-
incrementCounterValue
public void incrementCounterValue(CalculatedStyle style)
-
getCurrentCounterValue
public int getCurrentCounterValue(java.lang.String name)
- Specified by:
getCurrentCounterValue
in interfaceAbstractCounterContext
-
getCurrentCounterValues
public java.util.List<java.lang.Integer> getCurrentCounterValues(java.lang.String name)
- Specified by:
getCurrentCounterValues
in interfaceAbstractCounterContext
-
-