Solved

Numeric list item in iText

Posted on 2008-10-13
6
322 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
  • 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

759 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now