[iText-questions] Antwort: Re: Problem converting jpeg-coded multipage tiff into pdf

2012-02-27 Thread Benjamin Rein
Hi Andreas, you'll have to use JAI to do the conversion from YCbCr to RGB and then iText to convert to PDF. This should work, but please take the performance impact of these operations into consideration. You don't have any problems if this only runs in some kind of batch processing with no one

[iText-questions] Antwort: PdfpTable does not line up with left justified text

2012-01-26 Thread Benjamin Rein
Paulo is right of course. I found the line in my code. Von:Benjamin Rein An: Post all your questions about iText here Datum: 26.01.2012 16:05 Betreff:[iText-questions] Antwort: PdfpTable does not line up with leftjustified text Hi, try to explicitly set the

[iText-questions] Antwort: PdfpTable does not line up with left justified text

2012-01-26 Thread Benjamin Rein
Hi, try to explicitly set the left borderwidth of all elements inside the table to 0 (e.g. PdfPCells). I think I could solve it this way. I newer versions this behaviour is the same I think. Please read the keyword article (http://itextpdf.com/themes/keywords.php) and/or the book about text mod

[iText-questions] Antwort: Pdf Table footer and bottom margin

2012-01-23 Thread Benjamin Rein
Hi, you have to add the footer content with the class ColumnText in simulation mode (check http://itextpdf.com/themes/keywords.php#C). This has to be done before adding the other content above the footer to the page (onEndPage method is too late). With this tool you know how much space is need

[iText-questions] Antwort: Re: Antwort: Re: Converting Fax Tiff to PDF

2011-12-14 Thread Benjamin Rein
In addition to the error Keith found there is another one. You've missed to include the second last line of coding in the if clause with the special handling for images with different dpi values. *** 'if images have a different resolution (dpi value) for x and y the scaling

[iText-questions] Antwort: Re: Converting Fax Tiff to PDF

2011-12-13 Thread Benjamin Rein
Hi Hugh, this is a working solution for Java. You just have to convert it to C#. if (img != null) { // scale if too big to fit on page if (img.getScaledWidth() > PageSize.A4.getWidth() || img.getScaledHeight() > PageSize.A4.getHeight()) { // if images have a dif

[iText-questions] Antwort: Re: Antwort: Re: [Trouble] A text was printed in twice using PdfPTable by page split.

2011-11-29 Thread Benjamin Rein
xed it. Doing a quick migration of a few projects form version 1.3.1 to 5.1.1. Thanks so much for getting back, I appreciate it a lot. Pierre From: Benjamin Rein [mailto:r...@viessmann.com] Sent: 29 November 2011 07:54 To: Post all your questions about iText here Subject: [iText-questio

[iText-questions] Antwort: Re: [Trouble] A text was printed in twice using PdfPTable by page split.

2011-11-28 Thread Benjamin Rein
Hi Pierre, I had a bug with splitting of PDFPTable some time ago. It was one big table over multiple pages. When the space occupied by the content on one page hits a special height, the full content of the splitted row is printed on the next page again. This is due to internal rounding problems

[iText-questions] Antwort: iText 5.0.6

2011-03-14 Thread Benjamin Rein
Hi, since V5.0.0 the classes Table and Cell have been removed. See http://www.itextpdf.com/history/?branch=50&node=500 You've to use PdfPTable and PdfPCell instead. Have a look at the API docs to convert your existing code. Best regards Benjamin Von:Bipin Mallik An: iText-questions@

[iText-questions] Antwort: Re: READ LARGE FILE 1.5gb Error

2010-12-03 Thread Benjamin Rein
Hi, if you cannot give more memory to the process with the java -Xmx (e.g. -Xmx1800M) param there are 2 approaches in general. 1. optimise code or use case when possible 2. use 64bit OS + 64bit JVM with -Xmx param > 2GB Best regards Benjamin Von:LA An: itext-questions@lists.sourcefo

[iText-questions] Antwort: javadoc

2010-10-01 Thread Benjamin Rein
Hi John, in the pre 5.x versions there is an ant target for building the javadoc from source. I've never needed this in 5.x. But it's worth the try. So download the source release and check the build.xml. Best regards Benjamin Von: "Hinkamp, John J, (Johnny), CTR, AUTEC" An: Datum: 30.09.2

[iText-questions] Antwort: Re: Setting Up iText and BouncyCastle

2010-01-19 Thread Benjamin Rein
Here is another hint: http://www.bouncycastle.org/documentation.html You could have looked this one up yourself by using the keywords Paulo gave you (i.e. bouncycastle policy file). Best regards Benjamin Von: Rhino An: Post all your questions about iText here Datum: 19.01.2010 14:19 Betreff

[iText-questions] Antwort: Re: Antwort: Re: Saving PDF to server

2010-01-13 Thread Benjamin Rein
he fly. Is there an option to save it additionaly? Benjamin Rein wrote: > > If you use FileOutputStream like this I would guess the PDF is saved in > the Java working or temp directory. Just look into that one and check if > the PDF is saved. Please take a look at the FileOutpu

[iText-questions] Antwort: Re: Saving PDF to server

2010-01-13 Thread Benjamin Rein
If you use FileOutputStream like this I would guess the PDF is saved in the Java working or temp directory. Just look into that one and check if the PDF is saved. Please take a look at the FileOutputStream Java API docs for other alternatives. Best regards Benjamin Von: ostpower An: itext-q

[iText-questions] Antwort: Re: V5

2009-12-09 Thread Benjamin Rein
Hi Jason, you stumbled over the differences of text and composite mode. Example: http://1t3xt.info/tutorials/keywords/index.php?page=keyword&id=312 That's one reason to buy the book. Explained very well in there ;) Best Regards Benjamin Von: Jason Baginski An: Datum: 09.12.2009 03:51 Betr

[iText-questions] Antwort: [Viessmann SPAM-Filter] Re: Determining the remaining space on a page

2009-08-28 Thread Benjamin Rein
What methods do you use to add elements to the page of the PDF with the false vertical position? I've experienced that the vertical position is reliable only when using document.add(...). I don't know if this is by design or caused by using the iText API incorrectly in my app. Best regards Benj

[iText-questions] Antwort: Re: PdfPTable Absolute Positioning

2009-07-07 Thread Benjamin Rein
Hi tamtam18, you won't get constantly good results when you change beetween absolute and automatic positioning on one page. The page could look good for some content, but you never can be sure for all content. The only exception I can think of is a page content with automatic positioning and ad

[iText-questions] Antwort: Error opening PDF file generated through itext-1.4.8.jar

2009-03-19 Thread Benjamin Rein
Hi, please check which version of Acrobat Reader you are using. Do you set the PDF version manually when generating the PDF? What version is it? Best regards Benjamin Fenil Parikh 19.03.2009 06:52 Bitte antworten an fe...@arionsystems.com; Bitte antworten an Post all your questions about iT

[iText-questions] Antwort: Re: convert doc+xls+ppt to pdf

2009-03-05 Thread Benjamin Rein
I've not looked into the commercial solution, but it sounds like you could do this yourself with OpenOffice. Google for Open Office UNO API. Best regards Benjamin 1T3XT info 04.03.2009 13:47 Bitte antworten an Post all your questions about iText here An Post all your questions about iTex

[iText-questions] WG: Adobe Reader Extensions

2009-03-04 Thread Benjamin Rein
Hi, please post all questions to the list. I don't have any experience with Adobe Livecycle*. Maybe your question is offtopic here, but this should be decided by someone with more experience in this area. Best Regards Benjamin - Weitergeleitet von Benjamin Rein/Allendorf/VIESSMANN/

[iText-questions] Antwort: Re: Adding Images with Transparency

2009-02-24 Thread Benjamin Rein
Maybe the text about the mailing list should be enhanced stating the fact that mails from not registered addresses first have to be approved by an admin. At the moment it could be unclear if not read carefully. "iText has a very active mailing-list. If you don't want to register rightaway, you

[iText-questions] Antwort: iText on the iSeries (AS/400)

2009-02-23 Thread Benjamin Rein
Hi, try to identify which fonts you are using on the Win32 machine and put the *.ttf files in the classpath on the iSeries. For testing purposes you can put them in your project. Try to generate the pdf again. If it works, you can be sure that it's a font issue. Best regards Benjamin Cody S

[iText-questions] Antwort: Re: alternative to Batik for SVG images

2009-02-20 Thread Benjamin Rein
http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License Best regards Benjamin Cool The Breezer 20.02.2009 10:10 Bitte antworten an techcool.ku...@yahoo.com; Bitte antworten an Post all your questions about iText here An Post all your questions about iText here Kopie Thema Re: [i

[iText-questions] Antwort: Re: Antwort: PdfPTable: How to get a repeatingBackgroundimage in a Cell

2009-02-12 Thread Benjamin Rein
amea.de To: Post all your questions about iText here Sent: Thursday, February 12, 2009 4:12 PM Subject: Re: [iText-questions] Antwort: PdfPTable: How to get a repeatingBackgroundimage in a Cell Hi, Thanks for your help, but I didn't see how it works. best regards Markus - Orig

[iText-questions] Antwort: Antwort: PdfPTable: How to get a repeating Backgroundimage in a Cell

2009-02-12 Thread Benjamin Rein
irst one. Best regards Benjamin Benjamin Rein 12.02.2009 16:04 Bitte antworten an Post all your questions about iText here An Post all your questions about iText here Kopie Thema [iText-questions] Antwort: PdfPTable: How to get a repeating Backgroundimage in a Cell Hi, the class

[iText-questions] Antwort: PdfPTable: How to get a repeating Backgroundimage in a Cell

2009-02-12 Thread Benjamin Rein
Hi, the class you're looking for is called PdfPTableEvent. example (last one on this page): http://stderr.org/doc/libitext-java-doc/www/tutorial/ch12.html Best regards Benjamin 12.02.2009 12:30 Bitte antworten an Post all your questions about iText here An "Post all your questions about

[iText-questions] Antwort: Adobe Reader Extensions

2009-02-12 Thread Benjamin Rein
Hi Phil, here is your answer http://www.nabble.com/Saving-PDF-files-with-Reader-Extension-td7330698.html Best regards Benjamin Phill Edwards 12.02.2009 10:27 Bitte antworten an Post all your questions about iText here An itext-questions@lists.sourceforge.net Kopie Thema [iText-question

[iText-questions] Antwort: Re: IText converting a PDF in colors to grayscale

2009-02-12 Thread Benjamin Rein
I think it would be way easier to use a PDF printer with grayscale setting to accomplish your requirement. I don't know if its possible, but you try to use the OpenOffice UNO API to load and convert the PDF. Best regards Benjamin Leonard Rosenthol 11.02.2009 20:13 Bitte antworten an Post al

[iText-questions] Antwort: Do not want the borders on a PDFPTable

2009-02-06 Thread Benjamin Rein
Hi Sainath, there a two different ways to create PdfPCells. Text mode and composite mode. You've used text mode. There the attributes of the paragraph are ignored. With composite mode these attributes are respected and you can use the getDefaultCell feature of PDFPTable. Have a look at this e

[iText-questions] Antwort: Convert to PDF/A

2009-02-02 Thread Benjamin Rein
Hi, we had this discussion a few days ago. http://www.nabble.com/Convert-an-existing-PDF-to-PDF-A%2C-and-sign-it-td21578384.html#a21578384 Best regards Benjamin RWendi 03.02.2009 05:59 Bitte antworten an Post all your questions about iText here An itext-questions@lists.sourceforge.net K

[iText-questions] Antwort: Re: How to convert PDF to RTF

2009-02-02 Thread Benjamin Rein
Hi Dhakshin, OpenOffice.org in server mode can convert all documents that can be read by it to e.g. pdf or odt. To get more information google for the words open office uno api. Best Regards Benjamin Alexis Pigeon 02.02.2009 12:10 Bitte antworten an Post all your questions about iText here

[iText-questions] Antwort: Multiple Page Headache using ColumnText

2009-01-21 Thread Benjamin Rein
Hi Kevin, please have a look at the following tutorial: http://stderr.org/doc/libitext-java-doc/www/tutorial/ch10.html Example 7 deals exactly with your problem. Best Regards Benjamin Kevin Logue 21.01.2009 15:39 Bitte antworten an Post all your questions about iText here An itext-ques

[iText-questions] Antwort: Controling Automatic Page Breaking

2009-01-12 Thread Benjamin Rein
Hi Charlie, I think it's possible to let iText do the splitting work automatically, but I don't know if it's the best way. Couldn't you just call Document.newPage() after adding a complete data set to the document? For doing the newPage automatically you have to add a Chunk with GenericTag as

[iText-questions] Antwort: Re: convet doc file into pdf

2009-01-07 Thread Benjamin Rein
Hi, you can use OpenOffice.org in server mode for this problem. In server mode OpenOffice is launched without GUI and listens to TCP connections. Java API docs for OpenOffice classes that are needed for making the connection are available at OpenOffice.org Best Regards Benjamin 1T3XT info

[iText-questions] Antwort: Enabling PDFs for Commenting?

2008-12-05 Thread Benjamin Rein
Hi Matthias, the short answer is no. For a detailed explanation look at Re: [iText-questions] HELP PLEASE! PdfReader.removeUsageRights(). It was posted yesterday at 8:25 p.m. by Paulo (<[EMAIL PROTECTED]>). Best Regards, Benjamin Matthias Uhler <[EMAIL PROTECTED]> 05.12.2008 11:58 Bitte ant

[iText-questions] Antwort: Re: Image Path Problem in war

2008-12-03 Thread Benjamin Rein
Hi, just have a look at the java API docs Classloader. getResourceAsStream(...). I use this method to insert a gif image which is contained inside the war file. Development OS is Win XP. Production is AIX. Best Regards Benjamin "Alexis Pigeon" <[EMAIL PROTECTED]> 03.12.2008 11:38 Bitte antw

[iText-questions] Antwort: [Viessmann SPAM-Filter] 'pageFull event' while adding paragraphs

2008-11-19 Thread Benjamin Rein
Hi, the solution you are looking for is the class ColumnText (in particular the methods addElement and go(true)). Just have a look at chapter 7 "constructing columns" in iText in Action. Best Regards Benjamin Tobias van Treeck <[EMAIL PROTECTED]> 18.11.2008 19:08 Bitte antworten an Post al

[iText-questions] Antwort: TIFF image to PDF

2008-11-19 Thread Benjamin Rein
Hi, just look at this example: http://stderr.org/doc/libitext-java-doc/www/tutorial/ch06.html I'm wondering what you exactly mean with "damaging the integrity of the data". Best Regards Benjamin "Mukherjee, Sankar" <[EMAIL PROTECTED]> 18.11.2008 19:23 Bitte antworten an Post all your quest

[iText-questions] Antwort: Re: Antwort: Re: Antwort: Antwort: Re: PdfPCellEvent and Pagebreak Problem

2008-09-29 Thread Benjamin Rein
be done without changing iText. A (ugly) workaround is to have a generic tag event placed in the last char of the last paragraph to mark the validity of the cell event. Paulo > -Original Message----- > From: Benjamin Rein [mailto:[EMAIL PROTECTED] > Sent: Monday, September 29, 200

[iText-questions] Antwort: Re: Antwort: Antwort: Re: PdfPCellEvent and Pagebreak Problem

2008-09-29 Thread Benjamin Rein
I can see a problem here. Have a variable in your code to keep track of the number of times the event was called. If it's the second time just ignore. Paulo > -Original Message- > From: Benjamin Rein [mailto:[EMAIL PROTECTED] > Sent: Friday, September 26, 2008 1:22 PM

[iText-questions] Antwort: Antwort: Re: PdfPCellEvent and Pagebreak Problem

2008-09-26 Thread Benjamin Rein
before. Best Regards, Benjamin Rein Benjamin Rein <[EMAIL PROTECTED]> 26.09.2008 14:11 Bitte antworten an Post all your questions about iText here An Post all your questions about iText here Kopie Thema [iText-questions] Antwort: Re: PdfPCellEvent and Pagebreak Problem Hi

[iText-questions] Antwort: Re: PdfPCellEvent and Pagebreak Problem

2008-09-26 Thread Benjamin Rein
e for this? Thanks very much. Best Regards, Benjamin Rein Paulo Soares <[EMAIL PROTECTED]> 26.09.2008 13:27 Bitte antworten an Post all your questions about iText here An Post all your questions about iText here Kopie Thema Re: [iText-questions] PdfPCellEvent and Pagebreak Problem

[iText-questions] PdfPCellEvent and Pagebreak Problem

2008-09-26 Thread Benjamin Rein
alled only once for every Paragraph ignoring the number of pages which the Paragraph needs to be completely displayed. Is there any chance to achieve this with PdfPCellEvent or should I rather use something else? Thanks in advance. Best Regards, Benjamin

[iText-questions] Antwort: Problem using iText to Convert from TIFF

2008-08-27 Thread Benjamin Rein
Hi Joe, I'm not absolutely sure, but I think it's maybe a similar problem like one I had some time ago. Please check the dpi x and y values for TIFFs that work and ones that don't work. If the dpi values for x and y axis are different, you have to respect that while scaling the image. I use Ir

[iText-questions] Contribution: Enhanced Image.scaleToFit

2008-06-18 Thread Benjamin Rein
Hi there, I had a problem scaling TIF images with the Image.scaleToFit method. The effect was that the image proportions were changed i.e. text was not readable, because it was compressed from the right and left side. Searching the archive I found a hint from Paulo (Subject: Converting TIF to

Re: [iText-questions] Antwort: Pagebreak problem after changing from text to composite mode

2007-02-24 Thread Benjamin Rein
Bruno Lowagie wrote: > It's explained well, and you're not doing anything wrong. > It's just that iText is designed to do what you describe > (show the content as soon as possible) and nobody seems > to have the time to implement something that would make > iText behave the way you want it. > br, >

[iText-questions] Antwort: Pagebreak problem after changing from text to composite mode

2007-02-20 Thread Benjamin Rein
ou in advance. Best regards, Benjamin Rein Benjamin Rein <[EMAIL PROTECTED]> 19.02.2007 16:21 Gesendet von: [EMAIL PROTECTED] Bitte antworten an Post all your questions about iText here An itext-questions@lists.sourceforge.net Kopie Thema [iText-questions] Pagebreak problem after ch

[iText-questions] Pagebreak problem after changing from text to composite mode

2007-02-19 Thread Benjamin Rein
on to my problem. References to the book are welcome, when you can point me to anything that leads to a solution. Thank you very much in advance. Best regards, Benjamin Rein - Take Surveys. Earn Cash. Influence the Future of I