Re: [iText-questions] Text encoding problem?

2010-09-30 Thread jmheras
hi! I've uploaded the pdf "problem.pdf" - my code to get the whole pdf text with accents and the letter "ñ" is: Dim reader As PdfReader = New PdfReader(pdfByte) Dim strategy As parser.ITextExtractionStrategy For i As Integer = 1 To reader.NumberOfPages strategy

[iText-questions] How to make a PdfPTable span over a page-break?

2010-09-30 Thread alexworden
Hi, I've written a framework that generates PDF forms that are based on a custom syntax (that is used for other purposed also). I have been using PdfPTable elements to group hierarchies of content together, however I now find that the generated PDF has a title on the first page followed by a huge

Re: [iText-questions] Fairly new to Itext

2010-09-30 Thread Mark Storer
Your fix might be something as simple as changing the version number back to 1.2... a postscript renderer might include different boilerplate ps based on the version number. myPdfWriter.setPdfVersion(PdfWriter.PDF_VERSION_1_2); You'll want to do that before you call document.open()... though

Re: [iText-questions] Fairly new to Itext

2010-09-30 Thread Woolverton, Bob
Thanks for the interest. Let me back up a little We start out with Metacode. Our current process converts the metacode to postscript using Solimar. At the time, no one on the effort suggested PDF. That would have been fine actually because the Solimar is actually a 2-step process from Metacode to

Re: [iText-questions] Fairly new to Itext

