Examples of PdDominantBaseline


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

     * @param context An object that knows how to resolve FO Tree context
     * issues.
     * @return The dominant-baseline property.
     */
    public Baseline traitDominantBaseline(final FObj fobj, final FoContext context) {
        final PdDominantBaseline property = (PdDominantBaseline) getProperty(
                FoProperty.DOMINANT_BASELINE);
        if (property != null) {
            return property.traitValue(context, fobj);
        }
        /* Try the shorthand property. */
        final PdVerticalAlign va = (PdVerticalAlign) getProperty(FoProperty.VERTICAL_ALIGN);
        if (va != null) {
            return va.getDominantBaseline(fobj, context);
View Full Code Here

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

        }
        case DISPLAY_ALIGN: {
            return new PdDisplayAlign(fobj, propertyFullName, attributeValue);
        }
        case DOMINANT_BASELINE: {
            return new PdDominantBaseline(fobj, propertyFullName,
                    attributeValue);
        }
        case ELEVATION: {
            return new PdElevation(fobj, propertyFullName, attributeValue);
        }
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.