Re: [iText-questions] Header footer

2013-06-30 Thread 1T3XT BVBA
On 30/06/2013 21:53, manolis prekas wrote: Hello I am trying to add header and footer but when i add this code HeaderFooter header = new HeaderFooter(new Phrase("Add Header Part Here"), false); Does not recognise the HeaderFooter. Which library i should add to recognize that to recognise it?

[iText-questions] Header footer

2013-06-30 Thread manolis prekas
Hello I am trying to add header and footer but when i add this code HeaderFooter header = new HeaderFooter(new Phrase("Add Header Part Here"), false); Does not recognise the HeaderFooter. Which library i should add to recognize that to recognise it? Thank you

Re: [iText-questions] Header Footer with iText on JSP

2008-03-13 Thread davidc2
If you need to do it through Java, one option you have is to do it like they show here: http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/index.php For Java you can find plenty of details on the web, jsp is a little trickier. dshah wrote: > > I have been struggling with this issue

Re: [iText-questions] Header Footer with iText on JSP

2008-03-11 Thread dshah
I have been struggling with this issue. I have a huge header that I need repeated for every page in which a PdfPTable can spill over into another page. I have build a header table so that I can format it the way I need it which includes a GIF image. How do I use HeaderFooter and setHeader to

Re: [iText-questions] Header Footer with iText on JSP

2008-03-04 Thread davidc2
Ok I managed to do this with the following code: //Header Phrase phrase = new Phrase (-16); phrase.add(table); HeaderFooter header = new HeaderFooter(phrase, false); header.setBorder(0); header.setAlignment(Paragraph.ALIGN_CENTER); document.s

Re: [iText-questions] Header Footer with iText on JSP

2008-03-04 Thread davidc2
It's too different for a jsp. I was looking into watermarks, and the code on a jsp page could be very different from a java class file. This works: HeaderFooter header = new HeaderFooter(new Phrase("Header Header Header", false); header.setBorder(0); header.setAlignment(Paragraph.ALIGN_CENTER);

Re: [iText-questions] Header Footer with iText on JSP

2008-03-03 Thread davidc2
I saw that, and it's the same code that's on iText by example page but how do I change it so it works on a jsp page? mister bean wrote: > > See the book, starting at p. 432. There's an example of exactly what > you're looking to do. > > --mr.bean > > > davidc2 wrote: >> >> Hey, >> >> I'm

Re: [iText-questions] Header Footer with iText on JSP

2008-03-01 Thread mister bean
See the book, starting at p. 432. There's an example of exactly what you're looking to do. --mr.bean davidc2 wrote: > > Hey, > > I'm trying to use a PdfPTable table as a header, but I'm not able to... > > I'm using > PdfPTable table = new PdfPTable(3); > on which I'm adding a bunch of cells

[iText-questions] Header Footer with iText on JSP

2008-03-01 Thread davidc2
Hey, I'm trying to use a PdfPTable table as a header, but I'm not able to... I'm using PdfPTable table = new PdfPTable(3); on which I'm adding a bunch of cells, and it works, as long as I'm adding it to the Document (document.add(table);) But the only way I'm been able to have a header and a fo

Re: [iText-questions] Header footer, or long line

2007-06-12 Thread Bruno Lowagie
Michael Clayton wrote: > Hi, > > i would like to underline the first line of text in my document. I > want the line to span across the entire width of the page. How do you > do this? I'm not sure how you define a line. Suppose you have: Quick brown fox jumps over the lazy dog. What is the

[iText-questions] Header footer, or long line

2007-06-12 Thread Michael Clayton
Hi, i would like to underline the first line of text in my document. I want the line to span across the entire width of the page. How do you do this? Mike - This SF.net email is sponsored by DB2 Express Download DB2 Ex

Re: [iText-questions] Header/Footer set/get size/position

2007-05-04 Thread Paulo Soares
It's all in tutorial and in the book. Paulo - Original Message - From: "FrenchUser" <[EMAIL PROTECTED]> To: Sent: Friday, May 04, 2007 12:38 PM Subject: Re: [iText-questions] Header/Footer set/get size/position > > Can you give me an exemple because I don

Re: [iText-questions] Header/Footer set/get size/position

2007-05-04 Thread FrenchUser
PROTECTED] On >> Behalf Of FrenchUser >> Sent: Friday, May 04, 2007 9:33 AM >> To: [email protected] >> Subject: [iText-questions] Header/Footer set/get size/position >> >> >> Hi, >> >> I Have a Table wich contain "y&quo

Re: [iText-questions] Header/Footer set/get size/position

2007-05-04 Thread Paulo Soares
You must use page events and PdfPTable. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of FrenchUser > Sent: Friday, May 04, 2007 9:33 AM > To: [email protected] > Subject: [iText-questions] Heade

[iText-questions] Header/Footer set/get size/position

2007-05-04 Thread FrenchUser
Hi, I Have a Table wich contain "y" rows and "x" columns, "x" and "y" are unknow, I want to set a Table wich fit only one page, with same rows height, and same columns width. So I calculate the rows.height like that : TableHeight = document.size.height - document.margin.top - document.

