Class StyleTableCellPropertiesElement
java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.odftoolkit.odfdom.pkg.OdfElement
org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase
org.odftoolkit.odfdom.dom.element.style.StyleTableCellPropertiesElement
- All Implemented Interfaces:
Serializable
,Cloneable
,Element
,ElementTraversal
,EventTarget
,Node
,NodeList
,TypeInfo
DOM implementation of OpenDocument element <style:table-cell-properties>.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OdfStyleProperty
static final OdfStyleProperty
static final byte
static final byte
static final byte
static final byte
BORDERS TO BE DELETEDstatic final byte
static final byte
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final byte
static final byte
static final byte
Removes diagonal cross from cellsstatic final byte
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfName
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
static final OdfStyleProperty
Fields inherited from class org.apache.xerces.dom.ElementNSImpl
localName, namespaceURI
Fields inherited from class org.apache.xerces.dom.ElementImpl
attributes, name
Fields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
Fields inherited from class org.apache.xerces.dom.ChildNode
nextSibling, previousSibling
Fields inherited from class org.apache.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
-
Constructor Summary
ConstructorsConstructorDescriptionStyleTableCellPropertiesElement
(OdfFileDom ownerDoc) Create the instance ofStyleTableCellPropertiesElement
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ElementVisitor visitor) Accept an visitor instance to allow the visitor to do some operations.static byte
findDifferentBorders
(StyleTableCellPropertiesElement newCellProps, StyleTableCellPropertiesElement followingCellProps) Find different borders of the given cell property elements.static byte
findDifferentDiagonalCross
(StyleTableCellPropertiesElement newCellProps, StyleTableCellPropertiesElement followingCellProps) Find different diagonal borders (or cross) of the given cell property elements.Receives the value of the ODFDOM attribute representationFoBackgroundColorAttribute
, See @fo:background-colorReceives the value of the ODFDOM attribute representationFoBorderAttribute
, See @fo:borderReceives the value of the ODFDOM attribute representationFoBorderBottomAttribute
, See @fo:border-bottomReceives the value of the ODFDOM attribute representationFoBorderLeftAttribute
, See @fo:border-leftReceives the value of the ODFDOM attribute representationFoBorderRightAttribute
, See @fo:border-rightReceives the value of the ODFDOM attribute representationFoBorderTopAttribute
, See @fo:border-topReceives the value of the ODFDOM attribute representationFoPaddingAttribute
, See @fo:paddingReceives the value of the ODFDOM attribute representationFoPaddingBottomAttribute
, See @fo:padding-bottomReceives the value of the ODFDOM attribute representationFoPaddingLeftAttribute
, See @fo:padding-leftReceives the value of the ODFDOM attribute representationFoPaddingRightAttribute
, See @fo:padding-rightReceives the value of the ODFDOM attribute representationFoPaddingTopAttribute
, See @fo:padding-topReceives the value of the ODFDOM attribute representationFoWrapOptionAttribute
, See @fo:wrap-optionGet the element nameReceives the value of the ODFDOM attribute representationStyleBorderLineWidthAttribute
, See @style:border-line-widthReceives the value of the ODFDOM attribute representationStyleBorderLineWidthBottomAttribute
, See @style:border-line-width-bottomReceives the value of the ODFDOM attribute representationStyleBorderLineWidthLeftAttribute
, See @style:border-line-width-leftReceives the value of the ODFDOM attribute representationStyleBorderLineWidthRightAttribute
, See @style:border-line-width-rightReceives the value of the ODFDOM attribute representationStyleBorderLineWidthTopAttribute
, See @style:border-line-width-topReceives the value of the ODFDOM attribute representationStyleCellProtectAttribute
, See @style:cell-protectReceives the value of the ODFDOM attribute representationStyleDecimalPlacesAttribute
, See @style:decimal-placesReceives the value of the ODFDOM attribute representationStyleDiagonalBlTrAttribute
, See @style:diagonal-bl-trReceives the value of the ODFDOM attribute representationStyleDiagonalBlTrWidthsAttribute
, See @style:diagonal-bl-tr-widthsReceives the value of the ODFDOM attribute representationStyleDiagonalTlBrAttribute
, See @style:diagonal-tl-brReceives the value of the ODFDOM attribute representationStyleDiagonalTlBrWidthsAttribute
, See @style:diagonal-tl-br-widthsReceives the value of the ODFDOM attribute representationStyleDirectionAttribute
, See @style:directionReceives the value of the ODFDOM attribute representationStyleGlyphOrientationVerticalAttribute
, See @style:glyph-orientation-verticalReceives the value of the ODFDOM attribute representationStylePrintContentAttribute
, See @style:print-contentReceives the value of the ODFDOM attribute representationStyleRepeatContentAttribute
, See @style:repeat-contentReceives the value of the ODFDOM attribute representationStyleRotationAlignAttribute
, See @style:rotation-alignReceives the value of the ODFDOM attribute representationStyleRotationAngleAttribute
, See @style:rotation-angleReceives the value of the ODFDOM attribute representationStyleShadowAttribute
, See @style:shadowReceives the value of the ODFDOM attribute representationStyleShrinkToFitAttribute
, See @style:shrink-to-fitReceives the value of the ODFDOM attribute representationStyleTextAlignSourceAttribute
, See @style:text-align-sourceReceives the value of the ODFDOM attribute representationStyleVerticalAlignAttribute
, See @style:vertical-alignReceives the value of the ODFDOM attribute representationStyleWritingModeAttribute
, See @style:writing-modeCreate child element <style:background-image>.void
removeBorder
(byte borderDeletion) Removes sides of borders in total.void
removeDiagonalCross
(byte diagonalCrossDeletion) Removes the diagonal cross of a cell.void
setFoBackgroundColorAttribute
(String foBackgroundColorValue) Sets the value of ODFDOM attribute representationFoBackgroundColorAttribute
, See @fo:background-colorvoid
setFoBorderAttribute
(String foBorderValue) Sets the value of ODFDOM attribute representationFoBorderAttribute
, See @fo:bordervoid
setFoBorderBottomAttribute
(String foBorderBottomValue) Sets the value of ODFDOM attribute representationFoBorderBottomAttribute
, See @fo:border-bottomvoid
setFoBorderLeftAttribute
(String foBorderLeftValue) Sets the value of ODFDOM attribute representationFoBorderLeftAttribute
, See @fo:border-leftvoid
setFoBorderRightAttribute
(String foBorderRightValue) Sets the value of ODFDOM attribute representationFoBorderRightAttribute
, See @fo:border-rightvoid
setFoBorderTopAttribute
(String foBorderTopValue) Sets the value of ODFDOM attribute representationFoBorderTopAttribute
, See @fo:border-topvoid
setFoPaddingAttribute
(String foPaddingValue) Sets the value of ODFDOM attribute representationFoPaddingAttribute
, See @fo:paddingvoid
setFoPaddingBottomAttribute
(String foPaddingBottomValue) Sets the value of ODFDOM attribute representationFoPaddingBottomAttribute
, See @fo:padding-bottomvoid
setFoPaddingLeftAttribute
(String foPaddingLeftValue) Sets the value of ODFDOM attribute representationFoPaddingLeftAttribute
, See @fo:padding-leftvoid
setFoPaddingRightAttribute
(String foPaddingRightValue) Sets the value of ODFDOM attribute representationFoPaddingRightAttribute
, See @fo:padding-rightvoid
setFoPaddingTopAttribute
(String foPaddingTopValue) Sets the value of ODFDOM attribute representationFoPaddingTopAttribute
, See @fo:padding-topvoid
setFoWrapOptionAttribute
(String foWrapOptionValue) Sets the value of ODFDOM attribute representationFoWrapOptionAttribute
, See @fo:wrap-optionvoid
setStyleBorderLineWidthAttribute
(String styleBorderLineWidthValue) Sets the value of ODFDOM attribute representationStyleBorderLineWidthAttribute
, See @style:border-line-widthvoid
setStyleBorderLineWidthBottomAttribute
(String styleBorderLineWidthBottomValue) Sets the value of ODFDOM attribute representationStyleBorderLineWidthBottomAttribute
, See @style:border-line-width-bottomvoid
setStyleBorderLineWidthLeftAttribute
(String styleBorderLineWidthLeftValue) Sets the value of ODFDOM attribute representationStyleBorderLineWidthLeftAttribute
, See @style:border-line-width-leftvoid
setStyleBorderLineWidthRightAttribute
(String styleBorderLineWidthRightValue) Sets the value of ODFDOM attribute representationStyleBorderLineWidthRightAttribute
, See @style:border-line-width-rightvoid
setStyleBorderLineWidthTopAttribute
(String styleBorderLineWidthTopValue) Sets the value of ODFDOM attribute representationStyleBorderLineWidthTopAttribute
, See @style:border-line-width-topvoid
setStyleCellProtectAttribute
(String styleCellProtectValue) Sets the value of ODFDOM attribute representationStyleCellProtectAttribute
, See @style:cell-protectvoid
setStyleDecimalPlacesAttribute
(Integer styleDecimalPlacesValue) Sets the value of ODFDOM attribute representationStyleDecimalPlacesAttribute
, See @style:decimal-placesvoid
setStyleDiagonalBlTrAttribute
(String styleDiagonalBlTrValue) Sets the value of ODFDOM attribute representationStyleDiagonalBlTrAttribute
, See @style:diagonal-bl-trvoid
setStyleDiagonalBlTrWidthsAttribute
(String styleDiagonalBlTrWidthsValue) Sets the value of ODFDOM attribute representationStyleDiagonalBlTrWidthsAttribute
, See @style:diagonal-bl-tr-widthsvoid
setStyleDiagonalTlBrAttribute
(String styleDiagonalTlBrValue) Sets the value of ODFDOM attribute representationStyleDiagonalTlBrAttribute
, See @style:diagonal-tl-brvoid
setStyleDiagonalTlBrWidthsAttribute
(String styleDiagonalTlBrWidthsValue) Sets the value of ODFDOM attribute representationStyleDiagonalTlBrWidthsAttribute
, See @style:diagonal-tl-br-widthsvoid
setStyleDirectionAttribute
(String styleDirectionValue) Sets the value of ODFDOM attribute representationStyleDirectionAttribute
, See @style:directionvoid
setStyleGlyphOrientationVerticalAttribute
(String styleGlyphOrientationVerticalValue) Sets the value of ODFDOM attribute representationStyleGlyphOrientationVerticalAttribute
, See @style:glyph-orientation-verticalvoid
setStylePrintContentAttribute
(Boolean stylePrintContentValue) Sets the value of ODFDOM attribute representationStylePrintContentAttribute
, See @style:print-contentvoid
setStyleRepeatContentAttribute
(Boolean styleRepeatContentValue) Sets the value of ODFDOM attribute representationStyleRepeatContentAttribute
, See @style:repeat-contentvoid
setStyleRotationAlignAttribute
(String styleRotationAlignValue) Sets the value of ODFDOM attribute representationStyleRotationAlignAttribute
, See @style:rotation-alignvoid
setStyleRotationAngleAttribute
(String styleRotationAngleValue) Sets the value of ODFDOM attribute representationStyleRotationAngleAttribute
, See @style:rotation-anglevoid
setStyleShadowAttribute
(String styleShadowValue) Sets the value of ODFDOM attribute representationStyleShadowAttribute
, See @style:shadowvoid
setStyleShrinkToFitAttribute
(Boolean styleShrinkToFitValue) Sets the value of ODFDOM attribute representationStyleShrinkToFitAttribute
, See @style:shrink-to-fitvoid
setStyleTextAlignSourceAttribute
(String styleTextAlignSourceValue) Sets the value of ODFDOM attribute representationStyleTextAlignSourceAttribute
, See @style:text-align-sourcevoid
setStyleVerticalAlignAttribute
(String styleVerticalAlignValue) Sets the value of ODFDOM attribute representationStyleVerticalAlignAttribute
, See @style:vertical-alignvoid
setStyleWritingModeAttribute
(String styleWritingModeValue) Sets the value of ODFDOM attribute representationStyleWritingModeAttribute
, See @style:writing-modeMethods inherited from class org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase
hashCode
Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement
appendChild, appendUsingWhitespaceHandling, cloneElement, cloneNode, cloneNode, cloneNode, cloneOdfElement, componentSize, copyAttributes, countChildComponents, countDescendantComponents, countPrecedingSiblingElements, delete, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getChildElement, getChildElement, getComponent, getComponentRoot, getFirstChildElement, getLastChildElement, getNextSiblingElement, getOdfAttribute, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, getPreviousSiblingElement, getRepetition, getTextContent, hasAncestor, hasOdfAttribute, ignoredComponent, insert, insert, insertBefore, isComponentRoot, isIgnoredElement, isIgnoredElement, isRepeatable, markAsComponentRoot, markText, moveChildrenTo, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, receiveNode, receiveNode, removeChild, removeContent, removeSingleElement, replaceChild, selfAndDescendantTextIgnoredAsComponent, setComponent, setOdfAttribute, setOdfAttribute, setOdfAttributeValue, setRepetition, split, toString
Methods inherited from class org.apache.xerces.dom.ElementNSImpl
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setType
Methods inherited from class org.apache.xerces.dom.ElementImpl
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getChildElementCount, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getLastElementChild, getNextElementSibling, getNodeName, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, item, setTextContent, synchronizeChildren
Methods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
Methods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.w3c.dom.Node
compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData
-
Field Details
-
ELEMENT_NAME
-
BackgroundColor
-
Border
-
BorderBottom
-
BorderLeft
-
BorderRight
-
BorderTop
-
Padding
-
PaddingBottom
-
PaddingLeft
-
PaddingRight
-
PaddingTop
-
WrapOption
-
BorderLineWidth
-
BorderLineWidthBottom
-
BorderLineWidthLeft
-
BorderLineWidthRight
-
BorderLineWidthTop
-
CellProtect
-
DecimalPlaces
-
DiagonalBlTr
-
DiagonalBlTrWidths
-
DiagonalTlBr
-
DiagonalTlBrWidths
-
Direction
-
GlyphOrientationVertical
-
PrintContent
-
RepeatContent
-
RotationAlign
-
RotationAngle
-
Shadow
-
ShrinkToFit
-
TextAlignSource
-
VerticalAlign
-
WritingMode
-
BORDER_NONE
public static final byte BORDER_NONEBORDERS TO BE DELETED- See Also:
-
BORDER_TOP
public static final byte BORDER_TOP- See Also:
-
BORDER_RIGHT
public static final byte BORDER_RIGHT- See Also:
-
BORDER_BOTTOM
public static final byte BORDER_BOTTOM- See Also:
-
BORDER_LEFT
public static final byte BORDER_LEFT- See Also:
-
BORDER_ALL
public static final byte BORDER_ALL- See Also:
-
DIAGONAL_CROSS_NONE
public static final byte DIAGONAL_CROSS_NONERemoves diagonal cross from cells- See Also:
-
DIAGONAL_CROSS_TOP_LEFT_START
public static final byte DIAGONAL_CROSS_TOP_LEFT_START- See Also:
-
DIAGONAL_CROSS_BOTTOM_LEFT_START
public static final byte DIAGONAL_CROSS_BOTTOM_LEFT_START- See Also:
-
DIAGONAL_CROSS_ALL
public static final byte DIAGONAL_CROSS_ALL- See Also:
-
-
Constructor Details
-
StyleTableCellPropertiesElement
Create the instance ofStyleTableCellPropertiesElement
- Parameters:
ownerDoc
- The type isOdfFileDom
-
-
Method Details
-
getOdfName
Get the element name- Specified by:
getOdfName
in classOdfElement
- Returns:
- return
OdfName
the name of element <style:table-cell-properties>.
-
getFoBackgroundColorAttribute
Receives the value of the ODFDOM attribute representationFoBackgroundColorAttribute
, See @fo:background-color- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoBackgroundColorAttribute
Sets the value of ODFDOM attribute representationFoBackgroundColorAttribute
, See @fo:background-color- Parameters:
foBackgroundColorValue
- The type isString
-
getFoBorderAttribute
Receives the value of the ODFDOM attribute representationFoBorderAttribute
, See @fo:border- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoBorderAttribute
Sets the value of ODFDOM attribute representationFoBorderAttribute
, See @fo:border- Parameters:
foBorderValue
- The type isString
-
getFoBorderBottomAttribute
Receives the value of the ODFDOM attribute representationFoBorderBottomAttribute
, See @fo:border-bottom- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoBorderBottomAttribute
Sets the value of ODFDOM attribute representationFoBorderBottomAttribute
, See @fo:border-bottom- Parameters:
foBorderBottomValue
- The type isString
-
getFoBorderLeftAttribute
Receives the value of the ODFDOM attribute representationFoBorderLeftAttribute
, See @fo:border-left- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoBorderLeftAttribute
Sets the value of ODFDOM attribute representationFoBorderLeftAttribute
, See @fo:border-left- Parameters:
foBorderLeftValue
- The type isString
-
getFoBorderRightAttribute
Receives the value of the ODFDOM attribute representationFoBorderRightAttribute
, See @fo:border-right- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoBorderRightAttribute
Sets the value of ODFDOM attribute representationFoBorderRightAttribute
, See @fo:border-right- Parameters:
foBorderRightValue
- The type isString
-
getFoBorderTopAttribute
Receives the value of the ODFDOM attribute representationFoBorderTopAttribute
, See @fo:border-top- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoBorderTopAttribute
Sets the value of ODFDOM attribute representationFoBorderTopAttribute
, See @fo:border-top- Parameters:
foBorderTopValue
- The type isString
-
getFoPaddingAttribute
Receives the value of the ODFDOM attribute representationFoPaddingAttribute
, See @fo:padding- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoPaddingAttribute
Sets the value of ODFDOM attribute representationFoPaddingAttribute
, See @fo:padding- Parameters:
foPaddingValue
- The type isString
-
getFoPaddingBottomAttribute
Receives the value of the ODFDOM attribute representationFoPaddingBottomAttribute
, See @fo:padding-bottom- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoPaddingBottomAttribute
Sets the value of ODFDOM attribute representationFoPaddingBottomAttribute
, See @fo:padding-bottom- Parameters:
foPaddingBottomValue
- The type isString
-
getFoPaddingLeftAttribute
Receives the value of the ODFDOM attribute representationFoPaddingLeftAttribute
, See @fo:padding-left- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoPaddingLeftAttribute
Sets the value of ODFDOM attribute representationFoPaddingLeftAttribute
, See @fo:padding-left- Parameters:
foPaddingLeftValue
- The type isString
-
getFoPaddingRightAttribute
Receives the value of the ODFDOM attribute representationFoPaddingRightAttribute
, See @fo:padding-right- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoPaddingRightAttribute
Sets the value of ODFDOM attribute representationFoPaddingRightAttribute
, See @fo:padding-right- Parameters:
foPaddingRightValue
- The type isString
-
getFoPaddingTopAttribute
Receives the value of the ODFDOM attribute representationFoPaddingTopAttribute
, See @fo:padding-top- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoPaddingTopAttribute
Sets the value of ODFDOM attribute representationFoPaddingTopAttribute
, See @fo:padding-top- Parameters:
foPaddingTopValue
- The type isString
-
getFoWrapOptionAttribute
Receives the value of the ODFDOM attribute representationFoWrapOptionAttribute
, See @fo:wrap-option- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoWrapOptionAttribute
Sets the value of ODFDOM attribute representationFoWrapOptionAttribute
, See @fo:wrap-option- Parameters:
foWrapOptionValue
- The type isString
-
getStyleBorderLineWidthAttribute
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthAttribute
, See @style:border-line-width- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleBorderLineWidthAttribute
Sets the value of ODFDOM attribute representationStyleBorderLineWidthAttribute
, See @style:border-line-width- Parameters:
styleBorderLineWidthValue
- The type isString
-
getStyleBorderLineWidthBottomAttribute
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthBottomAttribute
, See @style:border-line-width-bottom- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleBorderLineWidthBottomAttribute
Sets the value of ODFDOM attribute representationStyleBorderLineWidthBottomAttribute
, See @style:border-line-width-bottom- Parameters:
styleBorderLineWidthBottomValue
- The type isString
-
getStyleBorderLineWidthLeftAttribute
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthLeftAttribute
, See @style:border-line-width-left- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleBorderLineWidthLeftAttribute
Sets the value of ODFDOM attribute representationStyleBorderLineWidthLeftAttribute
, See @style:border-line-width-left- Parameters:
styleBorderLineWidthLeftValue
- The type isString
-
getStyleBorderLineWidthRightAttribute
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthRightAttribute
, See @style:border-line-width-right- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleBorderLineWidthRightAttribute
Sets the value of ODFDOM attribute representationStyleBorderLineWidthRightAttribute
, See @style:border-line-width-right- Parameters:
styleBorderLineWidthRightValue
- The type isString
-
getStyleBorderLineWidthTopAttribute
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthTopAttribute
, See @style:border-line-width-top- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleBorderLineWidthTopAttribute
Sets the value of ODFDOM attribute representationStyleBorderLineWidthTopAttribute
, See @style:border-line-width-top- Parameters:
styleBorderLineWidthTopValue
- The type isString
-
getStyleCellProtectAttribute
Receives the value of the ODFDOM attribute representationStyleCellProtectAttribute
, See @style:cell-protect- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleCellProtectAttribute
Sets the value of ODFDOM attribute representationStyleCellProtectAttribute
, See @style:cell-protect- Parameters:
styleCellProtectValue
- The type isString
-
getStyleDecimalPlacesAttribute
Receives the value of the ODFDOM attribute representationStyleDecimalPlacesAttribute
, See @style:decimal-places- Returns:
- - the
Integer
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleDecimalPlacesAttribute
Sets the value of ODFDOM attribute representationStyleDecimalPlacesAttribute
, See @style:decimal-places- Parameters:
styleDecimalPlacesValue
- The type isInteger
-
getStyleDiagonalBlTrAttribute
Receives the value of the ODFDOM attribute representationStyleDiagonalBlTrAttribute
, See @style:diagonal-bl-tr- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleDiagonalBlTrAttribute
Sets the value of ODFDOM attribute representationStyleDiagonalBlTrAttribute
, See @style:diagonal-bl-tr- Parameters:
styleDiagonalBlTrValue
- The type isString
-
getStyleDiagonalBlTrWidthsAttribute
Receives the value of the ODFDOM attribute representationStyleDiagonalBlTrWidthsAttribute
, See @style:diagonal-bl-tr-widths- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleDiagonalBlTrWidthsAttribute
Sets the value of ODFDOM attribute representationStyleDiagonalBlTrWidthsAttribute
, See @style:diagonal-bl-tr-widths- Parameters:
styleDiagonalBlTrWidthsValue
- The type isString
-
getStyleDiagonalTlBrAttribute
Receives the value of the ODFDOM attribute representationStyleDiagonalTlBrAttribute
, See @style:diagonal-tl-br- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleDiagonalTlBrAttribute
Sets the value of ODFDOM attribute representationStyleDiagonalTlBrAttribute
, See @style:diagonal-tl-br- Parameters:
styleDiagonalTlBrValue
- The type isString
-
getStyleDiagonalTlBrWidthsAttribute
Receives the value of the ODFDOM attribute representationStyleDiagonalTlBrWidthsAttribute
, See @style:diagonal-tl-br-widths- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleDiagonalTlBrWidthsAttribute
Sets the value of ODFDOM attribute representationStyleDiagonalTlBrWidthsAttribute
, See @style:diagonal-tl-br-widths- Parameters:
styleDiagonalTlBrWidthsValue
- The type isString
-
getStyleDirectionAttribute
Receives the value of the ODFDOM attribute representationStyleDirectionAttribute
, See @style:direction- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleDirectionAttribute
Sets the value of ODFDOM attribute representationStyleDirectionAttribute
, See @style:direction- Parameters:
styleDirectionValue
- The type isString
-
getStyleGlyphOrientationVerticalAttribute
Receives the value of the ODFDOM attribute representationStyleGlyphOrientationVerticalAttribute
, See @style:glyph-orientation-vertical- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleGlyphOrientationVerticalAttribute
Sets the value of ODFDOM attribute representationStyleGlyphOrientationVerticalAttribute
, See @style:glyph-orientation-vertical- Parameters:
styleGlyphOrientationVerticalValue
- The type isString
-
getStylePrintContentAttribute
Receives the value of the ODFDOM attribute representationStylePrintContentAttribute
, See @style:print-content- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setStylePrintContentAttribute
Sets the value of ODFDOM attribute representationStylePrintContentAttribute
, See @style:print-content- Parameters:
stylePrintContentValue
- The type isBoolean
-
getStyleRepeatContentAttribute
Receives the value of the ODFDOM attribute representationStyleRepeatContentAttribute
, See @style:repeat-content- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleRepeatContentAttribute
Sets the value of ODFDOM attribute representationStyleRepeatContentAttribute
, See @style:repeat-content- Parameters:
styleRepeatContentValue
- The type isBoolean
-
getStyleRotationAlignAttribute
Receives the value of the ODFDOM attribute representationStyleRotationAlignAttribute
, See @style:rotation-align- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleRotationAlignAttribute
Sets the value of ODFDOM attribute representationStyleRotationAlignAttribute
, See @style:rotation-align- Parameters:
styleRotationAlignValue
- The type isString
-
getStyleRotationAngleAttribute
Receives the value of the ODFDOM attribute representationStyleRotationAngleAttribute
, See @style:rotation-angle- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleRotationAngleAttribute
Sets the value of ODFDOM attribute representationStyleRotationAngleAttribute
, See @style:rotation-angle- Parameters:
styleRotationAngleValue
- The type isString
-
getStyleShadowAttribute
Receives the value of the ODFDOM attribute representationStyleShadowAttribute
, See @style:shadow- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleShadowAttribute
Sets the value of ODFDOM attribute representationStyleShadowAttribute
, See @style:shadow- Parameters:
styleShadowValue
- The type isString
-
getStyleShrinkToFitAttribute
Receives the value of the ODFDOM attribute representationStyleShrinkToFitAttribute
, See @style:shrink-to-fit- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleShrinkToFitAttribute
Sets the value of ODFDOM attribute representationStyleShrinkToFitAttribute
, See @style:shrink-to-fit- Parameters:
styleShrinkToFitValue
- The type isBoolean
-
getStyleTextAlignSourceAttribute
Receives the value of the ODFDOM attribute representationStyleTextAlignSourceAttribute
, See @style:text-align-source- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleTextAlignSourceAttribute
Sets the value of ODFDOM attribute representationStyleTextAlignSourceAttribute
, See @style:text-align-source- Parameters:
styleTextAlignSourceValue
- The type isString
-
getStyleVerticalAlignAttribute
Receives the value of the ODFDOM attribute representationStyleVerticalAlignAttribute
, See @style:vertical-align- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleVerticalAlignAttribute
Sets the value of ODFDOM attribute representationStyleVerticalAlignAttribute
, See @style:vertical-align- Parameters:
styleVerticalAlignValue
- The type isString
-
getStyleWritingModeAttribute
Receives the value of the ODFDOM attribute representationStyleWritingModeAttribute
, See @style:writing-mode- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleWritingModeAttribute
Sets the value of ODFDOM attribute representationStyleWritingModeAttribute
, See @style:writing-mode- Parameters:
styleWritingModeValue
- The type isString
-
newStyleBackgroundImageElement
Create child element <style:background-image>.Child element was added in ODF 1.2
- Returns:
- the element <style:background-image>
-
accept
Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.- Overrides:
accept
in classOdfElement
- Parameters:
visitor
- an instance of DefaultElementVisitor
-
removeBorder
public void removeBorder(byte borderDeletion) Removes sides of borders in total. Required by insertion of column/rows as inserted cell borders depend on preceding & following cell borders. Only identical sides will be kept.- Parameters:
borderDeletion
- removes the borders as given in byte
-
removeDiagonalCross
public void removeDiagonalCross(byte diagonalCrossDeletion) Removes the diagonal cross of a cell.- Parameters:
diagonalCrossDeletion
- remove diagonal cross as given in byte.
-
findDifferentDiagonalCross
public static byte findDifferentDiagonalCross(StyleTableCellPropertiesElement newCellProps, StyleTableCellPropertiesElement followingCellProps) Find different diagonal borders (or cross) of the given cell property elements. -
findDifferentBorders
public static byte findDifferentBorders(StyleTableCellPropertiesElement newCellProps, StyleTableCellPropertiesElement followingCellProps) Find different borders of the given cell property elements.
-