Package org.foray.fotree.fo.prop

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


        case WHITE_SPACE_TREATMENT: {
            return new PdWhiteSpaceTreatment(fobj, propertyFullName,
                    attributeValue);
        }
        case WIDOWS: {
            return new PdWidows(fobj, propertyFullName, attributeValue);
        }
        case WIDTH: {
            return new PdWidth(fobj, propertyFullName, attributeValue);
        }
        case WORD_SPACING: {
View Full Code Here


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

TOP

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

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.