# Class: com.pnfsoftware.jeb.core.output.text.impl.TextDocumentPart

A simple implementation for a text document part.

## Constructor: TextDocumentPart
- parameter: `lines`, type: `java.util.List<com.pnfsoftware.jeb.core.output.text.ILine>`
- parameter: `anchors`, type: `java.util.List<com.pnfsoftware.jeb.core.output.text.IAnchor>`

Description: Create a new part with the given lines and anchors.
parameter: lines: a list of lines
parameter: anchors: a list of anchors

## Static Field: EMPTY
Type: `com.pnfsoftware.jeb.core.output.text.impl.TextDocumentPart`
Description: An empty part with an empty line and an anchor pointing to that line

## Method: getAnchor
- parameter: `index`, type: `int`
- return type: `com.pnfsoftware.jeb.core.output.text.IAnchor`


## Method: getAnchors
- return type: `java.util.List<com.pnfsoftware.jeb.core.output.text.IAnchor>`


## Method: getCountOfAnchors
- return type: `int`


## Method: getCountOfLines
- return type: `int`


## Method: getLine
- parameter: `index`, type: `int`
- return type: `com.pnfsoftware.jeb.core.output.text.ILine`


## Method: getLines
- return type: `java.util.List<com.pnfsoftware.jeb.core.output.text.ILine>`


