[iText-questions] addTemplate and rotation

2002-03-07 Thread Robert Tsai
hello,   i'm trying to add a template and rotate it 90 degrees. (it's in landscape)   i've tried:   cb.addTemplate(page1, 0, 1, -1, 0, 0, 50);   but nothing shows up on the page... also i want to be able to scale this document to 95% of original.   thanks

RE: [iText-questions] drawing rotated text?

2002-03-07 Thread Thomas McKay
I was just playing with ColumnText and couldn't get the text to show up with just a call to ct.go(). Looking at the example, I ended up calling columnText.go(); columnText.setYLine( 8.0f * 72 ); columnText.setAlignment( Element.ALIGN_JUSTIFIED ); columnText.go(); Not sur

RE: [iText-questions] drawing rotated text?

2002-03-07 Thread Jeff Kolesky
I want to rotate a piece of text 90 degrees counter-clockwise. I wrote the code below with no attempts at using rotation and the string shows up fine. When I added in the saveState(), concatCTM(), and restoreState() method calls, the text does not show up at all. Is there a step I am missing

[iText-questions] representing PDF entirely as XML

2002-03-07 Thread Thomas McKay
What I have in mind is being able to save an PDF file in XML format and then exactly recreate that PDF from the XML. Does anyone else see the need for this? To date, there are some fundamental pieces missing from the XML. For example, the document size is not stored with the XML. By extending

RE: [iText-questions] Qestion on EJB: OutputStream problem

2002-03-07 Thread Paulo Soares
You don't have to put the pdf generation at the far end. You can get the parameters via EJB and generate the pdf at the servlet level. If you want to generate the pdf at the remote side just send the complete pdf as a byte array. Best Regards, Paulo Soares > -Original Message- > From: Go

[iText-questions] [RTF] image in header or footer

2002-03-07 Thread Ulrich Rueth
Hi, when using images (e.g. company logo) in a header or footer element (be it with the new RtfHeaderFooter or the standard HeaderFooter class), the output is just an asterisk "*" instead of the picture itself. Is this not (yet) supported? Uli ___ i

[iText-questions] Version for jdk1.1.x available for release 0.87 (the last one insourceforce)

2002-03-07 Thread Paulo Soares
Version for jdk1.1.x available for release 0.87 (the last one in sourceforce) at: http://www.geocities.com/itextpdf Best Regards, Paulo Soares ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questi

[iText-questions] Re: text wrap around an image at absolute position

2002-03-07 Thread bruno
Thomas McKay writes: > I haven't tried it yet, but I'm guessing an solution would be to define > irregular columns that wrap around the placed images. > > http://www.lowagie.com/iText/examples/Chap1008.java > http://www.lowagie.com/iText/tutorial/ch10.html You are right, or you put everything

RE: [iText-questions] text wrap around an image at absolute position

2002-03-07 Thread Thomas McKay
I haven't tried it yet, but I'm guessing an solution would be to define irregular columns that wrap around the placed images. http://www.lowagie.com/iText/examples/Chap1008.java http://www.lowagie.com/iText/tutorial/ch10.html Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EM

[iText-questions] Qestion on EJB: OutputStream problem

