Call fitsPage with an extra margin, just in case. 20 is a good number.
Best Regards,
Paulo Soares
- Original Message -
From: "Anton Ermak" <[EMAIL PROTECTED]>
To: "iText-questions" <[EMAIL PROTECTED]>
Sent: Friday, August 22, 2003 9:11
Subject: [iText-questions] Porblem with fitsPage / ge
Quoting Jemmee Yung <[EMAIL PROTECTED]>:
> Hi Mr Lowagie,
>
> I got your email in http://www.lowagie.com/. I am a JasperReport user and
> have some queries about the use of pdf fonts in unicode environment, as
> JasperReport says it uses iText for pdf generation I guess you should be
> the right
Some lines are missing??!!
Can you explain that better? PDFs work page by page and if the same
documents work from file they will certainly work the same way from a byte
array.
Best Regards,
Paulo Soares
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday,
Hi again,
I tried to solve the problem another way and use writer.fitsPage(table);
to check whether there is enough space or not.
Strangely this doesn't work either: writer.fitsPage(table) returns false
even when the table covers only 2/3 of the available space of the page.
It always allows 32 row
Do you have the right value in PdfPTable.setTotalWidth()?
Are you using the right dimensions (points)?
Best Regards,
Paulo Soares
- Original Message -
From: "Marc Lustig" <[EMAIL PROTECTED]>
To: "iText list" <[EMAIL PROTECTED]>
Sent: Friday, August 22, 2003 14:24
Subject: [iText-question
- Original Message -
From: "Ken AtPdi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 22, 2003 16:09
Subject: [iText-questions] Fonts
> We generate graphs in Java's Graphics2D and use iText to generate PDFs
> for
> display on the Web using the accepted practices shown i
At 12:04 PM +0200 8/22/03, Ricardo Coutinho wrote:
Is there a way to block the saving of a PDF? I have already checked
the archives and saw one suggestion which is to use 40 but
encryption. We are already using this method to block printing but
it has no effect on the saving of the document. Any
You must use BaseFont.getWidthPoint() to get the width of the text and then
add the right and left padding plus some slack.
Best Regards,
Paulo Soares
- Original Message -
From: "Margarita Lïpez del Campo" <[EMAIL PROTECTED]>
To: "iText" <[EMAIL PROTECTED]>
Sent: Thursday, August 21, 2003
Hi,
I have been using iText for about a week now. All I can say is WOW,
WOW, and WOW this is a GREAT tool. I have hit one stumbling block. One
of the variable PDF's I need to produce has three pages, and they are
all different sizes. I have figured out how to do everything on it
except siz
Hi,
I'm using the latest iText version.
I've inserted a table with width=100% into a RTF document. The
problem is that the table takes the whole page width, i.e.
217mm with page size A4, ignoring the page margin. But the
problem seems only to occur in MS Word 2002. It works with
StarOffice 5.1.
It's in the examples.
Best Regards,
Paulo Soares
- Original Message -
From: "Margarita Lïpez del Campo" <[EMAIL PROTECTED]>
To: "iText" <[EMAIL PROTECTED]>
Sent: Thursday, August 21, 2003 10:17
Subject: [iText-questions] rotate text
Hello!
I need to rotate text to put in a PdfPTable a
It can't be done without using one of those DRM plug-ins.
Best Regards,
Paulo Soares
- Original Message -
From: "Ricardo Coutinho" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 22, 2003 11:04
Subject: [iText-questions] Blocking saving PDF
> Hi all,
>
> Is there a w
Quoting "Carmona Perez, David" <[EMAIL PROTECTED]>:
> Hi all,
>
> I've observed that the cell spacing acts like the cell padding, because if I
> have two cells that are adjacent, there is no space outside the borders, but
> inside them. It seems a bug of the product.
Maybe you are using the ol
We generate graphs in Java's Graphics2D and use iText to generate PDFs for
display on the Web using the accepted practices shown in the tutorial and
the examples. The fonts that we use for headings, etc. are 2 of the
'standard' fonts included with the JDK/JRE - Lucida Sans and Lucida Bright.
W
Hi,
I have the following problem: I am adding new rows to a PdfPTable as
long as PdfPTable.getTotalHeight() is below a certain value. This value
is 22 cm. PAge size is A4.
What happens is that PdfPTable.getTotalHeight() is reporting this value
although the table has not even reached half of that
Thank you, I'll apply the patch.
Best Regards,
Paulo Soares
- Original Message -
From: "Klaus Bertram" <[EMAIL PROTECTED]>
To: "itext" <[EMAIL PROTECTED]>
Sent: Friday, August 22, 2003 10:55
Subject: [iText-questions] [PATCH] Table
> Hi all,
>
> here is a diff for the Table.java with
- Original Message -
From: "Jemmee Yung" <[EMAIL PROTECTED]>
To: "Bruno" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 21, 2003 10:08
Subject: [iText-questions] Re: itext unicode support
> Hi Bruno and all, I finally got the problem fixed by the useful
> resources in
>
You must know what you want. Landscape can be done in two ways: rotated or
not rotated.
Say you need a page with width and height where width is larger that height
just like a regular landscape. You could define the page size as:
new Rectangle(width, height);
or
new Rectangle(height, width).rota
Thank you, the fix was applied.
Best Regards,
Paulo Soares
- Original Message -
From: "Ronald Dauster" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 22, 2003 8:30
Subject: [iText-questions] NPE in TiffImage if RowsPerStrip is missing
> iText 1.0 throws a NullPointerE
iText 1.0 throws a NullPointerException if one
tries to read a bilevel TIFF image
that does not contain the RowsPerStrip tag
(278).
According to the TIIF 6.0 specification, pg. 39,
RowsPerStrip is optional and has a
default value of 2**32-1.
The following trivial patch fixes
this.
/src
Hi all,
I’ve observed that the cell spacing
acts like the cell padding, because if I have two cells that are adjacent,
there is no space outside the borders, but inside them. It seems a bug of the product.
What do you think?
David
Dear Paulo,
I have learnt from the iText release history that iText 0.93 has changed
this immediate page margin change effect. Let me experiment with iText 0.92.
If I want to incorporate this immediate margin change effect, is it going
to be an uphill task?
Regards
Ramana.JV.
-Origina
Hi all,
here is a diff for the Table.java with a solution for:
1 Table with 1 Cell and an inner Table with 1 Cell
it throws an Class cast exeption while the inner table are not converted
It seems that the if of the different row or cell can be redused only to
isTable but I had leave it in.
Requa
Hello Paulo,
From which version of iText this margin immediate effect is removed? I
want to use the version which are immediate effect of page margins.
Regards
Ramana.JV.
-Original Message-
From: Paulo Soares [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 6:31 AM
To: Jal
I will not be able to programmatically alter the size, because I'm using html to
define my content.
I have a html where I'm embedding an image. The I'm parsing this file into a document
which is chained to a PDFWriter and an RtfWriter.
So I need a way define the size in html tag which will be
Quoting Ricardo Coutinho <[EMAIL PROTECTED]>:
> Hi all,
>
> Is there a way to block the saving of a PDF? I have already checked the
> archives and saw one suggestion which is to use 40 but encryption. We are
> already using this method to block printing but it has no effect on the
> saving of the
Title: Blocking saving PDF
Hi all,
Is there a way to block the saving of a PDF? I have already checked the archives and saw one suggestion which is to use 40 but encryption. We are already using this method to block printing but it has no effect on the saving of the document. Any ideas?
Tha
Hi all,
here is a diff for the Table.java with a solution for:
1 Table with 1 Cell and an inner Table with 1 Cell
it throws an Class cast exeption while the inner table are not converted
It seems that the if of the different row or cell can be redused only to
isTable but I had leave it in.
Requa
Well, I don't know the actual page setup since I receive the width and
height parameters. And even if I could determine which page setup is used
(A-series, B-series) the user can still choose a custom file format and
specify an orientation. What do I do then?
if (gc.getPageFormat().getOrientation(
Hi Bruno and all, I finally got the problem fixed by the useful resources in
the archive. now i set the pdffont to arialuni.ttf and pdfencoding to
identity-h and it works for virtually any language now. only drawback, as
somebody mentioned in the list that text decoration doesn't quite work with
th
Use this to create the document instance:
Document document = new Document(PageSize.A4.rotate());
You can change 'A4' to another page format specified in PageSize.
Ciao
Mauro
- Original Message -
From: "Ligius Astratinei" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday,
Hi there
I'm also trying to accomplish concatenation between n -number of
PDF-documents... I'm using XSL-FO and Apache FOP to create my PDF's but
sometimes I need to concat multiple PDF documents. I'm no java expert but I've
tried to create an other version of com.lowagie.tools.concat_pdf f
How do I set up Landscape - Orientation in a PDF
file? The page size rectangle is rotated (actually width and height are
reversed) but there is no actual way to set page orientation.
I'm saying this because, if I want to print a PDF
from Acrobat I have to set page size and orientation again,
Hello,
I've note that table height different before and
after calling of Document::add() method. This caused invalid document paging in
my program.
Does anyone have same problem? Please point me to
workaround or fix it.
сode i use:
generateRow(mdl);
if( !writer.fitsPage( table )
){ ta
iText 1.0 throws a NullPointerException if one
tries to read a bilevel TIFF image
that does not contain the RowsPerStrip tag
(278).
According to the TIIF 6.0 specification, pg. 39,
RowsPerStrip is optional and has a
default value of 2**32-1.
The following trivial change fixes
this.
/s
Hi,
Is it possible to create a footer for RTF documents that contains
something like 'Page 2 of 7' ? I found the documentation of how
to make this for PDF. But is it also possible for RTF ?
best regards,
gerd
Gerd Mueller
36 matches
Mail list logo