Package org.foray.area

Examples of org.foray.area.RegionRABody


     * @return The first normal-flow reference area in {@code areaTree}.
     */
    protected NormalFlowRA getFirstNormalFlowArea(final AreaTree areaTree) {
        final PageCollection pageCollection = getPageCollection(areaTree, 1);
        final PageRA firstPage = getPage(pageCollection, 1);
        final RegionRABody regionBody = firstPage.getRegionBody(
                "xsl-region-body");
        final MainRA main = regionBody.getMainRefArea();
        AreaNode node = main.getChildAt(0);
        assertTrue(node instanceof SpanRA);
        final SpanRA span = (SpanRA) node;
        node = span.getChildAt(0);
        assertTrue(node instanceof NormalFlowRA);
View Full Code Here

TOP

Related Classes of org.foray.area.RegionRABody

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.