Re: [iText-questions] iText Open PDF and apply annotations from XML

2011-06-16 Thread Leonard Rosenthol
Your problem is that you do NOT want XMP - you want FDF (or XFDF). From: Benjamin Nutting [mailto:benja...@nutting.info] Sent: Thursday, June 16, 2011 8:21 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] iText Open PDF and apply annotations from XML Hey everyone, I am ver

[iText-questions] iText Open PDF and apply annotations from XML

2011-06-16 Thread Benjamin Nutting
Hey everyone, I am very stuck on this problem. Have been working on it for a few days. I have a PDF and what looks like a standard Adobe XMP annotations XML file. I want to open the PDF with iText and put the annotations onto the pdf, and save it to the file system. The annotations are what I call

Re: [iText-questions] Collapse bookmarks by default

2011-06-16 Thread 1T3XT BVBA
On 16/06/2011 20:19, srikanth bapanapalli wrote: > I am using Anchor ro create Tree. Huh? How would that work? It doesn't show in your code. I probably don't understand the question. Then again: does anybody understand what you mean? ---

Re: [iText-questions] Collapse bookmarks by default

2011-06-16 Thread srikanth bapanapalli
Iam not using PdfOutLine. Iam using Anchor ro create Tree. How can i make collapsable Tree. My code is like this public void createPdf(String filename) throws Exception { DatabaseConnection connection = new DB2Connection(); Document document = new Document(PageSize.A4.rotate()); PdfWriter wr

Re: [iText-questions] Collapse bookmarks by default

2011-06-16 Thread Mark Storer
Well there you have it. I was skimming the spec, saw "count" and ass-u-me'd it worked like the Pages dictionary's count. Nope. And here's a link to the relevant JavaDoc: http://api.itextpdf.com/itext/com/itextpdf/text/pdf/PdfOutline.html#setOpen(boolean) --Mark Storer Senior Software Eng

Re: [iText-questions] [SPAM] How to convert Ms office documents to PDF

2011-06-16 Thread David Thielen
iTextSharp cannot do this. However, www.WindwardReports.com will do exactly what you want - it converts full formatting (and uses iTextSharp). Thanks - dave David Thielen - CTO/founder 303-499-2544 x1185 720-352-0676 (cell) www.windwardreports.com

Re: [iText-questions] How to convert Ms office documents to PDF

2011-06-16 Thread McGee, Edwin F. Sr.
You will want to look into OpenOffice. Running an instance of the server software, you can use library functions and learn to easily convert your documents (e.g. Word, Excel, PowerPoint, etc.) in a very short amount of time. Ed -- Message: 1 Date: Thu, 16 Jun 2011 14

Re: [iText-questions] Help

2011-06-16 Thread 1T3XT BVBA
On 16/06/2011 14:12, Tazio Baker wrote: Thank u for you assistance, sadly what i need and what i can get out of iText do not match. That's not an iText problem. It's because PDF, unless tagged, doesn't know anything about the table structure in your PDF. iText can extract the text (and coordina

Re: [iText-questions] Help

2011-06-16 Thread Tazio Baker
Thank u for you assistance, sadly what i need and what i can get out of iText do not match. Have a good one, On Thu, Jun 16, 2011 at 1:31 AM, 1T3XT BVBA wrote: > On 15/06/2011 22:12, Tazio Baker wrote: > > I have no IT skills and I need to extract data from a PDF into an SQL > database to crea

Re: [iText-questions] remove watermark layer

2011-06-16 Thread 1T3XT BVBA
On 16/06/2011 13:25, jjalink wrote: I have stopped using this code, since it completely clears page 1 in some of the files. I don't remember the context of the problem. Is it about OCG? Note that two OCG bugs were fixed in iText 5.1.1: http://itextpdf.com/history/?branch=51&node=511 * Bugf

Re: [iText-questions] remove watermark layer

2011-06-16 Thread jjalink
I have stopped using this code, since it completely clears page 1 in some of the files. I could not consistently re-create the issue re-processing the same file in debug environment worked. Instead - system code changed to locate the "clean" file and add watermark to it. PS. We paid for the iText

Re: [iText-questions] Livecycle generated PDF filled with iText doesn't print form fields

2011-06-16 Thread Aditya Gollakota
I tried that out and still didn't work. I used the JPedal library to print and it is working beautifully. Looks like ootb java printing couldn't handle printing the pdf successfully. Thanks for all your help Regards, Aditya Gollakota On 8 June 2011 21:46, Aditya Gollakota wrote: > Thanks, I

Re: [iText-questions] Collapse bookmarks by default

2011-06-16 Thread Paulo Soares
You believe right. Each bookmark has an open/close state but it's not a flag, it's done with the /Count key in the outline dictionary. PdfOutline has an open/close flag to control this. Paulo From: Mark Storer [mailto:msto...@autonomy.com] Sent: Wednesday, June

[iText-questions] How to convert Ms office documents to PDF

2011-06-16 Thread Balajiprasad
Hi, How to convert MS office Documents (Word/Excel/PP etc) to PDF. Need to convert Entire document including objects with colors. Is there any way to do with iTextsharp??. Regards, R.Balajiprasad -- EditLive E

Re: [iText-questions] How to convert Ms office documents to PDF

2011-06-16 Thread 1T3XT BVBA
On 16/06/2011 10:59, Balajiprasad wrote: Hi, How to convert MS office Documents (Word/Excel/PP etc) to PDF. Need to convert Entire document including objects with colors. Is there any way to do with iTextsharp? NO, please read http://itextpdf.com/itext.php iText can convert an XML or an XH

Re: [iText-questions] Embedding java.awt Font "Symbol" on a windowsXP system

2011-06-16 Thread 1T3XT BVBA
On 16/06/2011 10:40, Siegfried Raab wrote: Thank's for answering so kindly. 1.Yes, I use PdfGraphics2D OK, so you're creating a FontMapper. Is that correct? (You didn't say in your original question.) 2.I refer to the java.awt.Font named "Symbol" If you map this font to the "standard

Re: [iText-questions] Embedding java.awt Font "Symbol" on a windowsXP system

2011-06-16 Thread Siegfried Raab
Thank's for answering so kindly. 1. Yes, I use PdfGraphics2D 2. I refer to the java.awt.Font named "Symbol" 3. Although You suppose I didn't I read any documentation I did several times. I even bought it. And I know about Type1-Fonts and I know that they aren't embedded by iTex

Re: [iText-questions] Embedding java.awt Font "Symbol" on a windowsXP system

2011-06-16 Thread 1T3XT BVBA
On 16/06/2011 10:10, Siegfried Raab wrote: Hallo, I try to embed the java.awt.Font "Symbol" java.awt? Are you using PdfGraphics2D? If not, please don't mention java.awt! using the following code /FontFactory.registerDirectories();/ /com.itextpdf.text.Font fTtf = FontFactory.getFont(f.get

[iText-questions] FW: Collapse bookmarks by default

2011-06-16 Thread John Renfrew
If you set it manually in an Adobe product and save the file it appears to re-open with you last view.. Must be some flag somewhere so it would be interesting too see it there was a programatic way to set this.. john renfrew Right Way Up From: Mark Storer [mailto:msto...@autonomy.com] S

[iText-questions] Embedding java.awt Font "Symbol" on a windowsXP system

2011-06-16 Thread Siegfried Raab
Hallo, I try to embed the java.awt.Font "Symbol" using the following code FontFactory.registerDirectories(); com.itextpdf.text.Font fTtf = FontFactory.getFont(f.getFontName()); try { fTtf = FontFactory.getFont(f.getFontName(),BaseFont.IDENTITY_H, BaseFont.EMBEDDED); } catch (Exce