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 <style:table-cell-properties>.- 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 @fo:background-colorString
getFoBorderAttribute()
Receives the value of the ODFDOM attribute representationFoBorderAttribute
, See @fo:borderString
getFoBorderBottomAttribute()
Receives the value of the ODFDOM attribute representationFoBorderBottomAttribute
, See @fo:border-bottomString
getFoBorderLeftAttribute()
Receives the value of the ODFDOM attribute representationFoBorderLeftAttribute
, See @fo:border-leftString
getFoBorderRightAttribute()
Receives the value of the ODFDOM attribute representationFoBorderRightAttribute
, See @fo:border-rightString
getFoBorderTopAttribute()
Receives the value of the ODFDOM attribute representationFoBorderTopAttribute
, See @fo:border-topString
getFoPaddingAttribute()
Receives the value of the ODFDOM attribute representationFoPaddingAttribute
, See @fo:paddingString
getFoPaddingBottomAttribute()
Receives the value of the ODFDOM attribute representationFoPaddingBottomAttribute
, See @fo:padding-bottomString
getFoPaddingLeftAttribute()
Receives the value of the ODFDOM attribute representationFoPaddingLeftAttribute
, See @fo:padding-leftString
getFoPaddingRightAttribute()
Receives the value of the ODFDOM attribute representationFoPaddingRightAttribute
, See @fo:padding-rightString
getFoPaddingTopAttribute()
Receives the value of the ODFDOM attribute representationFoPaddingTopAttribute
, See @fo:padding-topString
getFoWrapOptionAttribute()
Receives the value of the ODFDOM attribute representationFoWrapOptionAttribute
, See @fo:wrap-optionOdfName
getOdfName()
Get the element nameString
getStyleBorderLineWidthAttribute()
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthAttribute
, See @style:border-line-widthString
getStyleBorderLineWidthBottomAttribute()
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthBottomAttribute
, See @style:border-line-width-bottomString
getStyleBorderLineWidthLeftAttribute()
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthLeftAttribute
, See @style:border-line-width-leftString
getStyleBorderLineWidthRightAttribute()
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthRightAttribute
, See @style:border-line-width-rightString
getStyleBorderLineWidthTopAttribute()
Receives the value of the ODFDOM attribute representationStyleBorderLineWidthTopAttribute
, See @style:border-line-width-topString
getStyleCellProtectAttribute()
Receives the value of the ODFDOM attribute representationStyleCellProtectAttribute
, See @style:cell-protectInteger
getStyleDecimalPlacesAttribute()
Receives the value of the ODFDOM attribute representationStyleDecimalPlacesAttribute
, See @style:decimal-placesString
getStyleDiagonalBlTrAttribute()
Receives the value of the ODFDOM attribute representationStyleDiagonalBlTrAttribute
, See @style:diagonal-bl-trString
getStyleDiagonalBlTrWidthsAttribute()
Receives the value of the ODFDOM attribute representationStyleDiagonalBlTrWidthsAttribute
, See @style:diagonal-bl-tr-widthsString
getStyleDiagonalTlBrAttribute()
Receives the value of the ODFDOM attribute representationStyleDiagonalTlBrAttribute
, See @style:diagonal-tl-brString
getStyleDiagonalTlBrWidthsAttribute()
Receives the value of the ODFDOM attribute representationStyleDiagonalTlBrWidthsAttribute
, See @style:diagonal-tl-br-widthsString
getStyleDirectionAttribute()
Receives the value of the ODFDOM attribute representationStyleDirectionAttribute
, See @style:directionString
getStyleGlyphOrientationVerticalAttribute()
Receives the value of the ODFDOM attribute representationStyleGlyphOrientationVerticalAttribute
, See @style:glyph-orientation-verticalBoolean
getStylePrintContentAttribute()
Receives the value of the ODFDOM attribute representationStylePrintContentAttribute
, See @style:print-contentBoolean
getStyleRepeatContentAttribute()
Receives the value of the ODFDOM attribute representationStyleRepeatContentAttribute
, See @style:repeat-contentString
getStyleRotationAlignAttribute()
Receives the value of the ODFDOM attribute representationStyleRotationAlignAttribute
, See @style:rotation-alignString
getStyleRotationAngleAttribute()
Receives the value of the ODFDOM attribute representationStyleRotationAngleAttribute
, See @style:rotation-angleString
getStyleShadowAttribute()
Receives the value of the ODFDOM attribute representationStyleShadowAttribute
, See @style:shadowBoolean
getStyleShrinkToFitAttribute()
Receives the value of the ODFDOM attribute representationStyleShrinkToFitAttribute
, See @style:shrink-to-fitString
getStyleTextAlignSourceAttribute()
Receives the value of the ODFDOM attribute representationStyleTextAlignSourceAttribute
, See @style:text-align-sourceString
getStyleVerticalAlignAttribute()
Receives the value of the ODFDOM attribute representationStyleVerticalAlignAttribute
, See @style:vertical-alignString
getStyleWritingModeAttribute()
Receives the value of the ODFDOM attribute representationStyleWritingModeAttribute
, See @style:writing-modeStyleBackgroundImageElement
newStyleBackgroundImageElement()
Create 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-mode-
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, 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 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 <style:table-cell-properties>.
-
getFoBackgroundColorAttribute
public String 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
public void setFoBackgroundColorAttribute(String foBackgroundColorValue)
Sets the value of ODFDOM attribute representationFoBackgroundColorAttribute
, See @fo:background-color- Parameters:
foBackgroundColorValue
- The type isString
-
getFoBorderAttribute
public String 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
public void setFoBorderAttribute(String foBorderValue)
Sets the value of ODFDOM attribute representationFoBorderAttribute
, See @fo:border- Parameters:
foBorderValue
- The type isString
-
getFoBorderBottomAttribute
public String 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
public void setFoBorderBottomAttribute(String foBorderBottomValue)
Sets the value of ODFDOM attribute representationFoBorderBottomAttribute
, See @fo:border-bottom- Parameters:
foBorderBottomValue
- The type isString
-
getFoBorderLeftAttribute
public String 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
public void setFoBorderLeftAttribute(String foBorderLeftValue)
Sets the value of ODFDOM attribute representationFoBorderLeftAttribute
, See @fo:border-left- Parameters:
foBorderLeftValue
- The type isString
-
getFoBorderRightAttribute
public String 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
public void setFoBorderRightAttribute(String foBorderRightValue)
Sets the value of ODFDOM attribute representationFoBorderRightAttribute
, See @fo:border-right- Parameters:
foBorderRightValue
- The type isString
-
getFoBorderTopAttribute
public String 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
public void setFoBorderTopAttribute(String foBorderTopValue)
Sets the value of ODFDOM attribute representationFoBorderTopAttribute
, See @fo:border-top- Parameters:
foBorderTopValue
- The type isString
-
getFoPaddingAttribute
public String 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
public void setFoPaddingAttribute(String foPaddingValue)
Sets the value of ODFDOM attribute representationFoPaddingAttribute
, See @fo:padding- Parameters:
foPaddingValue
- The type isString
-
getFoPaddingBottomAttribute
public String 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
public void setFoPaddingBottomAttribute(String foPaddingBottomValue)
Sets the value of ODFDOM attribute representationFoPaddingBottomAttribute
, See @fo:padding-bottom- Parameters:
foPaddingBottomValue
- The type isString
-
getFoPaddingLeftAttribute
public String 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
public void setFoPaddingLeftAttribute(String foPaddingLeftValue)
Sets the value of ODFDOM attribute representationFoPaddingLeftAttribute
, See @fo:padding-left- Parameters:
foPaddingLeftValue
- The type isString
-
getFoPaddingRightAttribute
public String 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
public void setFoPaddingRightAttribute(String foPaddingRightValue)
Sets the value of ODFDOM attribute representationFoPaddingRightAttribute
, See @fo:padding-right- Parameters:
foPaddingRightValue
- The type isString
-
getFoPaddingTopAttribute
public String 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
public void setFoPaddingTopAttribute(String foPaddingTopValue)
Sets the value of ODFDOM attribute representationFoPaddingTopAttribute
, See @fo:padding-top- Parameters:
foPaddingTopValue
- The type isString
-
getFoWrapOptionAttribute
public String 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
public void setFoWrapOptionAttribute(String foWrapOptionValue)
Sets the value of ODFDOM attribute representationFoWrapOptionAttribute
, See @fo:wrap-option- Parameters:
foWrapOptionValue
- The type isString
-
getStyleBorderLineWidthAttribute
public String 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
public void setStyleBorderLineWidthAttribute(String styleBorderLineWidthValue)
Sets the value of ODFDOM attribute representationStyleBorderLineWidthAttribute
, See @style:border-line-width- Parameters:
styleBorderLineWidthValue
- The type isString
-
getStyleBorderLineWidthBottomAttribute
public String 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
public void setStyleBorderLineWidthBottomAttribute(String styleBorderLineWidthBottomValue)
Sets the value of ODFDOM attribute representationStyleBorderLineWidthBottomAttribute
, See @style:border-line-width-bottom- Parameters:
styleBorderLineWidthBottomValue
- The type isString
-
getStyleBorderLineWidthLeftAttribute
public String 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
public void setStyleBorderLineWidthLeftAttribute(String styleBorderLineWidthLeftValue)
Sets the value of ODFDOM attribute representationStyleBorderLineWidthLeftAttribute
, See @style:border-line-width-left- Parameters:
styleBorderLineWidthLeftValue
- The type isString
-
getStyleBorderLineWidthRightAttribute
public String 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
public void setStyleBorderLineWidthRightAttribute(String styleBorderLineWidthRightValue)
Sets the value of ODFDOM attribute representationStyleBorderLineWidthRightAttribute
, See @style:border-line-width-right- Parameters:
styleBorderLineWidthRightValue
- The type isString
-
getStyleBorderLineWidthTopAttribute
public String 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
public void setStyleBorderLineWidthTopAttribute(String styleBorderLineWidthTopValue)
Sets the value of ODFDOM attribute representationStyleBorderLineWidthTopAttribute
, See @style:border-line-width-top- Parameters:
styleBorderLineWidthTopValue
- The type isString
-
getStyleCellProtectAttribute
public String 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
public void setStyleCellProtectAttribute(String styleCellProtectValue)
Sets the value of ODFDOM attribute representationStyleCellProtectAttribute
, See @style:cell-protect- Parameters:
styleCellProtectValue
- The type isString
-
getStyleDecimalPlacesAttribute
public Integer 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
public void setStyleDecimalPlacesAttribute(Integer styleDecimalPlacesValue)
Sets the value of ODFDOM attribute representationStyleDecimalPlacesAttribute
, See @style:decimal-places- Parameters:
styleDecimalPlacesValue
- The type isInteger
-
getStyleDiagonalBlTrAttribute
public String 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
public void setStyleDiagonalBlTrAttribute(String styleDiagonalBlTrValue)
Sets the value of ODFDOM attribute representationStyleDiagonalBlTrAttribute
, See @style:diagonal-bl-tr- Parameters:
styleDiagonalBlTrValue
- The type isString
-
getStyleDiagonalBlTrWidthsAttribute
public String 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
public void setStyleDiagonalBlTrWidthsAttribute(String styleDiagonalBlTrWidthsValue)
Sets the value of ODFDOM attribute representationStyleDiagonalBlTrWidthsAttribute
, See @style:diagonal-bl-tr-widths- Parameters:
styleDiagonalBlTrWidthsValue
- The type isString
-
getStyleDiagonalTlBrAttribute
public String 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
public void setStyleDiagonalTlBrAttribute(String styleDiagonalTlBrValue)
Sets the value of ODFDOM attribute representationStyleDiagonalTlBrAttribute
, See @style:diagonal-tl-br- Parameters:
styleDiagonalTlBrValue
- The type isString
-
getStyleDiagonalTlBrWidthsAttribute
public String 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
public void setStyleDiagonalTlBrWidthsAttribute(String styleDiagonalTlBrWidthsValue)
Sets the value of ODFDOM attribute representationStyleDiagonalTlBrWidthsAttribute
, See @style:diagonal-tl-br-widths- Parameters:
styleDiagonalTlBrWidthsValue
- The type isString
-
getStyleDirectionAttribute
public String 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
public void setStyleDirectionAttribute(String styleDirectionValue)
Sets the value of ODFDOM attribute representationStyleDirectionAttribute
, See @style:direction- Parameters:
styleDirectionValue
- The type isString
-
getStyleGlyphOrientationVerticalAttribute
public String 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
public void setStyleGlyphOrientationVerticalAttribute(String styleGlyphOrientationVerticalValue)
Sets the value of ODFDOM attribute representationStyleGlyphOrientationVerticalAttribute
, See @style:glyph-orientation-vertical- Parameters:
styleGlyphOrientationVerticalValue
- The type isString
-
getStylePrintContentAttribute
public Boolean 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
public void setStylePrintContentAttribute(Boolean stylePrintContentValue)
Sets the value of ODFDOM attribute representationStylePrintContentAttribute
, See @style:print-content- Parameters:
stylePrintContentValue
- The type isBoolean
-
getStyleRepeatContentAttribute
public Boolean 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
public void setStyleRepeatContentAttribute(Boolean styleRepeatContentValue)
Sets the value of ODFDOM attribute representationStyleRepeatContentAttribute
, See @style:repeat-content- Parameters:
styleRepeatContentValue
- The type isBoolean
-
getStyleRotationAlignAttribute
public String 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
public void setStyleRotationAlignAttribute(String styleRotationAlignValue)
Sets the value of ODFDOM attribute representationStyleRotationAlignAttribute
, See @style:rotation-align- Parameters:
styleRotationAlignValue
- The type isString
-
getStyleRotationAngleAttribute
public String 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
public void setStyleRotationAngleAttribute(String styleRotationAngleValue)
Sets the value of ODFDOM attribute representationStyleRotationAngleAttribute
, See @style:rotation-angle- Parameters:
styleRotationAngleValue
- The type isString
-
getStyleShadowAttribute
public String 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
public void setStyleShadowAttribute(String styleShadowValue)
Sets the value of ODFDOM attribute representationStyleShadowAttribute
, See @style:shadow- Parameters:
styleShadowValue
- The type isString
-
getStyleShrinkToFitAttribute
public Boolean 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
public void setStyleShrinkToFitAttribute(Boolean styleShrinkToFitValue)
Sets the value of ODFDOM attribute representationStyleShrinkToFitAttribute
, See @style:shrink-to-fit- Parameters:
styleShrinkToFitValue
- The type isBoolean
-
getStyleTextAlignSourceAttribute
public String 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
public void setStyleTextAlignSourceAttribute(String styleTextAlignSourceValue)
Sets the value of ODFDOM attribute representationStyleTextAlignSourceAttribute
, See @style:text-align-source- Parameters:
styleTextAlignSourceValue
- The type isString
-
getStyleVerticalAlignAttribute
public String 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
public void setStyleVerticalAlignAttribute(String styleVerticalAlignValue)
Sets the value of ODFDOM attribute representationStyleVerticalAlignAttribute
, See @style:vertical-align- Parameters:
styleVerticalAlignValue
- The type isString
-
getStyleWritingModeAttribute
public String 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
public void setStyleWritingModeAttribute(String styleWritingModeValue)
Sets the value of ODFDOM attribute representationStyleWritingModeAttribute
, See @style:writing-mode- Parameters:
styleWritingModeValue
- The type isString
-
newStyleBackgroundImageElement
public StyleBackgroundImageElement newStyleBackgroundImageElement()
Create child element <style:background-image>.Child element was added in ODF 1.2
- Returns:
- the element <style:background-image>
-
accept
public void accept(ElementVisitor visitor)
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.
-
-