# DocTextFinderConfig Class

> A document text finder configuration that customizes the way the extracted text is processed.

- Product: Adobe PDF Library 18
- Language: Java
- Version: APDFL18.0.5PlusP2e
- HTML page: https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/class/DocTextFinderConfig
- Version index: https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/llms.txt

```java
class DocTextFinderConfig
```

**Namespace:** `com::datalogics::PDFL`

## Description

A document text finder configuration that customizes the way the extracted text is processed. In the default configuration, all options are false. Structure representing configuration options for DocTextFinder.

**Referenced by:** [`DocTextFinder`](https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/class/DocTextFinder.md)

## Constructors

### DocTextFinderConfig

```java
com.datalogics.PDFL.DocTextFinderConfig.DocTextFinderConfig()
```

*constructor*

A document text finder configuration that customizes the way the extracted text is processed. In the default configuration, all options are false. Structure representing configuration options for DocTextFinder.

## Methods

### delete

```java
synchronized void com.datalogics.PDFL.DocTextFinderConfig.delete(Boolean disposing)
```

*protected*

**Parameters**

- `disposing` (`Boolean`)

**Returns:** `synchronized void`

### delete

```java
synchronized void com.datalogics.PDFL.DocTextFinderConfig.delete()
```

**Returns:** `synchronized void`

### finalize

```java
void com.datalogics.PDFL.DocTextFinderConfig.finalize()
```

*protected*

**Returns:** `void`

### getPreserveLineBreaks

```java
boolean com.datalogics.PDFL.DocTextFinderConfig.getPreserveLineBreaks()
```

**Returns:** `boolean`

If true, inserts chars instead of spaces wherever ends of lines are detected within extracted text.

### setPreserveLineBreaks

```java
void com.datalogics.PDFL.DocTextFinderConfig.setPreserveLineBreaks(boolean value)
```

**Parameters**

- `value` (`boolean`)

**Returns:** `void`

If true, inserts chars instead of spaces wherever ends of lines are detected within extracted text.
