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
public class StyleTableCellPropertiesElement extends OdfStylePropertiesBase
DOM implementation of OpenDocument element {- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
-
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
Constructors Constructor Description StyleTableCellPropertiesElement(OdfFileDom ownerDoc)
Create the instance ofStyleTableCellPropertiesElement
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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.String
getFoBackgroundColorAttribute()
Receives the value of the ODFDOM attribute representationFoBackgroundColorAttribute
, See {String
getFoBorderAttribute()
Receives the value of the ODFDOM attribute representationFoBorderAttribute
, See {String
getFoBorderBottomAttribute()
Receives the value of the ODFDOM attribute representationFoBorderBottomAttribute
, See {String
getFoBorderLeftAttribute()
Receives the value of the ODFDOM attribute representationFoBorderLeftAttribute
, See {String
getFoBorderRightAttribute()
Receives the value of the ODFDOM attribute representationFoBorderRightAttribute
, See {String
getFoBorderTopAttribute()
Receives the value of the ODFDOM attribute representationFoBorderTopAttribute
, See {String
getFoPaddingAttribute()
Receives the value of the ODFDOM attribute representationFoPaddingAttribute
, See {String
getFoPaddingBottomAttribute()
Receives the value of the ODFDOM attribute representationFoPaddingBottomAttribute
, See {String
getFoPaddingLeftAttribute()
Receives the value of the ODFDOM attribute representationFoPaddingLeftAttribute
, See {String
getFoPaddingRightAttribute()
Receives the value of the ODFDOM attribute representationFoPaddingRightAttribute
, See {String
getFoPaddingTopAttribute()
Receives the value of the ODFDOM attribute representationFoPaddingTopAttribute
, See {String
getFoWrapOptionAttribute()
Receives the value of the ODFDOM attribute representationFoWrapOptionAttribute
, See {OdfName
getOdfName()
Get the element nameString
getStyleBorderLineWidthAttribute()
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthAttribute
, See {String
getStyleBorderLineWidthBottomAttribute()
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthBottomAttribute
, See {String
getStyleBorderLineWidthLeftAttribute()
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthLeftAttribute
, See {String
getStyleBorderLineWidthRightAttribute()
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthRightAttribute
, See {String
getStyleBorderLineWidthTopAttribute()
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthTopAttribute
, See {String
getStyleCellProtectAttribute()
Receives the value of the ODFDOM attribute representationStyleCellProtectAttribute
, See {Integer
getStyleDecimalPlacesAttribute()
Receives the value of the ODFDOM attribute representationStyleDecimalPlacesAttribute
, See {String
getStyleDiagonalBlTrAttribute()
Receives the value of the ODFDOM attribute representationStyleDiagonalBlTrAttribute
, See {String
getStyleDiagonalBlTrWidthsAttribute()
Receives the value of the ODFDOM attribute representationStyleDiagonalBlTrWidthsAttribute
, See {String
getStyleDiagonalTlBrAttribute()
Receives the value of the ODFDOM attribute representationStyleDiagonalTlBrAttribute
, See {String
getStyleDiagonalTlBrWidthsAttribute()
Receives the value of the ODFDOM attribute representationStyleDiagonalTlBrWidthsAttribute
, See {String
getStyleDirectionAttribute()
Receives the value of the ODFDOM attribute representationStyleDirectionAttribute
, See {String
getStyleGlyphOrientationVerticalAttribute()
Receives the value of the ODFDOM attribute representationStyleGlyphOrientationVerticalAttribute
, See {Boolean
getStylePrintContentAttribute()
Receives the value of the ODFDOM attribute representationStylePrintContentAttribute
, See {Boolean
getStyleRepeatContentAttribute()
Receives the value of the ODFDOM attribute representationStyleRepeatContentAttribute
, See {String
getStyleRotationAlignAttribute()
Receives the value of the ODFDOM attribute representationStyleRotationAlignAttribute
, See {String
getStyleRotationAngleAttribute()
Receives the value of the ODFDOM attribute representationStyleRotationAngleAttribute
, See {String
getStyleShadowAttribute()
Receives the value of the ODFDOM attribute representationStyleShadowAttribute
, See {Boolean
getStyleShrinkToFitAttribute()
Receives the value of the ODFDOM attribute representationStyleShrinkToFitAttribute
, See {String
getStyleTextAlignSourceAttribute()
Receives the value of the ODFDOM attribute representationStyleTextAlignSourceAttribute
, See {String
getStyleVerticalAlignAttribute()
Receives the value of the ODFDOM attribute representationStyleVerticalAlignAttribute
, See {String
getStyleWritingModeAttribute()
Receives the value of the ODFDOM attribute representationStyleWritingModeAttribute
, See {StyleBackgroundImageElement
newStyleBackgroundImageElement()
Create child element {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 {void
setFoBorderAttribute(String foBorderValue)
Sets the value of ODFDOM attribute representationFoBorderAttribute
, See {void
setFoBorderBottomAttribute(String foBorderBottomValue)
Sets the value of ODFDOM attribute representationFoBorderBottomAttribute
, See {void
setFoBorderLeftAttribute(String foBorderLeftValue)
Sets the value of ODFDOM attribute representationFoBorderLeftAttribute
, See {void
setFoBorderRightAttribute(String foBorderRightValue)
Sets the value of ODFDOM attribute representationFoBorderRightAttribute
, See {void
setFoBorderTopAttribute(String foBorderTopValue)
Sets the value of ODFDOM attribute representationFoBorderTopAttribute
, See {void
setFoPaddingAttribute(String foPaddingValue)
Sets the value of ODFDOM attribute representationFoPaddingAttribute
, See {void
setFoPaddingBottomAttribute(String foPaddingBottomValue)
Sets the value of ODFDOM attribute representationFoPaddingBottomAttribute
, See {void
setFoPaddingLeftAttribute(String foPaddingLeftValue)
Sets the value of ODFDOM attribute representationFoPaddingLeftAttribute
, See {void
setFoPaddingRightAttribute(String foPaddingRightValue)
Sets the value of ODFDOM attribute representationFoPaddingRightAttribute
, See {void
setFoPaddingTopAttribute(String foPaddingTopValue)
Sets the value of ODFDOM attribute representationFoPaddingTopAttribute
, See {void
setFoWrapOptionAttribute(String foWrapOptionValue)
Sets the value of ODFDOM attribute representationFoWrapOptionAttribute
, See {void
setStyleBorderLineWidthAttribute(String styleBorderLineWidthValue)
Sets the value of ODFDOM attribute representationStyleBorderLineWidthAttribute
, See {void
setStyleBorderLineWidthBottomAttribute(String styleBorderLineWidthBottomValue)
Sets the value of ODFDOM attribute representationStyleBorderLineWidthBottomAttribute
, See {void
setStyleBorderLineWidthLeftAttribute(String styleBorderLineWidthLeftValue)
Sets the value of ODFDOM attribute representationStyleBorderLineWidthLeftAttribute
, See {void
setStyleBorderLineWidthRightAttribute(String styleBorderLineWidthRightValue)
Sets the value of ODFDOM attribute representationStyleBorderLineWidthRightAttribute
, See {void
setStyleBorderLineWidthTopAttribute(String styleBorderLineWidthTopValue)
Sets the value of ODFDOM attribute representationStyleBorderLineWidthTopAttribute
, See {void
setStyleCellProtectAttribute(String styleCellProtectValue)
Sets the value of ODFDOM attribute representationStyleCellProtectAttribute
, See {void
setStyleDecimalPlacesAttribute(Integer styleDecimalPlacesValue)
Sets the value of ODFDOM attribute representationStyleDecimalPlacesAttribute
, See {void
setStyleDiagonalBlTrAttribute(String styleDiagonalBlTrValue)
Sets the value of ODFDOM attribute representationStyleDiagonalBlTrAttribute
, See {void
setStyleDiagonalBlTrWidthsAttribute(String styleDiagonalBlTrWidthsValue)
Sets the value of ODFDOM attribute representationStyleDiagonalBlTrWidthsAttribute
, See {void
setStyleDiagonalTlBrAttribute(String styleDiagonalTlBrValue)
Sets the value of ODFDOM attribute representationStyleDiagonalTlBrAttribute
, See {void
setStyleDiagonalTlBrWidthsAttribute(String styleDiagonalTlBrWidthsValue)
Sets the value of ODFDOM attribute representationStyleDiagonalTlBrWidthsAttribute
, See {void
setStyleDirectionAttribute(String styleDirectionValue)
Sets the value of ODFDOM attribute representationStyleDirectionAttribute
, See {void
setStyleGlyphOrientationVerticalAttribute(String styleGlyphOrientationVerticalValue)
Sets the value of ODFDOM attribute representationStyleGlyphOrientationVerticalAttribute
, See {void
setStylePrintContentAttribute(Boolean stylePrintContentValue)
Sets the value of ODFDOM attribute representationStylePrintContentAttribute
, See {void
setStyleRepeatContentAttribute(Boolean styleRepeatContentValue)
Sets the value of ODFDOM attribute representationStyleRepeatContentAttribute
, See {void
setStyleRotationAlignAttribute(String styleRotationAlignValue)
Sets the value of ODFDOM attribute representationStyleRotationAlignAttribute
, See {void
setStyleRotationAngleAttribute(String styleRotationAngleValue)
Sets the value of ODFDOM attribute representationStyleRotationAngleAttribute
, See {void
setStyleShadowAttribute(String styleShadowValue)
Sets the value of ODFDOM attribute representationStyleShadowAttribute
, See {void
setStyleShrinkToFitAttribute(Boolean styleShrinkToFitValue)
Sets the value of ODFDOM attribute representationStyleShrinkToFitAttribute
, See {void
setStyleTextAlignSourceAttribute(String styleTextAlignSourceValue)
Sets the value of ODFDOM attribute representationStyleTextAlignSourceAttribute
, See {void
setStyleVerticalAlignAttribute(String styleVerticalAlignValue)
Sets the value of ODFDOM attribute representationStyleVerticalAlignAttribute
, See {void
setStyleWritingModeAttribute(String styleWritingModeValue)
Sets the value of ODFDOM attribute representationStyleWritingModeAttribute
, See {-
Methods 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, getOdfAttributeValue, getParentAs, getPreviousSiblingElement, getRepetition, getTextContent, hasAncestor, hasOdfAttribute, ignoredComponent, insert, insert, insertBefore, isComponentRoot, isIgnoredElement, isIgnoredElement, isRepeatable, markAsComponentRoot, markText, moveChildrenTo, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, receiveNode, removeChild, removeContent, removeSingleElement, replaceChild, selfAndDescendantTextIgnoredAsComponent, setComponent, 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 Detail
-
ELEMENT_NAME
public static final OdfName ELEMENT_NAME
-
BackgroundColor
public static final OdfStyleProperty BackgroundColor
-
Border
public static final OdfStyleProperty Border
-
BorderBottom
public static final OdfStyleProperty BorderBottom
-
BorderLeft
public static final OdfStyleProperty BorderLeft
-
BorderRight
public static final OdfStyleProperty BorderRight
-
BorderTop
public static final OdfStyleProperty BorderTop
-
Padding
public static final OdfStyleProperty Padding
-
PaddingBottom
public static final OdfStyleProperty PaddingBottom
-
PaddingLeft
public static final OdfStyleProperty PaddingLeft
-
PaddingRight
public static final OdfStyleProperty PaddingRight
-
PaddingTop
public static final OdfStyleProperty PaddingTop
-
WrapOption
public static final OdfStyleProperty WrapOption
-
BorderLineWidth
public static final OdfStyleProperty BorderLineWidth
-
BorderLineWidthBottom
public static final OdfStyleProperty BorderLineWidthBottom
-
BorderLineWidthLeft
public static final OdfStyleProperty BorderLineWidthLeft
-
BorderLineWidthRight
public static final OdfStyleProperty BorderLineWidthRight
-
BorderLineWidthTop
public static final OdfStyleProperty BorderLineWidthTop
-
CellProtect
public static final OdfStyleProperty CellProtect
-
DecimalPlaces
public static final OdfStyleProperty DecimalPlaces
-
DiagonalBlTr
public static final OdfStyleProperty DiagonalBlTr
-
DiagonalBlTrWidths
public static final OdfStyleProperty DiagonalBlTrWidths
-
DiagonalTlBr
public static final OdfStyleProperty DiagonalTlBr
-
DiagonalTlBrWidths
public static final OdfStyleProperty DiagonalTlBrWidths
-
Direction
public static final OdfStyleProperty Direction
-
GlyphOrientationVertical
public static final OdfStyleProperty GlyphOrientationVertical
-
PrintContent
public static final OdfStyleProperty PrintContent
-
RepeatContent
public static final OdfStyleProperty RepeatContent
-
RotationAlign
public static final OdfStyleProperty RotationAlign
-
RotationAngle
public static final OdfStyleProperty RotationAngle
-
Shadow
public static final OdfStyleProperty Shadow
-
ShrinkToFit
public static final OdfStyleProperty ShrinkToFit
-
TextAlignSource
public static final OdfStyleProperty TextAlignSource
-
VerticalAlign
public static final OdfStyleProperty VerticalAlign
-
WritingMode
public static final OdfStyleProperty WritingMode
-
BORDER_NONE
public static final byte BORDER_NONE
BORDERS TO BE DELETED- See Also:
- Constant Field Values
-
BORDER_TOP
public static final byte BORDER_TOP
- See Also:
- Constant Field Values
-
BORDER_RIGHT
public static final byte BORDER_RIGHT
- See Also:
- Constant Field Values
-
BORDER_BOTTOM
public static final byte BORDER_BOTTOM
- See Also:
- Constant Field Values
-
BORDER_LEFT
public static final byte BORDER_LEFT
- See Also:
- Constant Field Values
-
BORDER_ALL
public static final byte BORDER_ALL
- See Also:
- Constant Field Values
-
DIAGONAL_CROSS_NONE
public static final byte DIAGONAL_CROSS_NONE
Removes diagonal cross from cells- See Also:
- Constant Field Values
-
DIAGONAL_CROSS_TOP_LEFT_START
public static final byte DIAGONAL_CROSS_TOP_LEFT_START
- See Also:
- Constant Field Values
-
DIAGONAL_CROSS_BOTTOM_LEFT_START
public static final byte DIAGONAL_CROSS_BOTTOM_LEFT_START
- See Also:
- Constant Field Values
-
DIAGONAL_CROSS_ALL
public static final byte DIAGONAL_CROSS_ALL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StyleTableCellPropertiesElement
public StyleTableCellPropertiesElement(OdfFileDom ownerDoc)
Create the instance ofStyleTableCellPropertiesElement
- Parameters:
ownerDoc
- The type isOdfFileDom
-
-
Method Detail
-
getOdfName
public OdfName getOdfName()
Get the element name- Specified by:
getOdfName
in classOdfElement
- Returns:
- return
OdfName
the name of element {
-
getFoBackgroundColorAttribute
public String getFoBackgroundColorAttribute()
Receives the value of the ODFDOM attribute representationFoBackgroundColorAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoBackgroundColorAttribute
public void setFoBackgroundColorAttribute(String foBackgroundColorValue)
Sets the value of ODFDOM attribute representationFoBackgroundColorAttribute
, See {- Parameters:
foBackgroundColorValue
- The type isString
-
getFoBorderAttribute
public String getFoBorderAttribute()
Receives the value of the ODFDOM attribute representationFoBorderAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoBorderAttribute
public void setFoBorderAttribute(String foBorderValue)
Sets the value of ODFDOM attribute representationFoBorderAttribute
, See {- Parameters:
foBorderValue
- The type isString
-
getFoBorderBottomAttribute
public String getFoBorderBottomAttribute()
Receives the value of the ODFDOM attribute representationFoBorderBottomAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoBorderBottomAttribute
public void setFoBorderBottomAttribute(String foBorderBottomValue)
Sets the value of ODFDOM attribute representationFoBorderBottomAttribute
, See {- Parameters:
foBorderBottomValue
- The type isString
-
getFoBorderLeftAttribute
public String getFoBorderLeftAttribute()
Receives the value of the ODFDOM attribute representationFoBorderLeftAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoBorderLeftAttribute
public void setFoBorderLeftAttribute(String foBorderLeftValue)
Sets the value of ODFDOM attribute representationFoBorderLeftAttribute
, See {- Parameters:
foBorderLeftValue
- The type isString
-
getFoBorderRightAttribute
public String getFoBorderRightAttribute()
Receives the value of the ODFDOM attribute representationFoBorderRightAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoBorderRightAttribute
public void setFoBorderRightAttribute(String foBorderRightValue)
Sets the value of ODFDOM attribute representationFoBorderRightAttribute
, See {- Parameters:
foBorderRightValue
- The type isString
-
getFoBorderTopAttribute
public String getFoBorderTopAttribute()
Receives the value of the ODFDOM attribute representationFoBorderTopAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoBorderTopAttribute
public void setFoBorderTopAttribute(String foBorderTopValue)
Sets the value of ODFDOM attribute representationFoBorderTopAttribute
, See {- Parameters:
foBorderTopValue
- The type isString
-
getFoPaddingAttribute
public String getFoPaddingAttribute()
Receives the value of the ODFDOM attribute representationFoPaddingAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoPaddingAttribute
public void setFoPaddingAttribute(String foPaddingValue)
Sets the value of ODFDOM attribute representationFoPaddingAttribute
, See {- Parameters:
foPaddingValue
- The type isString
-
getFoPaddingBottomAttribute
public String getFoPaddingBottomAttribute()
Receives the value of the ODFDOM attribute representationFoPaddingBottomAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoPaddingBottomAttribute
public void setFoPaddingBottomAttribute(String foPaddingBottomValue)
Sets the value of ODFDOM attribute representationFoPaddingBottomAttribute
, See {- Parameters:
foPaddingBottomValue
- The type isString
-
getFoPaddingLeftAttribute
public String getFoPaddingLeftAttribute()
Receives the value of the ODFDOM attribute representationFoPaddingLeftAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoPaddingLeftAttribute
public void setFoPaddingLeftAttribute(String foPaddingLeftValue)
Sets the value of ODFDOM attribute representationFoPaddingLeftAttribute
, See {- Parameters:
foPaddingLeftValue
- The type isString
-
getFoPaddingRightAttribute
public String getFoPaddingRightAttribute()
Receives the value of the ODFDOM attribute representationFoPaddingRightAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoPaddingRightAttribute
public void setFoPaddingRightAttribute(String foPaddingRightValue)
Sets the value of ODFDOM attribute representationFoPaddingRightAttribute
, See {- Parameters:
foPaddingRightValue
- The type isString
-
getFoPaddingTopAttribute
public String getFoPaddingTopAttribute()
Receives the value of the ODFDOM attribute representationFoPaddingTopAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoPaddingTopAttribute
public void setFoPaddingTopAttribute(String foPaddingTopValue)
Sets the value of ODFDOM attribute representationFoPaddingTopAttribute
, See {- Parameters:
foPaddingTopValue
- The type isString
-
getFoWrapOptionAttribute
public String getFoWrapOptionAttribute()
Receives the value of the ODFDOM attribute representationFoWrapOptionAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setFoWrapOptionAttribute
public void setFoWrapOptionAttribute(String foWrapOptionValue)
Sets the value of ODFDOM attribute representationFoWrapOptionAttribute
, See {- Parameters:
foWrapOptionValue
- The type isString
-
getStyleBorderLineWidthAttribute
public String getStyleBorderLineWidthAttribute()
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleBorderLineWidthAttribute
public void setStyleBorderLineWidthAttribute(String styleBorderLineWidthValue)
Sets the value of ODFDOM attribute representationStyleBorderLineWidthAttribute
, See {- Parameters:
styleBorderLineWidthValue
- The type isString
-
getStyleBorderLineWidthBottomAttribute
public String getStyleBorderLineWidthBottomAttribute()
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthBottomAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleBorderLineWidthBottomAttribute
public void setStyleBorderLineWidthBottomAttribute(String styleBorderLineWidthBottomValue)
Sets the value of ODFDOM attribute representationStyleBorderLineWidthBottomAttribute
, See {- Parameters:
styleBorderLineWidthBottomValue
- The type isString
-
getStyleBorderLineWidthLeftAttribute
public String getStyleBorderLineWidthLeftAttribute()
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthLeftAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleBorderLineWidthLeftAttribute
public void setStyleBorderLineWidthLeftAttribute(String styleBorderLineWidthLeftValue)
Sets the value of ODFDOM attribute representationStyleBorderLineWidthLeftAttribute
, See {- Parameters:
styleBorderLineWidthLeftValue
- The type isString
-
getStyleBorderLineWidthRightAttribute
public String getStyleBorderLineWidthRightAttribute()
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthRightAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleBorderLineWidthRightAttribute
public void setStyleBorderLineWidthRightAttribute(String styleBorderLineWidthRightValue)
Sets the value of ODFDOM attribute representationStyleBorderLineWidthRightAttribute
, See {- Parameters:
styleBorderLineWidthRightValue
- The type isString
-
getStyleBorderLineWidthTopAttribute
public String getStyleBorderLineWidthTopAttribute()
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthTopAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleBorderLineWidthTopAttribute
public void setStyleBorderLineWidthTopAttribute(String styleBorderLineWidthTopValue)
Sets the value of ODFDOM attribute representationStyleBorderLineWidthTopAttribute
, See {- Parameters:
styleBorderLineWidthTopValue
- The type isString
-
getStyleCellProtectAttribute
public String getStyleCellProtectAttribute()
Receives the value of the ODFDOM attribute representationStyleCellProtectAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleCellProtectAttribute
public void setStyleCellProtectAttribute(String styleCellProtectValue)
Sets the value of ODFDOM attribute representationStyleCellProtectAttribute
, See {- Parameters:
styleCellProtectValue
- The type isString
-
getStyleDecimalPlacesAttribute
public Integer getStyleDecimalPlacesAttribute()
Receives the value of the ODFDOM attribute representationStyleDecimalPlacesAttribute
, See {- Returns:
- - the
Integer
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleDecimalPlacesAttribute
public void setStyleDecimalPlacesAttribute(Integer styleDecimalPlacesValue)
Sets the value of ODFDOM attribute representationStyleDecimalPlacesAttribute
, See {- Parameters:
styleDecimalPlacesValue
- The type isInteger
-
getStyleDiagonalBlTrAttribute
public String getStyleDiagonalBlTrAttribute()
Receives the value of the ODFDOM attribute representationStyleDiagonalBlTrAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleDiagonalBlTrAttribute
public void setStyleDiagonalBlTrAttribute(String styleDiagonalBlTrValue)
Sets the value of ODFDOM attribute representationStyleDiagonalBlTrAttribute
, See {- Parameters:
styleDiagonalBlTrValue
- The type isString
-
getStyleDiagonalBlTrWidthsAttribute
public String getStyleDiagonalBlTrWidthsAttribute()
Receives the value of the ODFDOM attribute representationStyleDiagonalBlTrWidthsAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleDiagonalBlTrWidthsAttribute
public void setStyleDiagonalBlTrWidthsAttribute(String styleDiagonalBlTrWidthsValue)
Sets the value of ODFDOM attribute representationStyleDiagonalBlTrWidthsAttribute
, See {- Parameters:
styleDiagonalBlTrWidthsValue
- The type isString
-
getStyleDiagonalTlBrAttribute
public String getStyleDiagonalTlBrAttribute()
Receives the value of the ODFDOM attribute representationStyleDiagonalTlBrAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleDiagonalTlBrAttribute
public void setStyleDiagonalTlBrAttribute(String styleDiagonalTlBrValue)
Sets the value of ODFDOM attribute representationStyleDiagonalTlBrAttribute
, See {- Parameters:
styleDiagonalTlBrValue
- The type isString
-
getStyleDiagonalTlBrWidthsAttribute
public String getStyleDiagonalTlBrWidthsAttribute()
Receives the value of the ODFDOM attribute representationStyleDiagonalTlBrWidthsAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleDiagonalTlBrWidthsAttribute
public void setStyleDiagonalTlBrWidthsAttribute(String styleDiagonalTlBrWidthsValue)
Sets the value of ODFDOM attribute representationStyleDiagonalTlBrWidthsAttribute
, See {- Parameters:
styleDiagonalTlBrWidthsValue
- The type isString
-
getStyleDirectionAttribute
public String getStyleDirectionAttribute()
Receives the value of the ODFDOM attribute representationStyleDirectionAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleDirectionAttribute
public void setStyleDirectionAttribute(String styleDirectionValue)
Sets the value of ODFDOM attribute representationStyleDirectionAttribute
, See {- Parameters:
styleDirectionValue
- The type isString
-
getStyleGlyphOrientationVerticalAttribute
public String getStyleGlyphOrientationVerticalAttribute()
Receives the value of the ODFDOM attribute representationStyleGlyphOrientationVerticalAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleGlyphOrientationVerticalAttribute
public void setStyleGlyphOrientationVerticalAttribute(String styleGlyphOrientationVerticalValue)
Sets the value of ODFDOM attribute representationStyleGlyphOrientationVerticalAttribute
, See {- Parameters:
styleGlyphOrientationVerticalValue
- The type isString
-
getStylePrintContentAttribute
public Boolean getStylePrintContentAttribute()
Receives the value of the ODFDOM attribute representationStylePrintContentAttribute
, See {- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setStylePrintContentAttribute
public void setStylePrintContentAttribute(Boolean stylePrintContentValue)
Sets the value of ODFDOM attribute representationStylePrintContentAttribute
, See {- Parameters:
stylePrintContentValue
- The type isBoolean
-
getStyleRepeatContentAttribute
public Boolean getStyleRepeatContentAttribute()
Receives the value of the ODFDOM attribute representationStyleRepeatContentAttribute
, See {- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleRepeatContentAttribute
public void setStyleRepeatContentAttribute(Boolean styleRepeatContentValue)
Sets the value of ODFDOM attribute representationStyleRepeatContentAttribute
, See {- Parameters:
styleRepeatContentValue
- The type isBoolean
-
getStyleRotationAlignAttribute
public String getStyleRotationAlignAttribute()
Receives the value of the ODFDOM attribute representationStyleRotationAlignAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleRotationAlignAttribute
public void setStyleRotationAlignAttribute(String styleRotationAlignValue)
Sets the value of ODFDOM attribute representationStyleRotationAlignAttribute
, See {- Parameters:
styleRotationAlignValue
- The type isString
-
getStyleRotationAngleAttribute
public String getStyleRotationAngleAttribute()
Receives the value of the ODFDOM attribute representationStyleRotationAngleAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleRotationAngleAttribute
public void setStyleRotationAngleAttribute(String styleRotationAngleValue)
Sets the value of ODFDOM attribute representationStyleRotationAngleAttribute
, See {- Parameters:
styleRotationAngleValue
- The type isString
-
getStyleShadowAttribute
public String getStyleShadowAttribute()
Receives the value of the ODFDOM attribute representationStyleShadowAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleShadowAttribute
public void setStyleShadowAttribute(String styleShadowValue)
Sets the value of ODFDOM attribute representationStyleShadowAttribute
, See {- Parameters:
styleShadowValue
- The type isString
-
getStyleShrinkToFitAttribute
public Boolean getStyleShrinkToFitAttribute()
Receives the value of the ODFDOM attribute representationStyleShrinkToFitAttribute
, See {- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleShrinkToFitAttribute
public void setStyleShrinkToFitAttribute(Boolean styleShrinkToFitValue)
Sets the value of ODFDOM attribute representationStyleShrinkToFitAttribute
, See {- Parameters:
styleShrinkToFitValue
- The type isBoolean
-
getStyleTextAlignSourceAttribute
public String getStyleTextAlignSourceAttribute()
Receives the value of the ODFDOM attribute representationStyleTextAlignSourceAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleTextAlignSourceAttribute
public void setStyleTextAlignSourceAttribute(String styleTextAlignSourceValue)
Sets the value of ODFDOM attribute representationStyleTextAlignSourceAttribute
, See {- Parameters:
styleTextAlignSourceValue
- The type isString
-
getStyleVerticalAlignAttribute
public String getStyleVerticalAlignAttribute()
Receives the value of the ODFDOM attribute representationStyleVerticalAlignAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleVerticalAlignAttribute
public void setStyleVerticalAlignAttribute(String styleVerticalAlignValue)
Sets the value of ODFDOM attribute representationStyleVerticalAlignAttribute
, See {- Parameters:
styleVerticalAlignValue
- The type isString
-
getStyleWritingModeAttribute
public String getStyleWritingModeAttribute()
Receives the value of the ODFDOM attribute representationStyleWritingModeAttribute
, See {- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setStyleWritingModeAttribute
public void setStyleWritingModeAttribute(String styleWritingModeValue)
Sets the value of ODFDOM attribute representationStyleWritingModeAttribute
, See {- Parameters:
styleWritingModeValue
- The type isString
-
newStyleBackgroundImageElement
public StyleBackgroundImageElement newStyleBackgroundImageElement()
Create child element {- Returns:
- the element {
-
accept
public void accept(ElementVisitor visitor)
Description copied from class:OdfElement
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.
-
-