Package org.foray.fotree.fo.prop

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


        }
        case WIDTH: {
            return new PdWidth(fobj, propertyFullName, attributeValue);
        }
        case WORD_SPACING: {
            return new PdWordSpacing(fobj, propertyFullName, attributeValue);
        }
        case WRAP_OPTION: {
            return new PdWrapOption(fobj, propertyFullName, attributeValue);
        }
        case WRITING_MODE: {
View Full Code Here


     * @param subProperty The length-range value.
     * @return The specified component of the word-spacing property.
     */
    private int getWordSpacing(final FObj fobj, final FoContext context,
            final LengthRange subProperty) {
        final PdWordSpacing property = (PdWordSpacing) getProperty(
                FoProperty.WORD_SPACING);
        if (property != null) {
            return property.getValue(context, subProperty, fobj);
        }
        return PdWordSpacing.getValueNoInstance(context, subProperty, fobj);
    }
View Full Code Here

    /**
     * Returns the word-spacing.conditionality property.
     * @return The word-spacing.conditionality property.
     */
    public Conditionality traitWordSpacingConditionality() {
        final PdWordSpacing property = (PdWordSpacing) getProperty(
                FoProperty.WORD_SPACING);
        if (property != null) {
            return property.getConditionality();
        }
        return PdWordSpacing.getConditionalityNoInstance();
    }
View Full Code Here

    /**
     * Returns the word-spacing.precedence property.
     * @return The word-spacing.precedence property.
     */
    public int traitWordSpacingPrecedence() {
        final PdWordSpacing property = (PdWordSpacing) getProperty(
                FoProperty.WORD_SPACING);
        if (property != null) {
            return property.getPrecedence();
        }
        return PdWordSpacing.getPrecedenceNoInstance();
    }
View Full Code Here

TOP

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

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.