The only thing I have is footer which is served elsewhere using PageEvent on
main writer.
Best Regards,
Grzegorz Kucner
- Original Message -
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "'Grzegorz Kucner'" <[EMAIL PROTECTED]>; "Paulo Soares"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent:
Paulo Soares wrote:
Use the class Barcode39 instead. It doesn't require fonts and is more
configurable.
I converted the code to use the following code, but no barcode appears
(or the barcode is being rendered white on white).
PdfContentByte cb = ((PdfWriter)writer).getDirectContent();
Barcode39
With tableZ.writeSelectedRows(0, -1, 100, 100, cb2) you should have
something in the bottom of the page.
Best Regards,
Paulo Soares
> -Original Message-
> From: Grzegorz Kucner [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, May 29, 2003 13:36
> To: Paulo Soares; [EMAIL PROTECTED]
> Subject:
When you open in Acrobat what font name does it show? It may be a case of
font propagation. Instead of creating a Chunk, create a Paragraph and add it
alone to the document.
Best Regards,
Paulo Soares
> -Original Message-
> From: Graham Leggett [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, Ma
> > -Original Message-
> > From: Grzegorz Kucner [SMTP:[EMAIL PROTECTED]
> > Sent: Friday, March 21, 2003 17:21
> > To: [EMAIL PROTECTED]
> > Subject: [iText-questions] How to fit PdfPTable in a page ?
> >
> > ..
> >
> > How to force PdfPTable to fit it in a single page? Is there there
Hi all,
how is it possible to add an annotation to an existing document?
I know that it's not possible to simply add it, but to open an exisiting PDF
document, write its whole content in a new file and add an annotation to it.
I would like to have a fully filled (with red) rectangle in the center
Hi all,
I am trying to use the following code to render a simple code 39
barcode, with the code 39 bardoce ttf font embedded in the PDF:
BaseFont bfCode39 = BaseFont.createFont("CODE39.TTF", BaseFont.WINANSI,
BaseFont.EMBEDDED);
Chunk barcode = new Chunk("*" + row.serial + "*", new
com.lowagie
Use the class Barcode39 instead. It doesn't require fonts and is more
configurable.
Best Regards,
Paulo Soares
> -Original Message-
> From: Graham Leggett [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, May 29, 2003 11:49
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Embedding bar
Hi all,
I am trying to use the following code to place a barcode in my PDF document:
new PdfBarcode("CODE39.TTF", PdfBarcode.CODE39, 36, "0123465678")
The above code works, but when I try and view the pdf, the barcode does
not show up because the font is not installed on that specific platform.
Create the new document to a byte array and when it's done read it with
PdfReader. Concatenate it like the others.
Best Regards,
Paulo Soares
> -Original Message-
> From: v b [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, May 28, 2003 18:56
> To: Matt Benson; [EMAIL PROTECTED]
> Subject:
You must get the data by reading the right keys in that dictionary. The
right keys are described in the pdf reference in the chapter interactive
features.
Best Regards,
Paulo Soares
> -Original Message-
> From: Gary Wu [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, May 29, 2003 1:44
> To: [E
It works correctly in 0.98 just by chance. That's why it now throws an
exception when you try to get a direct content with the document closed.
Best Regards,
Paulo Soares
> -Original Message-
> From: Marcin Stefaniuk [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, May 29, 2003 7:01
> To: [EMA
> -Original Message-
> From: online user [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, May 29, 2003 8:49
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Compile errors on HP-UX
>
> Hello,
>We are trying to use iText on HP-UX 11 with java version "1.2.2.14"
> Classic VM (build
Hello,
We are trying to use iText on HP-UX 11 with java version "1.2.2.14"Classic VM (build 1.2.2.14-02/11/20-PA_RISC1.1, native threads, HP),
all of the required HP java patches have been installed.
We are using the following command to compile the sample Chap0101.java source file - but unfor
Hello!
Opening document in mu program looks like:
document = new Document(PageSize.A4, 25, 25, 15, 15);
writer = PdfWriter.getInstance(document, new
FileOutputStream(destinationPath + "/" + subReportName));
writer.setEncryption(PdfWriter.STRENGTH40BITS, null, null,
PdfWriter.AllowPrinting | PdfWri
Hi,
I'm trying to use iText to retrieve information such as font, font size,
coordinates of fields in a PDF form. Here's what I did.
// _stamper is an instance of PdfStamper.
AcroFields formFields = _stamper.getAcroFields();
HashMap fieldHash = formFields.getFields();
jp.ujihara.java.util.Collec
See Chapter 13 of the tutorial:
http://www.lowagie.com/iText/tutorial/ch13.html
-Matt
--- v b <[EMAIL PROTECTED]> wrote:
> I'm able to create pdf in the servlet and show it in
> the browser as well as merge multiple pdfs. My
> problem is i do not know how to add existing pdf
> files to newly cre
I'm able to create pdf in the servlet and show it in the browser as well as merge multiple pdfs. My problem is i do not know how to add existing pdf files to newly created pdf.Matt Benson <[EMAIL PROTECTED]> wrote:
And what problem are you experiencing?-Matt--- v b <[EMAIL PROTECTED]>wrote:> Hi All
And what problem are you experiencing?
-Matt
--- v b <[EMAIL PROTECTED]> wrote:
> Hi All,
> I'm trying to do the following: 1. create one page
> pdf file with some content 2. import multiple pdf
> files 3. concat everything into one document and
> show this document in the browser. Note everythin
Hi All,
I'm trying to do the following: 1. create one page pdf file with some content 2. import multiple pdf files 3. concat everything into one document and show this document in the browser. Note everything should be done using servlet in the Tomcat environment.
I tried to use some of the provi
Hello,
I am required to rotate a rectangle. But, when I do it I couldn't see the
recangle.
Here is the way I am rotating:
pdfContentByte.concatCTM(1, 1, -1, 1, 200, 200);
pdfContentByte.rectangle(200, 200, 100, 100);
pdfContentByte.stroke();
My idea is to rotate the rectangle to
Thanks for both ideas. They *both* worked once I set the PdfPTable property to
control the height of the cell.
topTable.getDefaultCell().setFixedHeight(150);
Best Regards,
- John
-Original Message-
From: Paulo Soares [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 9:3
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Friday 23 May 2003 14:42, [EMAIL PROTECTED] wrote:
> I have tried using RtfHeaderFooters as well, and the problem will not go
> away. Has anyone else run into this problem, or is it perhaps a bug in the
> RTF classes? Has anyone successfully gotte
Quoting Leonard Rosenthol <[EMAIL PROTECTED]>:
> I'll look at backporting it into the standard iText distro today -
I think he already did the work on iText.
Just send him a mail and he'll send you his original code.
Bruno
---
This SF.net ema
Hello all. I just wanted to post this for anyone browsing the list wanting
to insert charts into their PDF's. I'm using JFreeChart and had been
inserting charts as a JPEG image into the PDF document. On advice from this
list I have changed this to insert the chart as a Graphics2D object. WOW
wh
You have two problems here. In the first place you xml file must be encoded
according to the japanese content, be it UTF-8 or SJIS or whatever. Your xml
file should start with:
or other encoding.
You must register a font with:
FontFactory.register("c:\\windows\\fonts\\msmincho.ttc");
In your
You may also try PdfPCell(Image, true).
Best Regards,
Paulo Soares
> -Original Message-
> From: Bruno Lowagie [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, May 28, 2003 3:11 PM
> Cc: [EMAIL PROTECTED]
> Subject: Re: [iText-questions] Image scale
>
> Collard, John wrote:
>
> >I shoul
I am doing a very basic html to pdf parser. Primarily it will be creating
from html tables.
I have a working prototype using JTidy.
The only problem I am having is the first cell in any table always takes up
50% of the table width. This is regardless of whether I set the cell widths
indivually o
It's OK for me too. We'll support encrypted files, if you have the owner
password, in the near future.
Best Regards,
Paulo Soares
> -Original Message-
> From: Bruno Lowagie [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, May 28, 2003 3:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [iText
Collard, John wrote:
I should have described my problem a little better. I have a 2 column table. The image I am trying to render is in the first column. I want it to only take up a small area, but am having problems getting it to a certain height.
Why don't you use the method scaleToFit?
Paulo Soares wrote:
You may but I don't know if it will go into the main distribution. Myself
and Bruno had the policy of not accepting encrypted documents to stay out of
piracy troubles. On the other hand, $39 will buy you the elcomsoft cracker
and there are also other Java libraries that decry
I should have described my problem a little better. I have a 2 column table. The
image I am trying to render is in the first column. I want it to only take up a small
area, but am having problems getting it to a certain height.
Thanks,
> John Collard
> Aquila, Inc.
> 1815 Capitol Ave.
>
32 matches
Mail list logo