Why dont you do the folowing ?
PdfPCell cell = new PdfPCell(new Phrase(my phrase, font));
cell.setColspan(colspan);
ptable.addCell(cell);
Message: 1
From: Miller, Eric [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]'
[EMAIL PROTECTED]
Date: Fri, 21 Jun 2002 13:46:25 -0600
Subject:
Quoting Jonathan Dawson [EMAIL PROTECTED]:
Hello,
I am a developer who uses iText to create dynamic PDFs for our
Members. We have used it for quite a while, and it works well.
The biggest issue we have is its inefficiency. The version we have is
extremely CPU intensive and takes
Hi, i proposed this change when implementing the table-in-colspanned cells feature.
This method is so 'internal' that no one outside the iText package should need to call
it. It should be ensured that iText calls it when necessary internally. If the writers
beeing in sub-packages cannot access
Mark Hall wrote:
I've got a problem with the current CVS version. The table object used
to have a public void complete() method.
Sorry, I received some new code and uploaded it to CVS without testing.
I made the complete method public again.
I'm not sure whether there's been a design change
Hello all,
I would like to know if latest version (1.00) of iText support CJK OpenType
font other than fonts in Asian font pack.
Best regard,
KuMi
---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
Quoting m g [EMAIL PROTECTED]:
Hello.
I am new to itext and going through the tutorial. I am trying to work with
the pdf.jsp example written by Tal Liron and I am getting the following
message.
First of all: it is never a good idea to generate PDF with JSP.
JSP doesn't handle binary
Quoting Christophe Gadaix [EMAIL PROTECTED]:
Hello,
I'm a french developper and I use the XML parser to generate accentuate
character (like é). But it seems it doesn't display the 'é'. The second
effect is that it eats the next two second letters (ex : 'éatt' becomes
't').
I don't know
Thank you Bruno. I hope it will be soon.
This XML module is so interesting. This is the ideal way I found to generate
dynamic PDF.
Christophe.
-Message d'origine-
De : Bruno [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 24 juin 2002 13:33
À : Christophe Gadaix
Cc : [EMAIL PROTECTED]
Objet :
Fred gives me the solution :
I used the UTF 8 encoding (?xml version=1.0 encoding=UTF-8?). I've
changed the encoding as following : ?xml version=1.0
encoding=iso-8859-1 ? and it works !
Thanks !
-Message d'origine-
De : Bruno [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 24 juin 2002
Christophe Gadaix wrote:
Fred gives me the solution :
I used the UTF 8 encoding (?xml version=1.0 encoding=UTF-8?). I've
changed the encoding as following : ?xml version=1.0
encoding=iso-8859-1 ? and it works !
Yes, I was just going to mail you the same answer ;-)
Anyway, I found another bug
Hi, i started using iText a few days ago and unfortunately Im still having
some troubles using tables.
I need to create a Pdf page with several different tables within a 'big'
table. I did it using nested tables. The problem is that each table must
have an outside border but not an inside
I understood the original complaint to be that he was
calling setColspan over and over. I believe that the
advice Paulo would give would be to subclass PdfPCell
and call setColspan in the constructor.
-Matt
--- Cooremans, Rony
[EMAIL PROTECTED] wrote:
Why dont you do the folowing ?
Yes, that is his point as I see it--he wants to
abbreviate/simplify his code. Subclassing should
achieve that.
-Matt
--- Cooremans, Rony
[EMAIL PROTECTED] wrote:
mm doesent that comes to the same in essence ?
you add a cell and before you add it to the table
you give it a certain
colspan
Hi ,
I am creating a simple PDF document and my document
runs into 10 pages. I am using font size 8 and I want
the space between the lines as 8. With the code given
here ,
the first page looks better with only 8 as leading
value but all other pages from 2 to 10 are defaulting
to 8x1.5=12
Hi ,
I am creating a simple PDF document and my document
runs into 10 pages. I am using font size 8 and I want
the space between the lines as 8. With the code given
here ,
the first page looks better with only 8 as leading
value but all other pages from 2 to 10 are defaulting
to 8x1.5=12
It's the kind of obvious solution that is so obvious
it slips right by. I wouldn't have thought of it
myself if I hadn't seen Paulo hand out similar answers
several times previously... :) Glad I could help.
-Matt
--- Miller, Eric [EMAIL PROTECTED] wrote:
Yes, I did want to abbreviate the
If you don't create the Paragraph with the same constructor why would you
expect to obtain the same results? Where's the explicit leading 8 in the
second constructor?
Best Regards,
Paulo Soares
- Original Message -
From: amala kethineni [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
So your images should always go into the PDF at the highest res you will need to
print at.
This may make them large, but when the PDF prints it will print them as good as
possible.
So unless you are trying to reduce download times or something, don't make two
PDF's... you just need the one.
I've already read the iText FAQ and mail-archive, and
I suspect the answer to my question is no but I'd
like to make sure before deciding that iText can't
help me and look elsewhere:
Can iText be used to read/parse the bookmarks (outline
objects) out of an existing PDF file? I've tried to
come
Hello Pauro,
Thank you for answering my question.
But I don't really understand it.
I tried your sample of 'cff_font.java', and generated PDF has subsetted
font.
Next, I replaced font of 'liz.otf' with 'KozMinStd-Heavy' (Japanese OpneType
font) , but I got an error.
Does your answer mean that
Can iText be used to read/parse the bookmarks (outline
objects) out of an existing PDF file?
Yes it can - BUT you'll need to write all the bookmark
specific code yourself.
iText has all the PDF parsing and object management classes
that you'll need, but doesn't know anything
21 matches
Mail list logo