[iText-questions] externalizing common resources

2012-10-18 Thread Edward W. Rouse
with the resources embedded before presenting it to an end user so that the user does not need to change the settings on the reader to use the external resources. Edward W. Rouse -- Everyone hates slow websites. So do we. Make

Re: [iText-questions] PDF splitting increases size

2012-04-06 Thread Edward W. Rouse
This happens when you split PDFs with embedded images/fonts/other template type data that needs to be available for every PDF after the split. If you have a header image that is 3Mb that is on every page, it is in the 110 page PDF once, but needs to be included in each PDF after the split, adding

Re: [iText-questions] highlighting text when converting HTML to PDF not working

2012-04-04 Thread Edward W. Rouse
Adobe PDF reader has some built in highlighting you could use, either via JavaScript or as a URL parameter, depending on how you are serving the PDF to the consumer. That might be a lot easier than trying to build the highlights into the PDF. Plus, if the consumer saves a copy, the highlight would

Re: [iText-questions] - Extracting multiple PDF docs from a consolidated PDF container doc...

2011-11-22 Thread Edward W. Rouse
If you can get the creator of the PDF to do so, the easiest way I found was to have them create a bookmark for each document and then separate by the bookmark. I have set it up with our customers so that the bookmark contains metadata that we use for indexing purposes and, when I do the split I

Re: [iText-questions] Saving the PDF created on SUSE Linux Server (updated)

2011-11-16 Thread Edward W. Rouse
Linux has no concept of C:. If you don’t know that much you really need to hit the books. From: Siddhartha Rathi [mailto:siddhar...@chirayusoftwares.in] Sent: Tuesday, November 15, 2011 11:55 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Saving the PDF created on

Re: [iText-questions] OutofMemory error being throw in iText using JasperReports 3.7.0, 4.1.2, or 4.1.3

2011-11-03 Thread Edward W. Rouse
I had a similar problem a few years back using iText 2.1.7 with extremely large PDF files. It is related to a buffer that has a (approx) 2Gb limit. And that is a hard limit imposed by java. I worked around it by breaking the initial doc into several smaller ones using iText code that doesn't

Re: [iText-questions] [iText-Question] Problem With Setting Properties of PDF Document

2011-08-30 Thread Edward W. Rouse
When you say open the PDF document I assume you are using a viewer, Adobe perhaps? And if the viewer combines the subject and keywords under the Keywords properties of the Description tab, how is that an iText issue when the other method you use shows them correctly? Seems to be an issue with the

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-11 Thread Edward W. Rouse
Try calling flush before close if it’s available. From: Alexis Pigeon [mailto:pigeon.ale...@gmail.com] Sent: Thursday, August 11, 2011 3:30 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Fixing EOFException In Version 2.0.8 Hi NerdManJr On 11 August 2011

Re: [iText-questions] Strange behavior by Windows 7 / IE8

2011-04-27 Thread Edward W. Rouse
I can tell you that the changes from IE7 to IE8 are major. It broke a lot of my websites as well. And compatibility mode isn't really all that compatible. You definitely need to go to Microsoft for this one. Edward W. Rouse -Original Message- From: 1T3XT BVBA [mailto:i...@1t3xt.info

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

2010-12-07 Thread Edward W. Rouse
4 - 8 page pdfs in less than 2 hours. I hesitate to attach the files, but I can send them to you if you want to take a look. Edward W. Rouse -Original Message- From: LA [mailto:lasse...@tiscali.it] Sent: Tuesday, December 07, 2010 3:56 AM To: itext-questions@lists.sourceforge.net Subject

Re: [iText-questions] v2.x continuity

2010-09-23 Thread Edward W. Rouse
. Interesting example, but the US has its share of over-the-top judgments re copyrights. It was one of the driving forces behind the GPL. I'm on the fence about a fork, but I'm pretty sure the LGPL allows it. Edward W. Rouse -Original Message- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: Thursday

[iText-questions] 4 pdf's per page

2010-08-04 Thread Edward W. Rouse
unsure if this is the right path. I am also unsure if scaling works the same for a pdf using PdfCopy for instance as it does for an image. Just need to be pointed in the right direction. Also I am currently constrained to using the 2.1.x version at this time. Edward W. Rouse Comsquared System

Re: [iText-questions] Extremely large PDFs

