Examples of FObj


Examples of org.foray.fotree.FObj

        final FoDocumentReader reader = FoDocumentReader.getInstance();
        final FOTreeBuilder foTree = reader.buildFoTree(
                "fo/font-family-001.fo");
        final Flow flow = this.getFlow(foTree);

        FObj node = flow.getChildAt(0);
        assertTrue(node instanceof Block);
        Block block = (Block) node;
        String[] fontFamilies = block.traitFontFamily(null);
        assertEquals(1, fontFamilies.length);
        /* The default font-family is "serif". */
 
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.