* @param context An object that knows how to resolve FO Tree context
* issues.
* @return The column-count property.
*/
public int getColumnCount(final FObj fobj, final FoContext context) {
final PdColumnCount property = (PdColumnCount) getProperty(
FoProperty.COLUMN_COUNT);
if (property != null) {
int columnCount = property.getValue(context, fobj);
if ((columnCount > 1)
&& (getOverflow(fobj, context) == FoValue.SCROLL)) {
// recover by setting 'column-count' to 1. This is allowed but
// not required by the spec.
fobj.getLogger().error("Setting 'column-count' to 1 because "