@API(type=INTERNAL, src=PUBLIC) public class JoinOperation extends JoinOperationBase
CURSOR_OUTSIDE_THE_TABLE_ERROR_MESSAGE, RECTANGULAR_SELECTIONS_ERROR_MESSAGE, SELECT_AT_LEAST_TWO_ADJACENT_CELLS_ERROR_MESSAGE
TABLE_INFO_ARGUMENT_DESCRIPTOR, TABLE_INFO_ARGUMENT_NAME, tableHelper
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
Constructor and Description |
---|
JoinOperation()
Constructor.
|
JoinOperation(AuthorTableHelper tableHelper)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
generateColumnSpecifications(AuthorAccess authorAccess,
AuthorTableCellSpanProvider tableCellSpanProvider,
AuthorElement tableElement)
Generates column specifications for the given table and inserts them
into the document.
|
doOperationInternal, getArguments, getDescription, joinCells
createEmptyCell, doOperation, findCellInsertionOffset, getElementAncestor, isElement, isTableElement
public JoinOperation()
public JoinOperation(AuthorTableHelper tableHelper)
tableHelper
- The table helper.protected void generateColumnSpecifications(AuthorAccess authorAccess, AuthorTableCellSpanProvider tableCellSpanProvider, AuthorElement tableElement) throws AuthorOperationException
JoinOperationBase
generateColumnSpecifications
in class JoinOperationBase
authorAccess
- Author access.
Provides access to specific informations and actions for
editor, document, workspace, tables, change tracking, utility a.s.o.tableCellSpanProvider
- Table cell span provider.tableElement
- The table element.AuthorOperationException
- Failed to insert the column specifications into the table.JoinOperationBase.generateColumnSpecifications(ro.sync.ecss.extensions.api.AuthorAccess, ro.sync.ecss.extensions.api.AuthorTableCellSpanProvider, ro.sync.ecss.extensions.api.node.AuthorElement)
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.