Package org.foray.fotree.fo.prop

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


     * issues.
     * @return The font-style property.
     */
    public org.axsl.font.Font.Style getFontStyle(final FObj fobj,
            final FoContext context) {
        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


        }
        case FONT_STRETCH: {
            return new PdFontStretch(fobj, propertyFullName, attributeValue);
        }
        case FONT_STYLE: {
            return new PdFontStyle(fobj, propertyFullName, attributeValue);
        }
        case FONT_VARIANT: {
            return new PdFontVariant(fobj, propertyFullName, attributeValue);
        }
        case FONT_WEIGHT: {
View Full Code Here

TOP

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

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.