Re: [iText-questions] setting media box different to page size

2006-05-23 Thread Martin Resch
in which case(s) could be moving the point of origin a problem and why? Leonard Rosenthol schrieb: At 03:49 AM 5/23/2006, Martin Resch wrote: - set the mediabox and the physical page size to the overall size (in my case to the size of the bleed box) - set the size of the crop box to the size

Re: [iText-questions] setting media box different to page size

2006-05-23 Thread Martin Resch
he crop box centered in the physical page - move the point of origin to the upper left corner of the crop/trim box - place the objects as usally i think i could do so, don't you think? thanks for your answer(s) again! martin Leonard Rosenthol wrote: At 11:17 AM 5/22/2006, Martin Resch

[iText-questions] setting media box different to page size

2006-05-22 Thread Martin Resch
hello, i want to set the media box with negative x and y coordinates, because my point of origin of any elements is relative to the trim box. so the media box has to be larger than the trim box. the page size of the document equals the trim box. can i do so or do i have to set the p

[iText-questions] eps/ps format

2006-02-02 Thread Martin Resch
hello, can anybody tell me the settings/features of an eps/ps file so it can be read by Image.getInstance() and placed in a document object? or a little howto generating one with correct settings in the mainly used programms (freehand, photoshop, illustrator, ...)? thank you!!! best regar

Re: [iText-questions] exact width of text

2005-06-15 Thread Martin Resch
ot; see the BaseFont methods getCharBBox(), getWidth(), getWidthPoint() and getAscent(). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Resch Sent: Wednesday, June 15, 2005 4:06 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-que

Re: [iText-questions] exact width of text

2005-06-15 Thread Martin Resch
--Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Resch Sent: Wednesday, June 15, 2005 3:28 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] exact width of text hello, is there ANY way (maybe without iText) to get a more exact

[iText-questions] exact width of text

2005-06-15 Thread Martin Resch
hello, is there ANY way (maybe without iText) to get a more exact width of a text than the getWidthPoint()-method? or any possibility to get all informations (em quadrat, exact width of any character of the font) to calculate the exact width manually? the FontMetrics-Class from j2se is unfor

[iText-questions] Em attributes from fonts

2005-06-15 Thread Martin Resch
hi, how con i get the size and width of the Em-box of an character? Because of the getWitdthPoint()-method is not exact enough, i have to calculate the width of a certain text by my own. thanks for your help! best regards, martin begin:vcard fn:Martin Resch n:Resch;Martin org:ADaptions Gmb

[iText-questions] skewing text with contentbyte

2005-05-30 Thread Martin Resch
hi, in class chunk there is the method setSkew(). is it possible to skew the textwith the content byte (maybe with a affine transformation)? thanks in advance. Best regards, Martin --- This SF.Net email is sponsored by Yahoo. Introducin

[iText-questions] scale fonts vertically

2005-03-16 Thread Martin Resch
Hello, in Chunk there's a function setHorizontalScaling(float scale). Is there a possibility to scale a font vertically? Thanks for your help! Best regards, Martin --- SF email is sponsored by - The IT Product Guide Read honest & candid review

AW: [iText-questions] iText 1.2.2 - bug in image?

2005-01-31 Thread Martin Resch
-questions@lists.sourceforge.net Betreff: Re: [iText-questions] iText 1.2.2 - bug in image? Martin Resch wrote: >Hi Bruno, > > just now i updated from paulo-151 to 1.2.2. > Oops, I overlooked this line. I am really busy for the moment. Anyway: I found a bug that was very obvious an

[iText-questions] iText 1.2.2 - bug in image?

2005-01-31 Thread Martin Resch
Hi Bruno, just now i updated from paulo-151 to 1.2.2. In my program, i set writer.setPDFXConformance(PdfWriter.PDFX32002). Now i get following exception: DocumentException: com.lowagie.text.pdf.PdfXConformanceException: The /SMask key is not allowed in images. at com.lowagie.text.p

[iText-questions] Animated gif

2005-01-14 Thread Martin Resch
Hello, is it possible to insert an animated gif in a pdf so that is animating when opening the document? Best regards, Martin --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.n

AW: [iText-questions] BaseFont.setKerning()

2004-12-02 Thread Martin Resch
ares Gesendet: Donnerstag, 2. Dezember 2004 22:04 An: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: RE: [iText-questions] BaseFont.setKerning() Kerning only works in PdfContentByte. From: [EMAIL PROTECTED] on behalf of Martin Resch Sent: Thu 02-Dec-04 18:31 To: [E

[iText-questions] BaseFont.setKerning()

2004-12-02 Thread Martin Resch
Hello everyone, this time I've a problem with BaseFont.setKerning(). Here's the code-snip: PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("test.pdf")); document.open(); PdfContentByte cb = writer.getDirectContent();

[iText-questions] Absolute positioning of lists

2004-11-12 Thread Martin Resch (adaptions GmbH)
Hello, is it possible to position a list absolutly on a page? I tried it this way: List->Paragraph->PdfPCell->PdfPTable and positioned the table, but this doesn't work, the content of the ListItems are placed in one line without a ListSymbol. Thanks a lot, Martin --

[iText-questions] Java nio

2004-11-10 Thread Martin Resch (adaptions GmbH)
Hello, in a PDF i have to include a lot of images. I tried the NIO-package to create the bytearray myself and then instance the Image-object like this: FileChannel roChannel = new RandomAccessFile(url, "r").getChannel(); ByteBuffer roBuf = roChannel.map(FileChannel.MapMode.READ_ONLY, 0, (

[iText-questions] pdf2html

2004-10-28 Thread Martin Resch \(adaptions GmbH\)
Hi, is it possible to generate and manipulate HTML-files from existing PDF's with the PdfReader an HtmlWriter? Best reagards, Martin --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE Lin

[iText-questions] leading and alignment in PdfPCell

2004-10-27 Thread Martin Resch (adaptions GmbH)
Hello, I've a PdfPTable with a PdfPCell (with absolute height, no padding) inside. In the cell there is a Phrase. The Phrase is aligned with PdfPCell.setVerticalAlignment(). Everything is all right as long as there isn't a leading. After calling the function PdfPCell.setLeading(x,