Hi;
I may not have explained this very well. First, I
have to write my various lines at different times and get them to join up
seamlessly. To make it all one path would require some very painful coding. Plus
the line width & dashes change from segment to segment.
So lets say I am drawing
Hi;
When I do a moveTo/lineTo - the coordinates are to
what part of the end-point. I am having a problem getting two lines to join
properly if I draw them seperately. I am assuming that the endpoints are in the
center of the width of the line - is that true?
thanks - dave
I figured it out. For future reader's of this post, you set the widths via
PdfPTable.setWidths. For me to set one column to 30% of the total width and
all other 7 columns to 10%, I used the line:
int[] widths = {30, 10, 10, 10, 10, 10, 10, 10};
table.setWidths(widths);
Kenny
- Original Mes
I'm trying to set the width of my cells in a PdfPTable that uses PdfPCells.
I've tried the "setLeft" method to no avail. Could someone tell me how to
control a PdfPCell's width. Thanks in advance,
Kenny
---
This SF.NET email is sponsored by:
Paulo,
Thanks for your prompt reply. I am now trying to write a general
purpose pdf appender using PdfCopy.java which will will allow an
abitrary number of pdf appends. However I'm having trouble with
'PdfCopy.getImportedPage'. It doesn't seem to work after the first
reader. I'm looking a
Probably the variable asOfDate is null.
Best Regards,
Paulo Soares
> -Original Message-
> From: Kenny G. Dubuisson, Jr. [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 10, 2003 16:13
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] BaseFont.getWidth(Unknown source) error
>
>
I have a servlet that creates a PDF using iText. I'm grabbing a date from
the database (as a string) and trying to display it with the following line
of code:
cb.showTextAligned(PdfContentByte.ALIGN_CENTER, asOfDate, pageWidth / 2,
pageHeight - 70, 0);
When I use this, I get the following error
I'm just beginning to author a servlet which generates a PDF document (for
the browser) from data in a database. I'm having problems with it where,
when I have certain lines of code in the servlet, I get an empty browser
(not even an empty PDF doc). I must be throwing exceptions that I'm not
seei
Yes and no. You can get all the field information and build another field.
Unfortunately you'll also have to duplicate the appearance stream or in
other words be an annotation handler.
Best Regards,
Paulo Soares
> -Original Message-
> From: Kumata Mitsugu [SMTP:[EMAIL PROTECTED]]
> Sent:
You can do it but you may (you will) run into troubles with IE if the
content length is not sent.
Best Regards,
Paulo Soares
> -Original Message-
> From: Pritam Dewan [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 10, 2003 11:55
> To: [EMAIL PROTECTED]
> Subject: [iText-questions
Hi.
Can i write an encrypted pdf directly to
response.OutputStream?Below is the fragment of code which i m implementing.Is it
legal without performance bottleneck.
PdfEncryptor.getInstance().writePrintOnlyCopy(pdfReader,httpServletResponse.getOutputStream()
) ;
protected void writePri
One other question related to PdfCopy.
Is it possible to extract only form field from PDF file and place it to
currently generating PDF?
With regards
KuMi
> It's possible with a lot of work. You'd have to deal directly with stream
> contents and dictionaries as all the changes would be in-place.
BaseFont can't be underlined unless is part of a Chunk.
Best Regards,
Paulo Soares
> -Original Message-
> From: Kenny G. Dubuisson, Jr. [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 09, 2003 21:47
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Underlined font
>
> How do
It's possible with a lot of work. You'd have to deal directly with stream
contents and dictionaries as all the changes would be in-place.
Best Regards,
Paulo Soares
> -Original Message-
> From: KuMi [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 10, 2003 7:13
> To: [EMAIL PROTECTED]
>
Quoting "John L. Lowenthal" <[EMAIL PROTECTED]>:
> Sorry for the double send on the previous email...
> The posted solution only fixes half my problem. It aligns fine now, but I
> still have the problem that I can't indent the header. Is there anything I
> can do about this? Thanks. -John
You c
Quoting Matt Benson <[EMAIL PROTECTED]>:
> What is the reason for this? I assume
> there must be one.
I honestly don't remember.
I have to update several parts of the site,
but I don't have the time rightnow (maybe in
february).
I'll keep your mail as a reminder.
Bruno
--
16 matches
Mail list logo