Examples of BackgroundArea


Examples of org.axsl.galley.BackgroundArea

     */
    public void outputPaddingRectangle(final Area area) {
        if (! (area instanceof BackgroundArea)) {
            return;
        }
        final BackgroundArea backgroundArea = (BackgroundArea) area;
        final StringBuilder buffer = new StringBuilder();
        outputAttribute(buffer, "x", backgroundArea.prOriginX());
        outputAttribute(buffer, "y", backgroundArea.prOriginY());
        outputAttribute(buffer, "ipd", backgroundArea.prIpd());
        outputAttribute(buffer, "bpd", backgroundArea.prBpd());
        this.writeEmptyElement("padding-rectangle", buffer);
    }
View Full Code Here

Examples of org.axsl.galley.BackgroundArea

        /* Render background Areas for the table-related background-only
         * areas. */
        final BackgroundArea[] backgroundAreas = area.getBackgroundAreas();
        if (backgroundAreas != null) {
            for (int i = 0; i < backgroundAreas.length; i++) {
                final BackgroundArea bga = backgroundAreas[i];
                markBackground(bga);
            }
        }
        /* TODO: Add logic that tries to paint the borders as efficiently
         * as possible. Contiguous cells that have identical borders should have
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.