Hello iText team,
I am applying a "watermark" (text) to an existing PDF document using the
iText API. I have a problem document. This PDF document was created by
"PDFScanLib v1.2.2 in Adobe Acrobat 7.0.8." The watermark text is applied
to the document, but WAY off of the page.
Here is what Ado
Hi!
I'm working to an asynchronous digital signature service and now i'd
like to add pdf capabilities.
I need a way to make the hashing process repeatable: if i try to insert
a signature in a pdf document the hash of the signable part should be
the same doesn't matter how many times i invoke the me
Try:
FontFactory.register("/resources/fonts/times.ttf", "my_times_font");
Paulo
- Original Message -
From: "Trevor Kramer" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here"
Sent: Tuesday, November 28, 2006 10:14 PM
Subject: [iText-questions] FontFactory.register and j
Use an absolute path. If you don't know what path, neither do we.
Paulo
- Original Message -
From: "muleiro" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, November 28, 2006 6:23 PM
Subject: [iText-questions] write pdf file to disk
>
> Hii think i'm fighting against a quite simple problem
Is it possible to use a font in a jar with FontFactory.register()?
When I try this
FontFactory.register(getClass().getResource("/resources/fonts/times.ttf").getPath(),
"my_times_font);
I get a Caused by: ExceptionConverter: java.io.FileNotFoundException:
/Users/user/Documents/src/project/dist/pro
Hii think i'm fighting against a quite simple problem but i'm afraid i
can't resolve it.
I create my pdf file using a FileOutputStream like this:
FileOutputStream fos = new FileOutputStream("OUT.pdf");
PdfCopy copy = new PdfCopy(document, fos);
(...)
And iText creates the OUT.pdf as i want
Peyman Pouryekta wrote:
> I am using the spring framework and there is a class called
> AbstractPdfView to create PDFs with iText.
> there is one method to create a PDF.
>
> protected abstract void buildPdfDocument(
OK, I asked a colleague for his copy of "Spring in Action":
http://www.manning.
Ok.
Thanks for the trouble.
Bruno Lowagie (iText) schrieb:
> Peyman Pouryekta wrote:
>
>> I am using the spring framework and there is a class called
>> AbstractPdfView to create PDFs with iText.
>> there is one method to create a PDF.
>>
>> protected abstract void buildPdfDocument(Map model,
>
Peyman Pouryekta wrote:
> I am using the spring framework and there is a class called
> AbstractPdfView to create PDFs with iText.
> there is one method to create a PDF.
>
> protected abstract void buildPdfDocument(Map model,
> com.lowagie.text.Document document,
> com.lowagie.text.pdf.PdfWr
Hi Bruno,
I've got a similar problem.
I am using the spring framework and there is a class called
AbstractPdfView to create PDFs with iText.
there is one method to create a PDF.
protected abstract void buildPdfDocument(Map model,
com.lowagie.text.Docume
Hey.
This is the only thing i changed on the .ant.properties:
itext.src=${itext.home}/itext-src-1.4.7
then i did ant -f ant\compile.xml compile and ant -f ant\compile.xml jar
Henry Lu-2 wrote:
>
> I got following wornings when I compile the source:
>
> c:\java_dev\itext\1.4.5\source_code>ant
Patrick Kaegi wrote:
ok! me again! i think now we have the solution:
it's the font size which makes the problem.
try this code
In attachment you find a code sample that reproduces the problem.
I have uploaded a fix to CVS (classes PdfDocument and PdfChunk)
that solves the problem.
Thanks for r
setField() knows nothing about formatting. If you want formating you
should provide it and know when to provide it. Some examples with MAXLEN
3:
setField(name, "abcde") shows "abc" and stores "abc"
setField(name, "12345", "$skeifeif") shows "$skeifeif" and stores "123"
Paulo
> -Original
I got following wornings when I compile the source:
c:\java_dev\itext\1.4.5\source_code>ant jar
Buildfile: build.xml
jar:
compile:
[delete] Deleting directory
C:\java_dev\itext\1.4.5\source_code\build\bin\cla
sses
[mkdir] Created dir:
C:\java_dev\itext\1.4.5\source_code\build\bin\classe
It worked.
Compiled and created a new Itext jar...don't why but my jar is 1.39 mbytes (
i changed the 1.4.7 source).
Thanks.
Bruno Lowagie (iText) wrote:
>
> Noe Rocha wrote:
>> Ok.
>> you're saying that if i download the source code and change the code on
>> PdfGraphics2D like you point and the
Thank you very much.
On Tue, 2006-11-28 at 09:28 +0100, Bruno Lowagie (iText) wrote:
> Rosti Gendler wrote:
> > Hello,
> > Is there any way a check box or radio button can be added as part of the
> > table? Added to a table cell for example? I'm looking into an example
> > provided in Javadoc for
Thank you Paulo and Bruno!
Paulo, I read about that fix you mentioned here and I agree with you. IMHO here
we have a more complex problem we expect.
In your example and the thread spoken here about before the fix was done, always
a preformatted value was given into the setField() method. In my c
Thank you for the fast answer.
Alin.
- Original Message
From: Mark Hall <[EMAIL PROTECTED]>
To: itext-questions@lists.sourceforge.net
Cc: Alin Popa <[EMAIL PROTECTED]>
Sent: Tuesday, November 28, 2006 1:42:57 PM
Subject: Re: [iText-questions] Html into RTF
On Tuesday 28 November 2006 1
Hi
unfortunately the drawing functionality is very new so there is very little
documentation.
The basic interaction is that the RtfShape acts as a container to the
RtfShapePosition and a list of RtfShapeProperties. The RtfShapePosition is
used to define where on the page the shape will be posi
If I remember well pdftk was built on the iText jdk 1.1 version. Start
by converting iText so that it works in jdk 1.1, only then go to GCJ.
You have a lot or work ahead.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Bruno Lowagie (iTex
Paulo Soares wrote:
> It's a bug but for other reasons. The display can be bigger than MAXLEN.
> Suppose that you have a currency field with a MAXLEN of 2. The number
> "20" would be displayed as "$20". In the case of the simple
> setField(name, value) the display should follow the value, even if
>
Noe Rocha wrote:
> Ok.
> you're saying that if i download the source code and change the code on
> PdfGraphics2D like you point and them compile the new iText lib solves my
> problem.
I'm not sure, but it's worth trying.
br,
Bruno
--
Ok.
you're saying that if i download the source code and change the code on
PdfGraphics2D like you point and them compile the new iText lib solves my
problem.
Thanks.
Bruno Lowagie (iText) wrote:
>
> Noe Rocha wrote:
>> I'm trying to compile a java class to a binary with gcj and using the
>> iT
Ronny wrote:
> Hello,
>
> I filling an Pdf (V1.6) using iText 1.4.4. Somethimes the values exceed the
> MAXLEN value of a textfield. The problem I have is that the display value is
> still the untruncated value.
>
> Why is the value truncated but the display value not?
>
>>From my point of view
It's a bug but for other reasons. The display can be bigger than MAXLEN.
Suppose that you have a currency field with a MAXLEN of 2. The number
"20" would be displayed as "$20". In the case of the simple
setField(name, value) the display should follow the value, even if
truncated. The fix is in the
On Tuesday 28 November 2006 11:53, Alin Popa wrote:
> Could you please someone, tell me, that it is possible to put HTML code
> into RTF Paragraph and to be displayed like in a browser ? I'm trying very
> hard to do one API that will transform HTML tags into RtfFont or something
> close to that, bu
Noe Rocha wrote:
> I'm trying to compile a java class to a binary with gcj and using the iText
> lib, but the process stumbles on com.sun.image.codec.jpeg class, there is no
> support for this non standard classes.
> What is the best way to workaround this?
>
> I was trying to strip class from iTe
I'm trying to compile a java class to a binary wint gcj and the process
stumbles on com.sun.image.codec.jpeg class, there is no support for this non
standard classes.
What is the best way to workaround this?
I was trying to strip class from iText lib, but this is not a good idea,
because a lot mo
> > Why would you want to wrap a PdfPTable inside a Paragraph?
>
> I want to indent the whole table.
OK
> > I'll have a look at it tomorrow.
I have spent a long time trying to find the best
way to fix this. The fix is in CVS (PdfDocument),
but I still have to test if it doesn't break
other fu
Bruno Lowagie (iText) a écrit :
> Henry Lu wrote:
>> Has the book been published? I have not received it.
>
> If you have bought the eBook, you should have received a mail
> with a link to your personal copy of the eBook.
> If you have bought the paper book @ Manning, you get the eBook
> for fre
Hello,
Could you please someone, tell me, that it is possible to put HTML code into
RTF Paragraph and to be displayed like in a browser ?
I'm trying very hard to do one API that will transform HTML tags into RtfFont
or something close to that, but I don't really have any time for that :(
I saw
Hi,
I am trying to sign the PDF file with PdfStamper - this goes fine, but new
objects are compressed with flate - is it possible to turn off the compression
for new object added using PdfStamper (like it is possible for the Document by
setting the compression to false)?
Regards,
X-aver
Henry Lu wrote:
> Has the book been published? I have not received it.
If you have bought the eBook, you should have received a mail
with a link to your personal copy of the eBook.
If you have bought the paper book @ Manning, you get the eBook
for free. You should have received a mail with a link
Rosti Gendler wrote:
> Hello,
> Is there any way a check box or radio button can be added as part of the
> table? Added to a table cell for example? I'm looking into an example
> provided in Javadoc for RadioCheckField class. It seems like one would
> need to specify the absolute location in the do
> [EMAIL PROTECTED] wrote:
> >
> > Hello,
> >
> > i have a problem with a paragraph that contains a pdfptable.
>
> Why would you want to wrap a PdfPTable inside a Paragraph?
I want to indent the whole table.
>
> > Here is a demo application
>
> I'll have a look at it tomorrow.
> br,
> Bruno
35 matches
Mail list logo