org.jopendocument.dom.spreadsheet
Class CellStyle.SyleTableCellProperties

java.lang.Object
  extended by org.jopendocument.dom.StyleProperties
      extended by org.jopendocument.dom.spreadsheet.CellStyle.SyleTableCellProperties
Enclosing class:
CellStyle

public static class CellStyle.SyleTableCellProperties
extends StyleProperties

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

Author:
Sylvain CUAZ

Field Summary
 
Fields inherited from class org.jopendocument.dom.StyleProperties
TRANSPARENT
 
Constructor Summary
CellStyle.SyleTableCellProperties(StyleStyle style)
           
 
Method Summary
 String getBorder(CellStyle.Side s)
           
 String[] getBorderLineWidth(CellStyle.Side s)
          If the line style for the border is double, specify the width of the inner and outer lines and the distance between them.
 int getRotationAngle()
           
 boolean isContentPrinted()
           
 boolean isContentRepeated()
           
 boolean isShrinkToFit()
           
 
Methods inherited from class org.jopendocument.dom.StyleProperties
getBackgroundColor, getElement, getNS, getParentStyle, getRawBackgroundColor, parseBoolean, setBackgroundColor, setBackgroundColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellStyle.SyleTableCellProperties

public CellStyle.SyleTableCellProperties(StyleStyle style)
Method Detail

getBorder

public final String getBorder(CellStyle.Side s)

getBorderLineWidth

public final String[] getBorderLineWidth(CellStyle.Side s)
If the line style for the border is double, specify the width of the inner and outer lines and the distance between them. See section 15.5.26.

Parameters:
s - which side.
Returns:
the width of the inner line, the distance between the two lines, the width of the outer line, null if the line style of the border is not double.

getRotationAngle

public final int getRotationAngle()

isContentPrinted

public final boolean isContentPrinted()

isContentRepeated

public final boolean isContentRepeated()

isShrinkToFit

public final boolean isShrinkToFit()


Copyright © 2010 jOpenDocument All Rights Reserved.