Package org.axsl.galley

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


        /* 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

Related Classes of org.axsl.galley.BackgroundArea

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.