Re: [iText-questions] PdfContentByte qQ

2009-06-29 Thread Leonard Rosenthol
gmail.com] Sent: Monday, June 29, 2009 12:45 AM To: Post all your questions about iText here Subject: [iText-questions] PdfContentByte qQ Hi, I have a couple of questions about the lower level operations of PdfContentByte. Firstly, I've noticed that when I create a new PdfContentByte (using G

[iText-questions] PdfContentByte qQ

2009-06-28 Thread Trent Whitbourn
Hi, I have a couple of questions about the lower level operations of PdfContentByte. Firstly, I've noticed that when I create a new PdfContentByte (using GetUnderContent from PdfStamper) the new PdfContentByte always appends q (save state) and Q (restore state) to the end of itself. Why does it do

Re: [iText-questions] PdfContentByte

2008-09-18 Thread Paulo Soares
s about iText here > Subject: Re: [iText-questions] PdfContentByte > > Hi Paulo > Could you show me in code? Or point out in the itext book, where I > might look for an example? Here is what I have code wise for adding > the space. > >private void AddSpace(){ >

Re: [iText-questions] PdfContentByte

2008-09-17 Thread Dean Krueger
l Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Dean Krueger >> Sent: Thursday, September 11, 2008 6:56 PM >> To: Post all your questions about iText here >> Subject: Re: [iText-questions] PdfContentByte >> >> Is t

Re: [iText-questions] PdfContentByte

2008-09-15 Thread Dean Krueger
>> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Dean Krueger >> Sent: Thursday, September 11, 2008 6:56 PM >> To: Post all your questions about iText here >> Subject: Re: [iText-questions] PdfContentByte >&g

Re: [iText-questions] PdfContentByte

2008-09-11 Thread Paulo Soares
tember 11, 2008 6:56 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] PdfContentByte > > Is there way to reset them back to zero and keep the new dimension? So > that the boxes are 0,0, hight, width? > > Dean > > On Thu, Sep 11, 2008 at

Re: [iText-questions] PdfContentByte

