public interface

IAnchor

com.pnfsoftware.jeb.core.output.text.IAnchor
Known Indirect Subclasses

Class Overview

Definition of an anchor. An anchor is the first line of a text document chunk.

Anchor identifiers start at 0. The line index of an anchor is always relative to an ITextDocumentPart, not an ITextDocument.

Summary

Public Methods
abstract long getIdentifier()
Get the anchor identifier.
abstract int getLineIndex()
Get the line index, within the document part, of the first line (the anchor line) of the anchored chunk.

Public Methods

public abstract long getIdentifier ()

Get the anchor identifier. The identifier is a zero+ index number.

Returns
  • the identifier

public abstract int getLineIndex ()

Get the line index, within the document part, of the first line (the anchor line) of the anchored chunk.

Returns
  • the identifier