I'm going to guess you're running into an issue with multi-select list
rendering... but that's just a guess.  IIRC the rendering of such lists
is relatively new code.

If you have the issue in your Real Form but not in the sample, it could
also be a Z-order issue.  Flattening uses the iteration order from the
HashMap returned from AcroFields.getFields().  

I may be the only wacko out there deliberately stacking fields on top of
one another however.  I should probably submit that to the trunk, huh?

--Mark Storer
  Senior Software Engineer
  Cardiff.com
 
import legalese.Disclaimer;
Disclaimer<Cardiff> DisCard = null;
 

> -----Original Message-----
> From: Keith O [mailto:kuuji...@hotmail.com]
> Sent: Thursday, April 08, 2010 4:37 PM
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] SetFields Issue - Using iTextSharp
> 
> 
> > Date: Thu, 8 Apr 2010 07:22:52 -0700
> > From: rw...@gsihosting.com
> > To: itext-questions@lists.sourceforge.net
> > Subject: Re: [iText-questions] SetFields Issue - Using iTextSharp
> >
> >
> > I guess I don't understand, are you confirming that the controls
> disappear
> > but say the multiple selections work? Hope so, cause this means I am
not
> > crazy... Also how can you tell the multi selections work when the
> controls
> > aren't visible?
> 
> If you try the attachments from my first post you can see for
yourself.
> Multiple selection works, but depending on **which** individual
> listitem(s) is/are selected, some of the unselected one(s) disappear.
And
> the selected one(s) is/are visible.
> 
> > Yep noticed the changes in 5.0.1.1 when I upgraded from 5.0.0 on
monday.
> > Had to change some code but nothing major, other features of
itextsharp
> I am
> > using work great. Just seems to be the listbox multi selection that
> cause
> > all my problems with SetValues and SetListSelection.
> 
> I don't think the problem is with either SetValues() nor
> SetListSelection(). Been converting the (new) Java book examples to C#
and
> there's a particular example here:
> 
> http://itextpdf.com/examples/index.php?page=example&id=160
> 
> using SetListSelection() that works fine with iTextSharp 5.0.0 and
> 5.0.1.1.
> 
> Just a guess, but the problem seems to be introduced with either the
FDF
> data or setting FormFlattening...
> 
> 
> > Keith O wrote:
> >>
> >>
> >> Yes, for both iTextSharp 5.0.0 and 5.0.1.1 SetListSelection()
works.
> (as
> >> far as setting multiple selection)
> >>
> >> Rob,
> >>
> >> Attachments were tested with 5.0.1.1. Use as a starting point - got
the
> >> multiple selections to work, but the list items still disappear
> depending
> >> on which one(s) is/are selected.
> >>
> >> Also, if you're using 5.0.1.1 you need to be careful. Paulo is
using
> >> Generics now. So some of the code even from 5.0.0 will not work the
> same
> >> way...
> >>
> >> HTH - keith
> 
> _________________________________________________________________
> Hotmail is redefining busy with tools for the New Busy. Get more from
your
> inbox.
>
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:
ON
> :WL:en-US:WM_HMP:042010_2
>
------------------------------------------------------------------------
--
> ----
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.itextpdf.com/book/
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.801 / Virus Database: 271.1.1/2786 - Release Date:
04/07/10
> 11:32:00

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to