2010-09-30 Thread Mark Storer
It might, but I can offer some assistence right now. 1) iText's PDF version is whatever you tell it to be. We don't do anything to check which features might be used. 2) iText rewrites the entire PDF when it saves (unless you're using 'append' mode, but files get big pretty fast that way). Th

Re: [iText-questions] Fairly new to Itext

2010-09-30 Thread Leonard Rosenthol
HOW are you converting to Postscript? WHAT is wrong with PDF 1.4? For what matter, WHY are you converting to Postscript? All Docutech's AFAIK use a version of the Adobe CPSI RIP that supports PDF natively (well via internal conversion to Postscript, but still). Leonard From: Woolverton, B

Re: [iText-questions] how would you do.....

2010-09-30 Thread Mark Storer
If you open just about any PDF in a text editor, you'll be able to poke around at much of it (though big chunks may be compressed or even encrypted). There are several apps floating around that let you browse through PDFs in a tree view (and view the uncompressed streams). RUPS based on iText,

[iText-questions] Fairly new to Itext

2010-09-30 Thread Woolverton, Bob
I have a large PDF that we convert to PostScript and process on a Xerox Docutech. I changed the process that creates the PDF to create it as a series of PDFs. Then I used a JAVA / iText application to reassemble the PDFs with some additional PDFs inserted. The output PDF look fine, but will not p

Re: [iText-questions] how would you do.....

2010-09-30 Thread Leonard Rosenthol
URL is in ISO 32000-1 http://www.adobe.com/devnet/acrobat/pdfs/pdfregistry_v3.pdf From: Mark Storer [mailto:msto...@autonomy.com] Sent: Thursday, September 30, 2010 2:27 PM To: Post all your questions about iText here Subject: Re: [iText-questions] how would you do. Der linkin-sharin, ja? -

[iText-questions] javadoc

2010-09-30 Thread Hinkamp, John J, (Johnny), CTR, AUTEC
I need to access the iText javadoc from a computer that doesn't have internet access. Where can I download this from? John > /\ > |Atlantic Undersea Test and Evaluation Center (AUTEC)| > +

Re: [iText-questions] how would you do.....

2010-09-30 Thread Jason Berk
I didn't realize there was a dictionary per page I thought it was for the entire document. Are there any examples for this online? From: Mark Storer [mailto:msto...@autonomy.com] Sent: Thursday, September 30, 2010 2:15 PM To: Post all your questions about iText here Subject: Re: [iText-

Re: [iText-questions] how would you do.....

2010-09-30 Thread Mark Storer
Der linkin-sharin, ja? --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; From: Leonard Rosenthol [mailto:lrose...@adobe.com] Sent: Thursday, September 30, 2010 11:22 AM T

Re: [iText-questions] how would you do.....

2010-09-30 Thread Leonard Rosenthol
The prefix registry has been under the control of the ISO since 2007, when we turned PDF over to them... From: Mark Storer [mailto:msto...@autonomy.com] Sent: Thursday, September 30, 2010 2:15 PM To: Post all your questions about iText here Subject: Re: [iText-questions] how would you do. Ju

Re: [iText-questions] span tag background-color issue in pdf generation

2010-09-30 Thread Mark Storer
Don't repeat questions just because you don't like the answer. Don't use "larger", pick an actual point size. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; From: Jayasree [mailto:jaya

Re: [iText-questions] how would you do.....

2010-09-30 Thread Mark Storer
Just stick a new name/value pair in the page's dictionary. Adobe has a registry of Kosher company prefixes, but we've never bothered... probably because we could not get one from them for a long time. More recently they actually fixed a bug we reported, though it didn't make it into the most r

[iText-questions] span tag background-color issue in pdf generation

2010-09-30 Thread Jayasree
BlankHi, I have some text in html format as below and I want add this to pdfTable cell. http://p.sf.net/sfu/novell-sfdev2dev___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-ques

Re: [iText-questions] how would you do.....

2010-09-30 Thread Jason Berk
> But it might require less refactoring if you can place an invisible marker in > the pdf. Which was my original question...what are the options for invisible markers. If I remember correctly, if I use a hidden text field and then flatten the pdf, the text field won't be accessiblenot t

Re: [iText-questions] PDFPTable issue - urgent help

2010-09-30 Thread 1T3XT info
On 30/09/2010 15:02, karthick wrote: > > Thank you gentleman. Any examples would be greately appreciated. If you want examples for ColumnText, you should go to the list of keywords, and select ColumnText: http://1t3xt.be/?1a7 That way, you'll find all kinds of examples. If you don't understand w

Re: [iText-questions] Image as background in PDf

2010-09-30 Thread 1T3XT info
On 30/09/2010 8:52, WhatUsername wrote: > > Hi, I am trying to add a image as the background and write text on it. I have > achieved to add image on the PDF page but it does not display as the default > image size. ??? What is the default image size? > If i remove this statement "image.scalePerce

Re: [iText-questions] QRcodes

2010-09-30 Thread John Renfrew
Issue is I am not ACTUALLY placing it on the page…!! Not actually creating a page at all. I am creating QR code then img = qr.createAWTImage(col, col) Then reading that into a buffered image and just returning that as an output which I can read into a container field.. Tried a number

Re: [iText-questions] how would you do.....

2010-09-30 Thread Klas Lindbäck
Ok, but apparently you know the position when you create each individual pdf, so you could add a database field to store the position. But it might require less refactoring if you can place an invisible marker in the pdf. /Klas Jason Berk skrev 20:59: >I assume that you know where to place

Re: [iText-questions] Text encoding problem?

2010-09-30 Thread Paulo Soares
Please post the pdf and the code you are using so that we can reproduce the problem. Paulo From: Josep Maria Heras [mailto:jmhe...@ad-hoc.net] Sent: Thursday, September 30, 2010 4:01 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Text enc

[iText-questions] Text encoding problem?

2010-09-30 Thread Josep Maria Heras
Hello! I need the XML that I get from TaggedPdfReaderTool. ConvertToXml I found a problem with some of them that have accents, I get de XML without accents amd some wrong words. For example, the word: 'Número' changes to 'N#famero' 'Página' changes to ' p#e1gina' ... .. On the other hand, if t

[iText-questions] Text encoding problem?

2010-09-30 Thread Josep Maria Heras
I have the need to obtain the exit in XML that offers TaggedPdfReaderTool. ConvertToXml I found a problem with some of them that have accents. For example, the word 'Número' changes to 'N*famero' 'Página' changes to 'p*e1gina' ... .. On the other hand, if the same PDF is managed to iTextSharp.te

Re: [iText-questions] font is too small :0.0 issue

2010-09-30 Thread Jayasree
What about background-color? I appreciate your quick response. Thanks a lot. Thanks & Regards Jayasree - Original Message - From: Paulo Soares To: Post all your questions about iText here Sent: Thursday, September 30, 2010 10:29 AM Subject: Re: [iText-questions] font is too s

Re: [iText-questions] how do you mark a page for future processing

2010-09-30 Thread Keith O
> Date: Thu, 30 Sep 2010 10:27:53 -0400 > From: jb...@purdueefcu.com > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] how do you mark a page for future processing > > Is there a way to "mark" or "tag" a page in a pdf I'm creating so that I > can programmatically modify that

