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
Fields Modifier and Type Field Description static java.lang.String
BASELINE
HTML specific frame value.static java.lang.String[]
TABLE_FRAME_VALUES
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
Constructors Constructor Description DocbookHTMLShowTablePropertiesOperationBase(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<TableProperty>
getCellsAttributes()
Obtain the value for the given attribute set on the given element.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<TableProperty>
getColumnsAttributes()
Obtain the value for the given attribute set on the given element.protected java.lang.String
getHelpPageID()
Get the ID of the help page which will be called by the end user.protected java.util.List<TableProperty>
getRowsAttributesToEdit()
Obtain the attributes qualified name and render string (for rows).protected java.util.List<TableProperty>
getTableAttribute()
Obtain the table attributes.protected void
processFragment(AuthorElement currentNode, java.util.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 Detail
-
BASELINE
public static final java.lang.String BASELINE
HTML specific frame value.- See Also:
- Constant Field Values
-
TABLE_FRAME_VALUES
public static final java.lang.String[] TABLE_FRAME_VALUES
Possible values for 'frame' attribute.
-
-
Constructor Detail
-
DocbookHTMLShowTablePropertiesOperationBase
public DocbookHTMLShowTablePropertiesOperationBase(TablePropertiesHelper helper)
Constructor.- Parameters:
helper
- The table helper.
-
-
Method Detail
-
getRowsAttributesToEdit
protected java.util.List<TableProperty> 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:
CALSAndHTMLShowTablePropertiesBase.getRowsAttributesToEdit()
-
getCellsAttributes
protected java.util.List<TableProperty> 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:
CALSAndHTMLShowTablePropertiesBase.getCellsAttributes()
-
getColumnsAttributes
protected java.util.List<TableProperty> 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:
CALSAndHTMLShowTablePropertiesBase.getColumnsAttributes()
-
processFragment
protected void processFragment(AuthorElement currentNode, java.util.List<AuthorDocumentFragment> fragments, boolean moveToHeader) throws javax.swing.text.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:
javax.swing.text.BadLocationException
- See Also:
CALSAndHTMLShowTablePropertiesBase.processFragment(ro.sync.ecss.extensions.api.node.AuthorElement, java.util.List, boolean)
-
getTableAttribute
protected java.util.List<TableProperty> 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:
ShowTablePropertiesBaseOperation.getTableAttribute()
-
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(java.util.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)
-
getHelpPageID
protected java.lang.String 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:
ShowTablePropertiesBaseOperation.getHelpPageID()
-
-