org.apache.fop.fo.properties

Class PageDimensionMaker

Implemented Interfaces:
Cloneable

public class PageDimensionMaker
extends LengthProperty.Maker

Custom Maker for page-height / page-width

Field Summary

Fields inherited from class org.apache.fop.fo.properties.PropertyMaker

contextDep, corresponding, defaultProperty, defaultValue, propId, setByShorthand

Constructor Summary

PageDimensionMaker(int propId)
Constructor

Method Summary

Property
get(int subpropId, PropertyList propertyList, boolean tryInherit, boolean tryDefault)
Check the value of the page-width / page-height property.

Methods inherited from class org.apache.fop.fo.properties.LengthProperty.Maker

convertProperty

Methods inherited from class org.apache.fop.fo.properties.PropertyMaker

addEnum, addKeyword, addShorthand, addSubpropMaker, checkEnumValues, checkValueKeywords, clone, compute, convertProperty, convertPropertyDatatype, convertShorthandProperty, findProperty, get, getName, getPercentBase, getPropId, getShorthand, getSubprop, getSubpropMaker, isInherited, make, make, make, makeNewProperty, setByShorthand, setCorresponding, setDatatypeParser, setDefault, setDefault, setInherited, setPercentBase, setSubprop, useGeneric

Constructor Details

PageDimensionMaker

public PageDimensionMaker(int propId)
Constructor
Parameters:
propId - the property Id

Method Details

get

public Property get(int subpropId,
                    PropertyList propertyList,
                    boolean tryInherit,
                    boolean tryDefault)
            throws PropertyException
Check the value of the page-width / page-height property. Return the default or user-defined fallback in case the value was specified as "auto"
Overrides:
get in interface PropertyMaker

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.