Re: [iText-questions] Re: StackOverflowException PdfGraphics2D.drawString (Mac OS X only)

2006-02-23 Thread Paulo Soares
That's fixed now in the CVS. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Thursday, February 23, 2006 8:54 PM Subject: [iText-questions] Re: StackOverflowException PdfGraphics2D.drawString (Mac OS X only) Does anyone know if this has been entered into the bug system fo

Re: [iText-questions] Writing an XMP Xpacket

2006-02-23 Thread Bruno Lowagie
Segev, Eli wrote: How can I retrieve the id from this xpacket? By parsing the XML? Is there a standard way of writing the xpacket headers using iText? What I mean by header is the lines that I included above. http://partners.adobe.com/public/developer/en/xmp/sdk/xmpspecification.pdf BTW,

Re: [iText-questions] highlights

2006-02-23 Thread Bruno Lowagie
Yefimov, Sergey wrote: Thank you very much for your answer. I have another question according to the text highlighting. In acrobat you can open for example this url http://www.adobe.com/a.pdf#xml=www.adobe.com/a.txt (http://partners.adobe.com/public/developer/en/pdf/HighlightFileFormat.pdf

Re: [iText-questions] Pixel values of a PDF page

2006-02-23 Thread Bruno Lowagie
kalper wrote: Do you know any library(especially Java and open source) that can take the pixel values of a pdf page? I have no idea why you are looking for such functionality because the question is really absurd. One of the assets of PDF is that it doesn't have a resolution, so it doesn't hav

[iText-questions] Need help with Bookmark Children when using HashMap

2006-02-23 Thread garettDaBland
I have the code from the concat_pdf.java file working with the HashMap parent = new HashMap(); parent.put("Title", "Parent"); parent.put("Action", "GoTo"); parent.put("Page", fPage+" Fit"); master.add(parent); Is there a list of additional properties? What I am looking for is how to create a chi

[iText-questions] Re: PDF compression

2006-02-23 Thread Leonard Rosenthol
At 09:31 PM 2/23/2006, [EMAIL PROTECTED] wrote: i am attaching you the pdf file i want to compress in an attachment along with this mail.. there are 2 files Thanks! the compression we need is for reducing the redundant fonts in the file. it counts to almost 64% of the file size.. also

[iText-questions] How to Add HyperLink Image

2006-02-23 Thread GigiJK
Hello, Can anyone show me how to add a hyperlink image on the upper lefthand corner of a pdf file using iText?   Thanks _GJK

[iText-questions] Re: StackOverflowException PdfGraphics2D.drawString (Mac OS X only)

2006-02-23 Thread barry
Does anyone know if this has been entered into the bug system for itext? It doesn't appear to be fixed yet. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media.

RE: [iText-questions] Pixel values of a PDF page

2006-02-23 Thread Bill Ensley
What exactly are you asking? "Pixel values of a pdf page" doesn't make any sense. Are you wanting to create a preview image of a whole PDF Page? -Bill Ensley Bear Printing -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of kalper Sent: Thursday, February

Re: [iText-questions] Pixel values of a PDF page

2006-02-23 Thread kalper
Do you know any library(especially Java and open source) that can take the pixel values of a pdf page? -- View this message in context: http://www.nabble.com/Pixel-values-of-a-PDF-page-t1174363.html#a3096500 Sent from the iText - General forum at Nabble.com. ---

[iText-questions] Writing an XMP Xpacket

2006-02-23 Thread Segev, Eli
Title: Writing an XMP Xpacket This is how an xpacket in a PDF file looks like: 641 0 obj<>stream … How can I retrieve the id from this xpacket? Is there a standard way of writing the xpacket headers using iText?  What I mean by header is the lines that I included above.  BT

[iText-questions] highlights

2006-02-23 Thread Yefimov, Sergey
Thank you very much for your answer. I have another question according to the text highlighting. In acrobat you can open for example this url  http://www.adobe.com/a.pdf#xml=www.adobe.com/a.txt  (http://partners.adobe.com/public/developer/en/pdf/HighlightFileFormat.pdf ) with highlights.

RE: [iText-questions] Blurry images

2006-02-23 Thread Paulo Soares
iText doesn't modify images. If it looks blurry the problem (if there's a problem) is the viewer. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Ulvi Cetin > Sent: Thursday, February 23, 2006 5:51 PM > To: itext-questions@lists.sourceforg

RE: [iText-questions] PdfReader & MemoryStream

