Hello Meghal,
I don't have the solutions to the problems you've
presented, but I'm willing to work with you to
come up with a solution. I too need to convert
HTML to PDF, and will probably end up trying to
overcome the same limitations.
I do need a bit of help getting started, however.
No matte
First step
This code below works to a point. That point is when the second table
is being written it writes of the page and never creates a second page.
document.open();
PdfContentByte cb = writer.getDirectContent();
float y = 300;
float x = 300;
Hi Paulo,
Thanks for your quick feedback, I will try it later.
best regards
--- Paulo Soares <[EMAIL PROTECTED]> wrote:
> It's a bug, triggered by the particular, but legal,
> structure of your file.
> It also affects color setting. Replace in
> AcroFields.java:
>
> public boolean setFiel
It's a bug, triggered by the particular, but legal, structure of your file.
It also affects color setting. Replace in AcroFields.java:
public boolean setFieldProperty(String field, String name, Object value,
int inst[]) {
Item item = (Item)fields.get(field);
if (item == null)
Title: RE: Dynamically populate pdf from a DAO or JavaBean
John,
Take a look at Mark Start's iText
presentation
http://www.cdjdn.com/downloads/itextexample.zip
-Sean
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Ruffin, JohnSent: Thursday, September 09
Hi Paulo,
Thanks for reply, I attached a pdf file with this
mail, and post my code below, please have a look.
Thanks again
##
public class ITextSample {
static String pdfFile = "C:\\AttachFile.pdf";
public static void main(String[] args)
Hi Paulo,
thanx a million for your fast fixes, very impressive!
For the multiplied leading thing in documents, it's not that critical,
it just means that I have to implement a workarround here for the UJAC
print module and that the behaviour of paragraphs in documents will be
never as perfect as
Title: Dynamically populate pdf from a DAO or JavaBean
I need to create a web application that accepts user input, populates a standard pdf (template), then fax that pdf via RightFax.
Here is my scenario & question, as I'm not familiar with manipulating pdf's:
User completes a web form
User
Title: RE: Dynamically populate pdf from a DAO or JavaBean
What you want is standard stuff. As far as the PDF part is
concerned the workflow is:
- create your pdf somewhere and add fields with Acrobat.
Those fields will contain the variable text.
- read the PDF
- set the fields with the text
Title: RE: Dynamically populate pdf from a DAO or JavaBean
I need to create a web application that accepts user input, populates a standard pdf (template), then fax that pdf via RightFax.
Here is my scenario & question, as I'm not familiar with manipulating pdf's :
User completes a web form
Increase the bottom margin.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of William Garnett
> Sent: Thursday, September 09, 2004 2:52 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] PdfTable & footer
>
> Hel
Hello;
I am overriding onPageEnd( ... ) to put in my own footer. The pages are all
tables, some of which go down to the bottom of the page and overflow onto
the next page. However, on the pages where I have a long table, the last row
is printing on top of the footer. How can I control this so the
You can't add new fields with PdfStamper. It will be available in October.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ed
> Sent: Wednesday, September 08, 2004 8:40 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questi
Are you sure you have the correct field name? If you are sure then I'll have to take a
look at the pdf.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Dr.Shush
> Sent: Wednesday, September 08, 2004 7:37 PM
> To: [EMA
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Mirza Abbas Raza
> Sent: Thursday, September 09, 2004 1:59 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [iText-questions] Table issues - Two solved, two
> remaining
>
> Ok. I have figured out the f
Paulo Soares wrote:
Sorry, but I don't support Table, only PdfPTable.
As a matter of fact, nobody does...
br,
Bruno
---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA
Sorry, but I don't support Table, only PdfPTable.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of [EMAIL PROTECTED]
> Sent: Wednesday, September 08, 2004 9:48 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Pa
The tutorial is outdated.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Sagar Kar
> Sent: Thursday, September 09, 2004 6:23 AM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Margin issue
>
> Hi,
>
> Document
PdfAnnotation.setPlaceInPage()
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Peter Soelter
> Sent: Thursday, September 09, 2004 9:53 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: [iText-questions] Same form-field names on
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Christian Lauer
> Sent: Wednesday, September 08, 2004 10:55 PM
> To: iText Mailing List
> Subject: [iText-questions] multipliedLeading + spacingBefore
>
> Hi Paulo,
>
> I've found out that the m
It's a bug, actually 2 bugs. Replace in ColumnText:
else if (element.type() == Element.LIST) {
com.lowagie.text.List list = (com.lowagie.text.List)element;
ArrayList items = list.getItems();
ListItem item = null;
float lis
I read it.
But there are still problems. The embed tag
used to call the servlet is useless on bea weblogic 6.0 because the server
doesn't make anything. The calling is stoped and droped without any message. So
I am using another workaround like this ( from an asp forum changed for java by
This is good to hear Bruno.
Chris
-Original Message-
From: Bruno
To: Matt Benson
Cc: itext-questions
Sent: 9/9/2004 1:59 AM
Subject: Re: [iText-questions] Future of iText
Quoting Matt Benson <[EMAIL PROTECTED]>:
> Paulo is doing the most part of new development. He
> releases an itext-p
Hi,
I need to convert HTML file to PDF. I am not able to resolve following issues:
1> When the size of the contents exceeds size of a pdf page after
conversion, the rest of the contents is trimmed of. I need to add this
content to next page on pdf.
2> I want to tackle tag to insert a new line w
Hi Paulo,
i've tried to implement your tip with the form field on one page and
kids in the next pages, but i have serious problems.
If you create the field on page 1 (and maybe the first kid) you
can't create a kid on page 2, as the field seems to be
written out, if a newPage() occurs.
Have a look
Quoting Matt Benson <[EMAIL PROTECTED]>:
> Paulo is doing the most part of new development. He
> releases an itext-paulo version much more often than
> Bruno releases an official iText version, but every
> official iText version AFAIK rolls up the latest of
> Paulo's work.
Yes, that's right.
I w
Quoting Mirza Abbas Raza <[EMAIL PROTECTED]>:
> has anybody put this library
> already on production?
Ghent University uses the library since its creation in 1999.
Furthermore lots of banks and insurance companies use it.
Lots of governments use it, IBM shipped it with its iSeries,
Oracle Belgium
27 matches
Mail list logo