Re: [iText-questions] page lock and page break

2003-03-19 Thread Bruno
Quoting isha afisha <[EMAIL PROTECTED]>: > Hi... > > Does anybody know how to set page break or page lock for every page in my > report...?? document.newPage(); ? --- This SF.net email is sponsored by: Does your code think in ink? You coul

Re: [iText-questions] Can I use line-feed code in Text?

2003-03-19 Thread Bruno
Quoting HIYAMA Yumiko <[EMAIL PROTECTED]>: > Hi, > > I'm using i-Text now, and I have a question ,it is, Can > I use line-feed code(character) in Text? > I want to write a sentences in absolute position, and I > want to break a sentence in Text. In that case I would use ColumnText. Bruno

[iText-questions] Language Problem, HTML to PDF

2003-03-19 Thread nam mj
Hi, Thanks for reading this message! iText is very useful for me. I try to change HTML to PDF. HTML includes Korean Language. First, I executed "http://www.lowagie.com/iText/examples/Chap0706.java";. Exception like this occurred. "java.io.UTFDataFormatException: Invalid byte 2 of 2-byte UTF-8 seque

[iText-questions] Can I use line-feed code in Text?

2003-03-19 Thread HIYAMA Yumiko
Hi, (B (B I'm using i-Text now, and I have a question ,it is, Can (BI use line-feed code(character) in Text? (BI want to write a sentences in absolute position, and I (Bwant to break a sentence in Text. But I could not use "\n" (Bin Text.. If I can break a sentence using a another code, (

[iText-questions] page lock and page break

2003-03-19 Thread isha afisha
Hi... Does anybody know how to set page break or page lock for every page in my report...?? pls let me know a.s.a.p thank you.. --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free T

RE: [iText-questions] Modifying Metadata

2003-03-19 Thread Leonard Rosenthol
At 2:33 PM -0800 3/19/03, Kishore Subramanian wrote: Actually I noticed that the contents of the file has been modified. When I open the generated file in Notepad, I can see some ascii values (the original file has non-printable binary characters .. which is expected). Can you send me an example

RE: [iText-questions] Modifying Metadata

2003-03-19 Thread Leonard Rosenthol
At 3:18 PM -0800 3/19/03, Kishore Subramanian wrote: Is it possible to update just the metadata without having to re-write the contents of the file ? Are there any APIs that will allow me to do this ? Yes, but none in "pure Java" that I would recommed. Try something like APSetInfo (http://www.

RE: [iText-questions] Modifying Metadata

2003-03-19 Thread Kishore Subramanian
Is it possible to update just the metadata without having to re-write the contents of the file ? Are there any APIs that will allow me to do this ? My application has to deal with huge files and reading/writing the file seems a very costly process. Kishore -Original Message- From: Matt

RE: [iText-questions] Modifying Metadata

2003-03-19 Thread Matt Benson
One reason things might look different: in my recent experiments with modifying metadata, I modified not only the XMP metadata, but for good measure I also modified the info dictionary. I noticed in doing this that although the info dictionary was stored near the end of the file in the source PDF,

RE: [iText-questions] Modifying Metadata

2003-03-19 Thread Kishore Subramanian
[ New data was added and other objects and things were incorporated. It shouldn't be a big difference in size... ] Actually I noticed that the contents of the file has been modified. When I open the generated file in Notepad, I can see some ascii values (the original file has non-printable b

RE: [iText-questions] Modifying Metadata

2003-03-19 Thread Leonard Rosenthol
At 1:39 PM -0800 3/19/03, Kishore Subramanian wrote: 1) Is it possible to write/change the Metadata without affecting the contents of the original PDF file ? Yes, that is what you should be doing... I found that after writing the metadata with the sample code, the file size is now different. Is

RE: [iText-questions] Modifying Metadata

2003-03-19 Thread Kishore Subramanian
I got this to work by writing the metadata and saving the PDF as another file. Just a couple of questions : 1) Is it possible to write/change the Metadata without affecting the contents of the original PDF file ? I found that after writing the metadata with the sample code, the file size is n

[iText-questions] Does anyone have the "HTMLParser" class?

2003-03-19 Thread jason . montague
Thanks, Jason Montague US Bank (262).790.3485 [EMAIL PROTECTED]

[iText-questions] Split pdf from 1 to many

2003-03-19 Thread Sandy Daum
I used the Split.java class to separate a pdf into 2 new pdf. I get Invalid ColorSpace when I open the second pdf created. I noticed a customer with 2 pages in the first pdf created works without error. The customer with 2 pages in the second pdf has this problem. Do you have an example of kee

RE: [iText-questions] Modifying Metadata

2003-03-19 Thread Kishore Subramanian
I tried the following code. The metadata gets added correctly but i noticed the follg: 1) The contents of the file are now gone. The PDF still has the same # of pages but pages are all empty. 2) The size of the PDF is about the same. 3) When i opened the PDF in Notepad, I found that the modifie

RE: [iText-questions] support for WMF

2003-03-19 Thread Thorsten Schäfer
Hi Gerald, > I have an example WMF file which does not get interpreted same way as when > imported into MS Word (it is missing graphics and uses different fonts?). > Do exist different types of WMF? Does iText only support some particular > types? I had the same problem several days ago. There ar

RE: [iText-questions] support for WMF

2003-03-19 Thread Paulo Soares
> -Original Message- > From: Gerald Fehringer [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, March 19, 2003 16:05 > To: [EMAIL PROTECTED] > Subject: [iText-questions] support for WMF > > Hello iText users! > > I have an example WMF file which does not get interpreted same way as when

Re: [iText-questions] How to reduce timing

2003-03-19 Thread Kenny G. Dubuisson, Jr.
Yes you can use it that way. I would be interested to see your performance testing results. Thanks, Kenny - Original Message - From: "Jaladurgam, Ramana" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 19, 2003 10:15 AM Subject: [iText-questions] How to reduce timing

RE: [iText-questions] How to reduce timing

2003-03-19 Thread Paulo Soares
It probably won't be that much fast. The disk access is already buffered. I'm changing the toPdf() method to output directly to the stream instead of creating a byte array with each call. If it's any faster it's something still to be seen. Best Regards, Paulo Soares > -Original Message- >

[iText-questions] How to reduce timing

2003-03-19 Thread Jaladurgam, Ramana
HI Group, Can I use PDFWriter.getInstance(document, ByteArrayOutputSteam). The example in the documentation is PDFWriter.getInstance(document, FileOutputStream). Will using in the first way has any impacts? I am trying to do this due to some performance constraints. I thought writing to a memor

[iText-questions] support for WMF

2003-03-19 Thread Gerald Fehringer
Hello iText users! I have an example WMF file which does not get interpreted same way as when imported into MS Word (it is missing graphics and uses different fonts?). Do exist different types of WMF? Does iText only support some particular types? Any hint would be appreciated, can send the WMF p

RE: [iText-questions] Modifying Metadata

2003-03-19 Thread Paulo Soares
Matt's thread was about the xml metadata not the metadata that goes into the Info dictionary. Use something like this: PdfReader reader = new PdfReader("my original.pdf"); HashMap meta = reader.getInfo(); // the original metadata PdfStamper stp = new PdfStamper(reader, new FileOutputStream("my mod

RE: [iText-questions] PDF file: Conversion from RGB to CMYK

2003-03-19 Thread Paulo Soares
iText can't convert colorspaces. You'll need Pitstop or something like that. Best Regards, Paulo Soares > -Original Message- > From: Hans Stoessel [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, March 19, 2003 8:10 > To: [EMAIL PROTECTED] > Subject: [iText-questions] PDF file: Conversio

RE: [iText-questions] iText for Tif to PDF

2003-03-19 Thread Paulo Soares
> -Original Message- > From: Jeff Grobaski [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, March 18, 2003 23:00 > To: '[EMAIL PROTECTED]' > Subject: [iText-questions] iText for Tif to PDF > > I'm using iText for on demand conversion of TIF to PDF. I'm also the JAI > for converting TIF t

[iText-questions] PDF file: Conversion from RGB to CMYK

2003-03-19 Thread Hans Stoessel
Hi I have a PDF file and want to convert the colorspace from RGB to CMYK. How can I do that? A code sample would be great. Thanks for your help Hans --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tab