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

This utility class allows clients to view a part of a document as a virtual, whole document.

## Constructor: AbstractTextPartAsDocumentProxy
- parameter: `idoc`, type: `com.pnfsoftware.jeb.core.output.text.ITextDocument`

Description: Create a proxy object.
parameter: idoc: the full document.

## Method: addListener
- parameter: `listener`, type: `com.pnfsoftware.jeb.util.events.IEventListener`


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


## 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`
- return type: `java.lang.String`


## 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: countListeners
- return type: `int`


## Method: dispose


## Method: format
- return type: `java.lang.String`


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


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


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


## Method: getDocumentPart2
- parameter: `anchorBegin`, type: `long`
- parameter: `anchorEnd`, type: `long`
- return type: `com.pnfsoftware.jeb.core.output.text.ITextDocumentPart`


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


## Method: getFullDocument
- return type: `com.pnfsoftware.jeb.core.output.text.ITextDocument`

Description: Retrieve the full \(provider\) document.
return: the underlying source document

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


## Method: getListeners
- return type: `java.util.List<? extends com.pnfsoftware.jeb.util.events.IEventListener>`


## Method: getParentSource
- return type: `com.pnfsoftware.jeb.util.events.IEventSource`


## Protected Method: getPartAsDocument
- return type: `com.pnfsoftware.jeb.core.output.text.ITextDocumentPart`

Description: Provide the part to be viewed as whole document.
return: a part

## Method: getPropertyManager
- return type: `com.pnfsoftware.jeb.core.properties.IPropertyManager`


## Method: getUnit
- return type: `com.pnfsoftware.jeb.core.units.IUnit`


## Method: insertListener
- parameter: `index`, type: `int`
- parameter: `listener`, type: `com.pnfsoftware.jeb.util.events.IEventListener`


## Method: notifyListeners
- parameter: `e`, type: `com.pnfsoftware.jeb.util.events.IEvent`


## Method: removeListener
- parameter: `listener`, type: `com.pnfsoftware.jeb.util.events.IEventListener`


## Method: setParentSource
- parameter: `parentSource`, type: `com.pnfsoftware.jeb.util.events.IEventSource`


