Class InsertColumnOperation
- java.lang.Object
-
- ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
-
- ro.sync.ecss.extensions.commons.table.operations.InsertColumnOperationBase
-
- ro.sync.ecss.extensions.dita.map.table.InsertColumnOperation
-
- All Implemented Interfaces:
AuthorOperation
,Extension
,ReltableConstants
- Direct Known Subclasses:
InsertSingleColumnOperation
@API(type=INTERNAL, src=PUBLIC) public class InsertColumnOperation extends InsertColumnOperationBase implements ReltableConstants
Operation used to insert a DITA map reltable column.
-
-
Field Summary
-
Fields inherited from class ro.sync.ecss.extensions.commons.table.operations.InsertColumnOperationBase
INSERT_MULTIPLE_COLUMNS_ARGUMENT_DESCRIPTOR, POSITION_ARGUMENT, POSITION_ARGUMENT_DESCRIPTOR
-
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
-
Fields inherited from interface ro.sync.ecss.extensions.dita.map.table.ReltableConstants
ATTRIBUTE_NAME_ID, ATTRIBUTE_NAME_TYPE, ELEMENT_NAME_ENTRY, ELEMENT_NAME_HEADER, ELEMENT_NAME_HEADER_ENTRY, ELEMENT_NAME_ROW, ELEMENT_NAME_TABLE
-
-
Constructor Summary
Constructors Modifier Constructor Description InsertColumnOperation()
Constructor.protected
InsertColumnOperation(AuthorTableHelper documentTypeHelper)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getCellElementName(AuthorElement rowElement, int newColumnIndex)
Get the name of the element that will be inserted as a cell into the table.-
Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.InsertColumnOperationBase
doOperationInternal, getArguments, getDefaultContentForEmptyCells, getDescription, insertColumns, insertColumns, performInsertColumn, removeMultipleInsertionDescriptor, updateColumnCellsSpan
-
Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
createEmptyCell, doOperation, findCellInsertionOffset, getElementAncestor, isElement, isTableElement
-
-
-
-
Constructor Detail
-
InsertColumnOperation
public InsertColumnOperation()
Constructor.
-
InsertColumnOperation
protected InsertColumnOperation(AuthorTableHelper documentTypeHelper)
Constructor.- Parameters:
documentTypeHelper
- Document type helper, has methods specific to a document type.
-
-
Method Detail
-
getCellElementName
protected java.lang.String getCellElementName(AuthorElement rowElement, int newColumnIndex)
Description copied from class:InsertColumnOperationBase
Get the name of the element that will be inserted as a cell into the table.- Specified by:
getCellElementName
in classInsertColumnOperationBase
- Parameters:
rowElement
- The row element where the new cell will be inserted.newColumnIndex
- The new column index. 0 based.- Returns:
- The name of cell element.
- See Also:
InsertColumnOperationBase.getCellElementName(ro.sync.ecss.extensions.api.node.AuthorElement, int)
-
-