Class PageScale
java.lang.Object
org.apache.fop.render.extensions.prepress.PageScale
This class provides utility methods to parse the 'fox:scale' extension attribute.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.apache.xmlgraphics.util.QName
The extension 'scale' attribute for the simple-page-master element. -
Method Summary
-
Field Details
-
EXT_PAGE_SCALE
public static final org.apache.xmlgraphics.util.QName EXT_PAGE_SCALEThe extension 'scale' attribute for the simple-page-master element.
-
-
Method Details
-
getScale
Compute scale parameters from given fox:scale attribute which has the format: scaleX [scaleY] If scaleY is not defined, it equals scaleX.- Parameters:
scale
- scale attribute, input format: scaleX [scaleY]- Returns:
- the pair of (sx, sy) values
-