Re: [iText-questions] separate presentation from content

2008-09-05 Thread Tony Stevens
Jayne B wrote: > > > Paulo Soares-3 wrote: >> >>> I think there is a way to do this in FOP, but I'd much rather >>> stay with >>> iText. It's so much more user-friendly. >>> >> >> FOP can't do it either, it redoes the PDF, something that you could do >> with iText too. >> >> >> > > What I

Re: [iText-questions] PDF Digital Signature: precalculated signature and hash.

2008-09-05 Thread Leonard Rosenthol
The hash IS the current content (at least cryptographically) - so you are signing the same thing... Leonard On Sep 5, 2008, at 3:49 PM, drivexcite wrote: > > Well, the world never works the way we wish... > > But, how about the 2nd question? Do you think it's right signing the > document hash

Re: [iText-questions] PDF Digital Signature: precalculated signature and hash.

2008-09-05 Thread drivexcite
Well, the world never works the way we wish... But, how about the 2nd question? Do you think it's right signing the document hash instead of the current content? Thanks for the super-fast answer! Tona. Leonard Rosenthol wrote: > > PDF signatures do not work the way you wish. > > The concept

Re: [iText-questions] PDF Digital Signature: precalculated signature and hash.

2008-09-05 Thread Leonard Rosenthol
PDF signatures do not work the way you wish. The concept of "parallel signatures" that you describe is one that various standards bodies are currently investigating for the future of PDF. Leonard On Sep 5, 2008, at 1:27 PM, drivexcite wrote: > > Hi everyone, > > I have a static PDF documen

[iText-questions] PDF Digital Signature: precalculated signature and hash.

2008-09-05 Thread drivexcite
Hi everyone, I have a static PDF document that needs to be signed by different users; the document cannot be modified until all the user's signatures are collected. Unfortunately, all the examples of multiple signatures I've seen so far, somehow change the state of the source document, and as a

Re: [iText-questions] Set size of ZapfDingbatsList symbol

2008-09-05 Thread Phil Newman
That's fantastic! thank you very much for your help. Regards, Phil Newman -- View this message in context: http://www.nabble.com/Set-size-of-ZapfDingbatsList-symbol-tp19329878p19334682.html Sent from the iText - General mailing list archive at Nabble.com.

Re: [iText-questions] iText and PDF/A metadata (Leonard Rosenthol)

2008-09-05 Thread Сергій Карпенко
Thanks a lot, Leonard I found PdfReader.getMetadata() It returns a byte array with XML. Off course, I can parse it (And I already done it). But getInfo() is much more useful - it returns a HashMap of properties. There is a reason make parsing on iText side. Becouse iText-deve

Re: [iText-questions] Set size of ZapfDingbatsList symbol

2008-09-05 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Phil Newman > Sent: Friday, September 05, 2008 4:30 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Set size of ZapfDingbatsList symbol > > > Hi. Thanks for your quick

Re: [iText-questions] Set size of ZapfDingbatsList symbol

