*
*/
public JRPrintElement convert(ReportConverter reportConverter, JRElement element)
{
JRBasePrintText printText = new JRBasePrintText(reportConverter.getDefaultStyleProvider());
JRTextField textField = (JRTextField)element;
copyTextElement(reportConverter, textField, printText);
printText.setMarkup(JRCommonText.MARKUP_NONE);//text fields are never converted to styled print text elements
printText.setAnchorName(JRExpressionUtil.getExpressionText(textField.getAnchorNameExpression()));
printText.setBookmarkLevel(textField.getBookmarkLevel());
printText.setLinkType(textField.getLinkType());
printText.setPattern(textField.getOwnPattern());
printText.setText(JRExpressionUtil.getExpressionText(textField.getExpression()));
measureTextElement(printText);
return printText;
}