[iText-questions] retrieving the position of last text written

2006-01-12 Thread Kalra, Ashwani
Hi, I am trying to figure out the solution for the following problem. I will get a pdf Stream and I have to start writing  a table at absolute position on this pdf(using table.writeSelectedRows) .  Is there any way I can find out where  the contents of the current pdf  have ended(ie the pos

Re: [iText-questions] Problem with iText documents

2006-01-12 Thread Paulo Soares
Works for me. Does it fail with all the printers? - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Thursday, January 12, 2006 8:55 PM Subject: [iText-questions] Problem with iText documents Dear support team, I have to view and to print a lot of pdf-files coming from an inter

[iText-questions] Content overlap and Z-order depth

2006-01-12 Thread David Woosley
How do I manage the Z-order (depth) for elements draw on either the over or under content? In other words, I am using the stamper to draw on both the over and under content, with existing elements in between. I need to specifically define the depth of each item on either content. Af first, I ass

[iText-questions] Problem with iText documents

2006-01-12 Thread emv-zentrum.de
Dear support team, I have to view and to print a lot of pdf-files coming from an international working group. My problem: The pdf-files generated with iText can be viewed, edited, etc. - but not be printed with the recently installed Acrobat 7.05. The printer gets stuck. (The old Acrobat 4 wo

Re: [iText-questions] Content overlap and Z-order depth

2006-01-12 Thread Paulo Soares
The text will always be over over the rectangle. Maybe you don't see the text because it's the same color of the rectangle. - Original Message - From: "David Woosley" <[EMAIL PROTECTED]> To: "iText Questions (E-mail)" Sent: Thursday, January 12, 2006 8:06 PM Subject: [iText-questions]

[iText-questions] Content overlap and Z-order depth

2006-01-12 Thread David Woosley
How do I manage the Z-order (depth) for elements draw on either the over or under content? In other words, I am using the stamper to draw on both the over and under content, with existing elements in between. I need to specifically define the depth of each item on either content. Af first, I ass

RE: [iText-questions] Fonts Cursive and Fantasy

2006-01-12 Thread Paulo Soares
Embed the font. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Julio Luiz Vedovatto Neto > Sent: Thursday, January 12, 2006 5:07 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Fonts Cursive and Fantasy > > Hi ppl >

RE: [iText-questions] positioning image in a page

2006-01-12 Thread Paulo Soares
scaleToFit() keeps the image proportions. If you want to fit exactly, even if with distortion, use scaleAbsolute(). > -Original Message- > From: Firouz Bharthania [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 12, 2006 4:41 PM > To: Paulo Soares > Subject: RE: [iText-questions] posi

RE: [iText-questions] positioning image in a page

2006-01-12 Thread Paulo Soares
The positioning in pdf is from the bottom left. By the way, the code you presented has nothing to do with this pdf. > -Original Message- > From: Firouz Bharthania [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 12, 2006 4:41 PM > To: Paulo Soares > Subject: RE: [iText-questions] pos

Re: [iText-questions] Fonts Cursive and Fantasy

2006-01-12 Thread Bruno Lowagie
Julio Luiz Vedovatto Neto wrote: My code: BaseFont font = BaseFont.createFont("/home/julio/Primer.ttf",BaseFont.CP1252,BaseFont.NOT_EMBEDDED); Font fonte = new Font(font, cb.getFonte_size(), Font.NORMAL); the primer font is a test font ok? This code should work - if the file Primer.ttf is pr

[iText-questions] Fonts Cursive and Fantasy

2006-01-12 Thread Julio Luiz Vedovatto Neto
Hi pplSorry for the other mail (about table size and doc size).But i have new problemI need to generate the pdf document in 5 different fonts:Generic Names- Sans-serif- Serif- Monospace- Cursive- FantasyWell, i find in the itext font times new roman (equals serif), courier (equals monospace) and he

Re: [iText-questions] Add an entire document to a document...

2006-01-12 Thread Bruno Lowagie
michelle jeffreys wrote: Hi, We have a scenario where we want to merge multiple documents (txt/rtf/pdf/word) into one '.pdf' document. iText doesn't read RTF or Word Documents. You can only convert plain text to PDF and import pages AS-IS from existing PDFs. So far I have only managed to

Re: [iText-questions] table size and document size

2006-01-12 Thread Bruno Lowagie
Julio Luiz Vedovatto Neto wrote: Now, my problem. I create and document with width and height, passed for parameter in a data base, but when i open the generated pdf, the properties indicates what the size is the same what i passed, but when take a snapshot and check with image soft, indicate

Re: [iText-questions] the old xml to pdf problem

2006-01-12 Thread Bruno Lowagie
M 501 wrote: First Question: Since this mail is half a year old I want to ask if there has something changed since that time. No and there are no plans to implement this. Second Question: If I have to write my own handler, where is the best way to start? A manual on SAX and the Javadocs o

Re: [iText-questions] Footer question

2006-01-12 Thread Bruno Lowagie
(please keep on the mailing list) Greg Cardoza wrote: Can I use that code in a servlet as apposed to a Java application which this examples is showing. Of course you can. The examples in the tutorial are made standalone for your convenience, so that you can run them on every system without

[iText-questions] the old xml to pdf problem

2006-01-12 Thread M 501
Hello, I am new to iText and I have the problem that I want to convert xml files to pdf. I have seen that there is a possibility to do this. However the problem is that my xml describes forms. So I wanted to add acro forms to the pdf. I have read in the mail archive that STOKES Mark NGPS7 has g

Re: [iText-questions] Footer question

2006-01-12 Thread bruno
Greg Cardoza wrote: Hello, Could someone lead me in the direction to import a table of 1 column with 3 rows and put that into a footer. I basically don't want to hard code spaces and the text in the HeaderFooter class. Any help would be appreciated. To get this result: http://itextdocs.

[iText-questions] Footer question

2006-01-12 Thread Greg Cardoza
Hello, Could someone lead me in the direction to import a table of 1 column with 3 rows and put that into a footer. I basically don't want to hard code spaces and the text in the HeaderFooter class. Any help would be appreciated. Thanks _

RE: [iText-questions] Object data...

2006-01-12 Thread Leonard Rosenthol
At 11:09 PM 1/11/2006, Alan wrote: Thank you Leonard. I've got a basic idea of how it works so, with your hints, I should be able to sort it out... although at the moment I think "pretty easy" is a fairly relative term ;-). Granted. Fortunately, Paulo did the hard work by getti

RE: [iText-questions] mirror or flip a PDFTemplate

2006-01-12 Thread Paulo Soares
addTemplate(img, -1, 0, 0, 1, img.width(), 0); > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Andre Peters > Sent: Thursday, January 12, 2006 11:56 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] mirror or flip a PDFT

[iText-questions] table size and document size

2006-01-12 Thread Julio Luiz Vedovatto Neto
Hello people !First of all, i'm happy to enter on this maillisting =).Now, my problem.I create and document with width and height, passed for parameter in a data base, but when i open the generated pdf, the properties indicates what the size is the same what i passed, but when take a snapshot and c

[iText-questions] Need Help and Info

2006-01-12 Thread Sandeep Pathak
Hi,   I have an HTML file which has pure HTML code. I get this file object during the run time. I need to convert this HTML code to pdf. Basically I need to get the byte array which can be stored in the DB as a blob and can later be shown as a pdf.   I am able to do the same but there i

[iText-questions] mirror or flip a PDFTemplate

2006-01-12 Thread Andre Peters
I want to mirror a template with the matrix. In a earlier topic, i `ve found the following code to flip a image, but it isnt working with a template. addImage(img, -img.width(), 0, 0, img.height(), img.width(), 0); Has anybody this answer for this problem? greetz Andre __

RE: [iText-questions] positioning image in a page

2006-01-12 Thread Paulo Soares
It would be helpful to see the pdf. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of fpcs > Sent: Thursday, January 12, 2006 12:57 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] positioning image in a page > > Hi, > >

RE: [iText-questions] Setting Image in Signature Appearance

2006-01-12 Thread Paulo Soares
PdfSignatureAppearance.setImage() will do it for you. > -Original Message- > From: Lu, Steve (MTO) [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 11, 2006 11:53 PM > To: Paulo Soares > Subject: RE: [iText-questions] Setting Image in Signature Appearance > > Hi I have read your exa

RE: [iText-questions] Edit Fields?

2006-01-12 Thread Paulo Soares
See http://itextdocs.lowagie.com/tutorial/general/copystamp/index.html#pdfstamper. You'll need the latest iText version. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wooten, BryanSent: Wednesday, January 11, 2006 9:44 PMTo: itext-questions@lists.sourceforge

[iText-questions] positioning image in a page

2006-01-12 Thread fpcs
Hi, I'm trying to position a tiff image in the page but although I set the absolut position to be at (0,0) still it gets shift down abot 2mm. I appriciate if any body helps me with it. Let me know if you need the PDF file. Here is my peice of code: BufferedImage img = sourceImage; Documen