ro.sync.ecss.extensions.commons.table.operations.cals
Class JoinRowCellsOperation
java.lang.Object
ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
ro.sync.ecss.extensions.commons.table.operations.JoinRowCellsOperationBase
ro.sync.ecss.extensions.commons.table.operations.cals.JoinRowCellsOperation
- All Implemented Interfaces:
- AuthorOperation, Extension, CALSConstants
public class JoinRowCellsOperation
- extends JoinRowCellsOperationBase
- implements CALSConstants
This is the CALS tables implementation of the operation used to join
the content of two or more cells from the same table row.
If selection exists, the cell at selection start offset determines the destination cell where
the content of the next cells will be moved.
If there is no selection, then the caret must be between
two table cells.
The operation modifies the namest
and nameend
attributes of the destination cell.
Fields inherited from interface ro.sync.ecss.extensions.commons.table.operations.cals.CALSConstants |
ATTRIBUTE_NAME_COLNAME, ATTRIBUTE_NAME_COLNUM, ATTRIBUTE_NAME_COLS, ATTRIBUTE_NAME_COLWIDTH, ATTRIBUTE_NAME_ID, ATTRIBUTE_NAME_MOREROWS, ATTRIBUTE_NAME_NAMEEND, ATTRIBUTE_NAME_NAMEST, ATTRIBUTE_NAME_SPANNAME, ATTRIBUTE_NAME_TABLE_WIDTH, ELEMENT_NAME_COLSPEC, ELEMENT_NAME_ENTRY, ELEMENT_NAME_INFORMALTABLE, ELEMENT_NAME_ROW, ELEMENT_NAME_SPANSPEC, ELEMENT_NAME_TABLE, ELEMENT_NAME_TGROUP |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoinRowCellsOperation
public JoinRowCellsOperation()
- Constructor.
generateColumnSpecifications
protected void generateColumnSpecifications(AuthorAccess authorAccess,
AuthorTableCellSpanProvider tableSpanSupport,
AuthorElement tableElement)
throws AuthorOperationException
- Generates column specifications for the given table and inserts them into it.
- Specified by:
generateColumnSpecifications
in class JoinRowCellsOperationBase
- Parameters:
authorAccess
- Access.tableSpanSupport
- Span support.tableElement
- The table element.
- Throws:
AuthorOperationException
- Failed to insert the column specifications into the table.
© Copyright SyncRO Soft SRL 2002 - 2010.