Solved

Numeric list item in iText

Posted on 2008-10-13
6
343 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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
xampp tool 12 56
tomcat not starting 6 68
Android development question 2 54
Crystal Reports Licensing Questions 4 34
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

840 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