Package com.openhtmltopdf.layout.counter
Class RootCounterContext
- java.lang.Object
-
- com.openhtmltopdf.layout.counter.RootCounterContext
-
- All Implemented Interfaces:
AbstractCounterContext
public class RootCounterContext extends Object implements AbstractCounterContext
-
-
Constructor Summary
Constructors Constructor Description RootCounterContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCurrentCounterValue(String name)List<Integer>getCurrentCounterValues(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(String name)
- Specified by:
getCurrentCounterValuein interfaceAbstractCounterContext
-
getCurrentCounterValues
public List<Integer> getCurrentCounterValues(String name)
- Specified by:
getCurrentCounterValuesin interfaceAbstractCounterContext
-
-