Re: [iText-questions] XMP Metadata Not Predefined Error

2010-03-17 Thread Nirmal Fernando
Hi Leonard, I found that this is because, pdfaPilot2 and Adobe Preflight both are using IPTC Schema for XMP, but iText does not use that. I wonder whether PDF/A needs IPTC schema for XMP, if you can answer it is great !! By the way I've tested the same file with PDF Appraiser but it says that th

Re: [iText-questions] XMP Metadata Not Predefined Error

2010-03-17 Thread Nirmal Fernando
Thanks for the quick response Leonard !! Leonard, I've used writer.createXMPMetadata() method, so do I need to include extension schema manually?? By default iText use Dublin Core schema & Pdf Schema so aren't those sufficient for PDF/A. On Thu, Mar 18, 2010 at 11:07 AM, Leonard Rosenthol wrote

Re: [iText-questions] XMP Metadata Not Predefined Error

2010-03-17 Thread Leonard Rosenthol
Perhaps you added some XMP that is not part of a standard schema and you didn't include an extension schema as required by PDF/A. From: Nirmal Fernando [mailto:nirmal070...@gmail.com] Sent: Thursday, March 18, 2010 6:09 AM To: itext-questions Subject: [iText-questions] XMP Metadata Not Predefined

[iText-questions] XMP Metadata Not Predefined Error

2010-03-17 Thread Nirmal Fernando
Hi, I created XMP metadata for the basic metadata, using iText, because PDF/A-1 requires XMP metadata. I verified this PDF with both pdfaPilot2 and Adobe Preflight, and it showed the following error: *XMP Property not predefined and no extension schema present.* Can someone help me to fix this

Re: [iText-questions] FontSelector vs FontMapper

2010-03-17 Thread 1T3XT info
Priya Mandawat wrote: > I tried using the FontSelector approach but can't see to get the > Indic/Arabic pdfs to render appropriately. Using the same fonts with the > FontMapper works. Is this a limitation with FontSelectors or am I > missing something? You are missing something. Read chapter 9

Re: [iText-questions] FontSelector vs FontMapper

2010-03-17 Thread Priya Mandawat
I tried using the FontSelector approach but can't see to get the Indic/Arabic pdfs to render appropriately. Using the same fonts with the FontMapper works. Is this a limitation with FontSelectors or am I missing something? Thanks, Priya --- On Tue, 3/16/10, Priya Mandawat wrote: From: Priya M

Re: [iText-questions] getting signed version (revision) of pdf document

2010-03-17 Thread 1T3XT info
??? ?? wrote: > Hello! > > Here is my problem. > I have a pdf document, signed by three persons. In my program I need to > recreate from the document its first and second signed versions > (revisions). > In Adobe Acrobat 9 it is possible to do for each revision by checking > "Click

[iText-questions] getting signed version (revision) of pdf document

2010-03-17 Thread Татьяна Василькова
Hello! Here is my problem. I have a pdf document, signed by three persons. In my program I need to recreate from the document its first and second signed versions (revisions). In Adobe Acrobat 9 it is possible to do for each revision by checking "Click to view this version" on Signatures panel. I

Re: [iText-questions] Spam: URL to PDF

2010-03-17 Thread Mark Storer
And with much better fidelity than iText's. Nice. --Mark Storer Senior Software Engineer Cardiff.com #include typedef std::disclaimer Discard; From: Daniel Oliveras [mailto:dolive...@gmail.com] Sent: Wednesday, March 17, 2010 10:06 AM To: Post al

Re: [iText-questions] Adding hyperlinks/image to a layer

2010-03-17 Thread Mark Storer
Yes there is. First, images /should/ work exactly the same was as text. If it doesn't, that's a bug and should be reported as such (preferably with some sample code). Hyperlinks in PDF are annotations (like a button in this case) that float over the page content. Annotations can be members of a

Re: [iText-questions] Spam: URL to PDF

2010-03-17 Thread Daniel Oliveras
To convert HTML pages to PDF you can use wkhtmltopdf, a command line utility that uses WebKit to render HTML page and convert it to PDF. 2010/3/17 Mark Storer > Yes. You have two options: > > > > 1) Use iText’s built-in HTML->PDF converter. I seriously

Re: [iText-questions] Spam: URL to PDF

2010-03-17 Thread Mark Storer
Yes. You have two options: 1) Use iText's built-in HTML->PDF converter. I seriously doubt you'll like the output though. It doesn't support quite a few things... "CSS" is the big one. 2) Generate a PDF directly from the app. iText is capable of producing both HTML and PDF (at the same t

Re: [iText-questions] How to get Vertical position ???

2010-03-17 Thread Mark Storer
If he's using a ColumnText (based on his "2 columns to display the data" comment), I don't think that'll work. Hmmm... Ah! PdfPageEvent.onGenericTag(writer, document, rect, string) 1) add a generic tag to every line of your text (tough if you don't know where the line breaks will be). 2) registe

Re: [iText-questions] Convert pdf to pdf/a

2010-03-17 Thread Mark Storer
To expand on this a bit, some PDFs would be easier to convert than others. But while there are no plans to include this feature, plans change quickly when folks wave some money at iTextSoftware.com. It would be cheaper to buy a copy of Acrobat Pro. Other Considerations: There are two levels of P

