Examples of PdMargin


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

        case LINEFEED_TREATMENT: {
            return new PdLinefeedTreatment(fobj, propertyFullName,
                    attributeValue);
        }
        case MARGIN: {
            return new PdMargin(fobj, propertyFullName, attributeValue);
        }
        case MARGIN_BOTTOM: {
            return new PdMarginBottom(fobj, propertyFullName, attributeValue);
        }
        case MARGIN_LEFT: {
View Full Code Here

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

        if (relativeProperty != null) {
            return relativeProperty.getValue(context, subProperty, fobj);
        }

        /* Now try the shorthand property. */
        final PdMargin shorthandProperty = (PdMargin) getProperty(
                FoProperty.MARGIN);
        if (shorthandProperty != null) {
            return shorthandProperty.getValue(context, absoluteDirection, fobj);
        }

        /* Use the initial value. */
        return AbstractRelativeSpace.getValueNoInstance();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.