public class RTFVelocityTransformerImpl extends AbstractRTFDocumentTransformer
bookmarkBkmEndMap, bookmarkBkmIfMap, bookmarkElseMap, bookmarkEndIfMap, bookmarkEndMap, bookmarkIfMap, bookmarkStartMap, groupByPerPageBreak, lastEndLoopRTFBookmark, pageBeforeEndBookmarkMap, rowMustNotGenerateForeachList, RTF_ELEMENT_ANNOTATION, RTF_ELEMENT_BOOKMARK, RTF_ELEMENT_DOCUMENT, RTF_ELEMENT_FIELD, RTF_ELEMENT_PAGE, RTF_ELEMENT_ROW, RTF_ELEMENT_STRINGBUFFER, RTF_ELEMENT_USERPROPERTY, rtfTransformMap, startBookmarksList, startBookmarksNotEnded| Constructor and Description |
|---|
RTFVelocityTransformerImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getForeach(String fieldName,
String fieldNameWithListInfo) |
protected String |
getMacroElse() |
protected String |
getMacroEndForEach()
Return string for end for each
|
protected String |
getMacroEndIf() |
protected String |
getMacroIf(String condition) |
protected String |
getMacroPageBreak(String itemNameList,
String rtfPageBreakContent) |
protected String |
getMacroPageBreak(String itemNameList,
String rtfPageBreakContent,
int groupByPerPageBreak) |
protected String |
getObjectValueList(String fieldName,
boolean withGetter) |
protected String |
getObjectValueList(String fieldName,
String fieldNameWithListInfo,
boolean withGetter)
Return velocity name used into #foreach for the field name fieldname. eg :
for fieldname developers.Name, this function return
$item_developers (if withGetter = false) and $item_developers.Name (if
withGetter = true)
for fieldname developers.Roles.Name, this function return
$item_developers_roles (if withGetter = false) and
$item_developers_roles.Name (if withGetter = true)
|
formatSubFieldName, getContextFields, getGroupByPerPageBreak, getItemListName, getTransformedFieldName, getTransformerConfig, isBookmarkElse, isBookmarkEndIf, isBookmarkEndLoop, isBookmarkIf, isBookmarkStartLoop, isCircularReferences, setCircularReferences, setGroupByPerPageBreak, setTransformerConfig, transform, transform, transformprotected String getMacroEndForEach()
AbstractRTFDocumentTransformergetMacroEndForEach in class AbstractRTFDocumentTransformerprotected String getObjectValueList(String fieldName, String fieldNameWithListInfo, boolean withGetter)
getObjectValueList in class AbstractRTFDocumentTransformerfieldName - field name to translate into velocity name.withGetter - true if getter must be returned and false otherwise.protected String getObjectValueList(String fieldName, boolean withGetter)
getObjectValueList in class AbstractRTFDocumentTransformerprotected String getForeach(String fieldName, String fieldNameWithListInfo)
getForeach in class AbstractRTFDocumentTransformerprotected String getMacroPageBreak(String itemNameList, String rtfPageBreakContent)
getMacroPageBreak in class AbstractRTFDocumentTransformerprotected String getMacroPageBreak(String itemNameList, String rtfPageBreakContent, int groupByPerPageBreak)
getMacroPageBreak in class AbstractRTFDocumentTransformerprotected String getMacroIf(String condition)
getMacroIf in class AbstractRTFDocumentTransformerprotected String getMacroEndIf()
getMacroEndIf in class AbstractRTFDocumentTransformerprotected String getMacroElse()
getMacroElse in class AbstractRTFDocumentTransformerCopyright © 2020 Mice S.r.l. All rights reserved.