[iText-questions] Add a new Page to RTF document

2010-01-13 Thread Me Simple
I am using iText 2.0.8 version. Is there a way to create a RTF Table in a new page or add a blank page in the RTF document. Basically, I am creating RTFTables in a loop and trying to create a RTF Table in a new page. I tried adding document.newPage() , but it didn't work. Please give a way to do

Re: [iText-questions] Hello, I have some problems with itext

2010-01-13 Thread Vadim Genkin
Maybe the problem is that the language is Czech? If yes, then please let me know whether it is possible to read these fields out and how? Thanks, Vadim. On Wed, Jan 13, 2010 at 4:51 PM, Vadim Genkin wrote: > Hello, > > I need to read fields from pdf form (I have attached the form). > > Here is

Re: [iText-questions] Unit Testing, Stress Testing, Profiling...

2010-01-13 Thread Ghady Diab
Hey, It's Ghady DIAB from Lebanon. I'm really interested in your iTextSharp library (C#), and I'm working on a small project using it for my university. Is there a way I can get the Unit Tests you did for this library as well as stress testing and profiling documents (results). If these docume

[iText-questions] Display only setting for images

2010-01-13 Thread Sean Steiger-McRae
I'm interested in having a fullpage background image/watermark in my PDFs that displays on-screen, but does not print (or vice versa). I know this option is available in current versions of Acrobat (I think from Acrobat 7.0 and on) but I haven't been able to find an example of how to do it. Is this

[iText-questions] ListItems and Table splitting BUG?

2010-01-13 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm having some problems with table splitting and ListItems. Most of the time the last item is repeated and the end of the page as you can see in the attached PDF file. In my case, the text "hello number 9" in first page is repeated in second p

[iText-questions] Upper Unicode Chars PDF Support

2010-01-13 Thread Ponzer, Phillip
Hello everyone, How do I add characters such as the infinity symbol (U+221E) to a PDF? Thanks, Phillip This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be

[iText-questions] need help regarding barcode

2010-01-13 Thread Venu Repaka
Hi friends, I am new to iText. I want to display bar code using iText and add some data to it (Barcode). I need to add current date to the barcode. When we scan the bar code, we need to get the current date. Any help would be greatly appreciated. Waiting for your reply. --

Re: [iText-questions] Hello, I have some problems with itext

2010-01-13 Thread Mathieu Fortin
Use new XfaForm(PdfReader). You will then have access to the form/data. Notarius Inc. 700-1080 Côte du Beaver Hall Montréal, Québec, H2Z 1S8 Avis de confidentialité / Confidentiality Notice Notarius Inc. - Certifié ISO 9001 : 2000 Centre de certification du Québec - Certifié ISO 27001 : 2

Re: [iText-questions] PAdES-BES/PAdES-EPES (ETSI TS 102 778-3 v.1.1.2)

2010-01-13 Thread Leonard Rosenthol
Not with the current code as is, no, there is not. But it wouldn't be very difficult to make it so, the only difference is a SINGLE SIGNED ATTRIBUTE in the PKCS#7 packet (and a minor PDF name change). Leonard -Original Message- From: Jhack [mailto:gbocca...@unimaticaspa.it] Sent: Wedn

Re: [iText-questions] PAdES-BES/PAdES-EPES (ETSI TS 102 778-3 v.1.1.2)

2010-01-13 Thread Jhack
Is there a way to create a fully compliant PAdES-BES / PAdES-EPES document using iText? In order to implement the verification I need a PDF sample. Thanks, J. -- This SF.Net email is sponsored by the Verizon Develo

Re: [iText-questions] Read PDF, change text, store?

2010-01-13 Thread Leonard Rosenthol
They are just placeholders - they "go away" when you fill them and just leave the text. All commercial PDF editors (Acrobat, etc.) support creating them. Leonard -Original Message- From: David Balažic [mailto:xerc...@gmail.com] Sent: Wednesday, January 13, 2010 11:49 AM To: itext-quest

Re: [iText-questions] Read PDF, change text, store?

2010-01-13 Thread David Balažic
Leonard Rosenthol adobe.com> writes: > > Yes, use form fields and then fill them in. I'm not a PDF expert: - do form fields look visually different than regular text (as in HTML for example) ? - what PDF editors support creating them (I'm not sure what is used to create/edit out PDF files).

