yuri.toth
-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Downloads
Posts posted by yuri.toth
-
-
To reproduce the problem, just use TIBCO Jaspersoft® Studio 6.20.0 and open the attached file (master2851_1708.jrxml),
Soon you will see that the correct alignment of the text does not occur.
Use the software preview option -
In the JEditorPaneHtmlMarkupProcessor class, a conditional was removed from the jasperreports-6.19.0 and 6.20.0 library version
if (bodyOccurred && chunk != null)
{
text.append(chunk);
Map<Attribute,Object> styleAttributes = getAttributes(element.getAttributes());
if (hyperlink != null)
{
styleAttributes.put(JRTextAttribute.HYPERLINK, hyperlink);
hyperlink = null;
}
if (!styleAttributes.isEmpty())
{
styleRuns.add(new JRStyledText.Run(styleAttributes,
startOffset + crtOffset, endOffset + crtOffset));
}
} -
Dentro da classe JEditorPaneHtmlMarkupProcessor
a rotina que interpreta o html foi alterada, fazendo com que tags como "<p>" não fossem reconhecidas, mesmo jrxml, mesmo jasper, mesmos Datasources, mas bibliotecas diferentestextfield = "<p><b>ANEXO 1</b></p><p><b>TERMO DE ALIENAÇÃO FIDUCIÁRIA DE MÁQUINAS</b></p><p><b>E EQUIPAMENTOS</b ></p>"
exportar usando lib 19.0
exportar usando lib 18.1
-
I am having the same problem, I use version 6.7.0.
Sometimes it works, and sometimes it does not.
Jasper doesn't recognize html tag "<p>" from library 19.0
in Products
Posted
This friend has the same problem
https://community.jaspersoft.com/jasperreports-library/issues/14466/pLEqXdU_gGtZCw7d2gS9cPmh7UMe0nMYqAz2LtnUa2g