Examples of PdFontWeight


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

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

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

        }
        case FONT_VARIANT: {
            return new PdFontVariant(fobj, propertyFullName, attributeValue);
        }
        case FONT_WEIGHT: {
            return new PdFontWeight(fobj, propertyFullName, attributeValue);
        }
        case FORCE_PAGE_COUNT: {
            return new PdForcePageCount(fobj, propertyFullName, attributeValue);
        }
        case FORMAT: {
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.