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 |
formatAsCallTextStyling(long variableIndex,
String fieldName,
String documentKind,
String syntaxKind,
boolean syntaxWithDirective,
String elementId,
String entryName)
|
String |
formatAsFieldItemList(String content,
String fieldName,
boolean forceAsField)
|
String |
formatAsSimpleField(boolean encloseInDirective,
String... fields)
|
String |
formatAsTextStylingField(long variableIndex,
String textBeforeProperty)
|
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)
|
boolean |
hasDirective(String characters)
|
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)
hasDirective
boolean hasDirective(String characters)
formatAsCallTextStyling
String formatAsCallTextStyling(long variableIndex,
String fieldName,
String documentKind,
String syntaxKind,
boolean syntaxWithDirective,
String elementId,
String entryName)
formatAsTextStylingField
String formatAsTextStylingField(long variableIndex,
String textBeforeProperty)
Copyright © 2012. All Rights Reserved.