Examples of PdBaselineShift


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

     * @param context An object that knows how to resolve FO Tree context
     * issues.
     * @return The baseline-shift property.
     */
    public int traitBaselineShift(final FObj fobj, final FoContext context) {
        final PdBaselineShift property = (PdBaselineShift)
                getProperty(FoProperty.BASELINE_SHIFT);
        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.getBaselineShift(fobj, context);
View Full Code Here

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

        case BACKGROUND_REPEAT: {
            return new PdBackgroundRepeat(fobj, propertyFullName,
                    attributeValue);
        }
        case BASELINE_SHIFT: {
            return new PdBaselineShift(fobj, propertyFullName, attributeValue);
        }
        case BLANK_OR_NOT_BLANK: {
            return new PdBlankOrNotBlank(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.