public final class TextEditOptions extends TextOptions
Descubes options of text edit operations.
| Modifier and Type | Class and Description |
|---|---|
static class |
TextEditOptions.FontReplace
Font replacement behavior.
|
static class |
TextEditOptions.LanguageTransformation
Language transformation modes
|
static class |
TextEditOptions.NoCharacterAction
Action to perform if font does not contain required character
|
| Constructor and Description |
|---|
TextEditOptions(boolean allowLanguageTransformation)
Initializes new instance of the
TextEditOptions object for the specified language
transformation permission. |
TextEditOptions(int noCharacterBehavior)
Initializes new instance of the
TextEditOptions object for the specified no-character
behavior mode. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowLanguageTransformation()
Gets value that permits usage of language transformation during adding or editing of text.
|
int |
getFontReplaceBehavior()
Gets mode that defines behavior for fonts replacement scenarios.
|
int |
getLanguageTransformationBehavior()
Gets mode that defines behavior for language transformation scenarios.
|
int |
getNoCharacterBehavior()
Gets mode that defines behavior in case fonts don't contain requested characters.
|
void |
setAllowLanguageTransformation(boolean value)
Sets value that permits usage of language transformation during adding or editing of text.
|
void |
setFontReplaceBehavior(int value)
Sets mode that defines behavior for fonts replacement scenarios.
|
void |
setLanguageTransformationBehavior(int value)
Sets mode that defines behavior for language transformation scenarios.
|
void |
setNoCharacterBehavior(int value)
Sets mode that defines behavior in case fonts don't contain requested characters.
|
public TextEditOptions(int noCharacterBehavior)
Initializes new instance of the TextEditOptions object for the specified no-character
behavior mode. Please init fontReplaceBehavior by using setFontReplaceBehavior(int)
noCharacterBehavior - No-character behavior mode object.TextEditOptions.NoCharacterActionpublic TextEditOptions(boolean allowLanguageTransformation)
Initializes new instance of the TextEditOptions object for the specified language
transformation permission.
allowLanguageTransformation - Allows language transformation if set to true.public int getNoCharacterBehavior()
Gets mode that defines behavior in case fonts don't contain requested characters.
TextEditOptions.NoCharacterActionpublic void setNoCharacterBehavior(int value)
Sets mode that defines behavior in case fonts don't contain requested characters.
value - NoCharacterAction valueTextEditOptions.NoCharacterActionpublic int getFontReplaceBehavior()
TextEditOptions.FontReplacepublic void setFontReplaceBehavior(int value)
value - FontReplace valueTextEditOptions.FontReplacepublic boolean getAllowLanguageTransformation()
Gets value that permits usage of language transformation during adding or editing of text. true - language transformation will be applied if necessary (default value). false - language transformation will NOT be applied.
public void setAllowLanguageTransformation(boolean value)
Sets value that permits usage of language transformation during adding or editing of text. true - language transformation will be applied if necessary (default value). false - language transformation will NOT be applied.
value - boolean valuepublic int getLanguageTransformationBehavior()
Gets mode that defines behavior for language transformation scenarios.
TextEditOptions.LanguageTransformationpublic void setLanguageTransformationBehavior(int value)
Sets mode that defines behavior for language transformation scenarios.
value - LanguageTransformation valueTextEditOptions.LanguageTransformationCopyright © 2016 Aspose. All Rights Reserved.