Oxygen XML Editor 11.2 Author API

ro.sync.ecss.extensions.commons.table.operations.cals
Class JoinRowCellsOperation

java.lang.Object
  extended by ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
      extended by ro.sync.ecss.extensions.commons.table.operations.JoinRowCellsOperationBase
          extended by 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.


Field Summary
 
Fields inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
tableHelper
 
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
 
Fields inherited from interface ro.sync.ecss.extensions.api.AuthorOperation
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
 
Constructor Summary
JoinRowCellsOperation()
          Constructor.
 
Method Summary
protected  void generateColumnSpecifications(AuthorAccess authorAccess, AuthorTableCellSpanProvider tableSpanSupport, AuthorElement tableElement)
          Generates column specifications for the given table and inserts them into it.
 
Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.JoinRowCellsOperationBase
doOperation, getArguments, getDescription, getFirstCell, getLastCell
 
Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
createEmptyCell, findCellInsertionOffset, getElementAncestor, isElement, isTableElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinRowCellsOperation

public JoinRowCellsOperation()
Constructor.

Method Detail

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.

Oxygen XML Editor 11.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.