Re: [iText-questions] Header & Footer in Web Application...

2007-03-03 Thread Bruno Lowagie
Versoft wrote: > I purchased the bookiText in action, it says we should > extend our class to PdfPageEventHelper which i cant do because my class is > already extending Action class. The book advises to extend the class PdfPageEventHelper, because that is easier than implementing the page event in

Re: [iText-questions] Header/footer problem with merging existing rtf

2007-03-02 Thread Mark Hall
Hi, sorry for the long delay in answering, I've been offline. On Friday 23 February 2007 19:30, Garcia, Daniel NMN wrote: > How can I merge this existing rtf file without changing the > footer/header of my destination document? This is a tricky situation. When you merge the complete document, the

[iText-questions] Header & Footer in Web Application...

2007-03-02 Thread Versoft
Hi Friends, Appreciate all for helping in my previous problem. This time i need to add header and footer to my PDF output. This is my attached... The problem is the header and footer only on the last page. What do i do to get it all the pages. I purchased the bookiText in action, it says we sh

[iText-questions] Header/footer problem with merging existing rtf

2007-02-23 Thread Garcia, Daniel NMN
I have been able to have different footers and headers in my rtf document, the first page is different, all the rest are the same. As part of my document I need to import an existing rtf document into it. As soon as I import the existing document one of two things happen: -If existing document has

[iText-questions] Header footer with images

2006-10-30 Thread sachit dahal
Hi everyone I am trying to place image header and footer on every page of a pdf document for that i wrote the following code With this i am able to place header footer images on the first page only to repeat the process through the pages i am suggested to use onEndPage event. But i couldnot fin

Re: [iText-questions] Header Footer Problem

2006-10-20 Thread Paulo Soares
Look for page events in the tutorial. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Sachit Dahal > Sent: Friday, October 20, 2006 12:48 PM > To: [email protected] > Subject: [iText-questions]

[iText-questions] Header Footer Problem

2006-10-20 Thread Sachit Dahal
  I can see that i can add Text header and Text footer to a PDF Document, Similarly I can Place images in the PDF     But how can i put an image to Header / footer so that they can be displayed on each page   when I have a designer Generated PDF(With Header and Footer)  and tried to open th

Re: [iText-questions] Header/Footer Question?

2006-07-24 Thread mcevikce
Never mind I just realized we are passing the PdfContentByte to table.writeSelectedRows. Thank you for your help. -- View this message in context: http://www.nabble.com/Header-Footer-Question--tf1993704.html#a5473007 Sent from the iText - General forum at Nabble.com.

Re: [iText-questions] Header/Footer Question?

2006-07-24 Thread mcevikce
I am sorry I am new to this. Example shows that footer and header is added to document maybe I am missing something. Assuming I get the PdfContentByte from writer.getDirectContent() then how do I add table to content afterwards? -- View this message in context: http://www.nabble.com/Header-Foote

Re: [iText-questions] Header/Footer Question?

2006-07-24 Thread Paulo Soares
You can't use Document.add() in a page event. It must all be placed at absolute positions in PdfContentByte. Paulo - Original Message - From: "mcevikce" <[EMAIL PROTECTED]> To: Sent: Monday, July 24, 2006 6:18 PM Subject: [iText-questions] Header/Footer Question?

[iText-questions] Header/Footer Question?

2006-07-24 Thread mcevikce
I am trying to add header and footer to each page in my document but facing two issues with it. I have followed the tutorial and extended PdfPageEventHelper class. 1-) When I add just the footer, the footer is addedd to begining and the end of the page. 2-) When I try to add the title I get st

Re: [iText-questions] Header/Footer/Table interactions

2006-06-02 Thread Bill Zwicky
bruno lowagie.com> writes: > OK, if you need to create PDF and RTF using the same code, then you need > class Table or SimpleTable. Ok, but what about the bugs? The problems demonstrated by my posted sample are now showing up in the production reports. -Bill __

[iText-questions] Header Footer on first page

2006-05-27 Thread Deepti Nair
  Hi,   The header and footer is automatically disabled on the first page. Could any of you tell me how to display it on the first page as well.   Thanks, Deepti

Re: [iText-questions] Header/Footer/Table interactions

2006-05-24 Thread Bruno Lowagie
Zwicky, William R ERDC-CERL-IL Contractor wrote: I'm having multiple problems trying to insert a table into my document. I've included a sample to demonstrate most of them, but there's one I can't reproduce. If you run the sample below, you'll see the following bugs: You are using class Ta

[iText-questions] Header/Footer/Table interactions

2006-05-24 Thread Zwicky, William R ERDC-CERL-IL Contractor
I'm having multiple problems trying to insert a table into my document. I've included a sample to demonstrate most of them, but there's one I can't reproduce. If you run the sample below, you'll see the following bugs: - Header and footer are missing from the first page. Since no content was ad

Re: [iText-questions] header/footer using endpage event (Resolved)

