@API(type=NOT_EXTENDABLE, src=PUBLIC) public enum SelectionInterpretationMode extends java.lang.Enum<SelectionInterpretationMode>
TABLE_COLUMN
interpretation mode is
already set by default by the application when a table column is selected.
In this case, when the column is pasted, it is also interpreted as a table column
by the application built-in document types.
TABLE_COLUMN
interpretation mode must be imposed from
AuthorSelectionModel.setSelectionInterpretationMode(SelectionInterpretationMode)
method.
TABLE_COLUMN
,
when pasting the fragments a table column is created, each paragraph being
the content of a column cell.
TABLE_COLUMN
interpretation mode is pasted the AuthorTableOperationsHandler#handlePasteColumn(AuthorTablePasteColumnArguments)
method is called. If there is no implementation for this extension, the default paste
behavior is invoked.
ExtensionsBundle.getAuthorTableOperationsHandler()
for handling the
paste column operation.Enum Constant and Description |
---|
TABLE
Table selection interpretation.
|
TABLE_CELLS
Table cells selection interpretation (one or more table cells are selected).
|
TABLE_COLUMN
Table column selection interpretation.
|
TABLE_ROW
Table rows selection interpretation (one or more table rows are selected).
|
Modifier and Type | Method and Description |
---|---|
static SelectionInterpretationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SelectionInterpretationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectionInterpretationMode TABLE_COLUMN
public static final SelectionInterpretationMode TABLE_ROW
public static final SelectionInterpretationMode TABLE_CELLS
public static final SelectionInterpretationMode TABLE
public static SelectionInterpretationMode[] values()
for (SelectionInterpretationMode c : SelectionInterpretationMode.values()) System.out.println(c);
public static SelectionInterpretationMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.