public class TextEditOptions extends Object implements IEditOptions
Allows to specify custom options for loading plain text (TXT) documents
Constructor and Description |
---|
TextEditOptions() |
Modifier and Type | Method and Description |
---|---|
int |
getDirection()
Allows to specify the direction of text flow in the input plain text
document.
|
boolean |
getEnablePagination()
Allows to enable or disable pagination in the resultant HTML document.
|
Charset |
getEncoding()
Character encoding of the text document, which will be applied for its
opening
|
com.aspose.ms.System.Text.Encoding |
getEncodingInternal() |
int |
getLeadingSpaces()
Gets or sets preferred option of a leading space handling.
|
boolean |
getRecognizeLists()
Allows to specify how numbered list items are recognized when document is
imported from plain text format.
|
int |
getTrailingSpaces()
Gets or sets preferred option of a trailing space handling.
|
void |
setDirection(int value)
Allows to specify the direction of text flow in the input plain text
document.
|
void |
setEnablePagination(boolean value)
Allows to enable or disable pagination in the resultant HTML document.
|
void |
setEncoding(Charset value)
Character encoding of the text document, which will be applied for its
opening
|
void |
setEncodingInternal(com.aspose.ms.System.Text.Encoding value) |
void |
setLeadingSpaces(int value)
Gets or sets preferred option of a leading space handling.
|
void |
setRecognizeLists(boolean value)
Allows to specify how numbered list items are recognized when document is
imported from plain text format.
|
void |
setTrailingSpaces(int value)
Gets or sets preferred option of a trailing space handling.
|
public final int getDirection()
Allows to specify the direction of text flow in the input plain text document. By default is Left-to-Right.
public final boolean getEnablePagination()
Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false).
public final Charset getEncoding()
Character encoding of the text document, which will be applied for its opening
public com.aspose.ms.System.Text.Encoding getEncodingInternal()
public final int getLeadingSpaces()
Gets or sets preferred option of a leading space handling. By default converts leading spaces to the left indent.
public final boolean getRecognizeLists()
Allows to specify how numbered list items are recognized when document is imported from plain text format. The default value is true.
public final int getTrailingSpaces()
Gets or sets preferred option of a trailing space handling. By default truncates all trailing spaces.
public final void setDirection(int value)
Allows to specify the direction of text flow in the input plain text document. By default is Left-to-Right.
public final void setEnablePagination(boolean value)
Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false).
public final void setEncoding(Charset value)
Character encoding of the text document, which will be applied for its opening
public void setEncodingInternal(com.aspose.ms.System.Text.Encoding value)
public final void setLeadingSpaces(int value)
Gets or sets preferred option of a leading space handling. By default converts leading spaces to the left indent.
public final void setRecognizeLists(boolean value)
Allows to specify how numbered list items are recognized when document is imported from plain text format. The default value is true.
public final void setTrailingSpaces(int value)
Gets or sets preferred option of a trailing space handling. By default truncates all trailing spaces.