com.pnfsoftware.jeb.core.output.text.ICoordinates |
Known Indirect Subclasses |
This interface defines a coordinates system to locate characters within ITextDocument
objects.
Text coordinates allow the addressing of character within a line.
Note that different addresses may point to the same character. The canonical address of a character is defined as the one whose anchorId is the id of the anchored chunk containing this character.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract long |
getAnchorId()
Get the anchor id.
| ||||||||||
abstract int |
getColumnOffset()
Get the column offset within the line identified by the (anchorId, lineDelta) couple.
| ||||||||||
abstract int |
getLineDelta()
Get the line index within the anchored chunk.
|
Get the anchor id.
Get the column offset within the line identified by the (anchorId, lineDelta) couple.
Get the line index within the anchored chunk.