org.jopendocument.dom.spreadsheet
Class CellStyle.StyleTableCellProperties

java.lang.Object
  extended by org.jopendocument.dom.StyleProperties
      extended by org.jopendocument.dom.style.SideStyleProperties
          extended by org.jopendocument.dom.spreadsheet.CellStyle.StyleTableCellProperties
Enclosing class:
CellStyle

public static class CellStyle.StyleTableCellProperties
extends SideStyleProperties

See section 15.11 of OpenDocument v1.1 : Table Cell Formatting Properties.

Author:
Sylvain CUAZ

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jopendocument.dom.style.SideStyleProperties
SideStyleProperties.Side
 
Field Summary
 
Fields inherited from class org.jopendocument.dom.StyleProperties
TRANSPARENT, TRANSPARENT_NAME
 
Constructor Summary
CellStyle.StyleTableCellProperties(S style, StyledNode<S,?> styledNode)
           
 
Method Summary
protected  boolean fallbackToDefaultStyle(String attrName, org.jdom.Namespace attrNS)
           
protected  String getAttributeValueInAncestors(Cell<?> cell, org.jopendocument.dom.spreadsheet.TableCalcNode<?,?> calcNode, String attrName, org.jdom.Namespace attrNS)
           
protected  String getAttributeValueNotInAncestors(String attrName, org.jdom.Namespace attrNS)
           
 int getDecimalPlaces()
           
 String getRawDecimalPlaces()
           
 int getRotationAngle()
           
 boolean isContentPrinted()
           
 boolean isContentRepeated()
           
 boolean isShrinkToFit()
           
 boolean isWrapping()
           
 void setRotationAngle(Integer angle)
           
 void setWrapping(boolean b)
           
 
Methods inherited from class org.jopendocument.dom.style.SideStyleProperties
getBorder, getBorderLineWidth, getBorders, getSideAttribute
 
Methods inherited from class org.jopendocument.dom.StyleProperties
getAttributeValue, getAttributeValueInAncestors, getBackgroundColor, getElement, getElement, getEnclosingStyle, getNS, getRawBackgroundColor, getStyledNode, parseBoolean, parseInt, parseInteger, setAttributeValue, setAttributeValue, setBackgroundColor, setBackgroundColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellStyle.StyleTableCellProperties

public CellStyle.StyleTableCellProperties(S style,
                                          StyledNode<S,?> styledNode)
Method Detail

getAttributeValueInAncestors

protected String getAttributeValueInAncestors(Cell<?> cell,
                                              org.jopendocument.dom.spreadsheet.TableCalcNode<?,?> calcNode,
                                              String attrName,
                                              org.jdom.Namespace attrNS)

getAttributeValueNotInAncestors

protected String getAttributeValueNotInAncestors(String attrName,
                                                 org.jdom.Namespace attrNS)
Overrides:
getAttributeValueNotInAncestors in class StyleProperties

fallbackToDefaultStyle

protected boolean fallbackToDefaultStyle(String attrName,
                                         org.jdom.Namespace attrNS)
Overrides:
fallbackToDefaultStyle in class StyleProperties

getRotationAngle

public final int getRotationAngle()

setRotationAngle

public final void setRotationAngle(Integer angle)

isContentPrinted

public final boolean isContentPrinted()

isContentRepeated

public final boolean isContentRepeated()

isShrinkToFit

public final boolean isShrinkToFit()

getDecimalPlaces

public final int getDecimalPlaces()

getRawDecimalPlaces

public final String getRawDecimalPlaces()

isWrapping

public final boolean isWrapping()

setWrapping

public final void setWrapping(boolean b)


Copyright © 2010 jOpenDocument All Rights Reserved.