Solved

Numeric list item in iText

Posted on 2008-10-13
6
351 Views
Last Modified: 2012-06-21
How to create a numeric list item in iText, as in the below format?
1) Some text
2) Some text
3) Some text

0
Comment
Question by:Nithyanandhan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 16

Accepted Solution

by:
Bryan Butler earned 500 total points
ID: 22703630
Such as:

List list = new List(true, 20);
list.add(new ListItem("Some Text"));
list.add(new ListItem("Some Text"));
0
 
LVL 5

Expert Comment

by:muktajindal
ID: 22708438
What do you mean by "numeric list item in iText" ?
0
 

Author Comment

by:Nithyanandhan
ID: 22713989
muktajindal:
As I said... like this...

1) Some text
2) Some text
3) Some text
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 16

Expert Comment

by:Bryan Butler
ID: 22714945
So if my example doesn't cut the musterd, please provide more details.  Thanks.
0
 
LVL 5

Expert Comment

by:muktajindal
ID: 22717909
You will need to hard-code these numbers before your item names in the list.
0
 
LVL 16

Expert Comment

by:Bryan Butler
ID: 22743326
muktajindal,
Not sure exactly what you mean.  Are you saying my suggestions doesn't work or needs modified?  
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question