[iText-questions] What is tagmap and how xml data handled using SAXmyHandler

2009-02-03 Thread Cool The Breezer
Hi Gurus, Currently I am trying to evaluate Itext as a potential xml->pdf conversion tool. I was going through Chapter 14 in iText in Action book. Need some clarification - Tagmap contains processing instruction to tell iText how to process xml tags e.g. peer = new XmlPeer(ElementTag

[iText-questions] iText bug on PdfString encoding

2009-02-03 Thread Yu Chen
In com.lowagie.text.pdf.PdfString.getBytes( ) method, iText first checks if the characters in a string are contained in PdfDocEncoding character set, if so, iText will not use the specified encoding but TEXT_PDFDOCENCODING. This will cause applying wrong encoding to some Unicode characters. e.

Re: [iText-questions] iText programmer wanted

2009-02-03 Thread kpenner
How about I start this off by offering $200 USD via paypal for a solution. I am unsure how much time it takes to write a program that populates text fields inside a Dynamic PDF made with Lifecycle8, but have been told there are a few of you well able to do this with your hands tied behind your ba

[iText-questions] iText Capabilities

2009-02-03 Thread Harvey C
Does iText have the ability to work with scanned OCR PDF files with underlying text? I know it can't really work with text in general, but what about adding Pages #s? Does it even recognize endOfPage event? Essentially I am trying to split the PDF into sub-PDFs by text, I plan on using pdftotext a

[iText-questions] Avoiding page-breaks when using PdfStamper with multiple PDFs

2009-02-03 Thread Stephen Bacon
Hello, I'm trying to combine multiple PDFs (each containing fields) into a single PDF. I've been working with the code from Chapter 2 of "iText in Action" and it's all very straightforward. Except I want to avoid the page-breaks between the PDFs. I assume this is because I'm using addDocume

Re: [iText-questions] Problem with Chunk underline

2009-02-03 Thread mister bean
The basic problem is that currently the font style attributes are OR'd on. (Bold, italic, underline, etc.) As you know, ORing is a one-way proposition. That is, you can only turn flags on, not off. The way we solve the problem in http://platypus.pz.org Platypus is to create a new font using the

Re: [iText-questions] Problem with Chunk underline

2009-02-03 Thread pickm
Thanks! Here is the bug tracker: http://sourceforge.net/tracker/index.php?func=detail&atid=115255&aid=2561140&group_id=15255 Is there anything I can do to work around this for now? -- View this message in context: http://www.nabble.com/Problem-with-Chunk-underline-tp21793217p21812409.html Sen

Re: [iText-questions] html form contents to fill in pre-existing pdf online

2009-02-03 Thread kpenner
Still looking for someone to take my money :) Paypal payment for this straight forward project. Fill a Dynamic PDF (Livecycle 8 - XFA - Reader Extended via Acrobat 9) I don't want to change any PDF properties, just fill in a few text fields. -- View this message in context: http://www.nabbl

Re: [iText-questions] html form contents to fill in pre-existing pdf online

2009-02-03 Thread wasegraves
If you'll send me a copy of your sample PDF, I'll be glad to take a look at your problem. You can find my email address at http://segraves.tripod.com. Best regards, Bill Segraves -- Original message -- From: kpenner > > > What about the same kind of application f

Re: [iText-questions] setMoreInfo() and Acrobat 7 & 8