2002-03-07 Thread Gordon Luk
Hi all, Is there any expert had to write EJB as report service, such use iText to generating PDF and return to client. There have a problem , that is the OutputStream , because that is not Seiralizable, and EJB also could not use java.io.*. I have search from the web, a solution found ( i am not

[iText-questions] text wrap around an image at absolute position

2002-03-07 Thread Thomas McKay
Is it possible to wrap text around an image placed at an absolute position? Image image = Image.getInstance( "daveandsteph.jpg" ); //image.setAbsolutePosition( 72 * 1, 72 * 5 ); image.setAlignment( Image.LEFT | Image.TEXTWRAP ); image.scaleToFit( 72 * 3, 72 * 2 ); do

[iText-questions] iText 0.87 released

2002-03-07 Thread Bruno Lowagie
Hello, I'm not able to connect to my mailserver at lowagie.com for the moment, but I wanted to let you know that iText 0.87 has been released. A lot of questions posted to the mailing list recently are answered by this new release, kind regards, Bruno __

[iText-questions] Re: XML and Template

2002-03-07 Thread Markus Pallo
Hello, sorry for again more questions... On Friday 01 March 2002 12:58, you wrote: > Markus Pallo writes: > > How can i get the size of the document ? > > You define the pageSize yourself when you create the document > (this is the object you are passing to the SAXiTextHandler). > Take a look at

Re: [iText-questions] Re: Multi-line headers/footers

2002-03-07 Thread Matt Benson
I apologize for my not being able to say exactly what it was that you add to your HeaderFooter; indeed, it is a Phrase. For multiline, use something like: HeaderFooter footer = new HeaderFooter(new Phrase ("line 1\nline 2")); This is what Bruno was saying. -Matt --- [EMAIL PROTECTED] wrote:

[iText-questions] Re: Tab support

2002-03-07 Thread bruno
Neil Pattinson writes: > Greetings, > > On 23/4/2001, Paulo S. stated that there was no support for tabs in > iText. > > It still doesn't seem to be there in vn 0.86. Is it likely to appear in > the near future? No, I don't think so. PDF doesn't have a notion of tabs. Bruno __

[iText-questions] Re: Diffrent spaces beetween with same code?

2002-03-07 Thread bruno
Lumir Navrat writes: > Hi > > when I write my result document. I put some table to the document. > As can see in the attached PDF the spaces are diffrent. It's bug or it > something what i didn't see. You mean the space between the tables. This space depends from the current leading. I guess t

[iText-questions] Tab support

2002-03-07 Thread Neil Pattinson
Greetings, On 23/4/2001, Paulo S. stated that there was no support for tabs in iText. It still doesn't seem to be there in vn 0.86. Is it likely to appear in the near future? Regards, Neil Pattinson ___ iText-questions mailing list [EMAIL PROTECTED]

Re: [iText-questions] Re: Multi-line headers/footers

2002-03-07 Thread Mark
Hi, Steffen Stundzig wrote: >Hi bruno, > >On Thu, 07 Mar 2002 08:36:38 GMT >[EMAIL PROTECTED] wrote: > >>Steffen Stundzig writes: >> >>>Perhaps could we push this in the super class HeaderFooter? >>> >>But what if different writers are listening to the same >>Document object. The HTML writer doe

Re: [iText-questions] Re: Multi-line headers/footers

2002-03-07 Thread Steffen Stundzig
Hi bruno, On Thu, 07 Mar 2002 08:36:38 GMT [EMAIL PROTECTED] wrote: > Steffen Stundzig writes: > > > Perhaps could we push this in the super class HeaderFooter? > > But what if different writers are listening to the same > Document object. The HTML writer doesn't know about pagenumbers, > but

RE: [iText-questions] drawing rotated text?

2002-03-07 Thread Paulo Soares
Yes. Apply PdfContentByte.concatCTM() probably between a saveState()/restoreState(). Best Reards, Paulo Soares > -Original Message- > From: Jeff Kolesky [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, March 06, 2002 19:49 > To: [EMAIL PROTECTED] > Subject: [iText-questions] drawing ro

RE: [iText-questions] info IText (fwd)

2002-03-07 Thread Paulo Soares
Encrypt the document with permissions 0. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, March 07, 2002 8:20 > To: [EMAIL PROTECTED] > Subject: [iText-questions] info IText (fwd) > > --Forwarded message

[iText-questions] Re: Landscape and Portrait Orientation in one Document

2002-03-07 Thread bruno
[EMAIL PROTECTED] writes: > is this a method to change the orientation even if the document is already > opened? Again: there is an example in Chapter 1 of the tutorial about this: http://www.lowagie.com/iText/examples/Chap0107.pdf http://www.lowagie.com/iText/tutorial/ch01.html#firstpage ___

Re: [iText-questions] Re: Landscape and Portrait Orientation in oneDocument

2002-03-07 Thread JasperIan . Guela
Hi Bruno ! There is no problem when the whole document will be set to Landscape orientation. The problem is when you want change the orientation when you have already opened and written contents to the document. The way to change the orientation to Landscape is by the rotate() method. D

[iText-questions] Re: Multi-line headers/footers

2002-03-07 Thread bruno
Steffen Stundzig writes: > Perhaps could we push this in the super class HeaderFooter? But what if different writers are listening to the same Document object. The HTML writer doesn't know about pagenumbers, but the PDF writer could be on a whole different page than the RTF writer... If they all

Re: [iText-questions] Re: Multi-line headers/footers

2002-03-07 Thread Steffen Stundzig
Hi all, in the last checked in RTF stuff of iText, there is an RTFHeaderFooter that accepts an 'Element' as content parameter. I've coded this, because I need a multi columned footer and so I can pass a table to the footer. A disadvantage of this approach is, that I need to handle the page num

[iText-questions] info IText (fwd)

2002-03-07 Thread bruno
--Forwarded message -- Return-Path: <[EMAIL PROTECTED]> I call Ermanno and are one student of computer science engineering and I would want to use its IText in order to develop my thesis, which draft of modifications of pdf file's through java! In the first place I would want