Adam Mork wrote:
> For example does the lly value represent the baseline for text?
No, ColumnText starts writing at the top.
> Also how does the height of the column affect the output.
Either the content fits the height (and everything is sent to the
output), or not (in which case, some content
On 9/5/09 11:05 AM, "Tony Stevens" wrote:
> I'm doing some experiments to see what I can achieve with PDF optional
> content, and I'm confused with what's happening when I add an annotation in
> a specific layer. In the PDF below, page 1 layer 2 has a link (the red X) to
> show the alternate versi
Art Purcell wrote:
> EXCEPTION : java.lang.IllegalArgumentException: Font size too small: 0.0
> java.lang.IllegalArgumentException: Font size too small: 0.0
Somewhere in your HTML, something causes to create a font with size 0.
If you find out where, we may be able to help you, but we can't guess
I'm doing some experiments to see what I can achieve with PDF optional
content, and I'm confused with what's happening when I add an annotation in
a specific layer. In the PDF below, page 1 layer 2 has a link (the red X) to
show the alternate version of the page in layer 1. This works, but when
la
I am re-writing a pdf output component for a software program that needs to
accurately match common office document formats. I decided to use ColumnText to
write out lines of text. I create a new column text for each line of text that
I output. For the most part my x-values are spot on, but my y
Hi,
I'm using iText 2.1.7. I'm creating a PDF from data pulled from a DB. I'm
rendering text components and using HTMLWorker.parseToList() to render some
HTML components. This doesn't always work, but that's OK for now, I understand
the supported functionality is limited. (Some of the exceptio
vikas sharma wrote:
> Hi,
>
> I am using Adobe Acrobat Pro 9 to create pdf template.
> I am using iText API to fill this template with my required values to
> make a result pdf file.
>
> I have a requirement.
> What should i do if i need to insert an array in the exisiting template,
> with the
Big docs will need big memory and iText has some optimizations but it's not
really stellar in memory usage. You can add annotation with
PdfCopy.createPageStamp().addAnnotation().
Paulo
> -Original Message-
> From: merco [mailto:d.merca...@sygest.it]
> Sent: Friday, September 04, 2009 7
Hi,
I am using Adobe Acrobat Pro 9 to create pdf template.
I am using iText API to fill this template with my required values to make a
result pdf file.
I have a requirement.
What should i do if i need to insert an array in the exisiting template, with
the help of iText.?
How the templat
chennupati wrote:
> I am using ChapterAutoNumber,
Why? It adds complexity to your app,
and it makes your app error prone.
Don't use Chapters, but use document.newPage() every time
you've added a table.
Remove:
> public void onChapter(PdfWriter arg0, Document arg1, float arg2,
>
You must have a saveState()/restoreState().
Paulo
> -Original Message-
> From: Mathias Nilsson [mailto:wicket.program...@gmail.com]
> Sent: Friday, September 04, 2009 9:15 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Keep the background in pdf
>
>
> I ha
If you don't use PdfCopy or PdfStamper you can use whatever PdfReader provides
you even with protected documents. This includes getting the content and
looking for text in it.
Paulo
> -Original Message-
> From: Sophia Cheng [mailto:sophia.ch...@gmail.com]
> Sent: Friday, September 04,
Using this method to add a signature, how would you go about setting the
signature field to READ ONLY so that Adobe Reader v9.1 doesn't show the
"Lock document after signing" checkbox?
1T3XT info wrote:
>
> This is completely wrong:
>> PdfAcroForm acroForm = stamp.getWriter().getA
Hello,
Hopefully this isn't a stupid question...
Here is what I am trying to do. I have a folder of journal articles (in pdf
format) that have been downloaded (legally) for research. What am I trying
to do is to write a little java app that will go through each article and
extract the digital o
PdfCopy.addJavaScript() should work.
Paulo
> -Original Message-
> From: Zoran Avtarovski [mailto:zo...@sparecreative.com]
> Sent: Friday, September 04, 2009 2:18 PM
> To: Post all your questions about iText here
> Subject: [iText-questions] PdfCopy and javascript
>
> I've noticed what m
Mathias Nilsson wrote:
and I'm not implying that itext is doing anything wrong. It's just that I
can't get it right.
Then you have to provide a standalone example that reproduces the
problem, just as I'm now providing you with an example mashed up from
two existing examples that works as expe
The removal of all javascript is intended. When joining several PDFs it's
impossible to make sure that the javascript will still work. You can use
PdfCopyFields.AddJavaScript() to add the javasript that you want to include.
Paulo
> -Original Message-
> From: Goel, Manoj [mailto:manoj.g
Manfred,
mamueller wrote:
> i have found the error:
>
> sap.setExternalDigest(new byte[2048], null, "RSA");
>
> must be changed to:
>
> sap.setExternalDigest(new byte[128], null, "RSA");
>
> I dont know why but i works.
Ok, when trying to make the expected and actual signature size match,
Hi Manfred,
mamueller wrote:
> - How can i inspect the signed pdf? With a text editor or a special tool?
For a first look I use a viewer that has a hex mode of some kind (e.g. PSPad
or the viewer of TotalCommander, but there are many alternatives). This is
what I used for your file.
For a more
Hello,
i have found the error:
sap.setExternalDigest(new byte[2048], null, "RSA");
must be changed to:
sap.setExternalDigest(new byte[128], null, "RSA");
I dont know why but i works.
Thanks to all
Manfred
mamueller wrote:
>
> Hello Michael,
>
> im a newbie to pdf sign with itext.
> I
I¹ve noticed what might be an oversight in the code with regards to adding
javascript to documents when using PdfCopy to create the documents.
The PdfAction class has method signatures to add javascript when using a
PdfWriter, public static PdfAction javaScript(String code, PdfWriter writer,
boole
Hello Michael,
im a newbie to pdf sign with itext.
Im a little bit confused.
- How can i inspect the signed pdf? With a text editor or a special tool?
- How can you see that the /Contents only span the bytes from position 837
through 1100?
- Where do you get the information from that the /ByteR
Hello Manfred,
mamueller wrote:
> original.pdf, signed.pdf and .keystore attached.
> Password for key and keystore: my_password
If you inspect the signed.pdf, you see that the /Contents only span the
bytes from position 837 through 1100 while according to the /ByteRange array
they should end at
original.pdf, signed.pdf and .keystore attached.
Password for key and keystore: my_password
Thanks in advance
Manfred
Andreas Kuehne-2 wrote:
>
> Hi Manfrrad,
>
> can you make the PDF doc available ?
>
> Greetings
>
> Andreas
>
>
>
> - Original Message
> From: mamueller
> T
Hi Manfrrad,
can you make the PDF doc available ?
Greetings
Andreas
- Original Message
From: mamueller
To: itext-questions@lists.sourceforge.net
Sent: Friday, September 4, 2009 9:46:23 AM
Subject: Re: [iText-questions] Need Help! Self Signed external siganture
example fails
ma
I am adding it to the chunk. Separator is the chunk and sep the dottedline.
and I'm not implying that itext is doing anything wrong. It's just that I
can't get it right.
--
View this message in context:
http://www.nabble.com/DottedLineSeparator-and-borders-tp25288829p25290372.html
Sent from the
I have a pdf that I stamp on. I add some blocks with backgrounds colors. when
adding the last block I want the null color ( ie the color used when no
color was set for background ). How can this be done?
--
View this message in context:
http://www.nabble.com/Keep-the-background-in-pdf-tp25289941
Mathias Nilsson wrote:
> Also when using the DottedLineSeparator my pdf get's corrupted. If I open
> it in acrobat and resave then everythings works fine again.
Please read these simple rules:
Provide us with a standalone example that allows us to reproduce the
problem, and we'll have a look
And by the way:
Mathias Nilsson wrote:
> DottedLineSeparator sep = new DottedLineSeparator();
> paragraph.add( separator );
You're adding a separator straight to the Paragraph? Why aren't you
wrapping the separator in a Chunk as is done in the examples?
br,
Bruno
-
mamueller wrote:
>
> I have checked the certificate. It seems to be RSA, 1024
>
>
> System.out.println(chain[0].getPublicKey());
>
> prints:
>
> Sun RSA public key, 1024 bits
> modulus:
> 97230408356031235204215703559799504011052133827156008351259515758061051903247576405647097468084878026
mamueller wrote:
>
> I have checked the certificate. It seems to be RSA, 1024
>
>
> System.out.println(chain[0].getPublicKey());
>
> prints:
>
> Sun RSA public key, 1024 bits
> modulus:
> 97230408356031235204215703559799504011052133827156008351259515758061051903247576405647097468084878026
Now i'm using
_reader = New PdfReader(New RandomAccessFileOrArray(_fromfile, True),
Nothing)
_Dest = New PdfStamper(_reader, New FileStream(_tofile,
FileMode.CreateNew), PdfWriter.VERSION_1_4, _appendMode)
the memory goes from 65924KB to 343164KB, so about a half.
I'm wondering if i can add an
Hi All,
When merging pdf's using PdfCopyfields the javascript is lost. How can
we get the javascript to work or fire automatically/
So I have code like this:
ByteArrayOutputStream pdfBAOS = new ByteArrayOutputStream();
InputStream dataStream =
externalContext.
Also when using the DottedLineSeparator my pdf get's corrupted. If I open
it in acrobat and resave then everythings works fine again.
--
View this message in context:
http://www.nabble.com/DottedLineSeparator-and-borders-tp25288829p25288833.html
Sent from the iText - General mailing list arc
34 matches
Mail list logo