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 intgetCurrentCounterValue(java.lang.String name)java.util.List<java.lang.Integer>getCurrentCounterValues(java.lang.String name)voidincrementCounterValue(CalculatedStyle style)voidresetCounterValue(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:
getCurrentCounterValuein interfaceAbstractCounterContext
-
getCurrentCounterValues
public java.util.List<java.lang.Integer> getCurrentCounterValues(java.lang.String name)
- Specified by:
getCurrentCounterValuesin interfaceAbstractCounterContext
-
-