Package org.axsl.text.line

Examples of org.axsl.text.line.LineNonText


            throws TextException {
        checkLayoutTarget(lineOutput);
        final LineArea lineArea = (LineArea) lineOutput;
        GraftingPoint graftingPoint = null;

        LineNonText nonTextToUse = nonText;
        if (nonTextToUse instanceof org.axsl.fo.FoLineNonText) {
            final FoLineNonText foLineNonText = (FoLineNonText) nonTextToUse;
            graftingPoint = foLineNonText.getGraftingPoint();
            nonTextToUse = foLineNonText.getWrapped();
        }
View Full Code Here


        if (! hasNext()) {
            throw new NoSuchElementException("No more elements in " + this.getClass().getName());
        }
        final LineContent lineContent = this.lineContentList.get(this.lineContentIndex);
        if (lineContent instanceof LineNonText) {
            final LineNonText lineNonText = (LineNonText) lineContent;
            final int optimum = lineNonText.inlineSizeOptimum(1);
            final int minimum = lineNonText.inlineSizeMinimum(1);
            final int maximum = lineNonText.inlineSizeMaximum(1);
            this.lineContentIndex ++;
            return new LbGlue4a(optimum, maximum - optimum, optimum - minimum);
        }
        if (lineContent instanceof LineText) {
            final LineText lineText = (LineText) lineContent;
View Full Code Here

TOP

Related Classes of org.axsl.text.line.LineNonText

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.