Re: [iText-questions] Using getSimpleViewerPreferences

2009-04-17 Thread tacallah
Thanks for your response! I just started using iText, so I am still trying to learn. The JavaDocs are nice, but I guess a user guide would be more helpful. 1T3XT info wrote: > > getSimpleViewerPreferences only returns an int for the PageMode and > PageLayout key, NOT for keys in the ViewerPr

Re: [iText-questions] htmlworker.parseToList - for RTF

2009-04-17 Thread 1T3XT info
Benjamin CABƒE wrote: > No work around needed, there's a bug in RtfMapper, that's all :) Thanks for the fix; it has been uploaded to SVN: Date: 2009-04-17 17:55:24 + (Fri, 17 Apr 2009) Log Message: --- Bugfix by Benjamin Cabe (mailing list April 15, 2009) Modified Paths: ---

Re: [iText-questions] Using getSimpleViewerPreferences

2009-04-17 Thread 1T3XT info
tacallah wrote: > I am using iText 2.1.5, and I was trying to determine viewer preferences of a > PDF. I know it has HideToolbar and HideWindowUI set, but when I do the > following, getSimpleViewerPreferences returns zero getSimpleViewerPreferences only returns an int for the PageMode and PageLa

Re: [iText-questions] Using getSimpleViewerPreferences

2009-04-17 Thread 1T3XT info
tacallah wrote: > I could never get getSimpleViewerPreferences to work, but I was to use the > following code to do what I need Your code is wrong. I'll tell you why in the next mail. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -

Re: [iText-questions] Sizing of objects in PDF

2009-04-17 Thread 1T3XT info
Andrew McNaught wrote: > I’m having trouble with displaying objects in my PDFs the correct size. > For example, let’s say I try and output a single table cell with a width > of 720 points. When I measure the cell with my ruler on screen at 100% > it should be 10 inches wide but is actually about

Re: [iText-questions] re trieve text coordinates

2009-04-17 Thread Mike Marchywka
> Date: Fri, 17 Apr 2009 17:44:47 +0200 > From: i...@1t3xt.info > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] re trieve text coordinates > > kesopeso wrote: >> ok... so i created a simple pdf with nothing else but "hello"

Re: [iText-questions] ComboBoxes and TextField.COMB

2009-04-17 Thread 1T3XT info
ILDAR Admirer wrote: > Is there way to display comboBox fields like simple textField with option = > TextField.COMB See the PDF Reference, COMB is in TABLE 8.77 "Field flags specific to text fields". Specific to text fields means the flag is... specific to text fields. There's no such flag in T

Re: [iText-questions] Hyperlink Regression in iText 2.1.6 (SVN revision 3721 by mstorer)

2009-04-17 Thread 1T3XT info
m...@wir-sind-cool.org wrote: > Thanks! ;) > > Seriously, though, I think lastXrefPartial should eventually be removed from > the PdfReader --- > as soon as someone has enough time to spare, that is ;*). I know. It's on my (long) TODO list. -- This answer is provided by 1T3XT BVBA http://www.1t

Re: [iText-questions] mergeXfaData() method with a static PDF

2009-04-17 Thread 1T3XT info
Marc janvier wrote: > Hello, > > Since several days I tried to populate a form created with Adobe > LiveCycle Designer 8.2. You've tried more than most of us have. You're on undiscovered country. I fear you're on your own here. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - ht

Re: [iText-questions] How to cirlce a filed in PDF

2009-04-17 Thread 1T3XT info
Valli wrote: > Hi > > We have to circle one field in the pdf based on the value. > I set the field with the corresponding value. > But in the generated pdf that field is not circled. > could any one let me know how to implement this? getFieldPositions will give you the coordinates of the field.

Re: [iText-questions] re trieve text coordinates

2009-04-17 Thread 1T3XT info
kesopeso wrote: > ok... so i created a simple pdf with nothing else but "hello" text in it. > is there a way to retrieve the coordinates of that text using iText library? Yes, but I didn't have the time yet to document how it's done. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/

Re: [iText-questions] iText PDF not getting printed properly in Solaris

