Examples of traitValueAmount()


Examples of org.foray.fotree.fo.prop.PdAlignmentAdjust.traitValueAmount()

    public int traitAlignmentAdjust(final FObj fobj, final FoContext context,
            final FoInlineContext inlineContext) {
        final PdAlignmentAdjust property = (PdAlignmentAdjust)
                getProperty(FoProperty.ALIGNMENT_ADJUST);
        if (property != null) {
            return property.traitValueAmount(context, fobj, inlineContext);
        }
        /* Try the shorthand property. */
        final PdVerticalAlign va = (PdVerticalAlign) getProperty(FoProperty.VERTICAL_ALIGN);
        if (va != null) {
            return va.getAlignmentAdjust(fobj, context, inlineContext);
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.