I would like to see the PDF that causes the error.
Paulo
- Original Message -
From: "nando.dev" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, August 28, 2007 6:31 PM
Subject: [iText-questions] Patch for PdfStamperImp
> Hi,
> I'd found a problem when using iText to add text over an existing
Each Acrobat version has a different layout, you'll have to complain to
Adobe about this. There's no way to make it look consistent in all versions.
Paulo
- Original Message -
From: "seedy" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, August 28, 2007 5:55 PM
Subject: [iText-questions] .SetFi
Hi,
I'd found a problem when using iText to add text over an existing
pdf document throwed a ClassCastException. I'd correct this problem in
iText 2.0.4.
I send a patch which resolve this problem.
Bye,
Index: /datos/workspace/iText-core/src/com/lowagie/text/pdf/PdfStamperImp.java
=
Ok I realize this is a known thing, Just looking for some advice.
Using .SetFields doesn't seem to put the text in the right place, depending
on both the creator of the pdf and the viewer
.
I also know I can use .SetExtraMargin to correct for this.
My question is, is there a consistent way to u
The approach we took to get around the problem was to load the file ourselves
and then
pass the byte array to the library instead of the filename as shown below,
thus ensuring
that the input source file only gets read in once. Any reOpen()'s within
the library results
in a re-read of the byte str
Hi,
with the following source can you replease test with blanks
NO WARRANTY!
--
public static void main(String argv[]) {
System.out.println("input file: " + argv[0] + ";putputfile: "
+ argv[1]);
String existingPdf = argv[0];
> Because that method has a different purpose than
> the getPageSizeWithRotation method.
Ah, thanks. :)
> It's better that you write your own code so that
> you know which page sizes are equals according to
> your requirements, because not every page that
> is equal to you, will be equal to me.
On 28.08.2007, at 17:29, Leonard Rosenthol wrote:
> So why not simply write a Digital Signature Handler plugin for
> Acrobat/Reader? That's what they are for...
Because there might be a chance I could do this with pipeline (take
some data -> put it into a PDF as a fake signature -> extract t
On 28.08.2007, at 16:19, Paulo Soares wrote:
> You can put whatever you want in the digital signature payload and
> in the
> signature dictionary.
Yes. I've successfully implemented it based on examples found on the
web (http://itextpdf.sourceforge.net/howtosign.html) and with little
help fro
Thompson, Mark wrote:
> This question may have been asked already.
Yes, it has been answered over and over again.
> How do I have the footer print at the bottom of the first page as well
> as all subsquent pages?
Either you are using the HeaderFooter class (a class
you shouldn't use) and you ar
Anup HJ wrote:
> Is there any method by which we can add a radio button(s) into a
> table(cell).
> I know that the text box can be added to the table.
> I want to know about the radio button(Check Box also).
> Please can any body help me?
Have a look at the source code of the first example
in Cha
andychi12 wrote:
> Hi,
> Excuse me , I'm confuse about your answer .
> Could I ask again ?
Yes, but you'll get the same answer over and over again.
> Your mean was , single quotation mark can't be shown when I setting below ?
> > ==
>> PDF font na
steve poling wrote:
> I started writing some butt-ugly code (in iTextSharp) to explicitly look
> in the PdfReader's Catalog for NAMES then JAVASCRIPT in that then KIDS
> in that then from that PdfArray look at NAMES... I'm hoping there's a
> better way.
I'm sorry, but if you dig into the lower
I'm sorry Bruno!
The same :-) !
Repleasing from text.
I will be look about an example from the PRTokeniser
br
rumen
---
rumen varbanov wrote:
> Hi,
> how to to parse the content stream from PdfContentByte?
With PRTokeniser. But what is the purpose?
You'll nee
Bruno,
Thank you. I'll check out your changes.
> If you use the version of iText that is in SVN, you can
> execute the adapted Calculator example (see attachment).
> As you can see: I used custom names for every piece of JS.
> br,
> Bruno
>
When you implemented a mechanism to WRITE these cust
Richard Michael wrote:
> System.out.println doc.getPageSize():
> Rectangle: 612.0x792.0 (rot: 0 degrees)
>
> System.out.println doc.getPageRotation():
> 90
And
System.out.println doc.getPageSizeWithRotation():
Rectangle: 612.0x792.0 (rot: 90 degrees)
> Why doesn't getPageSize indicate th
rumen varbanov wrote:
> Hi,
> how to to parse the content stream from PdfContentByte?
With PRTokeniser. But what is the purpose?
You'll need to keep your PDF Reference close
to understand the meaning of every operator
and operand.
br,
Bruno
So why not simply write a Digital Signature Handler plugin for
Acrobat/Reader? That's what they are for...
Leonard
On Aug 28, 2007, at 3:07 PM, Martin Paljak wrote:
>
> On 28.08.2007, at 15:53, Paulo Soares wrote:
>
>> Each time a signature is applied new ids are created. Signing the
>> same
Hi,
how to to parse the content stream from PdfContentByte?
br
rumen
begin:vcard
fn:Rumen Varbanov
n:Varbanov;Rumen
org:dox.at;Software
adr;quoted-printable:;;Wartingergasse 43/13;Graz;Steiermark;8010;=C3=96sterreich
email;internet:[EMAIL PROTECTED]
title:Dipl. Ing.
tel;work:+43 316 811 966 -40
t
You can put whatever you want in the digital signature payload and in the
signature dictionary. I don't see any issue here. If you add the signature
in append mode you can even get the original PDF before signing.
Paulo
- Original Message -
From: "Martin Paljak" <[EMAIL PROTECTED]>
To:
On 28.08.2007, at 15:53, Paulo Soares wrote:
> Each time a signature is applied new ids are created. Signing the
> same PDF
> twice will never have the same hash.
That's not a requirement. The only requirement is to have a single
PDF and a single signature that should be verifiable only with
Each time a signature is applied new ids are created. Signing the same PDF
twice will never have the same hash.
Paulo
- Original Message -
From: "Martin Paljak" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, August 28, 2007 1:26 PM
Subject: [iText-questions] Embedding external signatures insid
With Designer created forms you can only sign an existing empty field.
Paulo
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Tuesday, August 28, 2007 1:05 PM
Subject: Re: [iText-questions] Question about Itext library and pdf
signature
Thanks for your quick answer :)
How cou
Hello!
I'd like to know if the following is possible:
1. User has a PDF file which he/she signs with some external
application. The hash of the original PDF file can not change for the
signature be valid, of course.
2. The external signature format is embedded inside the PDF as a
custom sign
steve poling wrote:
Hello,
If I go into Adobe Acrobat, I can menupick Advanced | JavaScript |
Document JavaScrpts... and then I can define named JavaScript functions,
that is, I can enter a function name, and associate with it some
JavaScript. Then if I look at the PDF at a low level, I see R
Hi Bruno,
> You are assuming that class Rectangle has its own implementation
> of the equals() method, which it hasn't. And even if you were able
Ah, sorry I was just hoping something similar would be possible, and
writing pseudo-code. I noticed the height and width related methods,
but it seeme
Thanks for your quick answer :)
How could I know the security settings?
Because I create all my different pdf in Adobe Designer without changing
settings :(
So it's for that I don't understand the difference!!!
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De
Bonjour Michael,
Your different PDF files may have different security setting in which signing
is not allowed.
Regards,
Thierry Paret
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, August 28, 2007 1:44
Hi,
I use your library Itext in a project to sign pdf file.
I try to follow the code example that I saw on your website but I have a
problem.
This is my java code :
try{
KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
ks.load(new FileInputSt
You are right, it was the re-opening. I commited some changes in the SVN and
now in my machine what took 2 minutes takes just 5 seconds to run.
Paulo
- Original Message -
From: "BorisTheCat" <[EMAIL PROTECTED]>
To:
Sent: Monday, August 27, 2007 3:31 PM
Subject: Re: [iText-questions] On
This question may have been asked already.
How do I have the footer print at the bottom of the first page as well
as all subsquent pages?
I'm writing a report that uses iText to create the PDF version, and the
clients would like a footer printed at the bottom of each page.
Thanks for your response
Hi,
I use your library Itext in a project to sign pdf file.
I try to follow the code example that I saw on your website but I have a
problem.
This is my java code :
try{
KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
ks.load(new FileI
Hi,
I am using iText for some project.
Actually I am trying to build acroforms.
Is there any method by which we can add a radio button(s) into a table(cell).
I know that the text box can be added to the table.
I want to know about the radio button(Check Box also).
Please can any body help me?
Hi,
Excuse me , I'm confuse about your answer .
Could I ask again ?
> You could try finding a glyph in the font that looks like
> a single quote and replace the quote in your String with
> the value that corresponds with that glyph.
> You could try using FontSelector so that an other font
>
Richard Michael wrote:
> Something such as..
>
> PdfReader source = new PdfReader("test.pdf");
> if ( source.getPageSize(1).equals(PageSize.LETTER) ) {
> (..do stuff..)
> }
>
> Am I on the right track?
No, you aren't.
You are assuming that class Rectangle has its own implementation
of
iTEXT USER wrote:
Hi Bruno,
Please find the attached file. The code is available. When you run this and
generate the pdf , you can see the tables are being splitted . I dont want
them to be splitted. Please suggest some alternatives.
http://www.nabble.com/file/p12361961/Test.java Test.java
steve poling wrote:
> It appears that writer.addJavaScript(string code) somehow assigns the
> name of "0" unlike the names I'd like to provide.
yes, the names are attributed in PdfDocument.
> Is there a way to defined NAMED document-level JavaScript functions?
Not yet, but maybe I could impleme
Eric Summkeller wrote:
> Thanks for your help! I understand that. Now I have another question. If I
> create the Paragraph with the font of the Phrase that I want to add I will
> get
> another problem if I want to add another Phrase into the Paragraph where the
> font style is for example not b
38 matches
Mail list logo