I like to ask for your help in two points that are not clear to me. When I
add an image to the template like
"templateImageFront.addImage(imageFront,scX,0,0,scY,500,500);" for what
position are the 2.,3.,5. and 6. parameter?
If I like to use the template several times in my document. Do I have to
Hi,
We have a requirement where in we would have a image as a background. the
text would need to start at a particular position in the page and it needs
to do a textwrap automatically. And there may/may not be a image too and all
these will have a image in the background. I'm able to complete al
I am writing a program where I am printing documents in a loop.
I have put it in a separate thread so that I can interrupt the
loop, and stop printing documents. I have a button that calls
interrupt on the Thread object. It did not seem to have any
effect so I scattered print statements through t
This class should take care of your labels or demonstrate how to handle this.
Here ya go, its public domain, no license or copyrights to wory about:
http://www.datavirtue.com/Software/dev/PDFLabels.java
Sean
-
Take Surve
> Hi,
>
>
> I am creating a pdf
> file consisting of chapters, sections and subsections. Now I want to add an
> jFreeChart Chart into a chapter or a section.
I, too, am using JFreeChart in my application. I simply add the charts as Image
objects to Paragraphs, as follows:
Paragraph result
Can somebody please help how to analize and fill in PDF forms that contain
text, checkbox and radio button fields. I know how to modify a text field but
can't find how to read what it contains. Regarding checkbox and radio button
fields I'm looking for an example how to read the value (on/off) a
Thanks for the review and the helpful tips, Bruno!
I built them in, and inspired by them, cleaned up a couple other things,
including handling a template where the long text field is not on the last page,
but an earlier one.
With the hope that it may help someone else, I include a slightly modifi
I've got a lot of data that's sorted out in tables for easy analysis. There are
some situations where I want to flag some bit of data as important. I've
noticed some odd behavior with respect to Images and Tables, and I was hoping
someone here could shed some light on this.
Below is some code
Can't do it with iText, Try:
Jpedal or Multivalent.
Bill Ensley
www.bearprinting.com
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Juan Carlos Araya Navarro
> Sent: Monday, January 22, 2007 9:20 AM
> To: itext-questions@lists.sourceforge.net
Hello,
We are trying to generate a PNG image from each page of a given PDF
File.
In the examples I can see how the PDF file is open, and also how each
page can be converted to an independient PDF file, but there is not information
or examples related to PDF to PNG transformatio
Hello,
I've a question concerning the memory usage of iText Objects.
You write in the book (at last, I received it two weeks ago), that memory is
only released after iText objects are added to the Document (flushed).
That's ok if you create a PDF document from scratch. But what about existing
PDF
Here's what I got.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of beppecosta
> Sent: Monday, January 22, 2007 4:56 PM
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] tiff2pdf with jbig2
>
>
> Yes, I did set
Yes, I did set it.
(I copied the code "as is". I just put some try/catch and import.)
Giuseppe.
Paulo Soares wrote:
>
> Make sure that you set "Document.compress = false" before starting.
>
> Paulo
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On
>
Make sure that you set "Document.compress = false" before starting.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of beppecosta
> Sent: Monday, January 22, 2007 4:24 PM
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-quest
Paulo,
First of all thanks for your code.
Now I've tried wit a couple of jbig images but when I open the document with
Reader I get the error
"A drawing error occurred"
Giuseppe.
Paulo Soares wrote:
>
> Here's the code:
>
> Document.compress = false;
> RandomAccessFile rf = new RandomAcc
Thanks for your information!
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn
Paul Gatewood wrote:
> In case this might help anyone else, here is the current
> code which does all:
Writing examples like this takes a tremendous amount of time
(I know because I have written hundreds of them), so I really
like it when people post feedback like this; I'm sure it will
prove usef
ah ha ha... nice one bruno.
You are even more intuitive than the Inuits.
You win 7 points. Thank you much.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance
Bruno Lowagie (iText lowagie.com> writes:
> So the best way to add "page X of Y" is to write a for-loop
> that gets the OverContent of every page and adds the "page
> X of Y" string at an absolute position.
>
> There's no need to use page events, and no need to use a
> PdfTemplate object. You ca
Genjiro wrote:
> I like to create a PDF file with the same graphic several times on each page
> and on the following pages.
In PDF syntax this is called a form XObject,
but because the word 'form' confuses people,
the corresponding object in iText is called
PdfTemplate.
> Only the text changes ov
Hello,
I hope you could help me.
I like to create a PDF file with the same graphic several times on each page
and on the following pages. Only the text changes over every graphic anf on
every page. Can I use an alias or something like that to link that picture
to keep the file size small? I will b
Daniel Brownell wrote:
> However, when I change either version to output to a
> ByteArrayOutputStream and flush it to the ServletOutputStream, it does
> not show the header/footer/watermark.
>
> Why would this occur?
You're not giving us much information.
I can only GUESS you have something lik
Gérard Martinelli wrote:
> I have a A4 format paper which is divided in 8 fixed-size rows and 3
> fixed-size colums (no margins neither for top/bottom nor for left/right).
> That means there are exactly 24 cells.
I would take the dimensions of the page,
and divide the height by 8 (h) and the
Hello,
I've made 2 versions of my report:
1. Using Table
2. Using PdfPTable
both versions will export nice PDF files with a logo header, watermark, and
page number footer.
However, when I change either version to output to a ByteArrayOutputStream and
flush it to the ServletOutputStream, it d
Hello,
I'm using ITEXT for a while, and today I have a problem about printing
on sticking labels.
I have a A4 format paper which is divided in 8 fixed-size rows and 3
fixed-size colums (no margins neither for top/bottom nor for left/right).
That means there are exactly 24 cells.
I need
Paul Gatewood wrote:
>> Use this form to create a new PdfReader and PdfStamper object.
>> Use the coordinates retrieved earlier to add the content on
>> page 5. The rest is similar to what you're already doing now,
>> with as main difference that the 'normal' fields on page 5 are
>> no longer acrof
Bruno Lowagie lowagie.com> writes:
>
> Gatewood, Paul (RSIS) wrote:
> > I have a "template" pdf with 5 pages.
> >
> > The first 4 pages have "normal" form fields. By calling them
> > "normal" I mean The runtime values for all such fields are all short
> > enough to fit within the corresponding
Eric Summkeller wrote:
> Thanks! You meant rowspan.
Indeed, that's what I meant.
Sorry for the confusion.
> One last question I've got yet. Could you explain me, what the main
> difference
> between the old Table objects and the new PdfPTable and PdfPCell objects is?
PdfPTable is only for PDF,
> Bruno Lowagie wrote:
> PdfPTable doesn't support colspan.
> You work around this with nested tables.
> br,
> Bruno
Thanks! You meant rowspan. I will do this with nested tables.
One last question I've got yet. Could you explain me, what the main difference
between the old Table objects and the n
Eric Summkeller wrote:
> In the old Table object I saw that the Cell object has an method to set the
> rowspan. The PdfPCell object hasn't such a method. How could I set the
> rowspan
> in a PdfPTable with PdfPCells?
PdfPTable doesn't support colspan.
You work around this with nested tables.
br
In the old Table object I saw that the Cell object has an method to set the
rowspan. The PdfPCell object hasn't such a method. How could I set the rowspan
in a PdfPTable with PdfPCells?
-
Take Surveys. Earn Cash. Influence
You might want to try JOOConverter for that:
http://jooreports.sourceforge.net/
Jurgen
Op maandag 22-01-2007 om 09:33 uur [tijdzone +0100], schreef Bruno
Lowagie (iText):
> ambi ambi wrote:
> > Can someone please comment if this is possible in iText?
>
> No, it's not possible in iText.
> br,
>
ambi ambi wrote:
> Can someone please comment if this is possible in iText?
No, it's not possible in iText.
br,
Bruno
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get t
Hi,
Subject: Read an existing Microsoft Word document (or RTF document), adding
header and writing to a new RTF document
My requirements are as follows:
1. Read an existing Microsoft Word document (or RTF document).
2. Add header, some images.
3. Write all this to a new Microsoft Word document
Hi,
Subject: Read an existing Microsoft Word document (or RTF document), adding
header and writing to a new RTF document
My requirements are as follows:
1. Read an existing Microsoft Word document (or RTF document).
2. Add header, some images.
3. Write all this to a new Microsoft Word document
On Sunday 21 January 2007 18:10, Eric W wrote:
> I have a problem when creating rtf file.
> When selecting blue color font in a phrase, next phrases are blue too
> What's wrong in my code ?
For some reason at the end of the Phrase the colour is not being reset to the
default colour. I'll look
36 matches
Mail list logo