Class CounterContext
java.lang.Object
com.openhtmltopdf.layout.counter.CounterContext
- All Implemented Interfaces:
AbstractCounterContext
-
Constructor Summary
ConstructorsConstructorDescriptionCounterContext(LayoutContext ctx, CalculatedStyle style, Integer startIndex) A CounterContext should really be reflected in the element hierarchy, but CalculatedStyles reflect the ancestor hierarchy just as well and also handles pseudo-elements seamlessly. -
Method Summary
-
Constructor Details
-
CounterContext
A CounterContext should really be reflected in the element hierarchy, but CalculatedStyles reflect the ancestor hierarchy just as well and also handles pseudo-elements seamlessly.
-
-
Method Details
-
getCurrentCounterValue
- Specified by:
getCurrentCounterValuein interfaceAbstractCounterContext
-
getCurrentCounterValues
- Specified by:
getCurrentCounterValuesin interfaceAbstractCounterContext
-