Re: [iText-questions] Problem with graphics when printing the PDF

2009-11-20 Thread Simon, Peter
The Pdf we generate contains several components. That's why I added a cell and cell event, to know the position where the graphics hast o be added. In the cell event I create a PdfTemplate with the size of the reactangle (parameter of cellLayout). From that PdfTemplate I get the graphics with

Re: [iText-questions] Problem with graphics when printing the PDF

2009-11-20 Thread 1T3XT info
Simon, Peter wrote: The Pdf we generate contains several components. That's why I added a cell and cell event, to know the position where the graphics has to be added. In the cell event I create a PdfTemplate with the size of the reactangle (parameter of cellLayout). From that PdfTemplate

Re: [iText-questions] How?: Drawing typographers marks using Registration Black

2009-11-20 Thread George Bilalis
Hi Leonard, You may be right but how do you suggest I get a definite answer to my question? (at this time I feel I am on wild goose chase with registration black :( George Leonard Rosenthol-3 wrote: If it is not supported already by iText, it would be quite simple to add to the

Re: [iText-questions] Font size from a text box

2009-11-20 Thread Iliadis Yannis
Thanx Mark, This was really enlightening. 2009/11/19 Mark Storer msto...@autonomy.com Parent fields can pass attributes down to their children, including /DA. The merged dictionary contains all the current values, so I always use that when I'm reading something. For example: In a radio

Re: [iText-questions] Problem with graphics when printing the PDF

2009-11-20 Thread Simon, Peter
The dispose() method is called right after painting. -Ursprüngliche Nachricht- Von: 1T3XT info [mailto:i...@1t3xt.info] Gesendet: Freitag, 20. November 2009 09:18 An: Post all your questions about iText here Betreff: Re: [iText-questions] Problem with graphics when printing the PDF

[iText-questions] BaseFont/Implementation question

2009-11-20 Thread Roger Misteli
Hiyas when iText creates a Font/BaseFont object, it contains a ton of information, but, as it looks, not the style bits. I create a font like this: com.lowagie.text.Font font = FontFactory.getFont(fontNameEntry.toString(), BaseFont.WINANSI, BaseFont.NOT_EMBEDDED, Font.UNDEFINED,

[iText-questions] How to find the position of an image in a PDF file?

2009-11-20 Thread Larry Reeder
Sorry to the list if you see this question twice. I previously posted this message yesterday, but hasn't shown up on the list yet, so I'll try it again. I've used the iText Java API to create a PDF with several images. Now I'd like to write a unit test to verify my image placement logic. I

[iText-questions] Ability to print multiple copies of the Adobe Document

2009-11-20 Thread Afshan Raees
Hi, Is there a way to print the Adobe Document create in multiple copies? Right now I am using the Acrobat Reader's command line option to print a document but in order to print multiple copies I have to spawn several processes to do that which is very inefficient. Looking for a more efficient

Re: [iText-questions] AcroForm with empty Fields array

2009-11-20 Thread Gylfi Ingvason
Thanks Mark. With Acrobat blessing this behavior, I don't think I've got much choice here - if the Fields array is empty I need to iterate through the Annotation lists and heard up the Widget objects. I suppose it would not be fair of me to ask that the FormFlattening code do that for me, but

Re: [iText-questions] How to find the position of an image in a PDFfile?

2009-11-20 Thread Mark Storer
In general, unit testing PDF is all but impossible. You really need to visually inspect the output. As to your specific question, where's my image?: 1: You need to know the resource name of the image in question. If there's only one XObject Image and no XObject Form[s], you can simply latch

Re: [iText-questions] Freeing/Releasing font object?

2009-11-20 Thread Mark Storer
Apologies for the delayed answer. My eclipse.ini went all funky when I was trying to answer your question and then that whole work thing got in the way. At Any Rate: If you want to disable font caching, you should use: public static Font getFont(String fontname, String encoding, boolean

Re: [iText-questions] How to find the position of an image in a PDFfile?

2009-11-20 Thread Mike Marchywka
Date: Fri, 20 Nov 2009 08:59:10 -0800 From: To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] How to find the position of an image in a PDFfile? In general, unit testing PDF is all but impossible. You really need to

Re: [iText-questions] How do I get the position of an image in a PDF file?

2009-11-20 Thread trumpetinc2
Sorry for the duplicate post (if this is a duplicate) - Nabble is giving me fits right now for some reason. The com.lowagie.text.pdf.parser package will provide the foundation for this sort of thing, but right now development is focused on text placement, not image placement. If you want to

[iText-questions] Decrypt PDF

2009-11-20 Thread Mirco Piccin
Hi all, my environment: iText 2.1.7 bctsp-jdk14-138 bcprov-jdk14-138 bcmail-jdk14-138 I use iText to encrypt (and owner password protect) PDFs to send them via email. Now i need to delivery them also via Fax, but my Fax server doesn't like (i think it's unsuppored) encrypted PDFs. So i need to