[iText-questions] Problem with PdfAnnotation

2007-01-31 Thread wang yun
Dear Paulo, I get two problems with PdfAnnotation. Please see my code. 1. PdfBorderDictionary.STYLE_DASHED doesn't work. 2. PdfAnnotation.createScreen stop working on the second page. It only works on the first page. Thanks for your help. yun wang Here is my code: import java.io.*

[iText-questions] PdfAnnotation.createFreeText 's setBorderStyle Problem

2007-01-30 Thread wang yun
Dear Support, I wish that I could create a dashed border. But, it does't work. It comes out as a solid. an.setBorderStyle(new PdfBorderDictionary(3.0f, PdfBorderDictionary.STYLE_DASHED) ); Please help. Thanks. PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("My_Annota

[iText-questions] Help for Tips for PDF Form Field

2006-12-27 Thread wang yun
Dear Support, I want to read the tip for a pdf form field. Tip: When I move into the form field, it displays the discription of this field. Please help. Thanks. - Take Surveys. Earn Cash. Influence the Future of IT J

[iText-questions] Qustion about adding Bookamrk by PDFStamper

2006-05-09 Thread wang yun
Dear iText Support, I have an existing pdf file, I want to add bookmark using PDFStamper.setOutlines(List outlines) But, I don't know how to create List from strings. Can I create PDFOutLine Object and then get List from PDFOutLine? Do you have an example to show how to add outline to the exi

[iText-questions] UnderLine Position inside ColumnText

2006-04-23 Thread wang yun
Dear Support, I am using ColumnText to create underline text, but, the underline is lower than that in Microsoft Word. can I adjust the position of underline relative to the baseline of the text? Thanks yun --- Using Tomcat but need to do more

[iText-questions] Question about Vertical Alignments inside ColumnText

2006-04-10 Thread wang yun
Dear Support, I try to draw a text inside the center of a rectangle. I need vertical alignment. Element.ALIGN_MIDDLE doesn't work. Please advice. yun Here is the code: PdfReader reader = new PdfReader("old.pdf"); PdfStamper stamp = new PdfStamper(reader, new FileOutputStream("new.pdf")); Pd

[iText-questions] Question about Markup inside PdfAnnotation

