Package org.foray.fotree

Examples of org.foray.fotree.FObj


    /**
     * {@inheritDoc}
     */
    public FontUse inlinePrimaryFont(final FoContext context) {
        final FObj effectiveParent = effectiveParent(context);
        return effectiveParent.getPrimaryFont(context);
    }
View Full Code Here


    /**
     * {@inheritDoc}
     */
    public FontUse inlineSecondaryFont(final FoContext context, final char c) {
        final FObj effectiveParent = effectiveParent(context);
        return effectiveParent.getSecondaryFont(context, c);
    }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public int inlineFontSize(final FoContext context) {
        final FObj effectiveParent = effectiveParent(context);
        return effectiveParent.traitFontSize(context);
    }
View Full Code Here

     */
    public FoValue getValue(final FoContext context, final FObj fobj) {
        if (value().canEvalKeyword()) {
            final FoValue keyword = this.convertValueToFoValue(value());
            if (keyword == FoValue.INHERIT) {
                final FObj parent = fobj.effectiveParent(context);
                if (parent != null) {
                    return getInheritedValue(context, parent);
                }
                return getValueNoInstance();
            }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public int inlineLetterSpacingOptimum(final FoContext context) {
        final FObj effectiveParent = effectiveParent(context);
        return effectiveParent.traitLetterSpacingOpt(context);
    }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public int inlineWordSpacingOptimum(final FoContext context) {
        final FObj effectiveParent = effectiveParent(context);
        return effectiveParent.traitWordSpacingOpt(context);
    }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public boolean inlineWrapOption(final FoContext context) {
        final FObj effectiveParent = effectiveParent(context);
        return effectiveParent.traitWrapOption(context)
                == WrapOption.WRAP;
    }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public boolean inlineHyphenate(final FoContext context) {
        final FObj effectiveParent = effectiveParent(context);
        return effectiveParent.traitHyphenate(context);
    }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public Language inlineLanguage(final FoContext context) {
        final FObj effectiveParent = effectiveParent(context);
        return effectiveParent.traitLanguage(context);
    }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public Country inlineCountry(final FoContext context) {
        final FObj effectiveParent = effectiveParent(context);
        return effectiveParent.traitCountry(context);
    }
View Full Code Here

TOP

Related Classes of org.foray.fotree.FObj

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.