2008-09-11 Thread Dean Krueger
e. > > Paulo > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Dean Krueger >> Sent: Thursday, September 11, 2008 6:14 PM >> To: itext-questions@lists.sourceforge.net >> Subject: [iText-question

[iText-questions] PdfContentByte

2008-09-11 Thread Dean Krueger
Hi, When using a PdfContentByte how can I tell it which box to use for a starting position? What box does it use by default? I have a pdf that when using PdfContentByte for putting text on the pdf, starts way higher than the 10 pts I tell it to start at. The art, bleed, media, trim and bbox on tho

Re: [iText-questions] PdfContentByte

2008-09-11 Thread Paulo Soares
o: itext-questions@lists.sourceforge.net > Subject: [iText-questions] PdfContentByte > > Hi, > When using a PdfContentByte how can I tell it which box to use for a > starting position? What box does it use by default? I have a pdf that > when using PdfContentByte for putting text on the pdf, s

Re: [iText-questions] PdfContentByte and writing part of text as sub/superscript or bold

2007-12-01 Thread Martin Taal
gt; Paulo > > - Original Message - > From: "Martin Taal" <[EMAIL PROTECTED]> > To: > Sent: Saturday, December 01, 2007 9:22 PM > Subject: Re: [iText-questions] PdfContentByte and writing part of text as > sub/superscript or bold > > > >

Re: [iText-questions] PdfContentByte and writing part of text as sub/superscript or bold

2007-12-01 Thread Paulo Soares
Show us the PDFs or the code. Paulo - Original Message - From: "Martin Taal" <[EMAIL PROTECTED]> To: Sent: Saturday, December 01, 2007 9:22 PM Subject: Re: [iText-questions] PdfContentByte and writing part of text as sub/superscript or bold > Bedankt allebei voor

Re: [iText-questions] PdfContentByte and writing part of text as sub/superscript or bold

2007-12-01 Thread Martin Taal
Bedankt allebei voor het snelle antwoord! This works fine, only when I set horizontal scaling on the chunks I get a strange result. My case: I have several chunks (for superscript etc.) and I add this to one Phrase before passing the phrase to ColumnText.showTextAligned. Before adding to the ph

Re: [iText-questions] PdfContentByte and writing part of text as sub/superscript or bold

2007-12-01 Thread Bruno Lowagie
Martin Taal wrote: how can I write part of the text into the PdfContentByte as super/subscript or give part of the text another font? I suggest using ColumnText.showTextAligned(parameters) in this case. It will save you plenty of work. groetjes uit Vlaanderen, Bruno smime.p7s Description: S/

Re: [iText-questions] PdfContentByte and writing part of text assub/superscript or bold

2007-12-01 Thread Paulo Soares
ColumnText.showTextAligned(). Paulo - Original Message - From: "Martin Taal" <[EMAIL PROTECTED]> To: Sent: Saturday, December 01, 2007 12:55 PM Subject: [iText-questions] PdfContentByte and writing part of text assub/superscript or bold Hi, I want to write text at a s

[iText-questions] PdfContentByte and writing part of text as sub/superscript or bold

2007-12-01 Thread Martin Taal
Hi, I want to write text at a specific location on the pdf. For this I use the code below which works fine. However my question is how can I write part of the text into the PdfContentByte as super/subscript or give part of the text another font? I see that the PdfContentByte has a setTextRise me

Re: [iText-questions] PdfContentByte Problems

2007-05-22 Thread Bruno Lowagie (iText)
Heather Richardson wrote: > The page numbers are working correctly, however the table is not > displaying correctly. I'm not sure what I did wrong but I have a feeling > it has something to do with the ContentByte. I used examples given on > your website to get this far and I'm sure I just have

[iText-questions] PdfContentByte Problems

2007-05-21 Thread Heather Richardson
Hi, I have a pdf where on each page I display a portion of a table and a footer with page 1 out of numPages. The page numbers are working correctly, however the table is not displaying correctly. I'm not sure what I did wrong but I have a feeling it has something to do with the ContentByte. I use

Re: [iText-questions] PdfContentByte == null

2007-01-18 Thread Bruno Lowagie (iText)
John Pedersen wrote: > Paulo, > > I hope I haven't offended by sending you the code and pdf's that are > causing my difficulty. > I have reduced the code to the minimum which throws the > NullPointerException, and I am still stuck in the same place. I'm sorry, but I find that very hard to belie

Re: [iText-questions] PdfContentByte == null

2007-01-18 Thread John Pedersen
Paulo, I hope I haven't offended by sending you the code and pdf's that are causing my difficulty. I have reduced the code to the minimum which throws the NullPointerException, and I am still stuck in the same place. Do you have time to look at it? Can you suggest a way forward? Thanks, John

Re: [iText-questions] PdfContentByte == null

2007-01-15 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of John Pedersen > Sent: Monday, January 15, 2007 11:54 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] PdfContentByte == null > > H

Re: [iText-questions] PdfContentByte == null

2007-01-15 Thread John Pedersen
Hi Paulo, In trying to isolate the code that would give me the null ContentByte object, I have come across another problem that I have been trying to sort out - the error 'Irregular columns are not supported in composite mode.' I am not trying to use irregular columns. public void testBuildPDF()

Re: [iText-questions] PdfContentByte == null

2007-01-15 Thread Paulo Soares
5, 2007 9:35 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] PdfContentByte == null > > Hi, > > In the following code: > > reader = new PdfReader(baos.toByteArray()); > document = new Document(reader.getPageSizeWithRotation(1)); > document.o

[iText-questions] PdfContentByte == null

2007-01-15 Thread John Pedersen
Hi, In the following code: reader = new PdfReader(baos.toByteArray()); document = new Document(reader.getPageSizeWithRotation(1)); document.open(); stamper = new PdfStamper(reader, new FileOutputStream( outputFileName)); stamper.insertPage(++pageNum, reader.getPageSizeWithRotation(1)); PdfConten

Re: [iText-questions] PdfContentByte not showing when doing a SilentPrint

2006-12-04 Thread Frank Griffith
Thanks for the quick response... I found that the problem is not that the text I've added to the document is not displaying, but that the silent print seems to scale the page differently. The text was not being displayed on the page... when I adjusted the position of the text, it was working again.

Re: [iText-questions] PdfContentByte not showing when doing a SilentPrint

2006-12-02 Thread Paulo Soares
I don't see how that can happen. Can you post a link to a PDF? Paulo - Original Message - From: "Frank Griffith" <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROTECTED]> Sent: Friday, December 01, 2006 11:01 PM Subject: [iText-questions] PdfContentByte not showin

