fr.opensagres.xdocreport.template.formatter
Interface IDocumentFormatter
- All Known Implementing Classes:
- AbstractDocumentFormatter
public interface IDocumentFormatter
|
Method Summary |
boolean |
containsInterpolation(String content)
|
String |
extractItemNameList(String content,
String fieldName,
boolean forceAsField)
|
int |
extractListDirectiveInfo(String content,
DirectivesStack directives)
|
int |
extractListDirectiveInfo(String content,
DirectivesStack directives,
boolean dontRemoveListDirectiveInfo)
|
String |
extractModelTokenPrefix(String newContent)
|
String |
formatAsFieldItemList(String content,
String fieldName,
boolean forceAsField)
|
String |
formatAsSimpleField(boolean encloseInDirective,
String... fields)
|
String |
formatAsTextStyling(String fieldName,
String metafieldName,
String documentKind,
String syntaxKind)
|
String |
getEndDocumentDirective()
|
String |
getEndIfDirective(String fieldName)
|
String |
getEndLoopDirective(String itemNameList)
|
String |
getFunctionDirective(String key,
String methodName,
String... parameters)
|
String |
getImageDirective(String fieldName)
|
String |
getImageHeightDirective(String fieldName,
String defaultHeight)
|
String |
getImageWidthDirective(String fieldName,
String defaultWidth)
|
int |
getIndexOfScript(String fieldName)
|
String |
getLoopCountDirective(String fieldName)
|
String |
getStartDocumentDirective()
|
String |
getStartIfDirective(String fieldName)
|
String |
getStartLoopDirective(String itemNameList)
|
String |
getStartLoopDirective(String itemNameList,
String listName)
|
IMAGE_REGISTRY_KEY
static final String IMAGE_REGISTRY_KEY
- See Also:
- Constant Field Values
getStartDocumentDirective
String getStartDocumentDirective()
getEndDocumentDirective
String getEndDocumentDirective()
formatAsFieldItemList
String formatAsFieldItemList(String content,
String fieldName,
boolean forceAsField)
extractItemNameList
String extractItemNameList(String content,
String fieldName,
boolean forceAsField)
getStartLoopDirective
String getStartLoopDirective(String itemNameList)
getStartLoopDirective
String getStartLoopDirective(String itemNameList,
String listName)
getEndLoopDirective
String getEndLoopDirective(String itemNameList)
getLoopCountDirective
String getLoopCountDirective(String fieldName)
getStartIfDirective
String getStartIfDirective(String fieldName)
getEndIfDirective
String getEndIfDirective(String fieldName)
formatAsSimpleField
String formatAsSimpleField(boolean encloseInDirective,
String... fields)
getImageDirective
String getImageDirective(String fieldName)
getImageWidthDirective
String getImageWidthDirective(String fieldName,
String defaultWidth)
getImageHeightDirective
String getImageHeightDirective(String fieldName,
String defaultHeight)
containsInterpolation
boolean containsInterpolation(String content)
extractListDirectiveInfo
int extractListDirectiveInfo(String content,
DirectivesStack directives)
extractListDirectiveInfo
int extractListDirectiveInfo(String content,
DirectivesStack directives,
boolean dontRemoveListDirectiveInfo)
extractModelTokenPrefix
String extractModelTokenPrefix(String newContent)
getIndexOfScript
int getIndexOfScript(String fieldName)
getFunctionDirective
String getFunctionDirective(String key,
String methodName,
String... parameters)
formatAsTextStyling
String formatAsTextStyling(String fieldName,
String metafieldName,
String documentKind,
String syntaxKind)
Copyright © 2011. All Rights Reserved.