Package com.openhtmltopdf.context
Class ContentFunctionFactory.PagesCounterFunction
java.lang.Object
com.openhtmltopdf.context.ContentFunctionFactory.PageNumberFunction
com.openhtmltopdf.context.ContentFunctionFactory.PagesCounterFunction
- All Implemented Interfaces:
ContentFunction
- Enclosing class:
ContentFunctionFactory
private static class ContentFunctionFactory.PagesCounterFunction
extends ContentFunctionFactory.PageNumberFunction
implements ContentFunction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculate
(RenderingContext c, FSFunction function, InlineText text) boolean
canHandle
(LayoutContext c, FSFunction function) Methods inherited from class com.openhtmltopdf.context.ContentFunctionFactory.PageNumberFunction
calculate, getLayoutReplacementText, getListStyleType, isCounter, isStatic
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.openhtmltopdf.css.extend.ContentFunction
calculate, getLayoutReplacementText, isStatic
-
Constructor Details
-
PagesCounterFunction
private PagesCounterFunction()
-
-
Method Details
-
calculate
- Specified by:
calculate
in interfaceContentFunction
-
canHandle
- Specified by:
canHandle
in interfaceContentFunction
-