Re: [iText-questions] test of signed pdf

2010-03-17 Thread Paulo Soares
AcroFields has methods for that. Paulo From: Pavol Behul [pbe...@gmail.com] Sent: Wednesday, March 17, 2010 1:48 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] test of signed pdf Hello, is som simple way to find out, if pdf is di

[iText-questions] test of signed pdf

2010-03-17 Thread Pavol Behul
Hello, is som simple way to find out, if pdf is digitally signed ? (some method in PdfReader or something like that..) Thnx.. Regards, Pavol Behul -- Download Intel® Parallel Studio Eval Try the new software tools for

Re: [iText-questions] How to get Vertical position ???

2010-03-17 Thread Wain, Matthew
float verticalPosition = writer.getVerticalPosition(true); Like that.. 'If' that's what your after? -Original Message- From: Neha Yadav [mailto:neha.ya...@eworks.in] Sent: 17 March 2010 11:47 To: itext-questions@lists.sourceforge.net Subject: [iText-questions] How to get Vertical positio

[iText-questions] AGPL Licensing again

2010-03-17 Thread Frank Morawietz
Hi, I have two questions regarding the license for iTextSharp. Both center around the following sentence from the iText website: "Buying such a license is mandatory as soon as you develop commercial activities involving the iText software without disclosing the source code of your own applicat

[iText-questions] How to get Vertical position ???

2010-03-17 Thread Neha Yadav
hello, I have defined 2 columns to display the data. Data is coming from the text file. When I am trying to get the vertical position I get the position of last line of a page now I want to get the vertical position after every line. help me to fix this.. Thank You! -- View this messa

Re: [iText-questions] Convert pdf to pdf/a

2010-03-17 Thread Leonard Rosenthol
Because it's a hard problem that requires a LOT of in-depth understanding of PDF (and PDF/A). You COULD use iText's lowest level object APIs combined with various other Java libraries to do it - but there isn't anything available "out of the box". Leonard -Original Message- From: Sh

Re: [iText-questions] RTL Issue in Signature Appearance

2010-03-17 Thread Paulo Soares
You can set the font and the text in PdfSignatureAppearance but don't forget to set PdfSignatureAppearance.RunDirection. If you want to draw everything yourself that's standard use of ColumnText for Arabic and there are a ton of examples about that. Paulo From:

Re: [iText-questions] Convert pdf to pdf/a

2010-03-17 Thread Shervin Asgari
Hi. Thanks for quick response. Why isn't it possible? Any plans to do this in later release? Shervin Leonard Rosenthol wrote: > No, there is not. > > -Original Message- > From: Shervin Asgari [mailto:sher...@redpill-linpro.com] > Sent: Wednesday, March 17, 2010 11:54 AM > To: itext-ques

Re: [iText-questions] Convert pdf to pdf/a

2010-03-17 Thread Leonard Rosenthol
No, there is not. -Original Message- From: Shervin Asgari [mailto:sher...@redpill-linpro.com] Sent: Wednesday, March 17, 2010 11:54 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Convert pdf to pdf/a Hello. Is there a way to convert existing PDF to PDF/A using i

[iText-questions] Convert pdf to pdf/a

2010-03-17 Thread Shervin Asgari
Hello. Is there a way to convert existing PDF to PDF/A using iText? I know you can create PDF/A, but unsure about converting existing. -- Shervin Asgari Java faggruppeleder / Systemutvikler Redpill Linpro AS - Changing the game Mobil: +47 918 64 148 --

Re: [iText-questions] FontSelector vs FontMapper

2010-03-17 Thread 1T3XT info
Priya Mandawat wrote: > I need to create pdf files in different languages (depending on the > user's locale). I looked around to see how it's done and I see the following If you create a PDF using iText's high level classes (Paragraph, PdfPTable, ColumnText,...), you'll need instances of the font

[iText-questions] RTL Issue in Signature Appearance

2010-03-17 Thread Faisal Raza
Hi, I am exploring itextsharp.dll and evaluating it for pdf signing and manipulation. I want to use Arabic font in my Signature Appearance but unable to do that. Can you please guide me that how I can set Arabic font and RTL in signature Appearance. The code I am trying is bellow. PdfReader

[iText-questions] Adding hyperlinks/image to a layer

2010-03-17 Thread basscomp10
Hi, I am using itextsharp referenced in VB.NET. I'll appreciate a response even if written in Java. Is there a way to add hyperlinked text or hyperlinked images to a layer? Text works just fine like this: Dim not_printed As iTextSharp.text.pdf.PdfLayer = New iTextSharp.text.pdf.PdfLayer("not pri

[iText-questions] URL to PDF

2010-03-17 Thread Joe Hradnansky
I need to run an application from a webserver, and have it format a custom HTML page (different page per user), then generate a PDF on the client workstation. Will ITextSharp allow me to do that ? -- Download Int

[iText-questions] FontSelector vs FontMapper

2010-03-17 Thread Priya Mandawat
Hi,  I'm new to iText so please bear with me if this is a dumb question.  I need to create pdf files in different languages (depending on the user's locale). I looked around to see how it's done and I see the following 1. examples using the FontSelector class, inserting fonts in the appropriate o