2008-08-21 Thread Edward W. Rouse
that belong to a smaller pdf stay in the same subfile. That and preserving all of the original bookmark info in the subfiles. But it's the challenges that keep the job interesting ;) Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Le Doyen, Loic

[iText-questions] Solaris 10 heads up

2008-08-21 Thread Edward W. Rouse
wanted to give everyone a heads up if you are experiencing strange performance issues on Sol10. Edward W. Rouse Comsquared System, Inc. 770-734-5301 - This SF.Net email is sponsored by the Moblin Your Move Developer's

Re: [iText-questions] Extremely large PDFs

2008-08-21 Thread Edward W. Rouse
So maybe I am looking at this the wrong way. If the xref table only uses int pointers, then pdf files shouldn't be able to be larger than 2Gb. So are you saying the pdf xref table or the iText xref table? I guess I need to take another look at the pdf spec. Edward W. Rouse -Original

Re: [iText-questions] Extremely large PDFs

2008-08-21 Thread Edward W. Rouse
Found it. Thanks. Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edward W. Rouse Sent: Thursday, August 21, 2008 11:09 AM To: 'Post all your questions about iText here' Subject: Re: [iText-questions] Extremely large PDFs So maybe I am

[iText-questions] Extremely large PDFs

2008-08-20 Thread Edward W. Rouse
want what customers want. Or am I using this wrong and there is another way to process extremely large files? Edward W. Rouse - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build

Re: [iText-questions] Extremely large PDFs

2008-08-20 Thread Edward W. Rouse
Thanks for the info. I will pass it on. Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares Sent: Wednesday, August 20, 2008 1:16 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Extremely large

Re: [iText-questions] Extremely large PDFs

2008-08-20 Thread Edward W. Rouse
, not an option) Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares Sent: Wednesday, August 20, 2008 1:16 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Extremely large PDFs iText doesn't support files

Re: [iText-questions] Extremely large PDFs

2008-08-20 Thread Edward W. Rouse
At this point I am considering commercial solutions. So far I haven't found any with Java API's or that can be run on a Unix (Solaris) command line. At least not any that have all of the features I need. Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Re: [iText-questions] iText multithreading delays

2008-08-14 Thread Edward W. Rouse
the processing of the chunks. That is what I am in the process of doing right now. I'll let ya know how that works when I get it finished and tested. Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of robert meyer Sent: Wednesday, August 13

Re: [iText-questions] iText multithreading delays

2008-08-14 Thread Edward W. Rouse
has been preparsed. Plus we have a general idea of how much memory those process are going to use because we control the file size. We took a process that was running in 14 hours down to 3 hours this way. Hope this helps. Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto

Re: [iText-questions] iText multithreading delays

2008-08-14 Thread Edward W. Rouse
Oops, step 3 is missing a bit. I continue to process the original file, creating many intermediate size pdfs until the entire original pdf is parsed, THEN I release the original reader to free up the memory. Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [iText-questions] Question on compression.

2008-08-11 Thread Edward W. Rouse
Lol, it wasn't a complaint, it was a question. And it was a valid question. I would expect that if I used setCompressionLevel(9) that the resulting file should be smaller than using no compression at all. It isn't. Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [iText-questions] Question on compression.

2008-08-11 Thread Edward W. Rouse
it isn't, then how is setCompressionLevel supposed to be used with PdfCopy? Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans-Werner Hilse Sent: Monday, August 11, 2008 11:33 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText

Re: [iText-questions] Question on compression.

2008-08-11 Thread Edward W. Rouse
as it's asked for to prevent this type of response in the future. Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans-Werner Hilse Sent: Monday, August 11, 2008 11:33 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText

Re: [iText-questions] Question on compression.

2008-08-11 Thread Edward W. Rouse
of the document structure is probably the problem with GS. I didn't find that little tidbit during my research of the issue. Thanks, that was most helpful. Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans-Werner Hilse Sent: Monday

[iText-questions] Question on compression.

2008-08-08 Thread Edward W. Rouse
setCompressionLevel was not available for PdfCopy in that version. Is it just that the compression for PdfCopy is still being worked on? Or did I miss something else I should do when using setCompressionLevel with PdfCopy? Thanks, Edward W. Rouse

Re: [iText-questions] Question on compression.

