Package org.axsl.fo.fo

Examples of org.axsl.fo.fo.RegionBody


                && this.traitColumnCount() == 1) {
            return this;
        }
        // The requirements do not match, so we need to create a new span area.
        int numColumns = 0;
        final RegionBody body = this.traitGeneratedBy();
        if (fo.traitSpan(this) == Span.ALL) {
            numColumns = 1;
        } else {
            numColumns = body.traitColumnCount(this);
        }
        final MainRA main = (MainRA) this.getParent();
        final SpanRA spanArea = SpanRA.makeSpanArea(body, main, numColumns);
        return spanArea;
    }
View Full Code Here


    /**
     * Returns the page master that generated this page.
     * @return The page master that generated this page.
     */
    public SimplePageMaster getPageMaster() {
        final RegionBody rb = traitGeneratedBy();
        return rb.getPage();
    }
View Full Code Here

TOP

Related Classes of org.axsl.fo.fo.RegionBody

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.