Re: [iText-questions] Read PDF, change text, store?

2010-01-13 Thread Boryslav Larin
Hey! I have similar problem but with rtf document! I need to generate document, that might be edited with any other text editor. The problem is I can't use form fields because when you change document with form fields in external editor (MS Word or OpenOffice.org Writer) text start to float (some

Re: [iText-questions] Maintaining the accessibility concatening tagged PDFs

2010-01-13 Thread Leonard Rosenthol
Concatenation of tagged content is HARD - iText doesn't currently do it. Leonard From: Rodríguez Rey, Alberto [mailto:arodriguez-...@igae.meh.es] Sent: Wednesday, January 13, 2010 4:36 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Maintaining the accessibility concatenin

Re: [iText-questions] PDF page boxes: set to show in reader

2010-01-13 Thread Leonard Rosenthol
The PDF standard (ISO 32000-1) states that a conforming reader will use the CropBox to display the page. If a CropBox isn't present, then the MediaBox defines the viewable area. The other boxes have no bearing on the visible display. (though some viewers, such as Adobe's, have an option to a

Re: [iText-questions] Read PDF, change text, store?

2010-01-13 Thread Leonard Rosenthol
Yes, use form fields and then fill them in. -Original Message- From: David Balažic [mailto:xerc...@gmail.com] Sent: Wednesday, January 13, 2010 10:14 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Read PDF, change text, store? Hi! Currently we use iText to inser

Re: [iText-questions] PDF-A

2010-01-13 Thread Leonard Rosenthol
iText does not support * Fast Web (aka linearization) * JBIG2 compression - though you could do that with some other library first Otherwise, it can happily create PDF/A documents. NOTE: Linearization is NOT required for PDF/A - in fact, a PDF/A viewer is free to ignore it. -Original Messag

Re: [iText-questions] PAdES-BES/PAdES-EPES (ETSI TS 102 778-3 v.1.1.2)