2008-08-08 Thread Edward W. Rouse
I already checked on that. Was told (not able to personally verify) that it is the newest version of GS for Solaris 10. Edward W. Rouse From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leonard Rosenthol Sent: Friday, August 08, 2008 5:05 PM To: Post all your questions about

[iText-questions] Parsing extremely large pdfs

2008-08-07 Thread Edward W. Rouse
We have a customer with some pretty unrealistic expectations, one of which gave me this error: Exception in thread main java.lang.IllegalArgumentException: Size exceeds Integer.MAX_VALUE at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:707) at

Re: [iText-questions] extracting pages from a PDF document (with bookmarks)

2008-05-14 Thread Edward W. Rouse
. Usually it is set to 1 to split on the top level bookmarks, but you can set it to split at lower levels if you need to. Hope this helps. Edward W. Rouse ComSquared Systems, Inc. 770-734-5301 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 1T3XT

[iText-questions] com.lowagie.tools.plugins

2008-03-26 Thread Edward W. Rouse
In the book and some replies to questions on the list, reference is made to the toolbox, code contained in the subject package. I downloaded version 2.0.7 and I didn't get that package. Is there something else I need to download or did I somehow get an incomplete file? Edward W. Rouse

[iText-questions] version 2 and the book

2008-03-14 Thread Edward W. Rouse
I know version 2 was just recently released, but is there a date for the release of an updated version of the iText book? Edward W. Rouse ComSquared Systems, Inc. 770-734-5301 - This SF.net email is sponsored

Re: [iText-questions] version 2 and the book

2008-03-14 Thread Edward W. Rouse
Thanks for the update. I look forward to a time when your son is healthy and new books are on the horizon. Best wishes. Edward W. Rouse ComSquared Systems, Inc. 770-734-5301 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Lowagie Sent

[iText-questions] pdf error

2008-03-13 Thread Edward W. Rouse
can look at the underlying text easy enough, but the error shown is of no help in pinpointing what part of the document is the cause. So far Google hasn't turned up anything. Edward W. Rouse ComSquared Systems, Inc. 770-734-5301

Re: [iText-questions] Split a PDF file according to offset andlength

2008-03-12 Thread Edward W. Rouse
don't know their own page numbers. Of course all this assumes that you don't need to split a page. If you do, then I think you need to go back and get the project scope changed. Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 1T3XT info

Re: [iText-questions] Download HTML to PDF file. Show the Save asdialog

2008-03-11 Thread Edward W. Rouse
, there is no way to force the browser to use a 'Save As' dialog against the users wishes. Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angelo Luis Sent: Tuesday, March 11, 2008 11:42 AM To: Post all your questions about iText here Subject: Re

Re: [iText-questions] Download HTML to PDF file. Show the Save asdialog

2008-03-11 Thread Edward W. Rouse
That would work but the user would have to know to rename the extension to .pdf when they save it. And once they understand how you tricked the browser they could always just associate the application/xpto type to the reader and you'd be back to no 'Save As' dialog. Edward W. Rouse

Re: [iText-questions] Download HTML to PDF file. Show theSave asdialog

2008-03-11 Thread Edward W. Rouse
Exactly, which is why it is an exercise in futility to even worry about it ;) Just leave it as a pdf and let the user decide what to do with it since you really can't control what they do anyway. Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

[iText-questions] get a page number from a PdfDictionary

2008-02-13 Thread Edward W. Rouse
to no avail. I'm guessing it added the dictionary, but not the content the dictionary referred to. Edward W. Rouse ComSquared Systems, Inc. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R

Re: [iText-questions] get a page number from a PdfDictionary

2008-02-13 Thread Edward W. Rouse
of - Dictionary of type: /Page : /Parent = 55 0 R /Contents = 53 0 R /Type = /Page /Resources = 5 0 R /MediaBox = [0, 0, 498, 792] - To create a new pdf. How do I get the above onto a new PDF? Edward W. Rouse ComSquared Systems, Inc

Re: [iText-questions] get a page number from a PdfDictionary

2008-02-13 Thread Edward W. Rouse
dictionaries, which include the indirect references. I just haven't been able to figure out how to use that information to get the page number required by the getImportedPage method of PdfCopy. If it is not possible to do this, then I will look for another solution. Thanks. Edward W. Rouse