Re: [iText-questions] About XSL + XML

2002-10-31 Thread Bruno
Quoting lihui <[EMAIL PROTECTED]>: > Is there any example for transforming a basic xml and xsl file into a iText > xml? There was no time to work further on XML support. http://www.lowagie.com/iText/tutorial/ch07.html gives you some examples and the example in Chapter 12 can be inspiring too. I

Re: [iText-questions] PdfAcroForm question

2002-10-31 Thread Paulo Soares
You can use PdfFormField.setMKRotation() but I admit that this should be done by iText. Best Regards, Paulo Soares --- Leonard Rosenthol <[EMAIL PROTECTED]> wrote: > At 3:33 PM -0500 10/30/02, bin shi wrote: > > I am using PdfAcroForm to create TextField, > >CheckBox and etc in PDF. when I cr

Re: [iText-questions] Creating Index page which list topic with Page Numbers

2002-10-31 Thread Paulo Soares
Page (and outline) reordering is already implemented. See the examples in my site. Best Regards, Paulo Soares --- Bruno <[EMAIL PROTECTED]> wrote: > Quoting [EMAIL PROTECTED]: > > > Hai, > > > > we were using ITEXT for our project to create PDF > documents and this working > > fine.I have a requ

Re: [iText-questions] About XSL + XML

2002-10-31 Thread David Thielen
www.WindwardReports.com sort-of does this. It uses a rtf file and xml file. - dave - Original Message - From: "lihui" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 2:45 PM Subject: [iText-questions] About XSL + XML > Is there any example for transforming

Re: [iText-questions] PdfAcroForm question

2002-10-31 Thread bin shi
Thanks, but it doesn't tell how to use the parameter of setMKRotation(int rotation) in the API specification, is it a angle? And after I call this function, what else should I do? like this: PdfFormField pdfFF = acroForm.addSingleLineTextField("name", "your name", helv, fontSize, 171, 400, 350,

Re: [iText-questions] jdk 1.4?

2002-10-31 Thread Paulo Soares
--- Bruno <[EMAIL PROTECTED]> wrote: > Quoting David Thielen <[EMAIL PROTECTED]>: > > > Hi; > > > > Does the newest version of iText require 1.4? > > No, it can be compiled with 1.3. > But if you compile it with 1.4, you can't use the > compiled code > in a 1.3 JVM (unless you compiled it with

Re: [iText-questions] PdfAcroForm question

2002-10-31 Thread Paulo Soares
It's "The number of degrees by which the widget Annotation is rotated counterclockwise relative to the page. The value must be a multiple of 90." Best Regards, Paulo Soares --- bin shi <[EMAIL PROTECTED]> wrote: > Thanks, but it doesn't tell how to use the parameter > of setMKRotation(int rotatio

RE: [iText-questions] valign of Cell in Landscape mode

2002-10-31 Thread Paulo Soares
Vertical alignment in Cell is shaky. If you really need it use PdfPTable. Best Regards, Paulo Soares > -Original Message- > From: SATHISH Sreedharan [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, October 31, 2002 4:53 > To: '[EMAIL PROTECTED]' > Subject: [iText-questions] valign of Cel

[iText-questions] Reference to CJK fonts

2002-10-31 Thread Beukelman, Ken
I am using iText to generate PDF from existing Java2D code and have 3 questions: 1) Why do I get the "Missing configuration files for CJK fonts" message when I execute the following statement: g2 = cb.createGraphics(width, height, mapper); 2) Can I suppress it

[iText-questions] tutorial for using columns?

2002-10-31 Thread David Thielen
Is there one?   thanks - dave

[iText-questions] ColumnText vs Paragraph

2002-10-31 Thread David Thielen
Hi;   Ok, I'm pretty new to iText and this is just my first impression. But it seems to me that ColumnText should contain Paragraphs rather than you have to use ColumnText instead of Paragraphs. Or that ColumnText should inherit from Paragraph.   ??? - dave

[iText-questions] Phrase style of underlined & bold

2002-10-31 Thread David Thielen
How do you set the style to be underlined and bold? There is a BOLDITALIC but no BOLDUNDERLINED and it doesn't say if you can or these together.   thanks - dave

Re: [iText-questions] Phrase style of underlined & bold

2002-10-31 Thread Matt Benson
Everything should be fine if you just OR them together. I could be wrong however as from the code I can't see any reason why BOLDITALIC has to be its own constant. It must be relevant on the end of the actual font as opposed to the iText Font object...? -Matt --- David Thielen <[EMAIL PROTECTED

[iText-questions] Element.ALIGN_CENTER doesn't work

2002-10-31 Thread David Thielen
I set:     pdfPara = new Paragraph();     pdfPara.setAlignment( Element.ALIGN_CENTER );     pdfPara.add( new Phrase( elem.getText(),       new Font( font,       ((float)charState.getFontSize()) / 2.0f,        style )));     pdfPara.add( new Phrase( elem.getText(),      

[iText-questions] leading problems

2002-10-31 Thread David Thielen
Hi;   I'm having two problems with paragraph leading. First, it appears that the leading you set is absolute, not added to the leading that is normal for the para. Is there any way to add leading other than waiting for when the paragraph is all built and then do a get leading and then add it

Re: [iText-questions] Reference to CJK fonts

2002-10-31 Thread Paulo Soares
You can disregard it. The version in my site (and the next official version) only compliains when actually trying to use a CJK font if it's not installed. Best Regards, Paulo Soares --- "Beukelman, Ken" <[EMAIL PROTECTED]> wrote: > I am using iText to generate PDF from existing > Java2D code and

Re: [iText-questions] tutorial for using columns?

2002-10-31 Thread Paulo Soares
There are examples in my site http://www.geocities.com/itextpdf. Best Regards, Paulo Soares --- David Thielen <[EMAIL PROTECTED]> wrote: > Is there one? > > thanks - dave __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http:

Re: [iText-questions] ColumnText vs Paragraph

2002-10-31 Thread Paulo Soares
ColumnText is fed with chunks/phrases that are then processed and writen. Best Regards, Paulo Soares --- David Thielen <[EMAIL PROTECTED]> wrote: > Hi; > > Ok, I'm pretty new to iText and this is just my > first impression. But it seems to me that ColumnText > should contain Paragraphs rather th