Package org.foray.fotree.fo.prop

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


        case PAGE_BREAK_BEFORE: {
            return new PdPageBreakBefore(fobj, propertyFullName,
                    attributeValue);
        }
        case PAGE_BREAK_INSIDE: {
            return new PdPageBreakInside(fobj, propertyFullName,
                    attributeValue);
        }
        case PAGE_CITATION_STRATEGY: {
            return new PdPageCitationStrategy(fobj, propertyFullName,
                    attributeValue);
View Full Code Here


        if (property == null) {
            return AbstractKeep.getValueNoInstance(context,
                    FoProperty.KEEP_TOGETHER,
                    subProperty, fobj);
        }
        final PdPageBreakInside enumProperty = (PdPageBreakInside) getProperty(
                FoProperty.PAGE_BREAK_INSIDE);
        if (enumProperty != null) {
            switch(enumProperty.getValue(context, fobj)) {
            case AUTO: {
                return Integer.MIN_VALUE;
            }
            case AVOID: {
                return Integer.MAX_VALUE;
View Full Code Here

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

TOP

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

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.