* @return The requested page-dimension.
*/
private int getPageDimension(final FObj fobj, final AbsoluteAxis axis) {
final FoProperty propertyType = AbstractPageDimension.rawPropertyType(
axis);
final AbstractPageDimension property = (AbstractPageDimension)
getProperty(propertyType);
if (property != null) {
return property.getValue(fobj);
}
// Try the shorthand.
/* Null context is OK, because the object can't be inside a marker. */
final FoContext context = null;
final PdSize sizeProperty = (PdSize) getProperty(FoProperty.SIZE);