Package org.foray.fotree.fo.prop

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


     * @param context An object that knows how to resolve FO Tree context
     * issues.
     * @return The break-before property.
     */
    public FoValue getBreakBefore(final FObj fobj, final FoContext context) {
        final PdBreakBefore property = (PdBreakBefore) getProperty(
                FoProperty.BREAK_BEFORE);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        final PdPageBreakBefore pageBreakBefore =
                (PdPageBreakBefore) getProperty(FoProperty.PAGE_BREAK_BEFORE);
        if (pageBreakBefore != null) {
            switch(pageBreakBefore.getValue(context, fobj)) {
View Full Code Here


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

TOP

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

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.