Jump to content
Changes to the Jaspersoft community edition download ×

I am Leo

Members
  • Posts

    98
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

I am Leo's Achievements

  1. You should check the condition to show those elements. And also check the font of the textfield. If the font does not support your language, the text field will be blank.
  2. Split input data into smaller parts. Then generate reports. Finally, merge reports into one.
  3. Just create a subDataset. Then create a new dataSource base on your input parameters. Similar to the comment on this topic but you can change your subDataset fields: https://community.jaspersoft.com/questions/1157291/there-way-pass-list-object-datasource-instead-custom-class-object
  4. Maybe that value is not available in your Test environment. You should check the input value first.
  5. In your picture, I can not know which is the text field and which is your subreport. Can you please draw again and show me which element in your screenshot. I will help you.
  6. In my experience, the width of the text field can not be changed by the content inside it. So, the background color should fit with the width of the text field that you defined. It can not make the text field bigger or something like that.
  7. Try to add these repositories: jasperreports http://jasperreports.sourceforge.net/maven2 jaspersoft-third-party http://jaspersoft.artifactoryonline.com/jaspersoft/third-party-ce-artifacts/ [/code]
  8. <textField textAdjust="StretchHeight"> <reportElement x="0" y="0" width="1520" height="15" uuid="6cb61704-2f0a-4b05-b714-f0219175f001"> <property name="com.jaspersoft.studio.element.name" value="content"/> </reportElement> <box topPadding="35" leftPadding="35" bottomPadding="35" rightPadding="35"/> <textFieldExpression><![CDATA[$F{point4}]]></textFieldExpression></textField>[/code]Just use textAdjust="StretchHeight" in your text field. It's will be stretch base on the content inside.
  9. Write your own method to do it. This is not related to Jasper Report. And I think you can use google normally. When I search google with keyword: "number to word code", I received 3m results. https://stackoverflow.com/questions/3911966/how-to-convert-number-to-words-in-java
  10. Try using a Text field. Then modify the Markup to HTML. Finally, add HTML code to the TextField's textFieldExpression and STYLE="background: #your-color-code" to your HTML tag.
  11. You haven't defined this field yet. That is the reason why your report can not find your field.
  12. You can follow this article: https://www.stackextend.com/java/generate-pdf-document-using-jasperreports-and-spring-boot/
  13. Your fontsfamily1586778266566.xml is wrong. Edit follow the following code: <?xml version="1.0" encoding="UTF-8"?><fontFamilies> <fontFamily name="Lobster Two"> <normal>lobstertwo/LobsterTwo-Regular.otf</normal> <bold>lobstertwo/LobsterTwo-Bold.otf</bold> <italic>lobstertwo/LobsterTwo-Italic.otf</italic> <boldItalic>lobstertwo/LobsterTwo-BoldItalic.otf</boldItalic> <pdfEncoding>Identity-H</pdfEncoding> <pdfEmbedded>true</pdfEmbedded> </fontFamily></fontFamilies>[/code]
×
×
  • Create New...