2006-03-31 Thread wang yun
Dear Paulo, I am learning PdfAnnotation. createPopup works very well but I can not make Markup work. What is the quadPoints? Would you please give me en example? Thanks a lot, yun wang Here is the code: PdfReader reader = new PdfReader("old.pdf"); PdfStamper stamp = new PdfStamper(reader,

[iText-questions] Problem with RUN_DIRECTION_RTL

2006-03-31 Thread wang yun
Dear Paulo, I try to use Right-to-left run direction. But, the RUN_DIRECTION_RTL inside my code can not create any difference to RUN_DIRECTION_LTR. Please advice. yun Here is my code: PdfReader reader = new PdfReader("old.pdf"); PdfStamper stamp = new PdfStamper(reader, new FileOutputStream("

[iText-questions] questions on how to use ICC profiles for ALL data

2006-02-16 Thread wang yun
Dear Itext Support, Do you havwe example to use "ICC profiles for ALL your data - image, text and vectors"? Thanks a lot, yun wang Just to clarify what Paulo wrote... When you introduce transparency to a page, you potentially change the colorspace(s) in which Acrobat render

[iText-questions] How can I add a destination_name using PdfStamper

2005-12-16 Thread wang yun
Dear Support, I can use PdfAction(String filename, String destination_name) inside a form field. How can I add a destination_name using PdfStamper? Thanks a lot and have a good weekend. yun --- This SF.net email is sponsored by: Splunk Inc.

[iText-questions] Question about JavaScript to Sum

2005-10-13 Thread wang yun
Dear Paulo, I try to add the js code into "text 4" to get the sum value of the other 3 fileds. I try to use the JS code by Adobe acrobat. But, it didn't work: String code = "AFSimple_Calculate(\"SUM\", new Array (\"Text 1\", \"Text 2\", \"Text 3\"));"; Please give me advise. Thanks yun Docu

[iText-questions] Question about Unicode support for PDF Form Field

2005-10-05 Thread wang yun
Dear Paulo, I need to create some Chinese Fill-out Forms. It will be nice if itext can create Unicode PDF Form Field. Please advise me how to do that right now. Thanks, yun --- This SF.Net email is sponsored by: Power Architecture Resource

[iText-questions] How to Uncheck Radio Button

2005-08-13 Thread wang yun
Dear Paulo, I created a Check box and it is OK for me to uncheck the check field. But, I want to also uncheck the radio button, i have tried: PdfFormField top = bt.getRadioGroup(false, false); PdfFormField top = bt.getRadioGroup(true, false); PdfFormField top = bt.getRadioGroup(false, true); Pd

[iText-questions] Problem with Text Form Field for Unicode Text

2005-06-27 Thread wang yun
Dear Paulo, I want to create a unicode Text Field. Please see my code and output pdf. The text can dispaly very well. But, I can not type text inside the adobe reader. Please help. Document document = new Document(PageSize.A4, 50, 50, 50, 50); PdfWriter writer = PdfWriter.getInstance(docume

[iText-questions] Problem to Set Combo Box New Value

2005-06-27 Thread wang yun
Dear Paulo, I want to set an editable combo box with a value other than the ChoiceExports. I wish that when the pdf is open, the combo box shows the text that is my typed text. I use setValueAsName and setText. But, it doesn't work. Please help. Thanks, yun wang here is my code: Document docum

[iText-questions] Two Check Buttom Fields with the same name

2005-06-26 Thread wang yun
Paulo, I have no problem to create two Radio Buttons with the same name. But, I have problem to create two Check Buttons with the same time using RadioCheckField. There is getRadioGroup but there is no getCheckGroup. Please have a look at my code: Thanks, yun wang Document document = new Doc

[iText-questions] Two fields with the same name into different page

2005-06-24 Thread wang yun
Dear paulo, I have two text fields with the same name. But, I want to add the first one into page 1 and add the second into page 2. Here is the code to add two fields into one page. How can I change it so that app2 will be moved into page 2. Thanks, PdfReader reader

[iText-questions] help on Two TextFields with the same name

2005-06-23 Thread wang yun
Dear help, I try to create two text fields with the same name "CreditCard". I try to set the value "Visa". But, please see the attaced pdf. "Visa" doesn't apppear when I open test.pdf. As I click into the box, "Visa" does come out. I need that "Visa" to show at the opening pdf. Thanks for help.

[iText-questions] Problem with PushbuttonField

2005-06-15 Thread wang yun
Dear Paulo, I want to create PDF Form to replace html submit form. But, as I create a pdf form using the following code. There is no Submit to the server. Just no connection to the URL. Please do me a favor to give me help. By the way, on the documentation of PushButtonField PdfFormField ff

[iText-questions] How to replace HTML form by PDF Form

2005-06-15 Thread wang yun
Dear Support, I have a html form: http://www.myservername.com/myform.php";> first_name: How can I create a PDF form to replace this simple HTML form in order to talk with server? I know how to add a Text form field and a Button. But, I don't know how to add a Javascript so that the but

[iText-questions] question about javascript

2005-05-11 Thread wang yun
Dear Paulo, Is it possible for PDFReader to output the string that contains javasript? Or, how can I get that data block thats contains javascript? Thanks, yun --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the fi

Re: [iText-questions] how can I add text fields with the same name

2005-04-05 Thread wang yun
t; > --- Paulo Soares <[EMAIL PROTECTED]> wrote: > > You need a field with kids where only the parent > has > > the name. > > > > - Original Message - > > From: "wang yun" <[EMAIL PROTECTED]> > > To: > > Sent:

[iText-questions] how can I add text fields with the same name

2005-04-04 Thread wang yun
dear support, I want to add three text Form fields with the same name. How can I do that? Thanks, yun wang --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover

[iText-questions] Question about Online Use

2005-03-09 Thread wang yun
Dear Paulo, If I use iText to create a fillable version of my PDF form, how can I use this form online so that the clients can fill the form out and submit it via web to my database? Thank you very much. yun --- SF email is sponsored by -

[iText-questions] Question about Secuity Options

2005-01-19 Thread wang yun
Dear Paulo, There are 8 options for PDF Secuity. How can I achieve this: the user has no password but only view and print; Owner has password and has full control for the document. Thank you very much much for your kindness to help me. yun wang ---

[iText-questions] Question's TextField 's Font

2005-01-10 Thread wang yun
Dear Paulo, I want to use Tahoma Italic for the text Form field's Font. SetFont only works with BaseFont. How can I make it Italic for Tahoma? Thanks, yun wang --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE lim

[iText-questions] Re: iText-questions digest, Vol 1 #2541 - 4 msgs

2005-01-01 Thread wang yun
Dear Support, I want to add 3 check boxs with the FieldName "CreditCard1". I want to "Visa" to be the default value and checked. The new pdf "out.pdf" looks OK. But, as I use: String value = form.getField("CreditCard1") to get the value of this check box. The return value is empty. Please do m

[iText-questions] How to add Alignment for new Form Field

2004-12-08 Thread wang yun
Dear Paulo, How can I add Right Alignment for a new text pdf form field? Thanks, yun --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly

[iText-questions] How to add extra Form Fields

2004-11-14 Thread wang yun
Dear Support, Do you have example for me to learn how to add extra Form fields on the existing form? Thanks for your help, yun -fixed a bug in PdfStamper with form flattening and fields added --- This SF.Net email is sponsored by: InterS

[iText-questions] Problem with Adding 32 bit PNG into pdf

2004-09-16 Thread wang yun
Dear Support, I am trying to add 32 bit png into pdf. But, it looks not good. 24 bit image looks great into PDF. Does iText support 32 bit png image? Thanks for your help, yun <> 24bit.pdf Description: 24bit.pdf <> 32bit.pdf Description: 32bit.pdf

[iText-questions] Java to C

2004-08-25 Thread wang yun
Dear Support, May I convert java iText into C? How can I convert java to C? Please give me advice. Thanks, yun wang --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DV

[iText-questions] Add more Form Field

2004-08-22 Thread wang yun
Dear Support, Can I add more Form filed on existing form? Thanks, yun --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & T

[iText-questions] PDFStamper: Compress and Optimize

2004-07-24 Thread wang yun
Dear Support, I am using PDFStamper. How can I compress all the text and image insdie the original PDF? What is the meaning of "Optimize PDF" that I saw some softwares claim? Can itext do it? Thanks yun --- This SF.Net email is sponsored by

[iText-questions] Question about Tab Order

2004-07-16 Thread wang yun
Dear Support, I want to read the Tab Order inside a PDF Form. I have a question about AcroFileds's fill function: item.tabOrder.add(new Integer(j)); Is this tabOrder the same as the original Tab order inside the PDF file? Thanks, yun --

[iText-questions] Add Form Field using PdfCopier or PdfStamper

2004-07-08 Thread wang yun
Dear Support, I try to add Form Field from PdfCopier or PdfStamper. But, it doesn't work. I just want to add Form Fields over the existant PDF file that has no form field inside. Thanks, yun --- This SF.Net email sponsored by Blac

[iText-questions] Add Form Field

2004-07-07 Thread wang yun
Dear Support, I have converted an image into a PDF page. How can I add form fields (Text, check box) into this page? Thanks for help, Yun --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training

[iText-questions] How to add a form field on the current form

2004-06-29 Thread wang yun
Dear Support, I have a PDF form. How can I add more fields inside? Thanks, Wang --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top techn

[iText-questions] Question about PdfCopyMerge and bookmark

2004-03-17 Thread wang yun
Dear Suuport, I like PdfCopyMerge for version 129. But, I can not keep the bookmark. How can I merge all the bookmark like PdfCopy? Thanks, yun --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Dan

[iText-questions] Problem with PdfStamper for Version 128

2004-02-06 Thread wang yun
Dear Support, I am moving from Vesion 127 to 128 using VJ6.0. I have the following code: // Get a from from a reader PdfReader reader = new PdfReader( args[0] ); PdfStamper stamp = new PdfStamper(reader, new FileOutputStream("out.pdf") ); PdfContentByte cb = stamp.getUnderContent(1); stamp.clos

[iText-questions] Question about removeFieldsFromPage

2004-02-05 Thread wang yun
Dear Support, I try to remove all the fields from the document by using removeFieldsFromPage. I have problem. Please give me help. Thanks, yun wang Here is my code: // Get a from from a reader PdfReader reader = new PdfReader( args[0] ); int pages = reader.getNumberOfPages();

[iText-questions] How to get Form button's Shape

2004-01-22 Thread wang yun
Dear Support, How can I get Button's Shape: cross, tick, diamond, circle and so on? Thanks, yun --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse a

[iText-questions] RE: Form button's Values

2003-12-23 Thread wang yun
Dear Paulo, I want to uncheck the buttons. I can use form.setField(name, "") or form.setField(name, "OFF"); Which way is better? Does "OFF" always mean unchecked state? Is there other term that means unchecked state? Thank very much, yun

[iText-questions] Form button's Values

2003-12-18 Thread wang yun
Dear Paulo, Thank you very much for your help. I have another question on how to get Button's Values. For example, 1. For One Choice button, how can I get the two values for ON and OFF state? If two values are all null, do I just set null for off and "0" for on? 2. For Two Choices Buttons,

[iText-questions] Split and Bookmark

2003-12-17 Thread wang yun
Dear Paulo, I like the new concat_pdf with bookmark. But, how can I split pdf pages while splitting bookmark? Thanks for your help, yun --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen y

RE: [iText-questions] Form Field's detailed information

2003-12-12 Thread wang yun
Dear Paulo, Thanks for your help. I come up a problem. Some TextFields in the form can only let me input digit number. How can I detect this format? Thanks and you have a good weekend. yun --- This SF.net email is sponsored by:

RE: [iText-questions] Form Field's detailed information

2003-12-11 Thread wang yun
Dear Paulo, Thanks for your new version 127. It is great! I am using AcroFields and I can get the positon area. but, I have problem to get the name, current value, page number for each field. Would you please give me help on my following code? Your help is greatly apprrecaited. yun //

RE: [iText-questions] Form Field's detailed information

2003-12-10 Thread wang yun
[EMAIL PROTECTED] > [SMTP:[EMAIL PROTECTED] > On Behalf Of wang yun > > Sent: Monday, December 08, 2003 14:54 > > To: [EMAIL PROTECTED] > > Subject:[iText-questions] Form Field's detailed > information > > > > Dear Support, > >

[iText-questions] Form Field's detailed information

2003-12-08 Thread wang yun
Dear Support, I have a file with a form. How can I get detailed information (field type, positon, string value, alignment, font name and size) for each form field? Thanks for help, yun --- This SF.net email is sponsored by: SF.net Giveb

[iText-questions] Save Barcode into Images by java 1.1.8

2003-12-04 Thread wang yun
Dear Paulo, I try to save Barcode into a image file (Bitmap or WMF) using java 1.1.8. Would you please give me help? Thanks, yun --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be mor

[iText-questions] pdf417_barcode.java

2003-12-02 Thread wang yun
Dear Support, I am using VJ+ 6.0 to run pdf417_barcode.java But, I have problem for the coding. For Microsoft, is there other coding name to replace cp347? Thanks, yun / // Code in the pdf417_barcode this.text = s.getBytes("Cp437"); ///

[iText-questions] Icon File

2003-12-01 Thread wang yun
Dear Support, Can Image read winodws Icon files? Thanks, yun --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us

[iText-questions] BOLDITALIC doesn't work with TEXT_RENDER_MODE_STROKE

2003-11-26 Thread wang yun
Dear Support, I try to use windows Fonts to draw stoke style. If I use Font.BOLDITALIC, TEXT_RENDER_MODE_STROKE doen't work. I need help. It works for FontFactory.HELVETICA. Here is my code. Thanks. yun //Chunk ch = new Chunk("this is a phrase", FontFactory.getFont(FontFactory.HEL

[iText-questions] Question about Text Fill, Stroke and Fill Stroke

2003-11-21 Thread wang yun
Dear Sir, I am using ColumnText.showTextAligned to draw text. Can I change the draw Type: Fill , Strok, or FillStoke? Thanks, yun Phrase phrase5 = new Phrase(18, new Chunk("this is a phrase", FontFactory.getFont(FontFactory.HELVETICA, 24, Font.BOLD, new Color(255, 0, 0; ColumnText.showTe

[iText-questions] Problem with setDuration and setTransition

2003-11-07 Thread wang yun
Dear Paulo, I am trying to set Duration for Presentation. But, it doesn't work. I am using adobe Reader 6.0 Thank for your help, yun wang copier = new PdfCopy(document, new FileOutputStream("test.pdf")); copier.setDuration(5); copier.setTransition(new PdfTransition( PdfTransition.INBOX, 5)

RE: [iText-questions] Question about Reading Bitmap, Tiff, Gif, J Peg into PDF

2003-11-06 Thread wang yun
> > Other images types: > > gif - full support > bmp - full support > png - full support > jpg - rgb and cymk 8 bit and monochrome > wmf - no patterns > > Best Regards, > Paulo Soares > > > > -Original Message- > > From: wang yun

[iText-questions] Question about Reading Bitmap, Tiff, Gif, JPeg into PDF

2003-11-06 Thread wang yun
Dear Paulo, I am glad that iText 126 can support tiff directly. I have a question, is there some limitation on Reading Bitmap, Tiff, Gif, JPeg into PDF? Here is faq about limitations. http://www.lowagie.com/iText/faq.html#images Thanks for your help, yun wang -

[iText-questions] PDFCopier to repeat the same page

2003-10-31 Thread wang yun
Dear Sir, I am using PDFCopier to copy an PDFReader page 1 twice. The first copy is OK, but the second copy is nothing. How can I deal with this case? Thanks for your help, yun here is my code page = copier.getImportedPage(reader, 1); copier.addPage(page); //OK page = copier.getImpo