* @param context An object that knows how to resolve FO Tree context
* issues.
* @return The text-depth property.
*/
public int traitTextDepth(final FObj fobj, final FoContext context) {
final PdTextDepth property = (PdTextDepth) getProperty(
FoProperty.TEXT_DEPTH);
if (property == null) {
return PdTextDepth.getValueNoInstance(fobj, context);
}
return property.getValue(context, fobj);
}