org.jopendocument.dom.style
Class PageLayoutStyle.PageLayoutProperties
java.lang.Object
org.jopendocument.dom.StyleProperties
org.jopendocument.dom.style.SideStyleProperties
org.jopendocument.dom.style.PageLayoutStyle.PageLayoutProperties
- Enclosing class:
- PageLayoutStyle
public static class PageLayoutStyle.PageLayoutProperties
- extends SideStyleProperties
| 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 |
PageLayoutStyle.PageLayoutProperties
public PageLayoutStyle.PageLayoutProperties(Style style)
getRawMargin
public final java.lang.String getRawMargin(SideStyleProperties.Side s)
getMargin
public final java.math.BigDecimal getMargin(SideStyleProperties.Side s,
LengthUnit in)
- Get the margin of one of the side.
- Parameters:
s - which side.in - the desired unit.
- Returns:
- the margin.
getPageWidth
public final java.math.BigDecimal getPageWidth(LengthUnit in)
getPageHeight
public final java.math.BigDecimal getPageHeight(LengthUnit in)