Re: [iText-questions] "Template not rendering as expected" Forum Post

2011-07-27 Thread 1T3XT BVBA
On 27/07/2011 1:08, James Butenhoff wrote: > Bruno (& folks), > > Using the unmodified MovieCountries1.java from SVN (Rev. 4521) and > several JVMs, I continue to generate the same problem my own code > experiences. Thank you for the bug report. The problem was introduced in iText 5.1.1. It's fix

Re: [iText-questions] "Template not rendering as expected" Forum Post

2011-07-27 Thread 1T3XT BVBA
On 27/07/2011 1:08, James Butenhoff wrote: > Using the unmodified MovieCountries1.java from SVN (Rev. 4521) and > several JVMs, I continue to generate the same problem my own code > experiences Hello, thank you for clarifying. This is actually a bug introduced in iText 5.1.1. We thought we had fi

Re: [iText-questions] "Template not rendering as expected" Forum Post

2011-07-26 Thread James Butenhoff
Bruno (& folks), Using the unmodified MovieCountries1.java from SVN (Rev. 4521) and several JVMs, I continue to generate the same problem my own code experiences. When the total pages number is written to the template's canvas, the position is directly above the expected target. For your reference

Re: [iText-questions] template top moves off the page when I add xml content

2008-12-15 Thread 1T3XT info
Shanti Mangala wrote: > When I add an image using the XmlPeer tag, the content > that comes before the image is replaced by image. > > Is there a workaround for this? What content, what image? Isn't it normal that a background image is covered by regular content? > Is there also a way to add

Re: [iText-questions] template top moves off the page when I add xml content

2008-12-14 Thread Shanti Mangala
1T3XT info 1t3xt.info> writes: > Please compare the page size of your background.pdf with the page size > of the PDF generated by Spring. Maybe one is in the A4 format, whereas > the other is in LETTER. That could explain the offset. That worked - thanks. When I add an image using the XmlPee

Re: [iText-questions] template top moves off the page when I add xml content

2008-12-14 Thread 1T3XT info
Shanti Mangala wrote: > I am using Spring's AbstractPdfView class to get my PDF document built, Here > is > the view class Please compare the page size of your background.pdf with the page size of the PDF generated by Spring. Maybe one is in the A4 format, whereas the other is in LETTER. That c

Re: [iText-questions] template top moves off the page when I add xml content

2008-12-14 Thread Shanti Mangala
1T3XT info 1t3xt.info> writes: > > Shanti.Mangala perficient.com wrote: > > > > Here is my issue - I am adding a pdf document as a template (this has a > > header and footer) using pageevents as a layer. > > The template is a PDF that is used as background. Is that correct? > > > Later on, I

Re: [iText-questions] template top moves off the page when I add xml content

2008-12-14 Thread 1T3XT info
shanti.mang...@perficient.com wrote: > > Here is my issue - I am adding a pdf document as a template (this has a > header and footer) using pageevents as a layer. The template is a PDF that is used as background. Is that correct? > Later on, I am adding to > this, some dynamic content parsed f

[iText-questions] template top moves off the page when I add xml content

2008-12-14 Thread Shanti . Mangala
Here is my issue - I am adding a pdf document as a template (this has a header and footer) using pageevents as a layer. Later on, I am adding to this, some dynamic content parsed from xml (pretty much similar to what is described in the book for simple letter example). When I don't add the xml

Re: [iText-questions] Template layers, graphics in the back please!

2008-02-01 Thread RM1X
Ok! Thanks everyone. Leonard Rosenthol wrote: > That is 100% correct. > > Leonard > > On Feb 1, 2008, at 11:58 AM, 1T3XT info wrote: > > >> RM1X wrote: >> >>> the image is still "clickable" ; it is highlighted in >>> the document if it is clicked. How do I prevent that layer from >>>

Re: [iText-questions] Template layers, graphics in the back please!

2008-02-01 Thread Leonard Rosenthol
That is 100% correct. Leonard On Feb 1, 2008, at 11:58 AM, 1T3XT info wrote: > RM1X wrote: >> the image is still "clickable" ; it is highlighted in >> the document if it is clicked. How do I prevent that layer from >> being >> interactive? > > Let me see if I get this right. You have added a

Re: [iText-questions] Template layers, graphics in the back please!

2008-02-01 Thread 1T3XT info
RM1X wrote: > the image is still "clickable" ; it is highlighted in > the document if it is clicked. How do I prevent that layer from being > interactive? Let me see if I get this right. You have added a plain image to a plain PDF (no forms, not an icon of a button, no interactivity). Now when

