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

A text document used to represent textual data, on a best\-effort basis. Units may generate this type of document when they would like to have clients represent some or all their contents as text data. 

 The input data can be of any size, up to 2^63 bytes, and arbitrarily encoded. Non Ascii\-printable characters will be escaped and rendered as `\x??` entities. 

 Similarly to [HexDumpDocument](HexDumpDocument) objects, these objects are not necessarily tied to units. If related to units, and since the addressing scheme may not consistent with other documents' of such unit, the reserved prefix '@' is used for addresses. Addresses are like: `@line,column` where line and column are 1\-based. 

 Note: this document is not serializable; it should not be used in a list of persisted presentations.

## Constructor: AsciiDocument
- parameter: `input`, type: `com.pnfsoftware.jeb.core.input.IInput`

Description: Create a text document.
parameter: input: the input data

## Method: addressToCoordinates
- parameter: `address`, type: `java.lang.String`
- parameter: `precision`, type: `com.pnfsoftware.jeb.core.output.CoordinatesConversionPrecision`
- return type: `com.pnfsoftware.jeb.core.output.text.ICoordinates`


## Method: coordinatesToAddress
- parameter: `coordinates`, type: `com.pnfsoftware.jeb.core.output.text.ICoordinates`
- parameter: `precision`, type: `com.pnfsoftware.jeb.core.output.AddressConversionPrecision`
- return type: `java.lang.String`


## Method: getAnchorCount
- return type: `long`


## Method: getDocumentPart
- parameter: `anchorId`, type: `long`
- parameter: `linesAfter`, type: `int`
- parameter: `linesBefore`, type: `int`
- return type: `com.pnfsoftware.jeb.core.output.text.ITextDocumentPart`


## Protected Method: useDisplayLineNumber
- return type: `boolean`


## Protected Method: useLineDelta
- return type: `boolean`