2008-09-05 Thread Phil Newman
Hi. Thanks for your quick reply! The list is created and then inserted into a table with absolute positioning: The '72' is a star in zapfdingbats but any symbol is fine. I just need to make them smaller dim outputlist as zapfdingbatslist = new zapfdingbatslist(72,10) outputlist.add(new listit

Re: [iText-questions] Set size of ZapfDingbatsList symbol

2008-09-05 Thread Paulo Soares
That 72 came out of the blue? Post some code, please. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Phil Newman > Sent: Friday, September 05, 2008 1:08 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Set size of

Re: [iText-questions] Absolute text position inside a ColumnText (or something like)

2008-09-05 Thread Paulo Soares
This is a trivial problem and there are many ways to do it. PdfContentByte.MoveText is one way and the grouping would be done by dividing the available height by the leading and see if all the lines fit. It's even easier with ColumnText where you can simulate the writing to know if the text fit

Re: [iText-questions] PDF/x4

2008-09-05 Thread Leonard Rosenthol
You can't use placed PDFs with those compliant with standards. You need to use a Stamper... Leonard On Sep 5, 2008, at 10:21 AM, Dean Krueger wrote: > Hi, > I am trying to add 36pts of whitespace around a pdf that has no > bleed. These pdfs are PDF/X-4, I am using a PdfWriter to do the work,

[iText-questions] Absolute text position inside a ColumnText (or something like)

2008-09-05 Thread Campa
Hi all, My problem is: i need to print a group of data lines, and i need to keep those groups togheter over pages. I tried many ways to manage this problem, in the beginning i tried using PdfContentByte.MoveText, and it works fine. But in this way i'm not able to manage group of data. So i switche

[iText-questions] Set size of ZapfDingbatsList symbol

2008-09-05 Thread Phil Newman
Hi there. I hope you can help with the following problem: I am creating a list with ZapfDingbats symbols but the symbol that is displayed is larger than the text that i am adding as a listitem. Is there any way to reduce the size of the symbol? My text is size 8 Helvetica and am using character

[iText-questions] PDF/x4

2008-09-05 Thread Dean Krueger
Hi, I am trying to add 36pts of whitespace around a pdf that has no bleed. These pdfs are PDF/X-4, I am using a PdfWriter to do the work, I create a new doc the size I want, then place the imported PDF at the position I want and the pdf looks good. However all the output intent data from the PDF/X

[iText-questions] Absolute text position inside a ColumnText (or something like)

2008-09-05 Thread Campa
Hi all, My problem is: i need to print a group of data lines, and i need to keep those groups togheter over pages. I tried many ways to manage this problem, in the beginning i tried using PdfContentByte.MoveText, and it works fine. But in this way i'm not able to manage group of data. So i switche

[iText-questions] Steve Senneff/HOME_OFF/AGLIFE is out of the office.

2008-09-05 Thread Steve_Senneff
I will be out of the office starting 09/05/2008 and will not return until 09/11/2008. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SD

Re: [iText-questions] XFA & setFieldProperty

2008-09-05 Thread Paul Hastings
Paulo Soares wrote: > No, unless you are willing to dive into the xml but I don't think that's what > you are asking. yes, the "no" it can't be done was what i was looking for (i'll leave the xml cliff diving for when we're really desperate ;-). the cf error message was throwing me. thanks.

Re: [iText-questions] iText and PDF/A metadata

2008-09-05 Thread Leonard Rosenthol
It's not incompetency just incomplete knowledge of PDF.Since PDF 1.4 (Acrobat 5), Adobe has moved away from the classic "DocInfo" type of metadata to an XML-based metadata called XMP - though PDF/A was the first subset of PDF to REQUIRE XMP. So what you need to do is read up on XMP and

Re: [iText-questions] Converting from itext 1.3x to 2.1.3

2008-09-05 Thread Paulo Soares
It all depends on what you are using. Table will probably render differently (and it's not supported anymore), some methods () were replaced with get(), Graphic was replaced, etc. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Cam

Re: [iText-questions] Itext questions on watermarks

2008-09-05 Thread Paulo Soares
2. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Campbell, Mark > Sent: Thursday, September 04, 2008 9:16 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Itext questions on watermarks > > Itext, > > > > Which ve

Re: [iText-questions] XFA & setFieldProperty

2008-09-05 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Paul Hastings > Sent: Friday, September 05, 2008 3:51 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] XFA & setFieldProperty > > probably a dumb question but i'm getting a

Re: [iText-questions] Converting from itext 1.3x to 2.1.3

2008-09-05 Thread Iliadis Yannis
You could look the iText history http://www.1t3xt.com/about/history.php for information. 2008/9/4 Campbell, Mark <[EMAIL PROTECTED]> > Itext, > > > > Is there a conversion map for jumping from 1.3 to 2.x? I have a need to > convert to the latest software, but having a roadmap to make that chan

[iText-questions] Converting from itext 1.3x to 2.1.3

2008-09-05 Thread Campbell, Mark
Itext, Is there a conversion map for jumping from 1.3 to 2.x? I have a need to convert to the latest software, but having a roadmap to make that change would be easier for establishing a conversion and testing plan for this change. My assumption is that this software is not backward compatibl

[iText-questions] Itext questions on watermarks

2008-09-05 Thread Campbell, Mark
Itext, Which version of itext did you resolve the watermark issue? Thank, Mark P&G - GBS Product Innovation Capability Service Line PLM Operations Management Product Services Account Manager Mason Business Center, DS2-8B2 (513) 622-5334, Starnet 622-5334 Email: [EMAIL PROTECTED

[iText-questions] iText and PDF/A metadata

2008-09-05 Thread Сергій Карпенко
Hi all I use iText for extract PDF text and PDF-file metadata. In last case code is simple PdfReader reader = new PdfReader(is,"".getBytes()); //Read the file metadata HashMap info = reader.getInfo(); reader.close(); String author = (String)info.get("Author");