Examples of traitIpDimensionOpt()


Examples of org.axsl.fo.fo.Table.traitIpDimensionOpt()

     */
    private int calcAutoColumnWidths() {
        /* For "auto" column width, start by just making all of the columns
         * equal. */
        final Table table = this.traitGeneratedBy();
        final int tableWidth = table.traitIpDimensionOpt(this);
        if (this.resolvedColumnWidth.length < 1) {
            /* TODO: Consider throwing an exception here. */
            return 0;
        }
        final int colWidth = tableWidth / this.resolvedColumnWidth.length;
View Full Code Here

Examples of org.axsl.fo.fo.Table.traitIpDimensionOpt()

            maxIPD = table.traitIpDimensionMax(this);
        } else {
            maxIPD = maxAllocationIPD;
        }

        if (table.traitIpDimensionOpt(this) < 0) {
            optIPD = -1;
        } else {
            optIPD = table.traitIpDimensionOpt(this);
        }
View Full Code Here

Examples of org.axsl.fo.fo.Table.traitIpDimensionOpt()

        }

        if (table.traitIpDimensionOpt(this) < 0) {
            optIPD = -1;
        } else {
            optIPD = table.traitIpDimensionOpt(this);
        }

        if (table.traitIpDimensionMin(this) < 0) {
            minIPD = -1;
        } else {
View Full Code Here

Examples of org.axsl.fo.fo.Table.traitIpDimensionOpt()

            throw new IllegalStateException("Attempted to get the width of "
                    + "the nearest table in a context that is not inside a "
                    + "table.");
        }
        final Table table = tableRA.traitGeneratedBy();
        return table.traitIpDimensionOpt(tableRA);
    }

    /**
     * {@inheritDoc}
     */
 
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.