Package org.foray.fotree.fo.prop

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


        }
        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

Related Classes of org.foray.fotree.fo.prop.PdAlignmentAdjust

Copyright © 2018 www.massapicom. 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.