2010-01-13 Thread Leonard Rosenthol
Just to clarify that statement... Adobe Acrobat supports parts 1, 2 and part of 4 of PAdES. We expect support parts 3, the rest of 4 and 5 in a future release. At this time, I am not aware of anyone shipping an implementation of all 5 parts of PAdES. -Original Message- From: Jhack [ma

Re: [iText-questions] Hello, I have some problems with itext

2010-01-13 Thread Leonard Rosenthol
This is an XFA-based form, NOT an AcroForm (AcroFields). You need to use an alternate method. Leonard From: Vadim Genkin [mailto:vadim.gen...@gmail.com] Sent: Wednesday, January 13, 2010 9:52 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Hello, I have some problems wit

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

2010-01-13 Thread Iliadis Yannis
Indeed that is servlet & jsp related. What you need is something like this. The code opens a dialog box in the browser asking the user to open or save the file with a default name temp.pdf. response.setHeader("Content-Length", String.valueOf(pdfOut.length)); response.addHeader("Content-disposition

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

2010-01-13 Thread Benjamin Rein
Your question ist not iText related. Please download the free html edition of javabuch.de. There is a really nice chapter about ByteStreams. Hint: You have to save the byte array on your harddrive before delivering it in the response object back to the browser. It's of course only possible to

[iText-questions] Read PDF, change text, store?

2010-01-13 Thread David Balažic
Hi! Currently we use iText to insert a few custom word into a general template in the form of a regular PDF file, usign code like this: ByteArrayOutputStream baos = new ByteArrayOutputStream(); String fileName = "my_letter.pdf"; PdfReader reader = new PdfReader(fileName); PdfStamper stamp = new P

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

2010-01-13 Thread ostpower
And if I realised it with a ByteArrayOutputStream for a WebApplication. For that case the pdf document is only generated on the 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 o

[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

Re: [iText-questions] Preventing PdfPCell from matching height of neighboring PdfPCell

2010-01-13 Thread 1T3XT info
mistercam wrote: > Bummer... It looks like I'll have to play around with some alternative > approaches. You could define a rowspan 2 for the second cell, and add a dummy cell (without content or border) to fit under the first cell. Not a very elegant solution, but... if it works, it works. -- T

Re: [iText-questions] Preventing PdfPCell from matching height of neighboring PdfPCell

2010-01-13 Thread mistercam
Bummer... It looks like I'll have to play around with some alternative approaches. Thanks for the quick reply though! I really appreciate it. -- Cam 1T3XT info wrote: > > mistercam wrote: >> The first PdfPCell seems to be matching the height of the paragraph cell, >> when I expect it remain a

[iText-questions] PAdES-BES/PAdES-EPES (ETSI TS 102 778-3 v.1.1.2)

2010-01-13 Thread Jhack
Hi, I'm trying to implement the verification of PDF signatures created according to PAdES-BES and PAdES-EPES profiles, but I need a properly signed PDF document. I can't find anything on the Net and it seems that Adobe Acrobat isn't currently able to produce fully compliant PAdES documents

[iText-questions] Maintaining the accessibility concatening tagged PDFs

2010-01-13 Thread Rodríguez Rey , Alberto
Hello. We are using iText to build tagged PDF documents for many years. Now we are interested in concatenating accessible documents while maintaining the accessibility, but we don't know how to read the labelled original structure to reproduce it in the final document. Any suggestions? Este

[iText-questions] PDF-A

2010-01-13 Thread Sankar1234
Dear Sir, We are working in .Net Platform I want to make PDF/A from Tiff file with following specificarion 'Fast web view',’ Fit pags sizing' 'jbig2' compression All information about the pdf should be in the pdf and not on an external place. Colourprofi

[iText-questions] Maintaining the accessibility concatening tagged PDFs

2010-01-13 Thread Albrodrey
Hello. We are using iText to build tagged PDF documents for many years. Now we are interested in concatenating accessible documents while maintaining the accessibility, but we don't know how to read the labelled original structure to reproduce it in the final document. Any suggestions? -- View t

Re: [iText-questions] Saving PDF to server

2010-01-13 Thread ostpower
Hi, I have the same problem. I have realised it with this statement: PdfWriter.getInstance(document, new FileOutputStream(ausgabe.pdf)); But how can I save it on a server or my local space? Because with my version, the pdf is generated on the fly, but isn't saved. Alexis Pigeon wrote: > > Hi

[iText-questions] PDF page boxes: set to show in reader

2010-01-13 Thread Ric Clarke
Hi, Could someone help clarify something for me, a PDF page contains the following boxes: MediaBox, CropBox, BleedBox, TrimBox & ArtBox. Is it possible to set which box is shown when the PDF is viewed in a reader (Acrobat Reader, Foxit)? Thanks --

[iText-questions] Fwd: iText Error while adding paragraph

2010-01-13 Thread Traian Decebal
Hi all, I added a restoreState() at the end of the onEndPage() method and it worked :). Sorry to send all these mail on the list, but maybe it will help sombody else with the same problem. Cheers, Narcis -- Forwarded message -- From: Traian Decebal Date: Wed, Jan 13, 2010 at 10:

Re: [iText-questions] Fwd: iText Error while adding paragraph

2010-01-13 Thread 1T3XT info
Traian Decebal wrote: > When should I call the restoreState() method ? The question is: why are you calling saveState()? You're only adding text; you're changing the text state, but not the graphics state. (It looks like you've copy/pasted code without knowing what you're doing.) -- This answer

[iText-questions] Fwd: iText Error while adding paragraph

2010-01-13 Thread Traian Decebal
Hi again, I've done some google search, and it seems it's because of saveState() / restoreState(). I've searched my code and the only place I found a saveState() is on the onEndPage() method. public void *onEndPage*(PdfWriter writer, Document doc) { try { String footerTe

[iText-questions] iText Error while adding paragraph

2010-01-13 Thread Traian Decebal
Hi all, I use iText to generate a document with chapters. The difference in that I use a bigger font for chapter names. This is the code that generated the error : document.add(Chunk.NEWLINE); String text = "VIII. Domeniul in care s-au produs evenimente:"; Paragraph p = ne