public interface ContentFunction
counter(pages))| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2019. All Rights Reserved.