Package org.foray.fotree.fo.prop

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


     * @param context An object that knows how to resolve FO Tree context
     * issues.
     * @return The break-after property.
     */
    public FoValue getBreakAfter(final FObj fobj, final FoContext context) {
        final PdBreakAfter property = (PdBreakAfter) getProperty(
                FoProperty.BREAK_AFTER);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        final PdPageBreakAfter pageBreakAfter = (PdPageBreakAfter) getProperty(
                FoProperty.PAGE_BREAK_AFTER);
        if (pageBreakAfter != null) {
            switch(pageBreakAfter.getValue(context, fobj)) {
View Full Code Here


        }
        case BOTTOM: {
            return new PdBottom(fobj, propertyFullName, attributeValue);
        }
        case BREAK_AFTER: {
            return new PdBreakAfter(fobj, propertyFullName, attributeValue);
        }
        case BREAK_BEFORE: {
            return new PdBreakBefore(fobj, propertyFullName, attributeValue);
        }
        case CAPTION_SIDE: {
View Full Code Here

TOP

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

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.