2006-02-23 Thread Paulo Soares
I suggest you give more details. (Reply to the mailing list, not to me) > -Original Message- > From: Nidhu Nijhawan [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 23, 2006 5:07 PM > To: Paulo Soares; itext-questions@lists.sourceforge.net > Subject: [iText-questions] PdfReader & Mem

[iText-questions] Blurry images

2006-02-23 Thread Ulvi Cetin
Hi, I import a logo in a document as below: Image logo = Image.getInstance(directory + "logo_b.jpg"); logo.scalePercent(100); doc.add(logo); The logo prints smaller than the normal size (compared to a Word document) and thus it is blurry. The size of the original image on the printed paper is

RE: [iText-questions] PdfImportPage Margins

2006-02-23 Thread Leonard Rosenthol
At 11:32 AM 2/23/2006, Richard Braman wrote: So the psuedocode would be: You got it! Remember it's not the largest SINGLE bounding box, but that ONE EDGE of an object's bounding box exceeds that edge of your "enclosing box". Eg. if (objBox.left < enclosingBox.left ) enclo

[iText-questions] PdfReader & MemoryStream

2006-02-23 Thread Nidhu Nijhawan
  I am creating a PdfReader with MemoryStream that has pdf document previously created using Itext.  I get this error: "PDF header signature not found".   Please suggest.     Thanks   Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.

RE: [iText-questions] PdfImportPage Margins

2006-02-23 Thread Richard Braman
So the psuedocode would be: For every object on pdfpage { object.get bounding box (probably using PDFRectangle) if the area of the current object's bounding box is greater than the area of the largest one we have seen so far set the largest area to the area this objects bo

[iText-questions] iText Doubt

2006-02-23 Thread RADHA
Hi all, I am currently using itext 1.3.1 version.. I am displaying an image as logo in my RTF document. but when there is no image, an equivalent empty space should be left out in the document.. i hav scaled my images to 500x70 dimension. In the absence of the image i should get blank space in the

[iText-questions] RE: PDF compression

2006-02-23 Thread harshili . patil
hi, does full compression mean reduction of file size of the pdf??? also after splitting the stamped file (141Kb, single page) gets reduced to split file (71Kb, single file) how is this possible?? thanks & regards, harshii Notice: The information contained in this e-mail message and/or attachm

[iText-questions] Rebecca Peltz is out of the office.

2006-02-23 Thread Rebecca . Peltz
I will be out of the office starting 02/23/2006 and will not return until 02/27/2006. I will respond to your message when I return. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications int

[iText-questions] RE: PDF compression

2006-02-23 Thread Leonard Rosenthol
At 06:31 AM 2/23/2006, [EMAIL PROTECTED] wrote: does full compression mean reduction of file size of the pdf??? It means using object-level compression to reduce the size of the file, yes. However, depending on what is in the file, it may not get reduced "as much as you'd like"...

[iText-questions] problem in setting header for round rectangle

2006-02-23 Thread Sowjanya Sree
Hi.. I am trying to create a table with round corners. i got the desired out put. but once i tried to set the header for the table, i am getting a square header which is not fitting to the round corners of the table.  Kindly look into this and give me solutions for the same.  i am sending the cod

RE: [iText-questions] createAwtImage bug?

2006-02-23 Thread Paulo Soares
You switched the color bars. Try: java.awt.Image image = code128.createAwtImage(Color.BLACK,Color.WHITE); > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Fredrik Frost > Sent: Thursday, February 23, 2006 11:49 AM > To: itext-questions@lists.sou

[iText-questions] Re: PDF compression

2006-02-23 Thread bruno
[EMAIL PROTECTED] wrote: hi, does full compression mean reduction of file size of the pdf??? Not always. It depends on the data. For small files with only one page full compression will lead to a bigger file size. also after splitting the stamped file (141Kb, single page) gets reduced to sp

Re: [iText-questions] Pixel values of a PDF page

2006-02-23 Thread Leonard Rosenthol
At 05:10 AM 2/23/2006, kalper wrote: How can obtain the RGB and CMYK pixel values of a pdf page? What if the color used is not RGB or CMYK?PDF supports 11 different colorspaces... I want to take whole pdf page as an image and obtain pixel values of this image. Which image for

[iText-questions] createAwtImage bug?

2006-02-23 Thread Fredrik Frost
Hello My name is Fredrik and I am using the itext package in a project that needs codebar generation. When I use the barcode128 class to generate a barcode in a pdf file it works great, however when I use the createAwtImage class to generate a barcode as a java.awt.Image the output image is

[iText-questions] RE: PDF compression

2006-02-23 Thread Leonard Rosenthol
At 05:45 AM 2/23/2006, [EMAIL PROTECTED] wrote: I would like to have PDF compression using ITEXT. How do i achieve this? itried using setFullCompression() method.. however it didn't workout.. What do you mean "didn't work out"? Why not? What specific compression do you mean?

Re: [iText-questions] Pixel values of a PDF page

2006-02-23 Thread bruno
kalper wrote: How can obtain the RGB and CMYK pixel values of a pdf page? I want to take whole pdf page as an image and obtain pixel values of this image. Which image format must be used? iText doesn't do PDF rendering. br, Bruno --- This

Re: [iText-questions] createGraphics and Tomcat problem

2006-02-23 Thread bruno
[EMAIL PROTECTED] wrote: Is it possible that while running on tomcat the iText has a problem creating Graphics Maybe your JVM can't create Graphics on your (UNIX? Linux?) system because you forgot the X Server. br, Bruno --- This SF.Net em

[iText-questions] Re: PDF compression

2006-02-23 Thread bruno
[EMAIL PROTECTED] wrote: Hi, I would like to have PDF compression using ITEXT. How do i achieve this? itried using setFullCompression() method.. however it didn't workout.. How do you know it doesn't work? Do you know what full compression means? is there anyother way i can achieve this?

[iText-questions] createGraphics and Tomcat problem

2006-02-23 Thread Andrzej . Ciereszko
Hi! I have a following problem. I have a stamping application to place a stamp in the PDF document. While everything in Windows works great, when I upload it to a machine running Tomcat (to stamp the documents generated on-the-fly), I get an error... Here it is: type Exception report message de

[iText-questions] Pixel values of a PDF page

2006-02-23 Thread kalper
How can obtain the RGB and CMYK pixel values of a pdf page? I want to take whole pdf page as an image and obtain pixel values of this image. Which image format must be used? -- View this message in context: http://www.nabble.com/Pixel-values-of-a-PDF-page-t1174363.html#a3086735 Sent from the iTe