Interface HighlightData

All Superinterfaces:
Chunk, Serializable

public interface HighlightData extends Chunk
This is a container to display certain highlights in the pages displayed in a GUI component.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Represents a highlight area on a certain page.

    Nested classes/interfaces inherited from interface com.inet.pdfc.generator.message.Chunk

    Chunk.ChunkType
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the key of the filter which created the highlight.
    getPageHighlights(int pageNr, boolean firstDocument)
    Returns the highlights of this container for a certain page

    Methods inherited from interface com.inet.pdfc.generator.message.Chunk

    getType
  • Method Details

    • getPageHighlights

      List<HighlightData.Highlight> getPageHighlights(int pageNr, boolean firstDocument)
      Returns the highlights of this container for a certain page
      Parameters:
      pageNr - the page number, zero-based
      firstDocument - true if the first document is referenced, false for the second one
      Returns:
      the highlights for this page, may be null if there are none
      Since:
      3.0
    • getFilterKey

      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 null for highlights that are only used internally.
      Since:
      4.0