Package com.openhtmltopdf.context
Class ContentFunctionFactory.PageCounterFunction
- java.lang.Object
-
- com.openhtmltopdf.context.ContentFunctionFactory.PageNumberFunction
-
- com.openhtmltopdf.context.ContentFunctionFactory.PageCounterFunction
-
- All Implemented Interfaces:
ContentFunction
- Enclosing class:
- ContentFunctionFactory
private static class ContentFunctionFactory.PageCounterFunction extends ContentFunctionFactory.PageNumberFunction implements ContentFunction
-
-
Constructor Summary
Constructors Modifier Constructor Description private
PageCounterFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
calculate(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
-
-
-
-
Method Detail
-
calculate
public java.lang.String calculate(RenderingContext c, FSFunction function, InlineText text)
- Specified by:
calculate
in interfaceContentFunction
-
canHandle
public boolean canHandle(LayoutContext c, FSFunction function)
- Specified by:
canHandle
in interfaceContentFunction
-
-