* @param context An object that knows how to resolve FO Tree context
* issues.
* @return The pause-before property.
*/
public double traitPauseBefore(final FObj fobj, final FoContext context) {
AbstractPause property = (AbstractPause) getProperty(
FoProperty.PAUSE_BEFORE);
if (property != null) {
return property.getValue(context, fobj, FoProperty.PAUSE_BEFORE);
}
// Try the shorthand
property = (AbstractPause) getProperty(FoProperty.PAUSE);
if (property != null) {
return property.getShorthandValue(context, fobj,
FoProperty.PAUSE_BEFORE);
}
return AbstractPause.getValueNoInstance();
}