com.lowagie.text.pdf.events
public class IndexEvents extends PdfPageEventHelper
| Nested Class Summary | |
|---|---|
| class | IndexEvents.Entry
Class for an index entry.
|
| Field Summary | |
|---|---|
| Comparator | comparator
Comparator for sorting the index |
| long | indexcounter
indexcounter |
| List | indexentry
the list for the index entry |
| Map | indextag
keeps the indextag with the pagenumber |
| Method Summary | |
|---|---|
| Chunk | create(String text, String in1, String in2, String in3)
Create an index entry.
|
| Chunk | create(String text, String in1)
Create an index entry.
|
| Chunk | create(String text, String in1, String in2)
Create an index entry.
|
| void | create(Chunk text, String in1, String in2, String in3)
Create an index entry.
|
| void | create(Chunk text, String in1)
Create an index entry.
|
| void | create(Chunk text, String in1, String in2)
Create an index entry.
|
| List | getSortedEntries()
Returns the sorted list with the entries and the collected page numbers. |
| void | onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text)
All the text that is passed to this event, gets registered in the indexentry.
|
| void | setComparator(Comparator aComparator)
Set the comparator. |
Parameters: text The text for the Chunk. in1 The first level. in2 The second level. in3 The third level.
Returns: Returns the Chunk.
Parameters: text The text for the Chunk. in1 The first level.
Returns: Returns the Chunk.
Parameters: text The text for the Chunk. in1 The first level. in2 The second level.
Returns: Returns the Chunk.
Parameters: text The text. in1 The first level. in2 The second level. in3 The third level.
Parameters: text The text. in1 The first level.
Parameters: text The text. in1 The first level. in2 The second level.
Returns: Returns the sorted list with the entries and the collected page numbers.
See Also: PdfPageEventHelper
Parameters: aComparator The comparator to set.