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 Modifier Constructor Description privatePagesCounterFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringcalculate(RenderingContext c, FSFunction function, InlineText text)booleancanHandle(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:
calculatein interfaceContentFunction
-
canHandle
public boolean canHandle(LayoutContext c, FSFunction function)
- Specified by:
canHandlein interfaceContentFunction
-
-