2009-02-03 Thread Leonard Rosenthol
Because the XMP is wrong :(. pdf:Keywords isn't where that stuff goes. I've enclosed the relevant page form the PDF/A standard that demonstrates how things "cross-walk"... Leonard On 2/3/09 10:11 AM, "1T3XT info" wrote: Leonard Rosenthol wrote: > Where is the sample PDF that demonstrates th

Re: [iText-questions] DON'T use the empty space of a page

2009-02-03 Thread Miedl, Marco (ext. Dienstleister)
YEH!! Thank you very much... this is what I want. And I don't understand why I had not seen this before. I read the chapter for a few times :-( -Ursprüngliche Nachricht- Von: 1T3XT info [mailto:i...@1t3xt.info] Gesendet: Dienstag, 3. Februar 2009 11:18 An: Post all

Re: [iText-questions] DON'T use the empty space of a page

2009-02-03 Thread 1T3XT info
Miedl, Marco (ext. Dienstleister) wrote: > Is there a way that I can force this behaviour? See chapter 5 of the book: http://www.1t3xt.info/examples/browse/?page=example&id=83 You're looking for writer.setStrictImageSequence(true); -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ -

Re: [iText-questions] setMoreInfo() and Acrobat 7 & 8

2009-02-03 Thread 1T3XT info
Leonard Rosenthol wrote: > Where is the sample PDF that demonstrates this? http://1t3xt.info/examples/results/in_action/chapterF/HelloWorldStampedMetadata.pdf In the XMPL stream: iText in Action, PdfStamper In the /Info dictionary: /Keywords(iText in Action, PdfStamper) In File > Properties > Keyw

[iText-questions] DON'T use the empty space of a page

2009-02-03 Thread Miedl, Marco (ext. Dienstleister)
Hi, i have the following piece of code: public void myProblem(final OutputStream os, final JFreeChart jFreeChart) { FontMapper mapper = new DefaultFontMapper(); final Document document = new Document(PageSize.A4, 57, 57, 36, 36); try { final PdfWriter writer = PdfWriter.getIn

Re: [iText-questions] setMoreInfo() and Acrobat 7 & 8

2009-02-03 Thread Leonard Rosenthol
Where is the sample PDF that demonstrates this? Leonard On 2/3/09 9:27 AM, "1T3XT info" wrote: ppiman wrote: > Thank you again. I check out and the sample again and I see now where you do > the XMP writer. That seems to have fixed my problem. > > On a side note it looks like the subject is bei

Re: [iText-questions] Handling Reader extensions.

2009-02-03 Thread 1T3XT info
Subhrajyoti Moitra wrote: > I have got answers to what i was looking for. OK, I work half time for iText (unpaid) and half time for Ghent University (paid). That's why I'm absent from the mailing list on some days. It explains why some answers come really fast (when I'm working for iText) or wh

Re: [iText-questions] Handling Reader extensions.

2009-02-03 Thread Subhrajyoti Moitra
ha ha ha .. thanks a lot ..for your kind gesture.. I have got answers to what i was looking for. Thanks again, Subhro. On Tue, Feb 3, 2009 at 2:58 PM, 1T3XT info wrote: > Subhrajyoti Moitra wrote: > > Please find the source pdfs attached. > > Thanks for the attachments, but I don't have the ti

Re: [iText-questions] Handling Reader extensions.

2009-02-03 Thread 1T3XT info
Subhrajyoti Moitra wrote: > Please find the source pdfs attached. Thanks for the attachments, but I don't have the time to look at them. The time available to answer mailing list questions is expired for today. Please ask somebody else. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.

Re: [iText-questions] setMoreInfo() and Acrobat 7 & 8

2009-02-03 Thread 1T3XT info
ppiman wrote: > Thank you again. I check out and the sample again and I see now where you do > the XMP writer. That seems to have fixed my problem. > > On a side note it looks like the subject is being appended on the end of the > keywords field with a ";". Is that by design or is there an option

Re: [iText-questions] Problem with Chunk underline

2009-02-03 Thread 1T3XT info
pickm wrote: > I feel like I am missing something simple here. > > When parsing HTML, I want this to replace an existing underline with a new > one that I position. But it doesn't override the first, it just adds a > second underline. I attempted to set the font style back to NORMAL, but > tha

Re: [iText-questions] PdfPageEventHelper exception handling

2009-02-03 Thread 1T3XT info
Tim Henry wrote: > If anyone else agrees/disagrees or has other suggestions I'd be interested. You're right. But changing this demands substantial changes in iText. I'll have to think about this. Suggestions are always welcome. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http

Re: [iText-questions] html form contents to fill in pre-existing pdf online

2009-02-03 Thread 1T3XT info
kpenner wrote: > What about the same kind of application for filling a Dynamic PDF? > (Livecycle 8 - XFA - Reader Extended via Acrobat 9) > > I don't want to change any properties, just fill in 3 text fields. You have accurately described what has to be done in your job offer. Did nobody reply?

Re: [iText-questions] Whats wrong with this PDF?

2009-02-03 Thread 1T3XT info
Subhrajyoti Moitra wrote: > Hi, > > Using iText i have trying to read the number of pages and then adding 2 > pages, one in the front and one at the last. > When i do a reader.getNUmberOfPages(), it returns 1. While on the adobe > reader, i see 9 pages. > > I have called removeUsageRights() on

Re: [iText-questions] How to determine the type of PDF in iText???

2009-02-03 Thread 1T3XT info
prasannab...@aim.com wrote: > Hi, > > How can we determine the existing pdf is a tagged pdf using iText java Api? > Someone suggested me to look in to the pdf reference or ISO 32000 > documentation > and to determine keys. I have looked into the Pdf -32000 reference > ( http://www.adobe.com/devne