Package org.foray.fotree.fo.obj

Examples of org.foray.fotree.fo.obj.RegionBody


            return new RegionBefore(simplePageMaster, propertyList);
        }
        case REGION_BODY: {
            final SimplePageMaster simplePageMaster = parentSimplePageMaster(
                    enumeration, parent, locator);
            return new RegionBody(simplePageMaster, propertyList);
        }
        case REGION_END: {
            final SimplePageMaster simplePageMaster = parentSimplePageMaster(
                    enumeration, parent, locator);
            return new RegionEnd(simplePageMaster, propertyList);
View Full Code Here


            }
        }
        if (value().canEvalPercentage()) {
            int base = 0;
            if (fobj instanceof RegionBody) {
                final RegionBody rb = (RegionBody) fobj;
                base = rb.crWidth(context);
            }
            final float percentage = value().evalPercentage();
            return Math.round(percentage * base
                    / WKConstants.PERCENT_CONVERSION);
        }
View Full Code Here

TOP

Related Classes of org.foray.fotree.fo.obj.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.