|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lowagie.text.pdf.PdfPageEventHelper com.lowagie.text.pdf.events.IndexEvents
public class IndexEvents
Class for an index.
Nested Class Summary | |
---|---|
class |
IndexEvents.Entry
Class for an index entry. |
Constructor Summary | |
---|---|
IndexEvents()
|
Method Summary | |
---|---|
void |
create(Chunk text,
java.lang.String in1)
Create an index entry. |
void |
create(Chunk text,
java.lang.String in1,
java.lang.String in2)
Create an index entry. |
void |
create(Chunk text,
java.lang.String in1,
java.lang.String in2,
java.lang.String in3)
Create an index entry. |
Chunk |
create(java.lang.String text,
java.lang.String in1)
Create an index entry. |
Chunk |
create(java.lang.String text,
java.lang.String in1,
java.lang.String in2)
Create an index entry. |
Chunk |
create(java.lang.String text,
java.lang.String in1,
java.lang.String in2,
java.lang.String in3)
Create an index entry. |
java.util.List |
getSortedEntries()
Returns the sorted list with the entries and the collected page numbers. |
void |
onGenericTag(PdfWriter writer,
Document document,
Rectangle rect,
java.lang.String text)
All the text that is passed to this event, gets registered in the indexentry. |
void |
setComparator(java.util.Comparator aComparator)
Set the comparator. |
Methods inherited from class com.lowagie.text.pdf.PdfPageEventHelper |
---|
onChapter, onChapterEnd, onCloseDocument, onEndPage, onOpenDocument, onParagraph, onParagraphEnd, onSection, onSectionEnd, onStartPage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexEvents()
Method Detail |
---|
public void onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)
onGenericTag
in interface PdfPageEvent
onGenericTag
in class PdfPageEventHelper
writer
- the PdfWriter
for this documentdocument
- the documentrect
- the Rectangle
containing the Chunk
text
- the text of the tagPdfPageEventHelper.onGenericTag(
com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document,
com.lowagie.text.Rectangle, java.lang.String)
public Chunk create(java.lang.String text, java.lang.String in1, java.lang.String in2, java.lang.String in3)
text
- The text for the Chunk.in1
- The first level.in2
- The second level.in3
- The third level.
public Chunk create(java.lang.String text, java.lang.String in1)
text
- The text for the Chunk.in1
- The first level.
public Chunk create(java.lang.String text, java.lang.String in1, java.lang.String in2)
text
- The text for the Chunk.in1
- The first level.in2
- The second level.
public void create(Chunk text, java.lang.String in1, java.lang.String in2, java.lang.String in3)
text
- The text.in1
- The first level.in2
- The second level.in3
- The third level.public void create(Chunk text, java.lang.String in1)
text
- The text.in1
- The first level.public void create(Chunk text, java.lang.String in1, java.lang.String in2)
text
- The text.in1
- The first level.in2
- The second level.public void setComparator(java.util.Comparator aComparator)
aComparator
- The comparator to set.public java.util.List getSortedEntries()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |