Jump to content
We've recently updated our Privacy Statement, available here ×

yuri.toth

Members
  • 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

  1. 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));
                        }
                    }

  2. 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 diferentes

    textfield = "<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

    texto_incorreto.png.100ce2002602a6eff56eab75dbbc508d.png

     

    exportar usando lib 18.1

    texto_correto_0.png.31aad26349a809298d9fdffe1762ee77.png

×
×
  • Create New...