2009-04-17 Thread 1T3XT info
Amitava Paul wrote: > Hello, > I am using iText to generate a PDF and trying to print it.It is > properly getting printed from window/command prompt So the PDF is OK. There's no problem with it. > but prints garbage > from Solaris machine. What kind of garbage? Does the garbage start w

[iText-questions] How to cirlce a filed in PDF

2009-04-17 Thread Valli
Hi We have to circle one field in the pdf based on the value. I set the field with the corresponding value. But in the generated pdf that field is not circled. could any one let me know how to implement this? Regards Valli -- View this message in context: http://www.nabble.com/How-to-cirlce-a

[iText-questions] re trieve text coordinates

2009-04-17 Thread kesopeso
ok... so i created a simple pdf with nothing else but "hello" text in it. is there a way to retrieve the coordinates of that text using iText library? tnx!!! -- View this message in context: http://www.nabble.com/retrieve-text-coordinates-tp23096875p23096875.html Sent from the iText - General m

[iText-questions] iText PDF not getting printed properly in Solaris

2009-04-17 Thread Amitava Paul
Hello, I am using iText to generate a PDF and trying to print it.It is properly getting printed from window/command prompt but prints garbage from Solaris machine. I am using the latest iText Jar and the PDF version is 1.4. I tried different path like creating the PDF in Solaris box and pri

Re: [iText-questions] Error creating RTF of images.

2009-04-17 Thread Howard Shank
Hello, Jorge Luis Only certain versions of some image types are supported. My suggestion, save the buffered image out to disk and then see what format it is. Even though you know what the image was created as, the buffer may be storing it differently in the buffer. Or, look at the buffer and de

Re: [iText-questions] Using getSimpleViewerPreferences

2009-04-17 Thread tacallah
I could never get getSimpleViewerPreferences to work, but I was to use the following code to do what I need: loDictionary = loPdfReader.getCatalog(); // Get PDF catalog if (loDictionary != null) {// If catalog exists... loDictionary = (PdfDictionary) loDictio

[iText-questions] ComboBoxes and TextField.COMB

2009-04-17 Thread ILDAR Admirer
Hello Is there way to display comboBox fields (which created from textField.getComboField()) like simple textField with option = TextField.COMB after user choose some variant from drop-down list? e.g. |Q|W|E|R|T|Y| There is field (DATE) in attached pdf file for example. If I click on it there

Re: [iText-questions] Signature gets corrupted when editing

2009-04-17 Thread rui fernandes
Michael, After I make the change, add the image, the digital signature says it's invalid, so it's ok with the principles you listed. And says it's invalid beacause of content change. I can handle that and it's ok really. What I wanted is that the info of the original signature was not lost or said

Re: [iText-questions] Signature gets corrupted when editing aftersign

2009-04-17 Thread mkl
Rui, the reason why I am surprised (and thus interested) that after some of your manipulations Adobe products still say the signatures are valid, is that Adobe states: Allowed actions for signed but uncertified documents When a document is first signed, the set of allowed actions by defau

Re: [iText-questions] Hyperlink Regression in iText 2.1.6 (SVN revision 3721 by mstorer)

2009-04-17 Thread mkl
Thanks! ;) Seriously, though, I think lastXrefPartial should eventually be removed from the PdfReader --- as soon as someone has enough time to spare, that is ;*). lastXrefPartial seems to have been introduced into the code to be able to keep Java objects representing indirect PDF objects in th

[iText-questions] mergeXfaData() method with a static PDF

2009-04-17 Thread Marc janvier
Hello, Since several days I tried to populate a form created with Adobe LiveCycle Designer 8.2. * _what I've done :_ - A template created from a datasource ( xsd file), a form with [0.. n] occurrences of dataList. Each dataList has got datas. - In LiveCycle I parameterized the form in o

Re: [iText-questions] Not able to get the correct page size

2009-04-17 Thread Alexis Pigeon
Hi chidu, 2009/4/17 chidu : > > I am using spring's AbstractPdfView for my pdf views. I want a document in > landscape A4. here is the code is used. No matter whatever size i give it > only outputs one size. Please help me. > > > > protected void buildPdfDocument(Map model, Document document, PdfW