Examples of crBpd()


Examples of org.foray.area.LineArea.crBpd()

         * 720,000 - 1,200 = 718,800. */
        assertEquals(718800, lineArea.crOriginY());
        /* Same as parent. */
        assertEquals(432000, lineArea.crIpd());
        /* Default font-size is 12 points. */
        assertEquals(12000, lineArea.crBpd());

        /* The second child of the outer block area is a block-area. */
        node = outerBlockArea.getChildAt(1);
        assertTrue(node instanceof NormalBlockArea);
        final NormalBlockArea insideBlockArea = (NormalBlockArea) node;
View Full Code Here

Examples of org.foray.area.LineArea.crBpd()

         * 705,600 - 1,200 = 704,400. */
        assertEquals(704400, lineArea.crOriginY());
        /* Same as parent. */
        assertEquals(432000, lineArea.crIpd());
        /* Same as the first line. */
        assertEquals(12000, lineArea.crBpd());

        /* The fourth child of the outer block area is another line-area. */
        node = outerBlockArea.getChildAt(3);
        assertTrue(node instanceof LineArea);
        lineArea = (LineArea) node;
View Full Code Here

Examples of org.foray.area.LineArea.crBpd()

         * 704,400 - 12,000 - 1,200 - 1,200 = 690,000. */
        assertEquals(690000, lineArea.crOriginY());
        /* Same as parent. */
        assertEquals(432000, lineArea.crIpd());
        /* Same as the other lines. */
        assertEquals(12000, lineArea.crBpd());
    }

    /**
     * Test of fo/block-002.fo.
     * @throws FOrayException For errors creating the FO Tree or Area Tree.
View Full Code Here

Examples of org.foray.area.NormalBlockArea.crBpd()

         * 718,800 - 12,000 - 1,200 = 705,600. */
        assertEquals(705600, insideBlockArea.crOriginY());
        /* Same as parent. */
        assertEquals(432000, insideBlockArea.crIpd());
        /* Height of 0, as it has no content. */
        assertEquals(0, insideBlockArea.crBpd());

        /* The third child of the outer block area is another line-area. */
        node = outerBlockArea.getChildAt(2);
        assertTrue(node instanceof LineArea);
        lineArea = (LineArea) node;
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.