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 | 
fallbackToDefaultStyle, getAttributeValue, getAttributeValueInAncestors, getAttributeValueNotInAncestors, 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 | 
 
SideStyleProperties
public SideStyleProperties(Style style,
                           String propPrefix)
SideStyleProperties
public SideStyleProperties(S style,
                           String propPrefix,
                           StyledNode<S,?> styledNode)
getBorder
public final String getBorder(SideStyleProperties.Side s)
 
getBorders
public final Map<SideStyleProperties.Side,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 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. 
 
 
getSideAttribute
protected final String getSideAttribute(SideStyleProperties.Side s,
                                        String attrName,
                                        org.jdom.Namespace ns)
 
Copyright © 2010 jOpenDocument All Rights Reserved.