com.pnfsoftware.jeb.core.output.text.IAnchor |
Known Indirect Subclasses |
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
.
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.
|
Get the anchor identifier. The identifier is a zero+ index number.
Get the line index, within the document part, of the first line (the anchor line) of the anchored chunk.