Solved

Numeric list item in iText

Posted on 2008-10-13
6
333 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

815 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

8 Experts available now in Live!

Get 1:1 Help Now