Package org.foray.fotree.fo.prop

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


        }
        case PADDING_TOP: {
            return new PdPaddingTop(fobj, propertyFullName, attributeValue);
        }
        case PAGE_BREAK_AFTER: {
            return new PdPageBreakAfter(fobj, propertyFullName, attributeValue);
        }
        case PAGE_BREAK_BEFORE: {
            return new PdPageBreakBefore(fobj, propertyFullName,
                    attributeValue);
        }
View Full Code Here


        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)) {
            case AUTO: {
                return FoValue.AUTO;
            }
            case ALWAYS: {
                return FoValue.PAGE;
View Full Code Here

        if (property == null) {
            return AbstractKeep.getValueNoInstance(context,
                    FoProperty.KEEP_WITH_NEXT,
                    subProperty, fobj);
        }
        final PdPageBreakAfter enumProperty = (PdPageBreakAfter) getProperty(
                FoProperty.PAGE_BREAK_AFTER);
        if (enumProperty != null) {
            switch(enumProperty.getValue(context, fobj)) {
            case AUTO: {
                return Integer.MIN_VALUE;
            }
            case ALWAYS: {
                return Integer.MIN_VALUE;
View Full Code Here

     * issues.
     * @return The page-break-after property.
     */
    public FoValue traitPageBreakAfter(final FObj fobj,
            final FoContext context) {
        final PdPageBreakAfter property = (PdPageBreakAfter) getProperty(
                FoProperty.PAGE_BREAK_AFTER);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        return PdPageBreakAfter.getValueNoInstance();
    }
View Full Code Here

TOP

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

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.