[iText-questions] Text Extraction Problem

2010-12-16 Thread yun wang
Dear Support, I am using iText 5.06 to create a plain text file. I have problem with the PDF files generated from CAD. I cannot get the text output. Here is some debug information: inside PdfContentStreamProcessor::displayPdfString::unicode, the Unicode string outputs some squares. Inside T

[iText-questions] Rotate Page 90 degree

2003-09-17 Thread yun wang
Dear Support, I have a 4 pages pdf file. I want to rotate 2 pages by 90 degree clockwise to produce another file. How can I achieve this without information loss? Thanks, yun wang _ Use custom emotions -- try MSN Messenger 6.0

[iText-questions] Rectangle Color Fill

2003-08-25 Thread yun wang
Dear Paulo, I want to fill a rectagle. It works with smaller cb.rectangle(0,0,200,150); It doesn't work for cb.rectangle(0,0,300-2,200-2) or cb.rectangle(-10,-10,300+20,200+20) How can I achieve color fill for bigger rectangle (-10,-10,300+20,200+20)? Thanks, yun Here is my code: Document d

[iText-questions] How Can I change the CropBox for each page?

2003-08-20 Thread yun wang
Dear Paulo, I want to change CropBox for each page (See the following codes). Would you please help me ? Thanks, yun import java.io.*; import java.awt.Color; import com.lowagie.text.*; import com.lowagie.text.pdf.*; public class Class1 extends java.lang.Object { public static void main(Str

Re: [iText-questions] Question about Font Tahoma, Comic Scan MS

2003-08-18 Thread yun wang
From: "Paulo Soares" <[EMAIL PROTECTED]> To: "yun wang" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> Subject: Re: [iText-questions] Question about Font Tahoma, Comic Scan MS Date: Sun, 17 Aug 2003 13:28:58 +0100 For that you need the last itex-paulo and the

Re: [iText-questions] Question about Font Tahoma, Comic Scan MS

2003-08-15 Thread yun wang
bft, 12.0f, Font.BOLDITALIC, new Color(0, 255, 255) ) ; cb.beginText(); cb.setFontAndSize(bft, 36); cb.setTextMatrix(100, 400); cb.showText("Text at position 100,400."); cb.endText(); From: "Paulo Soares" <[EMAIL PROTECTED]> To: "yun wang" <[EMAIL PR

[iText-questions] Question about Font Tahoma, Comic Scan MS

2003-08-15 Thread yun wang
Dear Support, Can I have Font Italic or Italic bold for Tahoma and Comic Scan MS? Thanks, yun _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail --

[iText-questions] itext-paulo-jdk1.1-124

2003-08-14 Thread yun wang
Dear Support, I am using Visual J++ 6.0 to compile "itext-paulo-jdk1.1-124" There is error message: Can not implicitly convert byte into char for Class BidiOrder private static char baseTypes[] = { 0, 8, BN, 9, 9, S, 10, 10, B, 11, 11, S, 12, 12, WS, 13, 13, B, ... May I Add (char)

[iText-questions] Queston about PdfAction and PdfContentByte

2003-07-07 Thread yun wang
Dear helper, I want to add a URL action inside stamp object. But, my code doesn't work. Would you please give me help? Thanks, yun wang PdfReader reader = new PdfReader("old.pdf"); PdfStamper stamp = new PdfStamper(reader, new FileOutputStream("output.pdf&q

Re: [iText-questions] Password-protected file to None password-protected file

2003-06-30 Thread yun wang
I have the password. But, I need to do it by iText. I wish that iText PdfReader read the password protected file and then produce the regular file. yun From: Leonard Rosenthol <[EMAIL PROTECTED]> To: "yun wang" <[EMAIL PROTECTED]>, [EMAIL PROTECTED],[EMAIL PROTECTE

[iText-questions] Password-protected file to None password-protected file

2003-06-30 Thread yun wang
Paulo, How can I change Password-protected file to None password-protected file? Thanks, yun _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail --

[iText-questions] How to check a file if password-protected

2003-06-30 Thread yun wang
Paulo, How can I check a pdf file if password-protected? Thanks, yun _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ---

[iText-questions] PDFCopy, PDFStample, and New Page

2003-06-29 Thread yun wang
to produce File3.pdf 3. Use PDFStamper to add texts into File3.pdf and produce File4.pdf But, this way has to produce two temporary pdf files. So, my question, how can I generate new file without loss of information and temporary file? Great Thanks, yun wang

RE: [iText-questions] Split: Loss Information

2003-06-27 Thread yun wang
PdfStamper withoutout using Java 1.2? Thanks, yun From: Paulo Soares <[EMAIL PROTECTED]> To: 'yun wang' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: RE: [iText-questions] Split: Loss Information Date: Fri, 27 Jun 2003 11:00:25 +0100 First split the document and then use

RE: [iText-questions] Split: Loss Information

2003-06-26 Thread yun wang
10f); cb.moveTo(0, 0); cb.lineTo(800, 800); cb.stroke(); } document.close(); } catch(Exception e) { e.printStackTrace(); } } } From: Paulo Soares <[EMAIL PROTECTED]> To: 'yun wang' <[EMAIL PROTECTED]>, [E

RE: [iText-questions] Split: Loss Information

2003-06-26 Thread yun wang
} } } From: Paulo Soares <[EMAIL PROTECTED]> To: 'yun wang' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: RE: [iText-questions] Split: Loss Information Date: Thu, 26 Jun 2003 12:17:18 +0100 You can try to use PdfCopy and modify the Concat example. Best Regar

[iText-questions] Split: Loss Information

2003-06-25 Thread yun wang
Is there some solution for the problem of losing information during Splitting? I lost annotations and also the form can not be fiiled like the original. Thanks, yun com.lowagie.tools.split_pdf This class can be used from the commandline to split an existing PDF file into two new files. Remark: