Package org.foray.fotree.fo.prop

Examples of org.foray.fotree.fo.prop.PdOrphans


        }
        case ODD_OR_EVEN: {
            return new PdOddOrEven(fobj, propertyFullName, attributeValue);
        }
        case ORPHANS: {
            return new PdOrphans(fobj, propertyFullName, attributeValue);
        }
        case OVERFLOW: {
            return new PdOverflow(fobj, propertyFullName, attributeValue);
        }
        case PADDING: {
View Full Code Here


     * @param context An object that knows how to resolve FO Tree context
     * issues.
     * @return The orphans property.
     */
    public int traitOrphans(final FObj fobj, final FoContext context) {
        final PdOrphans property = (PdOrphans) getProperty(
                FoProperty.ORPHANS);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        return PdOrphans.getValueNoInstance(context, fobj);
    }
View Full Code Here

TOP

Related Classes of org.foray.fotree.fo.prop.PdOrphans

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.