Re: [iText-questions] PDF/A

2011-02-15 Thread 1T3XT BVBA
Op 14/02/2011 18:57, Acc schreef: I am writing code to convert PDF to PDF/A format. I found few code snipped to create PDF/A by using IText Library . Can someone please tell me, what is the use of PdfDictionary class and why we use PdfDictionary class while creating PDF/A document. Please

Re: [iText-questions] PDF Watermarks

2011-02-15 Thread 1T3XT BVBA
Op 14/02/2011 23:36, Antony Webster schreef: OK but in this case in order to keep the same look as the original font field I'd need to retrieve its font family, weight and size. How can this be done? I've looked around online without much luck... In that case, you should stick with your own

Re: [iText-questions] Problem with signing PDF using HSM Luna - certificate chain not showing up

2011-02-15 Thread gerhardschmidt37
Thanks all for helpful hints! We resolved the problem. The Luna Keystore didnt include any of public certificates needed for constructing the chain :-( I have downloaded the required parent certificates from Adobe and GeoTrust, added to chain, signed the pdf and there was the blue ribbon.

Re: [iText-questions] Problem with signing PDF using HSM Luna - certificate chain not showing up

2011-02-15 Thread kuehne
Hi Gerhard, good to hear that your problem is solved ! Just for curiosity : These certificates smells like being pre-installed in Adode Reader. Do you really need them in your chain ? Of course it's good practice to include the full chain, but I'm a bit astouned that you _need_ these specific

Re: [iText-questions] PDF Watermarks

2011-02-15 Thread Anthony Webster
OK I also considered filling out the background form once with all the repeating elements and doing a partial flatten, then filling in the elements that change for each page. Would that make any difference or would it still leave my end result bloated? I dug around a bit and found a way to

Re: [iText-questions] Alternative names of standard 14 fonts

2011-02-15 Thread Dominika Tkaczyk
Leonard Rosenthol napisaƂ(a): The PDFs are invalid and they should include Widths. Thank you for your answer. Unfortunately, I still need to parse such files. Is there any simple way to tell iText to treat alternative names as standard ones in such cases? Dominika -Original

Re: [iText-questions] PDF Watermarks

2011-02-15 Thread Anthony Webster
Right final version (hopefully!) : public void createPdf(String filename) throws Exception { // Pass 1 : Build Content Document document = new Document(PageSize.A4); ByteArrayOutputStream baos = new ByteArrayOutputStream(); PdfWriter.getInstance(document, baos);

Re: [iText-questions] Viewing table attributes

2011-02-15 Thread Lychee W
I suppose I was ambiguous in my previous post. I have the structure tree root and am traversing through it, checking to see if each child contains a PdfName.Table. However, this always returns false, even though it is correctly traversing through the tree. Does anyone know where the table is

Re: [iText-questions] Viewing table attributes

2011-02-15 Thread Leonard Rosenthol
Are you sure the PDF has a structured table? Does one show up in the Tags panel in Adobe Acrobat? From: Lychee W [mailto:lychee...@gmail.com] Sent: Tuesday, February 15, 2011 7:03 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Viewing table attributes I suppose

Re: [iText-questions] Alternative names of standard 14 fonts

2011-02-15 Thread Leonard Rosenthol
Source is available. Modify it as you need (and feel free to send patches). Leonard -Original Message- From: Dominika Tkaczyk [mailto:d.tkac...@uw.edu.pl] Sent: Tuesday, February 15, 2011 3:38 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Alternative

Re: [iText-questions] Viewing table attributes

2011-02-15 Thread Lychee W
Yes, and it shows up when I convert to XML as well. Perhaps I am missing something when I traverse. Currently, I only check to see if the structure tree node contains a PdfArray or another PdfDictionary. Is there another case that I am missing? Also, just to repeat my previous question, how do

Re: [iText-questions] Viewing table attributes

2011-02-15 Thread Leonard Rosenthol
You start with the root which then has either an array or a dict. Each element then has kids of various types. Are you traversing this accordingly? Same issue the keys - the spec clearly says they can be various types. Have you read chapter 14.7 of ISO 32000-1? Leonard From: Lychee W

Re: [iText-questions] Viewing table attributes

2011-02-15 Thread Mark Storer
Have you read chapter 14.7 of ISO 32000-1? Which Adobe offers for free: ISO PDF Spec (32000) http://www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008 .pdf --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; DisclaimerCardiff DisCard = null;

[iText-questions] Question about N-Up Printing

2011-02-15 Thread Joe Danziger
I am trying to transpose the NUp example in Chapter 6 (p. 171) of the 2E book to ColdFusion, but having an issue with the calculation of the offsets. Is it possible to get an explanation of what the helper variables n, r, c, represent in that example? I can tell that the n represents the

[iText-questions] Convert VB Tutorials to VS2005 and VS2010 iTextSharp

2011-02-15 Thread Jon Rowlan
I am sure that I must be doing something daft, I have searched the mailing list to try and find a phrase that matches anything even close but that is coming up with no matches. On two separate machines I have VS2005 and VS2010. I have tried both to compile the DLL and use the packaged DLL.

Re: [iText-questions] Convert VB Tutorials to VS2005 and VS2010iTextSharp

2011-02-15 Thread Paulo Soares
There were a lot of changes, including the use of generics. See examples from the book at http://kuujinbo.info/. Paulo - Original Message - From: Jon Rowlan To: itext-questions@lists.sourceforge.net Sent: Tuesday, February 15, 2011 8:50 PM Subject: [iText-questions] Convert

Re: [iText-questions] Convert VB Tutorials to VS2005 andVS2010iTextSharp

2011-02-15 Thread Jon Rowlan
I'll take alook Paulo, many thanks for replying jON From: Paulo Soares [mailto:psoa...@glintt.com] Sent: 15 February 2011 21:19 To: Post all your questions about iText here Subject: Re: [iText-questions] Convert VB Tutorials to VS2005 andVS2010iTextSharp There were a lot of changes,

Re: [iText-questions] iText Text Chopping Issue with Embedded Fonts

2011-02-15 Thread Mir Tanvir Hossain
Hi Mark, thank you for your reply. I also think that there is something wrong with the font. Could you please tell me what exactly is wrong with the font? Also, is there a way to fix the font using some sort of font editing software? Sincerely, Mir On Wed, Feb 9, 2011 at 2:43 PM, Mark Storer

Re: [iText-questions] Question about N-Up Printing

2011-02-15 Thread Mark Storer
Rows and Columns? --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; DisclaimerCardiff DisCard = null; From: Joe Danziger [mailto:jdanzi...@iccsllc.com] Sent: Tuesday, February 15, 2011 12:25 PM

[iText-questions] Get a fields margins.

2011-02-15 Thread Wyatt Biker
I have the following code that gets the fields positions, flattens and rewrites the text. How can I get a fields text margins (left, right, top, bottom) and vertical alignment? Here is my code. It basically gets the field information from the PDF file, blanks it out, flattens it and then I

[iText-questions] get field's internal text margins and vertical alignment.

2011-02-15 Thread Wyatt Biker
I already know how to get a field's positions, name, font/size and horiz alignment. I need to get a field's internal text margins (left, right, top, bottom) and vertical alignment. Is this possible? I am replacing a field which may have kerning/spacing applied to it from an outside source, so I

[iText-questions] Remove topic please

2011-02-15 Thread Wyatt Biker
Administrator, Please remove this topic if no replies. I posted it by accident. *[iText-questions] Get a fields margins.* -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and

Re: [iText-questions] Certifying Digital Signature By CAcert.org

2011-02-15 Thread zia7770
Is there anyone who can help me? Kindest Regards, -Zia -- View this message in context: http://itext-general.2136553.n4.nabble.com/Certifying-Digital-Signature-By-CAcert-org-tp3304828p3308312.html Sent from the iText - General mailing list archive at Nabble.com.