[iText-questions] PdfContentByte not showing when doing a Silent Print

2006-12-02 Thread Frank Griffith
I'm building my PDF by adding individual TIFF pages to the PdfContentByte. Then I'm added some text to the PdfContentByte to be displayed at the top of each page. It works fine when I open the pdf and print it from the menu, but when I use the silent print, the text I've added doesn't print. I'm n

Re: [iText-questions] PdfContentByte

2006-11-23 Thread Bruno Lowagie
Giampaolo Capelli wrote: > thank you very much, > I solved my problem by create a first file with concatenation of > multiple pdf files, and then I used PdfStamper to add an index. > Is there a way to avoid to create a temporary intermediate file, and to > work directly on the file written by Pdf

Re: [iText-questions] PdfContentByte

2006-11-23 Thread Giampaolo Capelli
thank you very much, I solved my problem by create a first file with concatenation of multiple pdf files, and then I used PdfStamper to add an index. Is there a way to avoid to create a temporary intermediate file, and to work directly on the file written by PdfCopy? Bruno Lowagie wrote: >[EMA

Re: [iText-questions] PdfContentByte

2006-11-23 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: > This is my problem: > I have some pdf files, and I want to create a pdf file which must include > (import) them, and in the first page it must have an index for them. > I want the index rows to be links to the corresponding pdf files imported in > the global pdf. Sound

Re: [iText-questions] PdfContentByte

2006-11-23 Thread [EMAIL PROTECTED]
This is my problem: I have some pdf files, and I want to create a pdf file which must include (import) them, and in the first page it must have an index for them. I want the index rows to be links to the corresponding pdf files imported in the global pdf. Currently, I managed to create a pdf fil

Re: [iText-questions] PdfContentByte

2006-11-23 Thread Bruno Lowagie
Giampaolo Capelli wrote: > Hi all, > I would need a feature not implemented yet: Apparently you don't know iText very well. > I'm using cb.addTemplate() but it loose interactive pdf objects like > annotations (for instance arrows inserted from Acrobat). That's normal. It's documented in the

[iText-questions] PdfContentByte

2006-11-22 Thread Giampaolo Capelli
Hi all, I would need a feature not implemented yet: I'm using cb.addTemplate() but it loose interactive pdf objects like annotations (for instance arrows inserted from Acrobat). How can I solve my problem? I can't use PdfCopy, because I'm dealing with a piece of legacy software... or co

[iText-questions] PdfContentByte Text Sizing

2005-12-12 Thread Alan Johnson
I was wondering how someone would go about determining how much space some text will take up when adding the text with PdfContentByte. My problem is that I've added a page using PdfStamper.insertPage and I now need to add text to that page. The text may be more than one page long. If there is a be

Re: [iText-questions] PdfContentByte Text Sizing

2005-12-12 Thread Bruno Lowagie
Alan Johnson wrote: I was wondering how someone would go about determining how much space some text will take up when adding the text with PdfContentByte. There are methods to measure the width of a String in class BaseFont. My problem is that I've added a page using PdfStamper.insertPage

RE: [iText-questions] PdfContentByte and Hebrew

2005-11-07 Thread Paulo Soares
ColumnText.showTextAligned(). Don't forget to set the direction flag. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of David Thielen > Sent: Monday, November 07, 2005 2:43 PM > To: 'itext' > Subject: RE:

RE: [iText-questions] PdfContentByte and Hebrew

2005-11-07 Thread David Thielen
EMAIL PROTECTED] Sent: Monday, November 07, 2005 3:19 AM To: David Thielen; itext Subject: RE: [iText-questions] PdfContentByte and Hebrew Use ColumnText. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of David Thielen > Sent: Sunday,

RE: [iText-questions] PdfContentByte and Hebrew

2005-11-07 Thread Paulo Soares
Use ColumnText. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of David Thielen > Sent: Sunday, November 06, 2005 9:08 PM > To: itext > Subject: [iText-questions] PdfContentByte and Hebrew > > Hi; > &

[iText-questions] PdfContentByte and Hebrew

2005-11-06 Thread David Thielen
Hi; If I am using calls to PdfConteneByte to place text on the page, how do I tell it some text is Hebrew (RTL)? Thanks - dave David Thielen www.windwardreports.com 303-499-2544 --- SF.Net email is sponsored by: Tame you

