public abstract class DocumentFormatter extends Object
Provides the base class for documents' formatters.
Modifier | Constructor and Description |
---|---|
protected |
DocumentFormatter(boolean isNestedTablesSupported)
Initializes a new instance of the
DocumentFormatter class. |
Modifier and Type | Method and Description |
---|---|
abstract ListFormatter |
createListFormatter()
Creates a formatter for list.
|
abstract TableFormatter |
createTableFormatter()
Creates a formatter for table.
|
abstract TextFormatter |
createTextFormatter()
Creates a formatter for text.
|
boolean |
isNestedTablesSupported()
Gets a value indicating whether formatted supports a nested tables; otherwise, false.
|
protected DocumentFormatter(boolean isNestedTablesSupported)
Initializes a new instance of the DocumentFormatter
class.
isNestedTablesSupported
- A boolean true is formatted supports a nested tables; otherwise, false.public boolean isNestedTablesSupported()
Gets a value indicating whether formatted supports a nested tables; otherwise, false.
public abstract TextFormatter createTextFormatter()
Creates a formatter for text.
public abstract ListFormatter createListFormatter()
Creates a formatter for list.
public abstract TableFormatter createTableFormatter()
Creates a formatter for table.
Copyright © 2019. All rights reserved.