Examples of PdFontSize


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

     * @param context An object that knows how to resolve FO Tree context
     * issues.
     * @return The font-size property.
     */
    public int getFontSize(final FObj fobj, final FoContext context) {
        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

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

        case FONT_SELECTION_STRATEGY: {
            return new PdFontSelectionStrategy(fobj, propertyFullName,
                    attributeValue);
        }
        case FONT_SIZE: {
            return new PdFontSize(fobj, propertyFullName, attributeValue);
        }
        case FONT_SIZE_ADJUST: {
            return new PdFontSizeAdjust(fobj, propertyFullName, attributeValue);
        }
        case FONT_STRETCH: {
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.