@API(type=INTERNAL,
src=PUBLIC)
public class XHTMLAuthorTableOperationsHandler
extends AuthorTableOperationsHandler
| Constructor and Description |
|---|
XHTMLAuthorTableOperationsHandler() |
| Modifier and Type | Method and Description |
|---|---|
AuthorElement |
getTableElementContainingOffset(AuthorAccess access,
int offset)
Returns the element representing the table that contains the given offset.
|
boolean |
handleDeleteColumn(AuthorTableDeleteColumnArguments arguments)
Handles delete column operation.
|
boolean |
handleDeleteRow(AuthorTableDeleteRowArguments arguments)
Handles delete row operation.
|
boolean |
handleDeleteRows(AuthorTableDeleteRowsArguments arguments)
Handles delete rows operation.
|
boolean |
handleInsertColumn(AuthorTableInsertColumnArguments tablePasteColumnArgs)
Handles insert column operation.
|
getColumnSpecificationpublic boolean handleInsertColumn(AuthorTableInsertColumnArguments tablePasteColumnArgs) throws AuthorOperationException
AuthorTableOperationsHandlerSelectionInterpretationMode.TABLE_COLUMN interpretation mode was imposed.
SelectionInterpretationMode.TABLE_COLUMN interpretation mode is
already set by default by the application when a table column is selected.
It can be also imposed from the AuthorSelectionModel.setSelectionInterpretationMode(SelectionInterpretationMode)
method, for any selection content.
SelectionInterpretationMode.TABLE_COLUMN,
when pasting the fragments this method is called. The fragments array are included in the
argument object.handleInsertColumn in class AuthorTableOperationsHandlertablePasteColumnArgs - The arguments for insert column operation like:
the offset where the column is inserted, the array containing the cells fragments
that compose an Author table column, information about column width specification,
the Author access.true if the insert column operation succeeds.AuthorOperationException - An insert column operation exception.
If the AuthorOperationException.isOperationRejectedOnPurpose() method
of this exception returns true, the exception is presented to the user.AuthorTableOperationsHandler.handleInsertColumn(ro.sync.ecss.extensions.api.table.operations.AuthorTableInsertColumnArguments)public boolean handleDeleteColumn(AuthorTableDeleteColumnArguments arguments) throws AuthorOperationException
AuthorTableOperationsHandlerSelectionInterpretationMode.TABLE_COLUMN interpretation mode was imposed.
SelectionInterpretationMode.TABLE_COLUMN interpretation mode is
already set by default by the application when a table column is selected.
It can be also imposed from the AuthorSelectionModel.setSelectionInterpretationMode(SelectionInterpretationMode)
method, for any selection content.
SelectionInterpretationMode.TABLE_COLUMN,
when deleting the fragments this method is called. The fragments array are included in the
argument object.handleDeleteColumn in class AuthorTableOperationsHandlerarguments - The arguments for delete column operation (like the Author access
and the column cells start and end offsets).true if the delete column operation succeeds.AuthorOperationException - A delete column operation exception.
If the AuthorOperationException.isOperationRejectedOnPurpose() method
of this exception returns true, the exception is presented to the user.AuthorTableOperationsHandler.handleDeleteColumn(AuthorTableDeleteColumnArguments)public boolean handleDeleteRow(AuthorTableDeleteRowArguments arguments) throws AuthorOperationException
AuthorTableOperationsHandlerSelectionInterpretationMode.TABLE_ROW interpretation mode was imposed.
SelectionInterpretationMode.TABLE_ROW interpretation mode is
already set by default by the application when a table row is selected.
It can be also imposed from the AuthorSelectionModel.setSelectionInterpretationMode(SelectionInterpretationMode)
method, for any selection content.
SelectionInterpretationMode.TABLE_ROW,
when deleting the fragments this method is called. The fragments array are included in the
argument object.handleDeleteRow in class AuthorTableOperationsHandlerarguments - The arguments for delete row operation (like the Author access and
the content interval of the row element that must be deleted).true if the delete row operation succeeds.AuthorOperationException - A delete row operation exception.
If the AuthorOperationException.isOperationRejectedOnPurpose() method
of this exception returns true, the exception is presented to the user.AuthorTableOperationsHandler.handleDeleteRow(ro.sync.ecss.extensions.api.table.operations.AuthorTableDeleteRowArguments)public boolean handleDeleteRows(AuthorTableDeleteRowsArguments arguments) throws AuthorOperationException
AuthorTableOperationsHandlerSelectionInterpretationMode.TABLE_ROW interpretation mode was imposed.
SelectionInterpretationMode.TABLE_ROW interpretation mode is
already set by default by the application when a table row is selected.
It can be also imposed from the AuthorSelectionModel.setSelectionInterpretationMode(SelectionInterpretationMode)
method, for any selection content.
SelectionInterpretationMode.TABLE_ROW,
when deleting the fragments this method is called.handleDeleteRows in class AuthorTableOperationsHandlerarguments - The arguments for delete rows operation (like the Author access and
the content intervals that determine the rows element that must be deleted).true if the delete rows operation succeeds.AuthorOperationException - A delete row operation exception.
If the AuthorOperationException.isOperationRejectedOnPurpose() method
of this exception returns true, the exception is presented to the user.AuthorTableOperationsHandler.handleDeleteRows(ro.sync.ecss.extensions.api.table.operations.AuthorTableDeleteRowsArguments)public AuthorElement getTableElementContainingOffset(AuthorAccess access, int offset)
AuthorTableOperationsHandlergetTableElementContainingOffset in class AuthorTableOperationsHandleraccess - Access to Author operations.offset - The offset to search the parent table element for.AuthorTableOperationsHandler.getTableElementContainingOffset(ro.sync.ecss.extensions.api.AuthorAccess, int)© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.