|
Flying Saucer Project Release ${app.version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentFunction
Interface for objects which implement a function which creates content
(e.g. counter(pages)
)
Method Summary | |
---|---|
java.lang.String |
calculate(LayoutContext c,
FSFunction function)
|
java.lang.String |
calculate(RenderingContext c,
FSFunction function,
InlineText text)
|
boolean |
canHandle(LayoutContext c,
FSFunction function)
|
java.lang.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. |
Method Detail |
---|
boolean isStatic()
#calculate(LayoutContext, String, TextContent)
will be called. If false,
#calculate(RenderingContext, String, TextContent)
will be called.
java.lang.String calculate(LayoutContext c, FSFunction function)
java.lang.String calculate(RenderingContext c, FSFunction function, InlineText text)
java.lang.String getLayoutReplacementText()
isStatic()
returns false)
use this text as an approximation at layout.
boolean canHandle(LayoutContext c, FSFunction function)
|
Flying Saucer Project Release ${app.version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |