Examples of traitHyphenationCharacter()


Examples of org.axsl.fo.fo.Block.traitHyphenationCharacter()

            final CharacterSequence character = (CharacterSequence) generatedBy;
            return character.traitHyphenationCharacter(this);
        } else {
            final NormalBlockArea blockArea = this.ancestorNormalBlockArea();
            final Block block = blockArea.traitGeneratedBy();
            return block.traitHyphenationCharacter(blockArea);
        }
    }

    /**
     * Returns the "generated-by" cast as a Character formatting object if it
View Full Code Here

Examples of org.axsl.fo.fo.CharacterSequence.traitHyphenationCharacter()

    public int traitHyphenationCharacter() {
        /* TODO: Clean this method up after we clean up the construction. */
        final Fo generatedBy = this.traitGeneratedBy();
        if (generatedBy instanceof CharacterSequence) {
            final CharacterSequence character = (CharacterSequence) generatedBy;
            return character.traitHyphenationCharacter(this);
        } else {
            final NormalBlockArea blockArea = this.ancestorNormalBlockArea();
            final Block block = blockArea.traitGeneratedBy();
            return block.traitHyphenationCharacter(blockArea);
        }
View Full Code Here

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

    /**
     * {@inheritDoc}
     */
    public int inlineHyphenationCharacter(final FoContext context) {
        final FObj effectiveParent = effectiveParent(context);
        return effectiveParent.traitHyphenationCharacter(context);
    }

    /**
     * {@inheritDoc}
     */
 
View Full Code Here

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

     */
    public static int getValueNoInstance(final FoContext context,
            final FObj fobj) {
        final FObj parent = fobj.effectiveParent(context);
        if (parent != null) {
            return parent.traitHyphenationCharacter(context);
        }
        /* TODO: The standard calls for 0x2010, but we need to handle that
         * downstream better for fonts that don't have it. */
        // return 0x2010;
        return '-';
View Full Code Here

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

    /**
     * {@inheritDoc}
     */
    public int inlineHyphenationCharacter(final FoContext context) {
        final FObj effectiveParent = effectiveParent(context);
        return effectiveParent.traitHyphenationCharacter(context);
    }

    /**
     * {@inheritDoc}
     */
 
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.