Class SplitOperation
- java.lang.Object
-
- ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
-
- ro.sync.ecss.extensions.commons.table.operations.SplitOperationBase
-
- ro.sync.ecss.extensions.dita.topic.table.cals.SplitOperation
-
- All Implemented Interfaces:
AuthorOperation
,Extension
,CALSConstants
@API(type=INTERNAL, src=PUBLIC) public class SplitOperation extends SplitOperationBase implements CALSConstants
Operation for splitting the selected table cell (or the cell at caret when there is no selection).
-
-
Field Summary
-
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.commons.table.operations.cals.CALSConstants
ATTRIBUTE_NAME_ALIGN, ATTRIBUTE_NAME_COLNAME, ATTRIBUTE_NAME_COLNUM, ATTRIBUTE_NAME_COLS, ATTRIBUTE_NAME_COLSEP, ATTRIBUTE_NAME_COLWIDTH, ATTRIBUTE_NAME_ID, ATTRIBUTE_NAME_MOREROWS, ATTRIBUTE_NAME_NAMEEND, ATTRIBUTE_NAME_NAMEST, ATTRIBUTE_NAME_ROWSEP, ATTRIBUTE_NAME_SPANNAME, ATTRIBUTE_NAME_TABLE_WIDTH, ATTRIBUTE_NAME_XML_ID, ELEMENT_NAME_COLSPEC, ELEMENT_NAME_ENTRY, ELEMENT_NAME_INFORMALTABLE, ELEMENT_NAME_ROW, ELEMENT_NAME_SPANSPEC, ELEMENT_NAME_TABLE, ELEMENT_NAME_TGROUP
-
-
Constructor Summary
Constructors Constructor Description SplitOperation()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getHelpPageID()
Get the ID of the help page which will be called by the end user.protected java.lang.String[]
getIgnoredAttributesForColumnSplit()
protected java.lang.String[]
getIgnoredAttributesForRowSplit()
protected InsertColumnOperationBase
getInsertColumnOperation()
Get the insert column operation to be used when splitting cells that have no initial span.protected InsertRowOperationBase
getInsertRowOperation()
Get the insert row operation to be used when splitting cells that have no initial span.protected JoinOperationBase
getJoinOperation()
Get the join operation to be used when splitting cells that have no initial span.-
Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.SplitOperationBase
doOperationInternal, getArguments, getDescription
-
Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
createEmptyCell, doOperation, findCellInsertionOffset, getElementAncestor, isElement, isTableElement
-
-
-
-
Method Detail
-
getIgnoredAttributesForRowSplit
protected java.lang.String[] getIgnoredAttributesForRowSplit()
- Specified by:
getIgnoredAttributesForRowSplit
in classSplitOperationBase
- Returns:
- The attributes which should be skipped, when creating a copy of the split cell.
- See Also:
SplitOperationBase.getIgnoredAttributesForRowSplit()
-
getIgnoredAttributesForColumnSplit
protected java.lang.String[] getIgnoredAttributesForColumnSplit()
- Specified by:
getIgnoredAttributesForColumnSplit
in classSplitOperationBase
- Returns:
- The attributes which should be skipped when creating a copy of the split cell.
- See Also:
SplitOperationBase.getIgnoredAttributesForColumnSplit()
-
getInsertRowOperation
protected InsertRowOperationBase getInsertRowOperation()
Description copied from class:SplitOperationBase
Get the insert row operation to be used when splitting cells that have no initial span.- Specified by:
getInsertRowOperation
in classSplitOperationBase
- See Also:
SplitOperationBase.getInsertRowOperation()
-
getInsertColumnOperation
protected InsertColumnOperationBase getInsertColumnOperation()
Description copied from class:SplitOperationBase
Get the insert column operation to be used when splitting cells that have no initial span.- Specified by:
getInsertColumnOperation
in classSplitOperationBase
- See Also:
SplitOperationBase.getInsertColumnOperation()
-
getJoinOperation
protected JoinOperationBase getJoinOperation()
Description copied from class:SplitOperationBase
Get the join operation to be used when splitting cells that have no initial span.- Specified by:
getJoinOperation
in classSplitOperationBase
- See Also:
SplitOperationBase.getJoinOperation()
-
getHelpPageID
protected java.lang.String getHelpPageID()
Description copied from class:SplitOperationBase
Get the ID of the help page which will be called by the end user.- Overrides:
getHelpPageID
in classSplitOperationBase
- Returns:
- the ID of the help page which will be called by the end user or
null
. - See Also:
SplitOperationBase.getHelpPageID()
-
-