Examples of traitFontVariant()


Examples of org.foray.fotree.FObj.traitFontVariant()

     */
    public static Font.Variant getValueNoInstance(final FoContext context,
            final FObj fobj) {
        final FObj parent = fobj.effectiveParent(context);
        if (parent != null) {
            return parent.traitFontVariant(context);
        }
        return Font.Variant.NORMAL;
    }

    /**
 
View Full Code Here

Examples of org.foray.fotree.FObj.traitFontVariant()

    /**
     * {@inheritDoc}
     */
    public boolean inlineIsFauxSmallCaps(final FoContext context) {
        final FObj effectiveParent = effectiveParent(context);
        if (effectiveParent.traitFontVariant(context)
                != Font.Variant.SMALL_CAPS) {
            return false;
        }
        /*
         * TODO: The other thing we would like to do here is see whether the
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.