RE: [iText-questions] Bold Base Font

2004-02-20 Thread jones henry
John, Using BaseFont.HELVETICA_BOLD should do the trick. Jones. PS: If you want to change the color of the font, then use cb.setColorFill. From: "Sliwinski Jr., John J" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [iText-questions] Bold Base Font Date: Fri, 20 Feb 2004 08:55:52 -0500 How do

Re: [iText-questions] Adding header and footer to PDF.

2004-02-20 Thread Christian Lauer
Ooops, I guess there was another bug, of course it was meant to be 'I don't claim ' ;-) On Fri, 2004-02-20 at 21:21, Christian Lauer wrote: > Hi Giovanni, > > I claim UJAC to be bug free, but I'm doing my best to achieve a stable > and well accepted tool. So if you have problems regarding UJA

[iText-questions] BUG? table header cell with image

2004-02-20 Thread Bryan Stevenson
Hi All, I have a simple 1 column table and I want to set the table header as a single cell containing an image. As soon as I add this line to mark the cell as a header, the image will not display: PageTable.endHeaders(); If I remove that line the image will display as intended, but of course it

Re: [iText-questions] Adding header and footer to PDF.

2004-02-20 Thread Christian Lauer
Hi Giovanni, I claim UJAC to be bug free, but I'm doing my best to achieve a stable and well accepted tool. So if you have problems regarding UJAC, please let me about it know by posting them into the project help forum at http://sourceforge.net/projects/ujac or simply writing me a mail. Best reg

[iText-questions] PDF/Java Reference Book

2004-02-20 Thread Sliwinski Jr., John J
Can anyone recommend a good PDF/Java reference book. I currently use the iText website but can't find all functional answers and/or examples. John S. CONFIDENTIALITY NOTICE: This E-Mail is intended only for the use of the individual or entity to which it is addressed and may contain inform

[iText-questions] Footer setPageNumber() doesn't seem to work

2004-02-20 Thread Ulvi Cetin
I am creating a PDF document with a footer and page numbers. I want to start the page numbers from 10. Here is a part of the code: ... HeaderFooter footer = new HeaderFooter(new Phrase("", fontA8), true); footer.setBorder(Rectangle.NO_BORDER); footer.setAlignment(Rectangle.ALIGN_CENTER); foot

[iText-questions] The instruction a '0x6d394ff3' referenced memeory at '0x0000000c'. The memory co

2004-02-20 Thread Cinzia
I'm trying to add nested tables with text and images to the document and I get this error: The instruction a '0x6d394ff3' referenced memeory at '0x000c'. The memory could not be 'read'. Using the debugger, this error shows after exiting the close() method, thus corrupting the pdf file and

Re: [iText-questions] PDF Form Template

2004-02-20 Thread Christian Lauer
Hi Jim, in UJAC's print module (ujac.sourceforge.net) there's a solution for your problem. The tag opens an existing PDF and displays it background of the current page, your'e working on. The tag then can be uses for global positioning of the informations you like to fill in. There's an example

[iText-questions] Problem with table header and cellsHaveToFit

2004-02-20 Thread David Burtness
Get a java.util.NoSuchElementException when cellsHaveToFit is true, and table consist of just the header, and cells would split. I recommend the following fix if PdfDocument.java, add(element), case Element.TABLE: Change: if (!cellsFit) {

[iText-questions] text with background color

2004-02-20 Thread Martin Røpcke
Hi, I am using iText to concatenate two pdf-documents and add an overall "pagefooter", that is, a consistent looking pagenumbering and a watermark. Now, I would like the pagenumber to be a rectangle with some text and a background color. So far I havn't succeded in doing that. Also, the waterma

[iText-questions] Bold Base Font

2004-02-20 Thread Sliwinski Jr., John J
How do I change a base font to reflect a bond font? Below is what I have coded and the result is just a normal font. I have checked the iText DOCS and can't find an answer. I need to make the text appear in bold letters. PdfContentByte cb = writer.getDirectContent(); BaseFont bf = BaseFont.crea

[iText-questions] Use writer.getDirectContentUnder() on Templates

2004-02-20 Thread Oliver Brupbacher
Hi, How can I use the writer.getDirectContentUnder() on a PdfTemplate Cheers Oliver -- Oliver Brupbacher, Numcom Software AG Hardturmstrasse 66, CH-8005 Zürich Tel +41(0)43-960 33 22, Mobile +41(0)79-352 36 17 mailto:[EMAIL PROTECTED], http://www.numcom.ch/

[iText-questions] PDF will not open.

2004-02-20 Thread ast
hi, i have a problem opening pdfs. my pdf is produced by servlet and the browser should open it inside of the browser. this works fine for many clients. On some machines in this case a errormessage is displayed "file does not begin with %PDF-". is this a problem of the browser/client or some bug

[iText-questions] Changing PdfPTable cell data

2004-02-20 Thread Carmona Perez, David
Hi all,   I have to draw a table several times, with slightly different data.   Does anyone know if I can change the contents of a cell? I don’t know if its safe to do so, because I haven’t seen any method for accessing to a cell, given its coordinates.   Thanks in advance for any he

[iText-questions] Re: saved pdf to database, and retrieved as blank pages, why, help.

2004-02-20 Thread Bruno
Quoting [EMAIL PROTECTED]: > I have output the byteArray (.toString() method ) to the system out. > And saved the system out into database(blob binary). So you ALTERED the PDF from a byteArray into a String. This can lead to different results depending on the encoding. > Then i was trying to re

RV: [iText-questions] RV: PdfWriter.fitsPage()

2004-02-20 Thread Carmona Perez, David
The speed improvements I have gotten by preventing rendering more than once a table with fitsPage(), are spectacular. It takes less than half the time. David -Mensaje original- De: Carmona Perez, David Enviado el: jueves, 19 de febrero de 2004 16:14 Para: Itext-Questions (E-m

RE: [iText-questions] Chunk Height

2004-02-20 Thread Bruno
Quoting "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>: > Hi again, > > I'm inserting the chunk in a columnText column though, how would this work, > I > didn't think a chunk extended a rectange. Please keep on the mailing-list and read the tutorial Chapter 12. I didn't say Chunk extended a Rectangle,

[iText-questions] Table width on page?

2004-02-20 Thread Kirk Benson
  When I create a Table and add it to a document, the width of the table is less than the current page's margins.  How can I force the table to be full-width within the margins?   Thanks for any hints.

[iText-questions] How to use SimpleBookmark with PdfWriter (or How to use PdfContentByte with PdfCopy)

2004-02-20 Thread J . B .
Hi everybody, I have a need to concatenate multiple PDF documents and, at the same time, include additional text such as total page number and so on. Another need is to retain the bookmarks from the original documents and create a table of content for the resulting document. I got inspired by