Class IndexEvents
java.lang.Object
com.lowagie.text.pdf.PdfPageEventHelper
com.lowagie.text.pdf.events.IndexEvents
- All Implemented Interfaces:
PdfPageEvent
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Comparator<IndexEvents.Entry> Deprecated.Comparator for sorting the indexprivate longDeprecated.indexcounterprivate List<IndexEvents.Entry> Deprecated.the list for the index entryDeprecated.keeps the indextag with the pagenumber -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intcompareStringsIgnoreCase(String str1, String str2) Deprecated.voidDeprecated.Create an index entry.voidDeprecated.Create an index entry.voidDeprecated.Create an index entry.Deprecated.Create an index entry.Deprecated.Create an index entry.Deprecated.Create an index entry.Deprecated.Returns the sorted list with the entries and the collected page numbers.voidonGenericTag(PdfWriter writer, Document document, Rectangle rect, String text) Deprecated.All the text that is passed to this event, gets registered in the indexentry.voidsetComparator(Comparator<IndexEvents.Entry> aComparator) Deprecated.Set the comparator.Methods inherited from class PdfPageEventHelper
onChapter, onChapterEnd, onCloseDocument, onEndPage, onOpenDocument, onParagraph, onParagraphEnd, onSection, onSectionEnd, onStartPage
-
Field Details
-
indextag
-
indexcounter
private long indexcounterDeprecated.indexcounter -
indexentry
-
comparator
-
-
Constructor Details
-
IndexEvents
public IndexEvents()Deprecated.
-
-
Method Details
-
compareStringsIgnoreCase
-
onGenericTag
Deprecated.All the text that is passed to this event, gets registered in the indexentry.- Specified by:
onGenericTagin interfacePdfPageEvent- Overrides:
onGenericTagin classPdfPageEventHelper- Parameters:
writer- thePdfWriterfor this documentdocument- the documentrect- theRectanglecontaining theChunktext- the text of the tag- See Also:
-
create
-
create
-
create
-
create
-
create
-
create
-
setComparator
Deprecated.Set the comparator.- Parameters:
aComparator- The comparator to set.
-
getSortedEntries
Deprecated.Returns the sorted list with the entries and the collected page numbers.- Returns:
- Returns the sorted list with the entries and the collected page numbers.
-