Jump to content
Changes to the Jaspersoft community edition download ×

albertj

Members
  • Posts

    11
  • Joined

  • Last visited

albertj's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. The problem is not fixed yet :blush: :blush: ! I need a admin who knows the answer :) :)
  2. help i need sombody help.....:) Does anybody else know's a solution????
  3. albertj wrote: Pedja wrote: The last thing that comes to my mind - what version of iText.jar do you use? Maybe it has something to do with it, since it is the jar that generates the pdf. I use itext-2.0.4.jar, try with it and see if there is any improvement. Hi! Thank you for your proposal! I will try it as soon as possible.:) Jens Hi Pedja, today i have tryed your propos but it dosn't fix the problem. I don't know what else i should do :unsure: :unsure: !
  4. Pedja wrote: The last thing that comes to my mind - what version of iText.jar do you use? Maybe it has something to do with it, since it is the jar that generates the pdf. I use itext-2.0.4.jar, try with it and see if there is any improvement. Hi! Thank you for your proposal! I will try it as soon as possible.:) Jens
  5. Does anybody knows a parameter to fix that problem? I become desperate :woohoo: !
  6. juandiego wrote: Hi, it seems that after the word 'zuruck' you put these two characters: backslash-n-backslash-r. I think that the backslashes are not shown in your post because of forum-related issues but you meant them to be there. So I think the problem is: 1) The word 'zuruck' reaches the end of its line 2) JasperReports concludes that there is no room in that line so the next word has to be in the next line (just as Microsoft Word does). 3) The next word is backslash-n-backslash-r (a line break), so in the line after the one with 'zuruck' JasperReports writes a line break 4) As a result, a blank line is added I'm just theorizing, by the way, so make some tests to confirm.<br><br>Post edited by: juandiego, at: 2007/11/08 07:14 Hi thank you for your reply! Is there any parameter to fix that problem? Because if I delete alle backslash-n-backslash-r in the variable, and the last word of the textblock reaches near to the boarder the same effect appears! If a take a other font i have the same problem but with other variables who are filling the body of the serial letter. So i think the unmeant line break appears every time, if the last word of a textblock is near to the boarder, independent wich font is used. wishes Jens. Post edited by: albertj, at: 2007/11/09 12:20
  7. Pedja wrote: The German text content is not the problem for me, but the names of the variables, i fully understand your problem. But, more than that it is the complex variable expressions which I can not test. I never worked with very long content so I don't know for sure if that is the problem, but it could be. Can you try to isolate the problem by splitting the long text variables into several smaller, and see if that works? Or, if you have the time, can you make a test report with only variables (like in your report) and static text, but without fields returned from database? That way maybe I could help you some more. Hi! to split the long variables into several smaller could not be the solution of my problem. I have already tried some other tests to fix the problem. For example: Variable "NachVorstellung" Content--> "hiermit bedanken wir uns nochmals bei Ihnen für das geführte Vorstellungsgespräch und das damit entgegengebrachte Interesse an unserem Unternehmen.nn"+ "Leider müssen wir Ihnen heute mitteilen, dass wir uns für eine/n Mitbewerber/in entscheiden werden.nr"+ "Es tut uns leid, dass wir Ihnen keine positive Nachricht übersenden können. Deshalb erhalten Sie in der Anlage die uns freundliche überlassenen Bewerbungsunterlagen mit Dank zurück.nr" + "Für das Vertrauen, das Sie uns durch Ihre Bewerbung entgegengebracht haben bedanken wir uns und wünschen Ihnen für Ihren weiteren Berufsweg alles Gute und weiterhin viel Erfolg." I have inclosed a screenshot of the PDF generated document. In this PDF you will see, that IReports generates an unmeant linebreak between the body and the complimentary close. If i delete the last two sentences who are near to the boarder of the document, the PDF works! The question is: Why generates IReport an additional line breake when the text sometimes reaches near to the boarder???? Best wishes Jens size=400]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/PDFexport.jpg Post edited by: albertj, at: 2007/11/08 06:17
  8. Hi! once more thank you for your help! I will try your proposal to fix the problem. I think the problem is, that the content of some variables is to long ant the text reach the boarder of the formular. If that happens IReport generates a additional line brake at the and of the Textfield. Could it be a problem? The text in the variables should not a problem for you because it is German. Because the language of the text is independent. It is only the length of the text who is important i think. for example: boarder -- blank / --Hallo my Name is Jens ////////////////////////////-- --> No additional line break --Hallo my Name is Jens test123 test123 test123 test-- --> Ireport generates a unmeant line breakt, because the text is near to the boarder!!!! best wishes Jens! Post edited by: albertj, at: 2007/11/07 14:54 Post edited by: albertj, at: 2007/11/07 14:56
  9. Hi. Thanks for your quick help! There are no subreports in the formular. "Stretch with overflow" is set by the textfield who creates the body of the formular. I attached the .jrxml-file. Please have a look at the variables called "NachVorstellung" and "NachVorstellungOhne". These two variables are not working very well, because they are creating an unmeant line break between the body and the complementary close. There should only one line break between the body and the complementary close in each serial letter. Whatever variable is used. I hope it will help you to understand my problem! Thanks Jens [file name=Test_Forum.jrxml size=33853]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/Test_Forum.jrxml[/file]Test Post edited by: albertj, at: 2007/11/07 14:39
  10. Please can anybody help me? It is an urgant problem!:blush:
  11. Hi, I have a problem with IReport 2.0.2 I would like to generate a serial letter with IReport. The serial letter should be exported to PDF. The export to PDF is still working. The letter is built-on as follows: Address, subject, salutation, body and complimentary close. The form will be generated in IReport dynamically with different variables, which fill the body of the letter. The problem is, that between the body and the complimentary close is sometimes an unmeant line break in the PDF view. It depends if the text in the variable is narrow to the border of the Form. If that appears, IReport generates an additional line break between the body and the complimentary close. How can I fix that problem? Example for the content of a IReport Variable: "hiermit bedanken wir uns nochmals bei Ihnen für das geführte Vorstellungsgespräch und das damit entgegengebrachte Interesse an unserem Unternehmen.nn"+ "Leider müssen wir Ihnen heute mitteilen, dass wir uns für eine/n Mitbewerber/in entscheiden werden.nr"+ "Es tut uns leid, dass wir Ihnen keine positive Nachricht übersenden können. Deshalb erhalten Sie in der Anlage die uns freundliche überlassenen Bewerbungsunterlagen mit Dank zurück.nr" + "Für das Vertrauen, das Sie uns durch Ihre Bewerbung entgegengebracht haben bedanken wir uns und wünschen Ihnen für Ihren weiteren Berufsweg alles Gute und weiterhin viel Erfolg." Display example: START------------------------------------------------------------------------------------------ hiermit bedanken wir uns nochmals bei Ihnen für das geführte Vorstellungsgespräch und das damit entgegengebrachte Interesse an unserem Unternehmen. Leider müssen wir Ihnen heute mitteilen, dass wir uns für eine/n Mitbewerber/in entscheiden werden. Es tut uns leid, dass wir Ihnen keine positive Nachricht übersenden können. Deshalb erhalten Sie in der Anlage die uns freundliche überlassenen Bewerbungsunterlagen mit Dank zurück. Für das Vertrauen, das Sie uns durch Ihre Bewerbung entgegengebracht haben bedanken wir uns und wünschen Ihnen für Ihren weiteren Berufsweg alles Gute und weiterhin viel Erfolg. Mit freundlichen Grüßen Jens Albert END------------------------------------------------------------------------------------------------- There should only one line break between the Body and the complimentary close.
×
×
  • Create New...