Package org.axsl.common.value

Examples of org.axsl.common.value.LineStackingStrategy


     * Indicates whether this line-area has a half-leading on both its before
     * and after edges.
     * @return True iff this line-area has space on either side of it.
     */
    private boolean hasSurroundingSpace() {
        final LineStackingStrategy lineStackingStrategy
                = traitLineStackingStrategy();
        switch(lineStackingStrategy) {
        case FONT_HEIGHT:
        case MAX_HEIGHT: {
            return true;
View Full Code Here


        /* See XSL-FO 1.1, Section 4.5 where the "height" of the allocation
         * rectangle is defined in terms of the line-stacking-strategy.
         * However, when the line is first created, it doesn't know what content
         * it will have, so we set it here to its minimum size. */
        int pd = this.nominalRequestedLrPd();
        final LineStackingStrategy lineStackingStrategy
                = traitLineStackingStrategy();
        switch(lineStackingStrategy) {
        case LINE_HEIGHT: {
            /* The allocation-rectangle must be at least big enough to enclose
             * the expanded-nominal-requested-line-rectangle, which is the
View Full Code Here

TOP

Related Classes of org.axsl.common.value.LineStackingStrategy

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.