Package org.foray.fotree.fo.prop

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


     * issues.
     * @return The font-variant property.
     */
    public org.axsl.font.Font.Variant getFontVariant(final FObj fobj,
            final FoContext context) {
        PdFontVariant property = (PdFontVariant) getProperty(
                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


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

TOP

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

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.