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 |
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 |
PageLayoutStyle.PageLayoutProperties
public PageLayoutStyle.PageLayoutProperties(Style style)
getRawMargin
public final String getRawMargin(SideStyleProperties.Side s)
getMargin
public final 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 BigDecimal getPageWidth(LengthUnit in)
getPageHeight
public final BigDecimal getPageHeight(LengthUnit in)
Copyright © 2010 jOpenDocument All Rights Reserved.