Class DocbookHTMLShowTablePropertiesOperationBase
java.lang.Object
ro.sync.ecss.extensions.commons.table.properties.ShowTablePropertiesBaseOperation
ro.sync.ecss.extensions.commons.table.properties.CALSAndHTMLShowTablePropertiesBase
ro.sync.ecss.extensions.docbook.table.properties.DocbookHTMLShowTablePropertiesOperationBase
- All Implemented Interfaces:
AuthorOperation,Extension
- Direct Known Subclasses:
Docbook4HTMLShowTablePropertiesOperation,Docbook5HTMLShowTablePropertiesOperation
@API(type=INTERNAL,
src=PUBLIC)
public class DocbookHTMLShowTablePropertiesOperationBase
extends CALSAndHTMLShowTablePropertiesBase
Base class for edit properties on DB4 tables.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringHTML specific frame value.static final String[]Possible values for 'frame' attribute.Fields inherited from class ro.sync.ecss.extensions.commons.table.properties.CALSAndHTMLShowTablePropertiesBase
HORIZONTAL_ALIGN_VALUES, VERTICAL_ALIGN_VALUESFields inherited from class ro.sync.ecss.extensions.commons.table.properties.ShowTablePropertiesBaseOperation
authorAccess, tableHelperFields inherited from interface ro.sync.ecss.extensions.api.AuthorOperation
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR -
Constructor Summary
ConstructorsConstructorDescriptionConstructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<AuthorElement,Set<Integer>> getCellIndexes(List<AuthorElement> cells) Obtain the indexes for selected cells.protected List<TableProperty>Obtain the value for the given attribute set on the given element.protected List<AuthorElement>getColSpecs(Map<AuthorElement, Set<Integer>> map) Obtain the colspecs elements for the given cells indexes.protected List<TableProperty>Obtain the value for the given attribute set on the given element.protected StringGet the ID of the help page which will be called by the end user.protected List<TableProperty>Obtain the attributes qualified name and render string (for rows).protected List<TableProperty>Obtain the table attributes.protected voidprocessFragment(AuthorElement currentNode, List<AuthorDocumentFragment> fragments, boolean moveToHeader) Process the fragments and add them to the fragments to insert.Methods inherited from class ro.sync.ecss.extensions.commons.table.properties.CALSAndHTMLShowTablePropertiesBase
computeFragmentMoveInsideHeader, computeFragmentsToMoveInsideBody, computeFragmentsToMoveInsideFooter, getCategoriesAndPropertiesMethods inherited from class ro.sync.ecss.extensions.commons.table.properties.ShowTablePropertiesBaseOperation
checkRowSpans, doOperation, getArguments, getAttrProperty, getCommonValue, getDescription, getElementsWithModifiedAttributes, getFragmentsAndOffsetsToInsert, getSelectedTab, getTableInformation, showTableProperties
-
Field Details
-
BASELINE
HTML specific frame value.- See Also:
-
TABLE_FRAME_VALUES
Possible values for 'frame' attribute.
-
-
Constructor Details
-
DocbookHTMLShowTablePropertiesOperationBase
Constructor.- Parameters:
helper- The table helper.
-
-
Method Details
-
getRowsAttributesToEdit
Description copied from class:CALSAndHTMLShowTablePropertiesBaseObtain the attributes qualified name and render string (for rows).- Overrides:
getRowsAttributesToEditin classCALSAndHTMLShowTablePropertiesBase- Returns:
- A list with attributes to edit.
- See Also:
-
getCellsAttributes
Description copied from class:CALSAndHTMLShowTablePropertiesBaseObtain the value for the given attribute set on the given element.- Overrides:
getCellsAttributesin classCALSAndHTMLShowTablePropertiesBase- Returns:
- A list with allowed attributes.
- See Also:
-
getColumnsAttributes
Description copied from class:CALSAndHTMLShowTablePropertiesBaseObtain the value for the given attribute set on the given element.- Overrides:
getColumnsAttributesin classCALSAndHTMLShowTablePropertiesBase- Returns:
- A list with allowed attributes.
- See Also:
-
processFragment
protected void processFragment(AuthorElement currentNode, List<AuthorDocumentFragment> fragments, boolean moveToHeader) throws BadLocationException Description copied from class:CALSAndHTMLShowTablePropertiesBaseProcess the fragments and add them to the fragments to insert.- Overrides:
processFragmentin classCALSAndHTMLShowTablePropertiesBase- Parameters:
currentNode- The current row node.fragments- The list with fragment which will be inserted.moveToHeader-trueif the current node is moved from body/footer to header.- Throws:
BadLocationException- See Also:
-
getTableAttribute
Description copied from class:ShowTablePropertiesBaseOperationObtain the table attributes.- Specified by:
getTableAttributein classShowTablePropertiesBaseOperation- Returns:
- A list with
TablePropertyobjects containing the table attributes qualified name, render string and possible values. - See Also:
-
getColSpecs
Description copied from class:CALSAndHTMLShowTablePropertiesBaseObtain the colspecs elements for the given cells indexes.- Specified by:
getColSpecsin 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:
-
getCellIndexes
Description copied from class:CALSAndHTMLShowTablePropertiesBaseObtain the indexes for selected cells.- Specified by:
getCellIndexesin classCALSAndHTMLShowTablePropertiesBase- Parameters:
cells- The selected cells.- Returns:
- A map containing the cell indexes based on the parent tgroup.
- See Also:
-
getHelpPageID
Description copied from class:ShowTablePropertiesBaseOperationGet the ID of the help page which will be called by the end user.- Overrides:
getHelpPageIDin classShowTablePropertiesBaseOperation- Returns:
- the ID of the help page which will be called by the end user or
null. - See Also:
-