Examples of PdAlignmentAdjust


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

     * issues that apply to inline objects.
     * @return The alignment-adjust amount.
     */
    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

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

        }
        case ACTIVE_STATE: {
            return new PdActiveState(fobj, propertyFullName, attributeValue);
        }
        case ALIGNMENT_ADJUST: {
            return new PdAlignmentAdjust(fobj, propertyFullName,
                    attributeValue);
        }
        case ALIGNMENT_BASELINE: {
            return new PdAlignmentBaseline(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.