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);
if (sizeProperty != null) {
return sizeProperty.getValue(context, fobj, axis);
}
return AbstractPageDimension.getValueNoInstance(axis);