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 String
HTML 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_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
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 String
Get 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 void
processFragment
(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, getCategoriesAndProperties
Methods 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:CALSAndHTMLShowTablePropertiesBase
Obtain the attributes qualified name and render string (for rows).- Overrides:
getRowsAttributesToEdit
in classCALSAndHTMLShowTablePropertiesBase
- Returns:
- A list with attributes to edit.
- See Also:
-
getCellsAttributes
Description copied from class:CALSAndHTMLShowTablePropertiesBase
Obtain the value for the given attribute set on the given element.- Overrides:
getCellsAttributes
in classCALSAndHTMLShowTablePropertiesBase
- Returns:
- A list with allowed attributes.
- See Also:
-
getColumnsAttributes
Description copied from class:CALSAndHTMLShowTablePropertiesBase
Obtain the value for the given attribute set on the given element.- Overrides:
getColumnsAttributes
in 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:CALSAndHTMLShowTablePropertiesBase
Process the fragments and add them to the fragments to insert.- Overrides:
processFragment
in classCALSAndHTMLShowTablePropertiesBase
- Parameters:
currentNode
- The current row node.fragments
- The list with fragment which will be inserted.moveToHeader
-true
if the current node is moved from body/footer to header.- Throws:
BadLocationException
- See Also:
-
getTableAttribute
Description copied from class:ShowTablePropertiesBaseOperation
Obtain the table attributes.- Specified by:
getTableAttribute
in classShowTablePropertiesBaseOperation
- Returns:
- A list with
TableProperty
objects containing the table attributes qualified name, render string and possible values. - See Also:
-
getColSpecs
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:
-
getCellIndexes
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:
-
getHelpPageID
Description copied from class:ShowTablePropertiesBaseOperation
Get the ID of the help page which will be called by the end user.- Overrides:
getHelpPageID
in classShowTablePropertiesBaseOperation
- Returns:
- the ID of the help page which will be called by the end user or
null
. - See Also:
-