hi,
i have created a pdf in which i have created a table . the problem is that at
the end of the table it is not closing properly , there is a gap .
the bottom horizontal line is shifted to downwards.
plaese help me ..
-
Let's say you added this rows to the table:
0
1
2
3
4
5
Row 4 is an header and row 5 doesn't fit the page.
Do:
writeSelectedRows(0, 4, ...);
newPage();
writeSelectedRows(4, -1, ...);
table = new PdfPTable(...);
You have to keep track of the y positions, of course.
Best Regards,
Paulo Soares
-
That's only possible to happen if you have javascript that modifies the
field when the pdf is loaded in Acrobat.
Best Regards,
Paulo Soares
- Original Message -
From: "Rob Czyzewski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 22, 2004 16:41
Subject: [iText-que
What's at stake here is the capability to fix broken PDFs. Why must it be
done in java?
Best Regards,
Paulo Soares
- Original Message -
From: "Om Lal" <[EMAIL PROTECTED]>
To: "Paulo Soares" <[EMAIL PROTECTED]>
Sent: Wednesday, September 22, 2004 20:02
Subject: RE: [iText-questions] Trail
Here's my code:
try {
PdfReader reader = new PdfReader("c:\\itext\\Form2.pdf");
PdfStamper stamp = new PdfStamper(reader, new
FileOutputStream("c:\\itext\\Form2Altered.pdf"));
AcroFields form = stamp.getAcroFields();
form.setField("form1[0]
Hi,
I am using itext(pdf toolkit) for our workflow
solution. I have a pdfdocument document with some textfields. User access it
through web and fills the detail in the text fields and submit to the server.
Now on server side we get the fdf data and we are already having the
pdftemplate. Now
I'm almost there, thank you Paolo for your continued assistance.
I either need to know that the next row I am going to write will not fit
and create a new PdfPTable, flush out the written content from PdfPTable
so the unwritten rows remain, or create a new PdfPTable with the
unwritten rows from t
Let's see: if you put the ColumnText inside a PdfPTable you already have
all that. Maybe the Element extension is not needed.
Best Regards,
Paulo Soares
> -Original Message-
> From: Steve Appling [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 22, 2004 5:19 PM
> To: Paulo Soares;
I still think it would be useful to add the ability to specify a width on
the ColumnText object before it is added to the document (or perhaps there
is someway to do this now that I don't understand). The exact code in
addPTable will make the ColumnText occupy the full width (excluding
indents).
Are you sure you have a chinese font in the form? If you want you
can send me the form and the fdf.
Best Regards,
Paulo Soares
From: Dharmendra Thakur
[mailto:[EMAIL PROTECTED] Sent: Wednesday, September 22, 2004
4:28 PMTo: [EMAIL PROTECTED]; Paulo
SoaresSubject: itext
You have some examples at itextpdf.sf.net.
The general idea is:
PdfPTable table = new PdfPTable(..);
table.setTotalWidth(doc.right() - doc.left());
// add the rows
You can get the individual row height, just write some rows, etc.
Best Regards,
Paulo Soares
> -Original Message-
> From: [
The code is exactly the same as in addPTable().
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Steve Appling
> Sent: Wednesday, September 22, 2004 12:15 PM
> To: Christian Lauer; iText Mailing List
> Subject: Re: [iT
Hi all,
Iam new to iText.Is there any way to draw arrows so that i
can use them as X and Y axis in the BarChart which i need to
draw.Requirement is that i should not use other tools.So
jfreechart and other tools are not the solutions for me.Thanks
in advance.
Dinesh Damaraju
919848203156
IND
Thanks for the suggestion, Paulo. I'm not clear on what exactly you
mean -- do you mean that I should continue to use
table.writeSelectedRows, but manually keep track of the current vertical
displacement from the top of the page for the current row and decide if
I need to break the page using log
> -Original Message-
> From: Thomas Halliley [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 22, 2004 2:13 PM
> To: Paulo Soares
> Cc: [EMAIL PROTECTED]
> Subject: Re: [iText-questions] Using Watermarks
>
>
> Unfortunately, this example does not use the Watermark class
> .. in
Unfortunately, this example does not use the Watermark class .. in fact,
none of the examples use the Watermark class. Should I instead use the
technique used in the headers_and_watermarks.java example?
Thanks,
Tom
Do you think ColumnText should implement Element? Then you could add a form
of setSimpleColumn that only sets height and width and the add call in
PdfDocument could adjust for horizontal alignment and call the existing
setSimpleColumn using the currentHeight and indents (like it does in
addPTable)
Hi,
I am trying to add a Table into the Header, but there is a extra row
add in end of the table. then I try the PdfPTable, but Phrase can't
add the PdfPTable. because the Phrase can add into the Header.
Can anybody help to add a table into the header.
D.Dharmeehan
--
Have a Good Day.
As an extension to Element.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Mark Hall
> Sent: Wednesday, September 22, 2004 11:37 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [iText-questions] ColumnText
>
> On Wednesda
On Wednesday 22 September 2004 12:27, Paulo Soares wrote:
> Maybe ColumnText could be made an Element and be added to the Document.
As an extension of something that is already an Element or directly under
Element?
Greetings,
Mark
---
This SF.
Use PdfCopy or PdfCopyFields to merge the files. use PdfStamper on
the resulting file to put the text.
Best Regards,
Paulo Soares
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
George ShafikSent: Wednesday, September 22, 2004 8:18
AMTo: [EMAIL PROTECTED]Su
ListItem item = new ListItem("text");
item.setAlignment(Element.ALIGN_JUSTIFIED);
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of [EMAIL PROTECTED]
> Sent: Wednesday, September 22, 2004 8:53 AM
> To: [EMAIL PROTECTED]
> Subject: [iText-q
Maybe ColumnText could be made an Element and be added to the Document.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Christian Lauer
> Sent: Wednesday, September 22, 2004 7:44 AM
> To: iText Mailing List
> Subject:
I would be worried if it was the other way around. It doesn't look too
difficult to fix but with PdfDocument you never know...
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Christian Lauer
> Sent: Wednesday, Septemb
That's a bug with your image that has CMYK ICC profile but the actual
image is only one component per pixel grayscale. It's also a bug in
iText that should check this. It will be fixed in the next release.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mail
Open in full Acrobat and do a "Save As..".
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Om Lal
> Sent: Wednesday, September 22, 2004 6:54 AM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Trailer missing
>
>
Hi All,
I'm looking for some sample code for iText that merges a
pdf file and adds some text to the next pdf file.
Say you are merging 3 pdf files in one pdf file and at
the bottom of each page of the complete document you add a text message. (can be
anything)
Many thanks in advance fo
I'm trying to access a large (1200+ pages) pdf file that has no trailer
reference contained within
the file, an exception is tthrown with the error message "trailer not
found".
The file however is readable by Adobe Reader without errors or warnings.
Is there another way to access this file or repa
How can I 'configure' a List to be Justified Aligned? The problem is on the
righthand side of the List..it does not align the text there. The left side is
fine.
I tried to add a list with a paragragh that is set Justified Aligned, but it did
not solve the problem...
Hi All,
I'm looking for some sample code for iText that merges a
pdf file and adds some text to the next pdf file.
Say you are merging 3 pdf files in one pdf file and at
the bottom of each page of the complete document you add a text message. (can be
anything)
Many thanks in advance fo
30 matches
Mail list logo