org.jopendocument.dom.style
Class SideStyleProperties
java.lang.Object
org.jopendocument.dom.StyleProperties
org.jopendocument.dom.style.SideStyleProperties
- Direct Known Subclasses:
- CellStyle.StyleTableCellProperties, PageLayoutStyle.PageLayoutProperties, TableStyle.StyleTableProperties
public class SideStyleProperties
- extends StyleProperties
| Methods inherited from class org.jopendocument.dom.StyleProperties |
getAttributeValue, getBackgroundColor, getElement, getEnclosingStyle, getRawBackgroundColor, getStyledNode, parseBoolean, parseInt, parseInteger, setAttributeValue, setAttributeValue, setBackgroundColor, setBackgroundColor |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SideStyleProperties
public SideStyleProperties(Style style,
java.lang.String propPrefix)
SideStyleProperties
public SideStyleProperties(S style,
java.lang.String propPrefix,
StyledNode<S,?> styledNode)
getBorder
public final java.lang.String getBorder(SideStyleProperties.Side s)
getBorders
public final java.util.Map<SideStyleProperties.Side,java.lang.String> getBorders()
- Return all defined borders.
- Returns:
- all defined borders, i.e. without any
null value and thus an empty map
when there are no borders. - See Also:
getBorder(Side)
getBorderLineWidth
public final java.lang.String[] getBorderLineWidth(SideStyleProperties.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.