Re: [iText-questions] font is too small :0.0 issue

2010-09-30 Thread Paulo Soares
I didn't notice that you were using "larger". "larger" and "smaller" are not supported, there's no font reference to apply. Paulo From: Jayasree [mailto:jayasr...@emergentsys.com] Sent: Thursday, September 30, 2010 3:08 PM To: Post all your questions about iText

[iText-questions] how do you mark a page for future processing

2010-09-30 Thread Jason Berk
Is there a way to "mark" or "tag" a page in a pdf I'm creating so that I can programmatically modify that page later when processing the pdf in a different application. Something like create page 1, create page 2 and mark it as "special", create page 3. Then in a completely different application,

Re: [iText-questions] font is too small :0.0 issue

2010-09-30 Thread Jayasree
I tried with iText5.0.4.jar. Still I am getting same error. Do we have to define any stylesheet to fix this issue? Thanks & Regards Jayasree - Original Message - From: Paulo Soares To: Post all your questions about iText here Sent: Thursday, September 30, 2010 9:57 AM Subject:

Re: [iText-questions] QRcodes

2010-09-30 Thread Paulo Soares
You can scale the QR image with Image.scalePercent() before placing it in the pdf page. Paulo From: John Renfrew [mailto:r...@btclick.com] Sent: Thursday, September 30, 2010 1:21 PM To: iText-questions@lists.sourceforge.net Subject: [iText-questions] QRcodes Pao

Re: [iText-questions] font is too small :0.0 issue

2010-09-30 Thread Paulo Soares
That was fixed some time ago. Try the latest version. Paulo From: Jayasree [mailto:jayasr...@emergentsys.com] Sent: Thursday, September 30, 2010 2:48 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] font is too small :0.0 issue Hi, I hav

[iText-questions] font is too small :0.0 issue

2010-09-30 Thread Jayasree
Hi, I have some text in html format as below and I want add this to pdfTable cell. Test Message I am getting error saying font is too small :0.0. Is there any way to solve this issue? private PdfPCell createDataCellWithHtml(String data, int colspan){ PdfPCell dataCell = null; String

Re: [iText-questions] PDFPTable issue - urgent help

2010-09-30 Thread karthick
Thank you gentleman. Any examples would be greately appreciated. -- View this message in context: http://itext-general.2136553.n4.nabble.com/PDFPTable-issue-urgent-help-tp2720018p2720690.html Sent from the iText - General mailing list archive at Nabble.com. ---

Re: [iText-questions] how would you do.....

2010-09-30 Thread Erik Pfingsten
If your goal is to do away with the special paper (the "disclaimer" stock) and print every page duplex on all regular white stock...wouldn't you have to create the create the PDFs (either concatenated or each original PDF before you concatenate them) in the form: a1 "blank page" a2 backer a3 "b

Re: [iText-questions] how would you do.....

2010-09-30 Thread Jason Berk
Nope Whenever I call cb.endMarkedContentSequence(); I get an exception. Jason -Original Message- From: Mark Storer [mailto:msto...@autonomy.com] Sent: Wednesday, September 29, 2010 5:59 PM To: Post all your questions about iText here Subject: Re: [iText-questions] how would you do..

Re: [iText-questions] how would you do.....

2010-09-30 Thread Jason Berk
>I assume that you know where to place the >disclaimer page when you concatenate the pages. nope...could be different for each individual PDFthat's my issue -Original Message- From: Klas Lindbäck [mailto:klas.lindb...@val.se] Sent: Thu 9/30/2010 8:06 AM To: Post all your questions abo

[iText-questions] QRcodes

2010-09-30 Thread John Renfrew
Paolo Got the QR codes working really well and returning an image of the code into a database, which contains a payload to be read by an iphone and automatically open a related database file on the phone using the mobile Safari protocol. VERY clever and cool.. The image file it returns is p

Re: [iText-questions] how would you do.....

2010-09-30 Thread Klas Lindbäck
I'm not sure that I understand your problem. You have the individual PDFs. I assume that you know where to place the disclaimer page when you concatenate the pages. You are using iText to perform the concatenation? Then it should be a breeze to insert extra pages with the disclaimer at the app