public interface ContentFunction
counter(pages)
)Modifier and Type | Method and Description |
---|---|
String |
calculate(LayoutContext c,
FSFunction function) |
String |
calculate(RenderingContext c,
FSFunction function,
InlineText text) |
boolean |
canHandle(LayoutContext c,
FSFunction function) |
String |
getLayoutReplacementText()
If a function value can change at render time (i.e.
|
boolean |
isStatic()
Whether or not the function value can change at render time.
|
boolean isStatic()
#calculate(LayoutContext, String, TextContent)
will be called. If false,
#calculate(RenderingContext, String, TextContent)
will be called.String calculate(LayoutContext c, FSFunction function)
String calculate(RenderingContext c, FSFunction function, InlineText text)
String getLayoutReplacementText()
isStatic()
returns false)
use this text as an approximation at layout.boolean canHandle(LayoutContext c, FSFunction function)
Copyright © 2018. All rights reserved.