Class JoinOperation
java.lang.Object
ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
ro.sync.ecss.extensions.commons.table.operations.JoinOperationBase
ro.sync.ecss.extensions.commons.table.operations.xhtml.JoinOperation
- All Implemented Interfaces:
AuthorOperation
,Extension
Operation for joining the content of selected cells.
-
Field Summary
Fields inherited from class ro.sync.ecss.extensions.commons.table.operations.JoinOperationBase
CURSOR_OUTSIDE_THE_TABLE_ERROR_MESSAGE, RECTANGULAR_SELECTIONS_ERROR_MESSAGE, SELECT_AT_LEAST_TWO_ADJACENT_CELLS_ERROR_MESSAGE
Fields inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
CHANGE_TRACKING_BEHAVIOR_ARGUMENT, TABLE_INFO_ARGUMENT_DESCRIPTOR, TABLE_INFO_ARGUMENT_NAME, tableHelper
Fields inherited from interface ro.sync.ecss.extensions.api.AuthorOperation
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
generateColumnSpecifications
(AuthorAccess authorAccess, AuthorTableCellSpanProvider tableCellSpanProvider, AuthorElement tableElement) Generates column specifications for the given table and inserts them into the document.Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.JoinOperationBase
doOperationInternal, getArguments, getDescription, joinCells
Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
createEmptyCell, doOperation, findCellInsertionOffset, getElementAncestor, isElement, isTableElement
-
Constructor Details
-
JoinOperation
public JoinOperation()Constructor -
JoinOperation
Constructor.- Parameters:
tableHelper
- The table helper
-
-
Method Details
-
generateColumnSpecifications
protected void generateColumnSpecifications(AuthorAccess authorAccess, AuthorTableCellSpanProvider tableCellSpanProvider, AuthorElement tableElement) throws AuthorOperationException Description copied from class:JoinOperationBase
Generates column specifications for the given table and inserts them into the document.- Specified by:
generateColumnSpecifications
in classJoinOperationBase
- Parameters:
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.- Throws:
AuthorOperationException
- Failed to insert the column specifications into the table.- See Also:
-