2006-02-14 Thread Bruno Lowagie
Rumpa Giri wrote: Found the problem. The FontFactory code was the culprit, silly cut-paste error was causing the font to get a strikethrough. BTW, the ITEXT library is pretty cool. We used JASPER reports earlier, thinking of switching to ITEXT. JasperReports uses iText for PDF generation,

Re: [iText-questions] header/footer using endpage event (Resolved)

2006-02-14 Thread Rumpa Giri
Found the problem. The FontFactory code was the culprit, silly cut-paste error was causing the font to get a strikethrough.   BTW, the ITEXT library is pretty cool. We used JASPER reports earlier, thinking of switching to ITEXT.   Thanks, Rumpa GiriRumpa Giri <[EMAIL PROTECTED]> wrote:On

Re: [iText-questions] header/footer using endpage event (Found the source not sure why though)

2006-02-14 Thread Rumpa Giri
On removing the FontFactory.getFont the strikethroughs are gone. But we do want a specific font to be there. How do I enforce a font type?   regards, Rumpa GiriRumpa Giri <[EMAIL PROTECTED]> wrote: Anyone?Rumpa Giri <[EMAIL PROTECTED]> wrote: I am 3 day old to ITEXT library. I went through

Re: [iText-questions] header/footer using endpage event (Anybody?)

2006-02-14 Thread Rumpa Giri
Anyone?Rumpa Giri <[EMAIL PROTECTED]> wrote:I am 3 day old to ITEXT library. I went through the tutorial. I followed the example EndPage.java to create the header/footer.   The header is a 2 X 2 table. Footer is 1 X 3 table. In the header somehow the second row, first cell data is getting un

[iText-questions] header/footer using endpage event

2006-02-13 Thread Rumpa Giri
I am 3 day old to ITEXT library. I went through the tutorial. I followed the example EndPage.java to create the header/footer.   The header is a 2 X 2 table. Footer is 1 X 3 table. In the header somehow the second row, first cell data is getting underlined and strike through. And all 3 cell data

[iText-questions] header, footer, new page problem

2004-11-24 Thread M . Cioffi
Hi, On the first page I have inserted a pic and the pages have a header and a footer. Then unfortunately a new page with header and footer without content will be added. If I delete either the header or the footer, then the second blank page will not be added anymore. Why will a blank page be

RE: [iText-questions] header/footer text color

2004-02-17 Thread Criddle, Daniel
res; = [EMAIL PROTECTED] Subject:   <= /B> Re: [iText-questions] BIDI = examples great, yes i think = i grasp whats going on in that. i just wish i didn't have to handle these = as special cases. in any case, many thanks. - Original = Message - From: "Paulo = Soar

[iText-questions] header/footer text color

2004-02-16 Thread Bryan Stevenson
Hey All, It's relatively simple to get the current page number to output in the footer, but how can I change the color (and other font properties) for the text used in the footer (default is black)??? TIA Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Syste

[iText-questions] Header & Footer

2003-11-06 Thread berry
Hello, my question is, how can I use a color fonts for Footer or Header, if I can.   Thank You.   [EMAIL PROTECTED] Czech Republic

Re: [iText-questions] Header/footer on every page but last?

2003-07-20 Thread Paulo Soares
- Original Message - From: "Tom Kofford" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 18, 2003 23:19 Subject: [iText-questions] Header/footer on every page but last? > How can I get a footer to print on every page but the last on a > varia

[iText-questions] Header/footer on every page but last?

2003-07-18 Thread Tom Kofford
How can I get a footer to print on every page but the last on a variable-length pdf? I looked at the page events, templates, tutorials, examples, and can't seem to find a way to do this. If I add it to every page in the onEndPage() event, is there a way to remove it from the last page in the

Re: [iText-questions] Header & Footer problems (repeated)

2003-01-31 Thread Rob Moore
: <[EMAIL PROTECTED]> To: "Rob Moore" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 5:13 PM Subject: Re: [iText-questions] Header & Footer problems (repeated) > > They will show up on the next page if you c

Re: [iText-questions] Header & Footer problems (repeated)

2003-01-30 Thread QJian
[EMAIL PROTECTED]cc: ceforge.net Subject: [iText-question

Re: [iText-questions] Header & Footer problems (repeated)

2003-01-30 Thread QJian
[EMAIL PROTECTED]cc: ceforge.net Subject: [iText-question

[iText-questions] Header & Footer problems (repeated)

2003-01-30 Thread Rob Moore
Howdy.  I hadn't received any response to this, so perhaps either no one has a solution/suggestion, or perhaps it passed by without notice.  I'm reposting in the case that it is the latter.  Thanks.     - Original Message - From: Rob Moore To: [EMAIL PROTECTED] Sent: Tuesday, Janu

[iText-questions] Header & Footer problems ...

2003-01-28 Thread Rob Moore
I am attempting to create a PDF file with text in the header and the page number in the footer.  I am following the examples in the tutorial, but neither show up in the generated PDF file.  The code I am using is below.  The log messages print successfully.  I am calling setFooter() before o