Hi,
I would like to use concat_pdf to concatenate several
existing pdf files together into one big pdf file. I
would like the resulting file to have bookmarks for
the first page of each of the original pdfs. Is there
a way to do this using iText?
Thanks,
Alan
---
Sirs
I am currently using itext and get some questions:
1. I am going to display the document with label and data line by line inside the document. The data will be in vector format. However, i got the alignment problem because there will have one label if the data is repeating item:
Label1
hi
i am new to i text
can i save a file opend in browser by a servlet without opening the file
to the hard disk
thanks in advance
vinod
Disclaimer: 'This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom they are
a
The newLine() is needed but only once, not for each call as I did. However,
if the newLine() is called in fitsPage() it can't be called when actually
placing the table. Some kind of flag must be used.
Best Regards,
Paulo Soares
- Original Message -
From: "Christian Lauer" <[EMAIL PROTECT
Hi Paulo,
i've played a little with your patch and found this solution to work
perfectly (at least for the test case I sent you before):
boolean fitsPage(PdfPTable table, float margin) throws
DocumentException {
if (!table.isLockedWidth()) {
float totalWidth = (indentRight
The correct code is:
boolean fitsPage(PdfPTable table, float margin) {
try {
if (!table.isLockedWidth()) {
float totalWidth = (indentRight() - indentLeft()) *
table.getWidthPercentage() / 100;
table.setTotalWidth(totalWidth);
}
That won't work if you are mixing other elements. Try this in PdfDocument:
boolean fitsPage(PdfPTable table, float margin) {
if (!table.isLockedWidth()) {
float totalWidth = (indentRight() - indentLeft()) *
table.getWidthPercentage() / 100;
table.setTotalWidth(t
Hi Paulo,
I've extended PdfWriter and PdfDocument to make my solution work:
PdfWriter:
/**
* Gets the current vertical page position.
*
* @return The current vertical page position.
*/
public float getVerticalPosition() {
return pdf.getVerticalPosition();
But what can I use instead?
On Fri, 2004-09-24 at 11:04, Paulo Soares wrote:
> I know about that and I don't care. The fitsPage method falls in the
> same cathegory I have for Table: use something else.
>
> Best Regards,
> Paulo Soares
>
> > -Original Message-
> > From: [EMAIL PROTECTED]