Oxygen XML Editor 16.1 Author API

ro.sync.ecss.extensions.dita.topic.table.simpletable
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.dita.topic.table.simpletable.JoinRowCellsOperation
All Implemented Interfaces:
AuthorOperation, Extension, SimpleTableConstants

@API(type=INTERNAL,
     src=PUBLIC)
public class JoinRowCellsOperation
extends JoinRowCellsOperationBase
implements SimpleTableConstants

This is the DITA simple tables implementation of the operation used to join the content of two or more cells from a table row. If there is a selection, the cell at selection start offset determines the destination cell where the content of the next cells will be moved.


Field Summary
 
Fields inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
tableHelper
 
Fields inherited from interface ro.sync.ecss.extensions.dita.topic.table.simpletable.SimpleTableConstants
ATTRIBUTE_NAME_ID, ELEMENT_NAME_CHDESC_CHOICETABLE, ELEMENT_NAME_CHDESCHD_CHOICETABLE, ELEMENT_NAME_CHOICETABLE, ELEMENT_NAME_CHOPTION_CHOICETABLE, ELEMENT_NAME_CHOPTIONHD_CHOICETABLE, ELEMENT_NAME_ENTRY_SIMPLETABLE, ELEMENT_NAME_HEADER_CHOICETABLE, ELEMENT_NAME_HEADER_PROPERTIES, ELEMENT_NAME_HEADER_SIMPLETABLE, ELEMENT_NAME_PROPDESC_PROPERTIES, ELEMENT_NAME_PROPDESCHD_PROPERTIES, ELEMENT_NAME_PROPERTIES, ELEMENT_NAME_PROPTYPE_PROPERTIES, ELEMENT_NAME_PROPTYPEHD_PROPERTIES, ELEMENT_NAME_PROPVALUE_PROPERTIES, ELEMENT_NAME_PROPVALUEHD_PROPERTIES, ELEMENT_NAME_ROW_CHOICETABLE, ELEMENT_NAME_ROW_PROPERTIES, ELEMENT_NAME_ROW_SIMPLETABLE, ELEMENT_NAME_SIMPLETABLE
 
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()
          Default constructor.
 
Method Summary
protected  void generateColumnSpecifications(AuthorAccess authorAccess, AuthorTableCellSpanProvider tableSpanSupport, 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.JoinRowCellsOperationBase
doOperation, getArguments, getCell, getDescription
 
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()
Default constructor.

Method Detail

generateColumnSpecifications

protected void generateColumnSpecifications(AuthorAccess authorAccess,
                                            AuthorTableCellSpanProvider tableSpanSupport,
                                            AuthorElement tableElement)
                                     throws AuthorOperationException
Description copied from class: JoinRowCellsOperationBase
Generates column specifications for the given table and inserts them into the document.

Specified by:
generateColumnSpecifications in class JoinRowCellsOperationBase
Parameters:
authorAccess - Author access. Provides access to specific informations and actions for editor, document, workspace, tables, change tracking, utility a.s.o.
tableSpanSupport - Table cell span provider.
tableElement - The table element.
Throws:
AuthorOperationException - Failed to insert the column specifications into the table.
See Also:
JoinRowCellsOperationBase.generateColumnSpecifications(ro.sync.ecss.extensions.api.AuthorAccess, ro.sync.ecss.extensions.api.AuthorTableCellSpanProvider, ro.sync.ecss.extensions.api.node.AuthorElement)

Oxygen XML Editor 16.1 Author API

© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.