Re: [iText-questions] Template layers, graphics in the back please!

2008-02-01 Thread RM1X
Thanks Bruno, That does the trick. One more question if you can. Having fixed these elements, the image is still "clickable" ; it is highlighted in the document if it is clicked. How do I prevent that layer from being interactive? Thanks again. Bruno Lowagie wrote: > RM1X wrote: > >

Re: [iText-questions] Template layers, graphics in the back please!

2008-01-31 Thread Bruno Lowagie
RM1X wrote: > public void onStartPage(PdfWriter writer, Document document){ // why are you using onStartPage? >PdfContentByte cb = writer.getDirectContent(); // why aren't you using getDirectContentUnder(); >cb.beginLayer(not_printed); >cb.addTe

[iText-questions] Template layers, graphics in the back please!

2008-01-31 Thread RM1X
Hi everyone, So I baked up a little template with InDesign, and am loading the template at generation time with a writer.setPageEvent call that accepts the following object: private final class SomePDFTemplate extends PdfPageEventHelper { protected PdfImportedPage paper;

[iText-questions] Template Alignment - Need Solution !!!

2007-01-10 Thread Ramachandran
Hi Thanks for all your timely reply for my queriesSuccessfully that Image URL problem got Solved. the second thing what im facing is Template design Im Using DB for Table Values...if i got more than 5 data to the table means the template is not in a right alignmen

Re: [iText-questions] Template with color

2006-07-31 Thread Paulo Soares
You can create a template with anything inside. Set the color fill to blue, draw the rectangle and fill. Paulo - Original Message - From: "Develop" <[EMAIL PROTECTED]> To: Sent: Monday, July 31, 2006 7:26 PM Subject: [iText-questions] Template with color Hi, I

[iText-questions] Template with color

2006-07-31 Thread Develop
Hi,   Is it possible to create a template with a determined color? For example, I need to create a template area with a background blue color.   Thanks   Rodrigo Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora!-

Re: [iText-questions] Template documents

2006-03-17 Thread bruno
Martin Voelkle wrote: The problem with this approach is that there is no way to mark the areas that must be filled, like PDF fields. When converting the original source to PDF you can specify that some 'text object' (a Chunk, a PdfPCell,...) marks the location of a form field. br, Bruno

Re: [iText-questions] Template documents

2006-03-16 Thread Martin Voelkle
> >I'd like to create a PDF document (with a WYSIWYG editor) and fill > >some areas with programatically-generated fragments (not just text). > >How should I proceed? > > I would recommend that you NOT create a PDF until the final > stage, and instead use a format that can be WYSIWYG edite

Re: [iText-questions] Template documents

2006-03-16 Thread Leonard Rosenthol
At 09:46 AM 3/16/2006, Martin Voelkle wrote: I'd like to create a PDF document (with a WYSIWYG editor) and fill some areas with programatically-generated fragments (not just text). How should I proceed? I would recommend that you NOT create a PDF until the final stage, and instead use

[iText-questions] Template documents

2006-03-16 Thread Martin Voelkle
Hello I'd like to create a PDF document (with a WYSIWYG editor) and fill some areas with programatically-generated fragments (not just text). How should I proceed? I understand that PDF forms can only be filled with simple text and xhtml fragments. However, I would like to insert more complex fra

RE: [iText-questions] Template as background

2004-06-15 Thread Paulo Soares
> Subject: [iText-questions] Template as background > > Hi! > > I'm a real newbie to iText but so far I'm really happy about > what's possible > with this great piece of software. But after a few hours > playing around I > stumbled over the following problem: &

[iText-questions] Template as background

2004-06-14 Thread Jan Strohbehn
Hi! I'm a real newbie to iText but so far I'm really happy about what's possible with this great piece of software. But after a few hours playing around I stumbled over the following problem: I would like to use a simple template (some lines and a box) on every page of a PDF. I tried to use PdfT

[iText-questions] Template/Data Merging with Table

2004-03-23 Thread Yuan Hanson
Dear sir, I am very interested in your data merging part. From the example, since the template is in XML format, we really don't have too much control over the resulting PDF, ie, it will write one line at a time. If I want to layout certain tables, and I want to substitute values in the table cell

RE: [iText-questions] Template and Header

2003-10-30 Thread Paulo Soares
> -Original Message- > From: nicolas voleau [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 30, 2003 14:08 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Template and Header > > Hi, > > I want tu use the template fonctionnality of itext in orde

[iText-questions] Template and Header

2003-10-30 Thread nicolas voleau
Hi, I want tu use the template fonctionnality of itext in order to make an header with an image. How can i do this ? Is there a limitation of siez in the creation of a PDF ? Itext is a very useful class. _ MSN Messenger 6 htt

RE: [iText-questions] Template cutting off bottom of text . . .

2003-08-14 Thread Carmona Perez, David
: viernes, 01 de agosto de 2003 0:46 Para: [EMAIL PROTECTED] Asunto: Re: [iText-questions] Template cutting off bottom of text . . . Perhaps you're rendering the page number info too close to the bottom margin? Or there is another white object just below? Andrew On Thursday, July 31, 2003,

Re: [iText-questions] Template cutting off bottom of text . . .

2003-08-04 Thread Andrew McLaughlin
Perhaps you're rendering the page number info too close to the bottom margin? Or there is another white object just below? Andrew On Thursday, July 31, 2003, at 03:12 PM, Tom Kofford wrote: I am using a template in order to print "Page x of y" on every page. I am using the Chap1201.java ex

Re: [iText-questions] Template cutting off bottom of text . . .

2003-08-02 Thread Paulo Soares
template.setBoundingBox(new Rectangle(0, -10, 50, 50)) Best Regards, Paulo Soares - Original Message - From: "Tom Kofford" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 01, 2003 17:01 Subject: Re: [iText-questions] Template cutting off bottom of

Re: [iText-questions] Template cutting off bottom of text . . .

2003-08-01 Thread Tom Kofford
s, Tom From: <[EMAIL PROTECTED]> To: Tom Kofford <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [iText-questions] Template cutting off bottom of text . . . Date: Fri, 1 Aug 2003 15:53:04 +1000 (EST) Make sure your template is bigger enough to accomodate the comma. Just increment the

Re: [iText-questions] Template cutting off bottom of text . . .

2003-07-31 Thread phillip
Make sure your template is bigger enough to accomodate the comma. Just increment the width of the template should do. > I am using a template in order to print "Page x of y" on every page. I am > using the Chap1201.java example almost exactly as it is presented. The > difference is that I am

[iText-questions] Template cutting off bottom of text . . .

2003-07-31 Thread Tom Kofford
I am using a template in order to print "Page x of y" on every page. I am using the Chap1201.java example almost exactly as it is presented. The difference is that I am placing a comma after the page number in the onCloseDocument event: template.showText(String.valueOf(writer.getPageNumber() -

RE: [iText-questions] Template Concept supported in iText?

2003-01-09 Thread Paulo Soares
The answer is yes to all. Best Regards, Paulo Soares > -Original Message- > From: Pritam Dewan [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 09, 2003 10:27 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Template Concept supported in iText? > > Hi,

[iText-questions] Template Concept supported in iText?

2003-01-09 Thread Pritam Dewan
Hi,    I would like to know if the concept of templates supported in iText.What i mean is i generate a template for a pdf document with Acrobat Writer and then resuse this template by writing dynamic data.This what we have actually implemented in our framework for pdf.In the template we de

[iText-questions] Template Concept supported in iText?

2003-01-09 Thread Pritam Dewan
Hi,    I would like to know if the concept of templates supported in pdf.What i mean is i generate a template for a pdf document with Acrobat Writer and then resuse this template by writing dynamic data.This what we have actually implemented in our framework for pdf.In the template we defin

Re: [iText-questions] Template

2002-12-19 Thread Paulo Soares
Your page code is supposed to go into a page event... Best Regards, Paulo Soares - Original Message - From: "Collenghi, Ruggero" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 16:23 Subject: [iText-questions] Template > I'm

[iText-questions] Template

2002-12-19 Thread Collenghi, Ruggero
I'm trying to use PdfTemplate, but it seems not to work. My document is made by one big PdfPTable (with some others PdfPTables nested). Some code follows.. document.open(); PdfContentByte cb = writer.getDirectContent(); PdfTemplate templateNumeroPagina = cb.createTemplate(50 ,50)

Re: [iText-questions] template

2002-10-02 Thread Gerald Fehringer
See http://www.lowagie.com/iText/examples/Chap1201.java for an example on how to do it ..   Kind regards, Gerald. - Original Message - From: Eduardo B. Santilli - SICREDI Serviços To: iText Sent: Wednesday, October 02, 2002 3:45 PM Subject: [iText-questions

[iText-questions] template

2002-10-02 Thread Eduardo B. Santilli - SICREDI Serviços
I want to create a template that will work as my footer in my pdf I got to create the template and write a text on the and of the page. Now i need to insert a PdfTable as my footer. How can i do this?? I try to insert a pdfTable in  PdfContentByte, to insert him on template, but doesn´t