Hi all,
I'm using "arialuni.ttf" font, i set the font size to 8, then the
leading of that font will be 12. Actually, would it be possible
to change the leading to 10? Since i want to minimize the
distance between lines.
Thanks a lot!
Regards,
Jonathan.
-
I have a one page PDF with many fields. A few of the fields can accept multiple lines of text.When the form is populated, however, the text is vertically aligned in the middle and extends beyond the end of the of the form field boundries. Is there an iText solution that will enable word wrap and
After populating a PDF with the AcroForm fields and then saving the PDF, the print icon is disabled and I can no longer print the PDF. Any assistance is appreciated.Thanks,Frank-- --
Hand Crafted Magichttp://www.theambitiouscard.com/-
Hi
I need to open an existing PDF, copy it and in the process
change some texts inside the PDF. How do I do this with iText?
Regards,
Néstor Boscán
-
Using Tomcat but need to do more? Need to support w
The static constructor Image.getInstance(PdfTemplate) looks pretty obvious
to me. An example:
PdfContentByte cb = writer.getDirectContent();
PdfTemplate tp = cb.createTemplate( width, height );
Graphics2D g2 = tp.createGraphics( width, height, new DefaultFontMapper() );
Rectangle2D r2D = new Rect
I found no way to use a template that did not require direct writing to X,Y
coordinates in the document. If there is a way, it is not clear how one
would perform this. My example was meant to provide a more concrete way to
use JFreeChart and iText together that allows the chart images to be
injec
You can draw the chart to a template and use that template as an image,
there's a constructor in Image for that.
Paulo
- Original Message -
From: "Stanton Fisque" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here"
Sent: Wednesday, September 06, 2006 9:39 PM
Subject: Re
My apologies, I copied the wrong method
when posting this. The Image construction should be as follows:
com.lowagie.text.Image itextImg =
com.lowagie.text.Image.getInstance( img, transColor );
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stanton Fisque
Se
The tutorials using images AND jfreechart are lacking
because they assume you can place the image on the page at a given X,Y
coordinate. Most real world layouts will not allow for this, and the graphs
should be done “within” the document flow.
This is achievable by the following:
On 06/09/06, bruno <[EMAIL PROTECTED]> wrote:
> Arivazhagan Vannamuthu Petchimuthu wrote:
>
> >
> > Dear Team,
> >
> > Is it possible to write a single JSP so that It could be used
> > to generate multiple
> > documents(PDF/HTML/RTF and XML) based on the user request?
Hi,
Sounds like you n
Arivazhagan Vannamuthu Petchimuthu wrote:
>
> Dear Team,
>
> Is it possible to write a single JSP so that It could be used
> to generate multiple
> documents(PDF/HTML/RTF and XML) based on the user request?
Yes. I suggest that you write a facade JSP that checks which
presentation type
t
Dear Team,
Is
it possible to write a single JSP so that It could be used to generate
multiple
documents(PDF/HTML/RTF and XML) based
on the user request?
I
am just trying to create one JSP which will generate HTML doc if User dont
want any specific type.
If he wants PDF doc then a
Hi
I'm trying to change the horizontal alignment of a table cell containing
just an Image, but the call to Cell.setHorizontalAlignment(int) has no
effect. It works fine when I add some text to the cell thought.
Here is the code:
import java.io.FileOutputStream;
import java.io.IOException;
impo
I know nothing about javascript.
Paulo
- Original Message -
From: "matrixo" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, September 06, 2006 4:18 AM
Subject: Re: [iText-questions] appearance comb textfield: problem with
spaces
>
> Hi Paulo,
>
> These are the script snippet I took from the
form_text.java is for normal forms not XFA.
Paulo
- Original Message -
From: "lukeyoyo" <[EMAIL PROTECTED]>
To: "itext-questions"
Sent: Wednesday, September 06, 2006 2:38 AM
Subject: [iText-questions] about text field in iText 1.4.4
hi,
I am evaluating iText 1.4.4 now, it is a wond
Hi Paulo,
These are the script snippet I took from the document that executes in the
text box events.
On "Enter" event it invokes
TFConstrShow();
On "Exit" event it invokes
TFTemplate_KeyStroke( /^([A- Za- z\\xC0- \\xD6\\xD8- \\xF6\\xF8-
\\xFF\\s\\/@]{0,23})$/ );
TFC
hi,
I am evaluating iText 1.4.4 now, it is a wonderful job.
I found that static XFA fileds can be supported well except for a tiny
problem. I followed the example form_text.java and produced a PDF document
form_text.pdf. Everything is ok. However, when
some changes was made in th
Leonard Rosenthol wrote:
> At 03:29 AM 9/5/2006, selvi wrote:
>
>>Forgive me for distrubing you again and again.
Oh Lord, not again...
>>the below given requriment should be done for an existing pdf.
>>Please find the large image and PDF attached with this note.
>>While clicking the Image in the
Kharas wrote:
>Hi
>
>I'm adding a Cell containing an Image to a Table object that I'm adding to a
>header. I wanna know the exact width of the cell, so I can dimension the
>remaining cells of the row accordingly. I've tried to retrieve the Cell and
>Table witdh using the methods Cell.cellWidth(),
[EMAIL PROTECTED] wrote:
>
> I need that image (from url) inside the pdf file.
>
> Please, where i'm wrong? Or i can't take an image from a http with itext?
Before blaming iText for anything you should try something like this:
java.net.URL myImage = new URL(path_to_image);
myImage.openStream();
Paul Lovegrove wrote:
>Hi there
>I have a question regarding iText.
>
>I am using a servlet to send the user a pdf page. It appears fine, when they
>click save, it has the name of the servlet already entered as the name, can
>i change this ?
>
Google for the keywords HTTP header "Content-Disposi
Shoaib Gauhar wrote:
>Hello:
> Actually i am able to add the action but the problem
>is i dont know how to add destination information in a
>chunk which has an GOTOR action. PdfAction has a
>method but it requires a destination in a string.
> So, please tell me if there is a way to convert a
>P
Nussbaum-Jones, Nina wrote:
> Would columntext or a table help me?
>
As Paulo already confirmed: go for ColumnText.
br,
Bruno
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly
Patrick wrote:
> Hi,
>
> I want to add an image footer to my document. How do I do that with
> iText. I have gone through the documentation and I can't seem to find
> a way.
Have you read about page events?
PdfContentByte has a method addImage.
It's very easy to use if you set absolute coordina
GaneshPrakhya wrote:
>Hi Bruno,
>
>Is is possible to create a copy hole for image, just like as we are creating
>a text field programatically without using any tool like Designer.
>
(1) Do you mean you want to create a placeholder?
Or do you want a field that can be used to post a(n image) file to
25 matches
Mail list logo