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

marcio_fe_s

Members
  • Posts

    17
  • Joined

  • Last visited

marcio_fe_s's Achievements

Apprentice

Apprentice (3/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. create a report with no band, and put only no data band. In this band add a text field, change the Markup parameter to html and into it put this text: "texto: \nTexto Texto Texto Texto Texto Texto Texto" so, if you compile an run on windows, this works fine, but if you compile on linux and view on windows jasperviewer, the last line doesn't not appear. When I export to a pdf file, every text appear. Other way is put a big text. In this case it is not necessary the Markup parameter change, the two last lines doesn't not appear to me. "1Texto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto Texto\n2Texto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto Texto\n3Texto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto Texto\n4Texto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto Texto\n5Texto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto Texto\n6Texto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto Texto\n7Texto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto Texto\n8Texto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto Texto\n9Texto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto Texto\n10 Texto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto Texto\n11Texto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto Texto\n12Texto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto Texto\n13Texto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto Texto\n14Texto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto Texto\n15Texto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto TextoTexto Texto Texto Texto Texto Texto Texto\n" Someone knows how to work around this?
  2. Hi upgraded to version 1.4.3 of jasper, and it began to throw the following exception: net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'sansserif' is not available to the JVM. See the Javadoc for more details. This happened because the font name was changed to 'SansSerif'. So, I wanna know if there is a way to change the 'SansSerif' alias to 'sansserif' or add this other one.
  3. When I export a landscape report to docx, I get always the same error: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at net.sf.jasperreports.engine.export.ooxml.JROfficeOpenXmlExporter.exportGrid(JROfficeOpenXmlExporter.java:438) at net.sf.jasperreports.engine.export.ooxml.JROfficeOpenXmlExporter.exportFrame(JROfficeOpenXmlExporter.java:1121) at net.sf.jasperreports.engine.export.ooxml.JROfficeOpenXmlExporter.exportGrid(JROfficeOpenXmlExporter.java:527) at net.sf.jasperreports.engine.export.ooxml.JROfficeOpenXmlExporter.exportPage(JROfficeOpenXmlExporter.java:421) on if line. Someone can help me? What can cause this problem? It's a report layout problem? ou export problem? Post Edited by marciof at 07/20/2011 17:02 the error is solved apply this parameter to the exporter. exporter.setParameter(JRDocxExporterParameter. FRAMES_AS_NESTED_TABLES, false);What this parameter do in my docx document? Post Edited by marciof at 07/20/2011 17:44
  4. I do a report that has two subreports. The first one, just calculate some value, in a variable. When I return this value to parent report I can print this on report normally. But I need pass this same value to another subreport, but the value always is null.
  5. Is it possible to hide a colum? Ex.: if some condition i show the size column ---------------------------------------------------------- | Name | size | color | ---------------------------------------------------------- | name1 | 12 | blue | | name2 | 13 | red | | name3 | 14 | green | ---------------------------------------------------------- else i hide this column and color change the size and take that part of table. ---------------------------------------------------------- | Name | color | ---------------------------------------------------------- | name1 | blue | | name2 | red | | name3 | green | ---------------------------------------------------------- Any Ideas?
  6. thanks a lot, is just this, i understood wrong this propertie. Next time, i will be more careful. Marcio
  7. The jrxml file is in atachment but my data source is a data base so large, access by jdbc, but is just create a simple data base with two columns that contain a data with 4000 chars.
×
×
  • Create New...