Package com.inet.pdfc.generator.message
Interface HighlightData
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHighlightData.HighlightRepresents a highlight area on a certain page.-
Nested classes/interfaces inherited from interface com.inet.pdfc.generator.message.Chunk
Chunk.ChunkType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetFilterKey()Returns the key of the filter which created the highlight.java.util.List<HighlightData.Highlight>getPageHighlights(int pageNr, boolean firstDocument)Returns the highlights of this container for a certain page
-
-
-
Method Detail
-
getPageHighlights
java.util.List<HighlightData.Highlight> getPageHighlights(int pageNr, boolean firstDocument)
Returns the highlights of this container for a certain page- Parameters:
pageNr- the page number, zero-basedfirstDocument-trueif the first document is referenced,falsefor the second one- Returns:
- the highlights for this page, may be
nullif there are none - Since:
- 3.0
-
getFilterKey
java.lang.String getFilterKey()
Returns the key of the filter which created the highlight. This key is the same as ISortFilter.getExtensionName() of the source filter.- Returns:
- the highlight type key, may be
nullfor highlights that are only used internally. - Since:
- 4.0
-
-