Re: [iText-questions] pdfContentByte: endText vs. circle

2005-07-26 Thread Paulo Soares
: "Serge LE HUITOUZE" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 26, 2005 2:57 PM Subject: [iText-questions] pdfContentByte: endText vs. circle Hello there, I'm trying to produce graphical representations of some data together with accompanying text that is represented as

[iText-questions] pdfContentByte: endText vs. circle

2005-07-26 Thread Serge LE HUITOUZE
Hello there, I'm trying to produce graphical representations of some data together with accompanying text that is represented as mere paragraphs. My graphical representations involves axis and (String) labels on these axis. My inspiration for drawing labels was file "align2.java" in Paulo's ex

[iText-questions] PDFContentByte toPDF()

2005-05-18 Thread Kruno
Hi, One question: I have PDFContentByte object (passed to method as parameter). How can I create a PDF document from this PDFContentByte object ? I presume that this is done with the toPDF() method ? But how ? Kruno --- This SF.Net email

Re: [iText-questions] PDFContentByte toPDF()

2005-05-18 Thread bruno
Krunoslav Požega wrote: Hi, One question: I have PDFContentByte object (passed to method as parameter). How did you get the PdfContentByte object in the first place? By answering this question, you also answer your own question where the direct content goes. br, Bruno --

[iText-questions] PDFContentByte toPDF()

2005-05-17 Thread Krunoslav Požega
Hi, One question: I have PDFContentByte object (passed to method as parameter). How can I create a PDF document from this PDFContentByte object ? I presume that this is done with the toPDF() method ? But how ? Kruno To sporočilo in vse njegove morebitne priloge lahko vsebujejo zaupne inform

RE: [iText-questions] PdfContentByte and OutOfMemory Exception

2005-01-17 Thread Paulo Soares
o: Paulo Soares; itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] PdfContentByte and OutOfMemory > Exception > > Hello, > > what do you exactly mean with "Render just the jtable rows > you need for each > page"? > > I want to print 32 r

Re: [iText-questions] PdfContentByte and OutOfMemory Exception

2005-01-16 Thread kgnurps
AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] PdfContentByte and OutOfMemory Exception > > Hello, > > I print a JTable by using following code: > > PdfContentByte cb = writer.getDirectContent(); > cb.saveState(); > Graphics2D g2 = cb.createGr

RE: [iText-questions] PdfContentByte and OutOfMemory Exception

2005-01-14 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of kgnurps > Sent: Friday, January 14, 2005 11:54 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] PdfContentByte and OutOfMemory Exception >

[iText-questions] PdfContentByte and OutOfMemory Exception

2005-01-14 Thread kgnurps
Hello, I print a JTable by using following code: PdfContentByte cb = writer.getDirectContent(); cb.saveState(); Graphics2D g2 = cb.createGraphics(width, heigth); table.print(g2); g2.dispose(); cb.restoreState(); My problem is a quite big JTable, which needs more than 1 page to be print. I use the

RE: [iText-questions] PdfContentByte -another question

2005-01-10 Thread Paulo Soares
the resulting pdf-file. > > Best Regards, > > Katrin > > > > You also need a cb.stroke() or cb.fill() after the rectangle. > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On > >

RE: [iText-questions] PdfContentByte -another question

2005-01-10 Thread kgnurps
> [mailto:[EMAIL PROTECTED] On > > Behalf Of [EMAIL PROTECTED] > > Sent: Monday, January 10, 2005 7:44 AM > > To: iText-questions@lists.sourceforge.net > > Subject: [iText-questions] PdfContentByte -another question > > > > Hi, > > > > first of a

RE: [iText-questions] PdfContentByte -another question

2005-01-10 Thread Paulo Soares
You also need a cb.stroke() or cb.fill() after the rectangle. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Monday, January 10, 2005 7:44 AM > To: iText-questions@lists.sourceforge.net > Subj

[iText-questions] PdfContentByte -another question

2005-01-09 Thread kgnurps
Hi, first of all I'd like to thank Paulo for explaining to me how to move a JTable graphic which is in a PdfContentByte. Everything works well. But my JTable has lost two borders and I want to repaint them. But cb.rectangle() does nothing. I also tried graphics.drawLine, but either the border is

RE: [iText-questions] PdfContentByte

2005-01-07 Thread Paulo Soares
Move the jtable with PdfContentByte.transform(). > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Friday, January 07, 2005 8:43 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-ques

[iText-questions] PdfContentByte

2005-01-07 Thread kgnurps
Hi, I am a newbie to iText and I think, I did not understand how the PdfContentByte works. I want to print a JTable to pdf and created a document header and footer and a PDFPTable which should work as the table header. The JTable object is printed to a PdfContentByte. Here's some code: PdfWriter

[iText-questions] PdfContentByte - How to set alignments in the document?

2005-01-05 Thread kgnurps
Hello everybody, I use iText for printing a JTable to pdf. But how can I fix the position of the PdfContentByte (which holds the JTable)in the document? The table is printed at the top of the document and at the very left side. It doesn't accept any margins. Here's some code: PdfWriter writer = P

RE: [iText-questions] PdfContentByte, Graphics2D, PdfPTable and Page Breaks

2004-07-15 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Philip Kaleta > Sent: Thursday, July 15, 2004 3:23 AM > To: [EMAIL PROTECTED] > Subject: [iText-questions] PdfContentByte, Graphics2D, > PdfPTable and Page Breaks > &g

[iText-questions] PdfContentByte, Graphics2D, PdfPTable and Page Breaks

2004-07-14 Thread Philip Kaleta
Hiya, This is my first post - *resounding chorus of applause* - and I have what I think is a fairly simple set of questions. I wouldn't have posted them if I hadn't already searched the mailing list and the net high-and-low for the answers, to no avail. So, if you've heard these before, please f

[iText-questions] PdfContentByte problem with Chapter.

2004-02-21 Thread Gianni Antini
Hi, I using PdfContentByte to add line in absolute position. I have this problem: when I add a line, this is not really add at the moment bat in the previous chapter. I suppose that Chapter (and Sections inside) are flush on below PdfContentByte only at the end of Chapter, so when I add a line di

[iText-questions] PdfContentByte Problem

2003-11-18 Thread Jörg Böhme
Hi, I try to use PdfContentByte to build my pdf. This pdf is a response to a html link and should be open in Browser. If i use Simple Itext, it runs. I followed the documention to create lines etc. But i use PdfContentByte I get the following Exception java.io.IOException "The document hat no page

RE: [iText-questions] PdfContentByte - writing text to the contentbyte - using colour

2003-08-18 Thread Paulo Soares
Change the fill color. Best Regards, Paulo Soares > -Original Message- > From: Sharp, Stephen (PLNSA) [SMTP:[EMAIL PROTECTED] > Sent: Monday, August 18, 2003 6:38 > To: '[EMAIL PROTECTED]' > Subject: [iText-questions] PdfContentByte - writing text to

[iText-questions] PdfContentByte - writing text to the contentbyte - using colour

2003-08-17 Thread Sharp, Stephen (PLNSA)
I have a requirement to accurately position text on a page. This I have done using the PdfContentByte and writing text to the contentbyte. However I would also like to change the colour of the text. How can one achieve this? Also there is a dead link in http://www.lowagie.com/iText/tutorial/ch10

[iText-questions] PdfContentByte

2003-07-23 Thread Margarita Lïpez del Campo
I'm reading the on-line document of iText and in chapter 10 I've read that exist one API of class PdfContentByte and one PDF Reference manual. The link doesn't work. Could somebody tell me where I can find these??? Thanks a lot. ¡¡¡OFERTA VERANO: TISCALI ADSL TOP 24 h. a 9,95 €/mes más música y

[iText-questions] PdfContentByte

2002-11-18 Thread Pablo Jimenez
I'm using a PdfPTable, I need to know whether the line I´m writing will fix intothe page of oreging or change pages. I don´t know how many rows fit in a page cause it depends on the value of the row. I would like to know when adding a row where is the contentByte position. thanks, regards pablo

[iText-questions] PDFContentByte Anchor

2002-10-10 Thread Zack
How can I add into a PDFContentByte a anchor at a specific position?     Zack

[iText-questions] PdfContentByte trouble

2002-03-13 Thread Kevin Galligan
I've been having some trouble using PdfContentByte with our code. We've been using pdflib with some of our other stuff, so it was easier to convert using a low level pdf writer than to use the document objects. We're getting into that later, but for now we're trying to us PdfContentByte. Anyway.