Class CALSShowTableProperties
- java.lang.Object
-
- ro.sync.ecss.extensions.commons.table.properties.ShowTablePropertiesBaseOperation
-
- ro.sync.ecss.extensions.commons.table.properties.CALSAndHTMLShowTablePropertiesBase
-
- ro.sync.ecss.extensions.commons.table.properties.CALSShowTableProperties
-
- All Implemented Interfaces:
AuthorOperation
,Extension
- Direct Known Subclasses:
DITACALSShowTablePropertiesOperation
,Docbook4CALSShowTablePropertiesOperation
,Docbook5CALSShowTablePropertiesOperation
@API(type=INTERNAL, src=PUBLIC) public abstract class CALSShowTableProperties extends CALSAndHTMLShowTablePropertiesBase
-
-
Field Summary
-
Fields inherited from class ro.sync.ecss.extensions.commons.table.properties.CALSAndHTMLShowTablePropertiesBase
HORIZONTAL_ALIGN_VALUES, VERTICAL_ALIGN_VALUES
-
Fields inherited from class ro.sync.ecss.extensions.commons.table.properties.ShowTablePropertiesBaseOperation
authorAccess, tableHelper
-
Fields inherited from interface ro.sync.ecss.extensions.api.AuthorOperation
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
-
-
Constructor Summary
Constructors Constructor Description CALSShowTableProperties(TablePropertiesHelper helper)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Map<AuthorElement,java.util.Set<java.lang.Integer>>
getCellIndexes(java.util.List<AuthorElement> cells)
Obtain the indexes for selected cells.protected java.util.List<AuthorElement>
getColSpecs(java.util.Map<AuthorElement,java.util.Set<java.lang.Integer>> map)
Obtain the colspecs elements for the given cells indexes.protected java.util.List<TabInfo>
getElementsWithModifiedAttributes(EditedTablePropertiesInfo tableInfo)
Obtain all the elements with all the modified attributes.-
Methods inherited from class ro.sync.ecss.extensions.commons.table.properties.CALSAndHTMLShowTablePropertiesBase
computeFragmentMoveInsideHeader, computeFragmentsToMoveInsideBody, computeFragmentsToMoveInsideFooter, getCategoriesAndProperties, getCellsAttributes, getColumnsAttributes, getRowsAttributesToEdit, processFragment
-
Methods inherited from class ro.sync.ecss.extensions.commons.table.properties.ShowTablePropertiesBaseOperation
checkRowSpans, doOperation, getArguments, getAttrProperty, getCommonValue, getDescription, getFragmentsAndOffsetsToInsert, getHelpPageID, getSelectedTab, getTableAttribute, getTableInformation, showTableProperties
-
-
-
-
Constructor Detail
-
CALSShowTableProperties
public CALSShowTableProperties(TablePropertiesHelper helper)
Constructor.- Parameters:
helper
- The table properties.
-
-
Method Detail
-
getElementsWithModifiedAttributes
protected java.util.List<TabInfo> getElementsWithModifiedAttributes(EditedTablePropertiesInfo tableInfo)
Description copied from class:ShowTablePropertiesBaseOperation
Obtain all the elements with all the modified attributes.- Overrides:
getElementsWithModifiedAttributes
in classShowTablePropertiesBaseOperation
- Parameters:
tableInfo
- The obtained table information from the table properties dialog.- Returns:
- A map containing all the elements whose attributes will be modified and the corresponding attributes.
- See Also:
ShowTablePropertiesBaseOperation.getElementsWithModifiedAttributes(ro.sync.ecss.extensions.commons.table.properties.EditedTablePropertiesInfo)
-
getColSpecs
protected java.util.List<AuthorElement> getColSpecs(java.util.Map<AuthorElement,java.util.Set<java.lang.Integer>> map)
Description copied from class:CALSAndHTMLShowTablePropertiesBase
Obtain the colspecs elements for the given cells indexes.- Specified by:
getColSpecs
in classCALSAndHTMLShowTablePropertiesBase
- Parameters:
map
- A map containing the table elements and cells indexes.- Returns:
- A list with the colspecs elements for the given cells indexes.
- See Also:
CALSAndHTMLShowTablePropertiesBase.getColSpecs(Map)
-
getCellIndexes
protected java.util.Map<AuthorElement,java.util.Set<java.lang.Integer>> getCellIndexes(java.util.List<AuthorElement> cells)
Description copied from class:CALSAndHTMLShowTablePropertiesBase
Obtain the indexes for selected cells.- Specified by:
getCellIndexes
in classCALSAndHTMLShowTablePropertiesBase
- Parameters:
cells
- The selected cells.- Returns:
- A map containing the cell indexes based on the parent tgroup.
- See Also:
CALSAndHTMLShowTablePropertiesBase.getCellIndexes(java.util.List)
-
-