Package org.foray.fotree.fo.prop

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


                FoProperty.LINE_HEIGHT);
        if (property != null) {
            return property.getValueMultiplier(context, fobj);
        }
        // Try the shorthand
        final PdFont fontProperty = (PdFont) getProperty(FoProperty.FONT);
        if (fontProperty != null) {
            property = fontProperty.getLineHeight();
            return property.getValueMultiplier(context, fobj);
        }
        return PdLineHeight.getValueMultiplierNoInstance(context, fobj);
    }
View Full Code Here


                FoProperty.LINE_HEIGHT);
        if (property != null) {
            return property.getValue(context, rangeID, fobj);
        }
        // Try the shorthand
        final PdFont fontProperty = (PdFont) getProperty(FoProperty.FONT);
        if (fontProperty != null) {
            property = fontProperty.getLineHeight();
            return property.getValue(context, rangeID, fobj);
        }
        return PdLineHeight.getValueNoInstance(context, fobj);
    }
View Full Code Here

                FoProperty.LINE_HEIGHT);
        if (property != null) {
            return property.getConditionality(context, fobj);
        }
        // Try the shorthand
        final PdFont fontProperty = (PdFont) getProperty(FoProperty.FONT);
        if (fontProperty != null) {
            property = fontProperty.getLineHeight();
            return property.getConditionality(context, fobj);
        }
        return PdLineHeight.getConditionalityNoInstance(context, fobj);
    }
View Full Code Here

                FoProperty.LINE_HEIGHT);
        if (property != null) {
            return property.getPrecedence(context, fobj);
        }
        // Try the shorthand
        final PdFont fontProperty = (PdFont) getProperty(FoProperty.FONT);
        if (fontProperty != null) {
            property = fontProperty.getLineHeight();
            return property.getPrecedence(context, fobj);
        }
        return PdLineHeight.getPrecedenceNoInstance(context, fobj);
    }
View Full Code Here

                FoProperty.FONT_FAMILY);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        // Try the shorthand
        final PdFont fontProperty = (PdFont) getProperty(FoProperty.FONT);
        if (fontProperty != null) {
            property = fontProperty.getFamily();
            return property.getValue(context, fobj);
        }
        return PdFontFamily.getValueNoInstance(context, fobj);
    }
View Full Code Here

        PdFontStyle property = (PdFontStyle) getProperty(FoProperty.FONT_STYLE);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        // Try the shorthand
        final PdFont fontProperty = (PdFont) getProperty(FoProperty.FONT);
        if (fontProperty != null) {
            property = fontProperty.getStyle();
            return property.getValue(context, fobj);
        }
        return PdFontStyle.getValueNoInstance(context, fobj);
    }
View Full Code Here

                FoProperty.FONT_WEIGHT);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        // Try the shorthand
        final PdFont fontProperty = (PdFont) getProperty(FoProperty.FONT);
        if (fontProperty != null) {
            property = fontProperty.getWeight();
            return property.getValue(context, fobj);
        }
        return PdFontWeight.getValueNoInstance(context, fobj);
    }
View Full Code Here

        PdFontSize property = (PdFontSize) getProperty(FoProperty.FONT_SIZE);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        // Try the shorthand
        final PdFont fontProperty = (PdFont) getProperty(FoProperty.FONT);
        if (fontProperty != null) {
            property = fontProperty.getSize();
            return property.getValue(context, fobj);
        }
        return PdFontSize.getValueNoInstance(context, fobj);
    }
View Full Code Here

                FoProperty.FONT_VARIANT);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        // Try the shorthand
        final PdFont fontProperty = (PdFont) getProperty(FoProperty.FONT);
        if (fontProperty != null) {
            property = fontProperty.getVariant();
            return property.getValue(context, fobj);
        }
        return PdFontVariant.getValueNoInstance(context, fobj);
    }
View Full Code Here

                FoProperty.FONT_STRETCH);
        if (property != null) {
            return property.getValue(fobj);
        }
        // Check the shorthand.
        final PdFont fontProperty = (PdFont) getProperty(FoProperty.FONT);
        if (fontProperty != null) {
            /*
             * If the shorthand exists, the effect of it is to set font-stretch
             * to its initial value.
             */
 
View Full Code Here

TOP

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

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.