Package org.foray.fotree.fo.prop

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


     * @return The computed value, or {@link FObj#DIMENSION_AUTO} for
     * "auto".
     */
    private int getRelativeDimension(final FObj fobj, final FoContext context,
            final RelativeAxis relativeAxis, final LengthRange subProperty) {
        AbstractRelativeDimension property = null;
        if (relativeAxis == RelativeAxis.BLOCK_PROGRESSION) {
            property = (AbstractRelativeDimension)
                    getProperty(FoProperty.BLOCK_PROGRESSION_DIMENSION);
        } else {
            property = (AbstractRelativeDimension)
                    getProperty(FoProperty.INLINE_PROGRESSION_DIMENSION);
        }
        if (property != null) {
            return property.getValue(context, subProperty, fobj);
        }

        /* Try the corresponding absolute dimension. */
        AbstractAbsoluteDimension absDimProperty = null;
        final DtWritingMode writingMode = this.getWritingMode(fobj, context);
View Full Code Here

TOP

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

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.