[iText-questions] NullPointerException with FontFactory

2003-02-05 Thread Bendik R . Johansen
Hello, Iget a NullPointerException when i try to register å new font wit FontFactory code: FontFactory.register("../fonts/edmunds.ttf"); The font is in that location, I am absolutely sure :) What I am trying to achieve, is to write a specific piece of text, with a certain font, at a fixed plac

RE: [iText-questions] Embedded fonts

2003-02-05 Thread Paulo Soares
It's quite easy if you know the pdf specification. Use PdfReader.getPageN() to get the page dictionary, go to the font resources and get the names. You'll have information in the font descriptor if the font is embedded. Best Regards, Paulo Soares > -Original Message- > From: Archangel [SM

[iText-questions] Embedded fonts

2003-02-05 Thread Archangel
Hi There... Is it possible somehow to get a list of fonts in an existing PDF og more relevant the fonts that are used but not embedded in the file. David Nielsen. --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM +

RE: [iText-questions] Turkish

2003-02-05 Thread Paulo Soares
Define in FontFactory a TT font with the characters, such as arial.ttf, with the encoding Identity-H. Best Regards, Paulo Soares > -Original Message- > From: Russo Gaetano [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, February 05, 2003 13:14 > To: [EMAIL PROTECTED] > Subject: [iText-

[iText-questions] Turkish

2003-02-05 Thread Russo Gaetano
Hi, > I am developing PDF pages in Turkish. > I use TTF for fonts. > > Do anyone know how can use TTF's for > BOLD,> BOLDITALIC, ITALIC and NORMAL fonts? > The problem scenario is the following: I have implemented a PDF Report Generator in Java. To describe it briefly, the generator is a piece

[iText-questions] HeaderFooter.paragraph()

2003-02-05 Thread spam_killer
Hello everybody! I have noticed that class HeaderFooter has a method paragraph() returning the Paragraph object for that HeaderFooter. The API documentation say about that method "Gets the Paragraph that can be used as header or footer" I was trying to add some content to the header by doing i

RE: [iText-questions] itext PdfReader.getInfo() problem with date fields like "Creation Date"

2003-02-05 Thread Paulo Soares
> -Original Message- > From: Glania, Damian [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, February 05, 2003 12:52 > To: '[EMAIL PROTECTED]' > Subject: [iText-questions] itext PdfReader.getInfo() problem with > date fields like "Creation Date" > > Hi, > I'm looking for a way to read

RE: [iText-questions] Duplicate a document page per page

2003-02-05 Thread Paulo Soares
The new pages must be created like the original ones. There are methods in PdfReader to get the page size and rotation. Best Regards, Paulo Soares > -Original Message- > From: Richard Damien (AXEN) [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, February 05, 2003 11:12 > To: [EMAIL PROTECTE

[iText-questions] itext PdfReader.getInfo() problem with date fields like "CreationDate"

2003-02-05 Thread Glania, Damian
Hi, I'm looking for a way to read the properties of PDF-files. I found the iText class.method PdfReader.getInfo() which seems to serve my purpose, but if it comes to the "date properties" like "CreationDate" or "ModDate" I get only strings like "D:20021127125016Z00'00'" What can I do with that rep

[iText-questions] Duplicate a document page per page

2003-02-05 Thread Richard Damien (AXEN)
Title: Duplicate a document page per page Hello, I want to create a PDf from another one and to add some new content on each page. Everythings works well but when my document have different page formats it doesn't work. How can I duplicate my doc and keep the page format ? Damien -

Re: [iText-questions] Confusion reg Page Numbers

2003-02-05 Thread Bruno
Quoting jaysheel kumar <[EMAIL PROTECTED]>: > > hi bruno, >Thank u very much for ur time.The following is the method > taken from Chap1201.java.So i extend the PdfPageEventHelper class and > override the following method with the same code will work fine is it. No, please experim

Re: [iText-questions] Confusion reg Page Numbers

2003-02-05 Thread Bruno
Quoting jaysheel kumar <[EMAIL PROTECTED]>: > > hi bruno, > Thanks for the immediate response.i have seen one inner > class in Chap1201.java which is given as example.The inner class is > MyPageEvents. > Can i copy this class alone and paste it in Concat.java and set the PageEven

Re: [iText-questions] Confusion reg Page Numbers

2003-02-05 Thread Bruno
Quoting jaysheel kumar <[EMAIL PROTECTED]>: > hiIam using iText to merge the PDF Files.This is working excellent.Iam > using concat.java sample.I want to display page numbers in the footer,the > format is (pagenumber of total pages) ie 1 of 10. Is it possible to modify > the concat.java to