[iText-questions] Small enhancement for CMYKColor

2005-05-02 Thread Michael Glauche
Hi, I often store values for CMYKColor as hexstrings, for example #00ff. For using them in CMYKColor i made a additional constructor like this: /** * Generates a CMYK Color based on a hex string, for example #00ff for black * * @param color a 4 Byte hex string repre

Re: [iText-questions] features of itext

2005-04-24 Thread Michael Glauche
Paulo Soares schrieb: iText can convert images to pdf. Images supported are png, gif, tiff, jpeg, bmp and wmf. iText cannot convert pdf to image. You might have a look at jmagick ( the java wrapper for imagemagick). With jmagick you can convert pdf to images (it basicly calls native imagemagick,

Re: [iText-questions] easy way for cropping an image ?

2005-04-17 Thread Michael Glauche
Bruno Lowagie schrieb: Michael Glauche wrote: So instead of scaling the image to 300x400, you want to keep original size of the image (>300x400), but only show a clipped part of it. I think I would use PdfTemplate in this case. You could create a template of 300x400 and add a larger image to

[iText-questions] easy way for cropping an image ?

2005-04-16 Thread Michael Glauche
Hi, I want to insert an image, lets say an jpg to a pdf document like this: Image img = Image.getInstance("cmyk_test.jpg"); img.scaleAbsolute(300,400); document.add(img); But now, i only want to display a part of the image in the 300x400 pt "windo

Re: [iText-questions] Landscape orientation (XML -> PDF)

2004-12-17 Thread Michael Glauche
[EMAIL PROTECTED] schrieb: Hi, how do i render a document in Landscape mode ? (I'm looking for the XML tag & attribute) Use something like this: Document document = new Document(PageSize.A4.rotate()); regards, Michael --- SF email is sponsored

Re: [iText-questions] iText and Acrobat 7

2004-12-17 Thread Michael Glauche
Paulo Soares schrieb: I mean support in that way, that i can create a pdf v1.6 document with itext. Yes. Btw .. what are the important new features of pdf 1.6 anyway ? :) regards, Michael --- SF email is sponsored by - The IT Product Guide Rea

Re: [iText-questions] ColumnText and Paragraphs ...

2004-12-17 Thread Michael Glauche
Paulo Soares schrieb: A complete example, please. See attachment for it. If you run it, notice the 5 lines on the left box are repeated on the right side ! Btw .. if you could use some more ColumnText examples for documentation purposes, let me know :) regards, Michael import java.io.Fi

[iText-questions] ColumnText and Paragraphs ...

2004-12-16 Thread Michael Glauche
Hi, I found another problem with ColumnText and the composite mode: When i set the Paragraph.setKeepTogether(true) attribute of some paragraphs and add them to a 2 row Columntext, the paragraph where the split is is correctly moved to the 2nd column. But the "rest" of it is still on the first

Re: [iText-questions] Bug in ColumnText + list with sublist

2004-12-14 Thread Michael Glauche
Paulo Soares schrieb: It's fixed replace in ColumnText around line 1087: yes, it works perfectly ! Thank you very much ! regards, Michael --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Produc

Re: [iText-questions] Bug in ColumnText + list with sublist

2004-12-11 Thread Michael Glauche
Paulo Soares schrieb: I'll look into it this weekend. By the way, would it make sense to move the parts out of goComposite into a general "movable" class with list, ptable, graphics, etc as subclasses ? That would make it easier for writing new parts into ColumnText ... regards, Michael ---

Re: [iText-questions] XML parser library..

2003-09-14 Thread Michael Glauche
Jan Meyland Andersen wrote: Hi, I want to do some XML-parsing, but I don’t know where to get the XML-parser, library and the SAX library. I tried several now but none seems to work. I downloaded j2ee.jar and put it in the ”jre/lib/ext” folder. i think sax and dom are part of the normal java 1

Re: [iText-questions] Line space

2003-09-10 Thread Michael Glauche
there will be some space between the top of the Box and the first line (and it seems not to be leading-fontsize). (tested with itext-1.00) is it a bug ? (setleading(float,float) did also not solve this problem) regards, Michael -- Michael Glauche, Dipl. Inform. Connectio

Re: [iText-questions] Inserting EPS files into PDF

2003-08-29 Thread Michael Glauche
On Fri, 2003-08-29 at 13:59, Leonard Rosenthol wrote: > At 10:34 AM +0200 8/29/03, Michael Glauche wrote: > >you can convert them to pdf files, which are easy to import with > >itext :) A good programm for this is ps2pdf, which is part of the > >ghostscipt package ... >

Re: [iText-questions] Inserting EPS files into PDF

2003-08-29 Thread Michael Glauche
which are easy to import with itext :) A good programm for this is ps2pdf, which is part of the ghostscipt package ... regards, Michael -- Michael Glauche, Dipl. Inform. Connection GmbH [EMAIL PROTECTED] http://www.connection-net.de/ pgp key: http://www.connection-n

[iText-questions] itext with gcj ?

2003-08-14 Thread Michael Glauche
Hi, is it possible to compile itext apps with gcj (i'm using gcj 3.2.3) ? It seems that the gcj implementation of java.awt.* classes differ from the sun java.awt.* classes, i get some errors like the following: (with gcj -c itext-paulo-125.jar -o it.o) com/lowagie/text/pdf/codec/PngImage.java:4

Re: [iText-questions] Help

2003-07-02 Thread Michael Glauche
Joao Issamu Francisco wrote: Olá, Gostaria de saber para reduzir os espaços entre as linhas de um paragrafo? E se é possível controlar a altura de um table e de um cell? Obrigado João Hello, please repeat your question in english, so that we can help you. regards, Michael -- Michael

Re: [iText-questions] Using Columntext with X and Y

2003-06-23 Thread Michael Glauche
t-y as the width and height of the rectangle. Are you sure u need ColumnText to do what u want to do ? regards, Michael -- Michael Glauche, Dipl. Inform. Connection GmbH [EMAIL PROTECTED] http://www.connection-net.de/ pgp key: http://www.connection-net.de/~mglauche/mg

Re: [iText-questions] Transformation matrix

2003-06-23 Thread Michael Glauche
Math.sin(a2),(float)-Math.sin(a2), (float)Math.cos(a2) ,x + xa, y + ya) regards, Michael -- Michael Glauche, Dipl. Inform. Connection GmbH [EMAIL PROTECTED] http://www.connection-net.de/ pgp key: http://www.connection-net.de/~mglauche/mglauche.asc "The surest sign

[iText-questions] Hanging Indent ?

2003-06-18 Thread Michael Glauche
e leading ? Any simpler ideas how to solve that ? TIA, Michael Glauche -- Michael Glauche, Dipl. Inform. Connection GmbH [EMAIL PROTECTED] http://www.connection-net.de/ pgp key: http://www.connection-net.de/~mglauche/mglauche.asc "The surest sign that intelligent li