Listbox options display?

View: New views
4 Messages — Rating Filter:   Alert me  

Listbox options display?

by Jty :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
using the Stamper object to output, is it possible to display a Listbox's options without setting said Listbox's Value?
 
thanks


Bing brings you maps, menus, and reviews organized in one place. Try it now.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
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/

Re: Listbox options display?

by Mark Storer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Getting them is easy enough:
 
and
 
How do you want to display the options?
 
 

--Mark Storer
  Senior Software Engineer
  Cardiff.com

#include <disclaimer>
typedef std::Disclaimer<Cardiff> DisCard;

-----Original Message-----
From: Jason Tyler [mailto:jason_tyler@...]
Sent: Thursday, November 05, 2009 8:24 PM
To: itext-questions@...
Subject: [iText-questions] Listbox options display?

using the Stamper object to output, is it possible to display a Listbox's options without setting said Listbox's Value?
 
thanks


Bing brings you maps, menus, and reviews organized in one place. Try it now.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
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/

Re: Listbox options display?

by Jty :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i set the Listbox's Options on the fly using the .SetListOption method.  if i then set the Listbox's value using .SetField the Options are displayed including the value which is highlighted.

however, there will not always be a value to set but i still need to display the options.  if a value is not set nothing is rendered in my output file.

Mark Storer-2 wrote:
Getting them is easy enough:
 
http://itext.ugent.be/library/api/com/lowagie/text/pdf/AcroFields.html#getListOptionDisplay(java.lang.String)
and
http://itext.ugent.be/library/api/com/lowagie/text/pdf/AcroFields.html#getListOptionExport(java.lang.String)
 
How do you want to display the options?
 
 

--Mark Storer
  Senior Software Engineer
  Cardiff.com

#include <disclaimer>
typedef std::Disclaimer<Cardiff> DisCard;

-----Original Message-----
From: Jason Tyler [mailto:jason_tyler@hotmail.com]
Sent: Thursday, November 05, 2009 8:24 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Listbox options display?


using the Stamper object to output, is it possible to display a Listbox's options without setting said Listbox's Value?
 
thanks

  _____  

Bing brings you maps, menus, and reviews organized in one place. Try it now. <http://www.bing.com/search?q=restaurants&form=MFESRP&publ=WLHMTAG&crea=TEXT_MFESRP_Local_MapsMenu_Resturants_1x1>  


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
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/

Re: Listbox options display?

by Mark Storer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

myFields.setField( name, "" );

--Mark Storer
  Senior Software Engineer
  Cardiff.com

#include <disclaimer>
typedef std::Disclaimer<Cardiff> DisCard;



> -----Original Message-----
> From: Jty [mailto:jason_tyler@...]
> Sent: Friday, November 06, 2009 9:51 PM
> To: itext-questions@...
> Subject: Re: [iText-questions] Listbox options display?
>
>
>
> i set the Listbox's Options on the fly using the
> .SetListOption method.  if i
> then set the Listbox's value using .SetField the Options are displayed
> including the value which is highlighted.
>
> however, there will not always be a value to set but i still
> need to display
> the options.  if a value is not set nothing is rendered in my
> output file.
>
>
> Mark Storer-2 wrote:
> >
> > Getting them is easy enough:
> >  
> >
> http://itext.ugent.be/library/api/com/lowagie/text/pdf/AcroFie
> lds.html#getListOptionDisplay(java.lang.String)
> > and
> >
> http://itext.ugent.be/library/api/com/lowagie/text/pdf/AcroFie
> lds.html#getListOptionExport(java.lang.String)
> >  
> > How do you want to display the options?
> >  
> >  
> >
> > --Mark Storer
> >   Senior Software Engineer
> >   Cardiff.com
> >
> > #include <disclaimer>
> > typedef std::Disclaimer<Cardiff> DisCard;
> >
> > -----Original Message-----
> > From: Jason Tyler [mailto:jason_tyler@...]
> > Sent: Thursday, November 05, 2009 8:24 PM
> > To: itext-questions@...
> > Subject: [iText-questions] Listbox options display?
> >
> >
> > using the Stamper object to output, is it possible to
> display a Listbox's
> > options without setting said Listbox's Value?
> >  
> > thanks
> >
> >   _____  
> >
> > Bing brings you maps, menus, and reviews organized in one
> place. Try it
> > now.
> >
> <http://www.bing.com/search?q=restaurants&form=MFESRP&publ=WLH
> MTAG&crea=TEXT_MFESRP_Local_MapsMenu_Resturants_1x1>  
> >
> >
> >
> --------------------------------------------------------------
> ----------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> > 30-Day
> > trial. Simplify your report design, integration and
> deployment - and focus
> > on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > iText-questions mailing list
> > iText-questions@...
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
> >
> > Buy the iText book: http://www.1t3xt.com/docs/book.php
> > 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/
> >
>
> --
> View this message in context:
> http://old.nabble.com/Listbox-options-display--tp26226768p2624
0418.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
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/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
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/