if (bookmarkSize > 0) {
// MergeField is found and Bookmark was started
// construct #foreach with name of field
RTFBookmark startBookmark = (RTFBookmark) startBookmarksList
.elementAt(bookmarkSize - 1);
startBookmark.replaceElement(getForeach(
fieldName, fieldNameWithListInfo));
startBookmark.setItemNameList(getItemListName(
fieldName, fieldNameWithListInfo));
startBookmarksList.removeElement(startBookmark);
bookmarkStartMap.put(startBookmark.getName(),