Package org.axsl.fo.fo

Examples of org.axsl.fo.fo.ListItem


    private void validateFunctionHeritage(final int functionType,
            final FObj fobj) throws PropertyException {
        switch (functionType) {
        case Function.BODY_START: {
            /* TODO: Provide the right context. */
            final ListItem listItem = fobj.getNearestListItem(null);
            if (listItem == null) {
                throw new PropertyException("body-start() called from outside "
                        + "an fo:list-item");
            }
            break;
        }
        case Function.LABEL_END: {
            /* TODO: Provide the right context. */
            final ListItem listItem = fobj.getNearestListItem(null);
            if (listItem == null) {
                throw new PropertyException("label-end() called from outside "
                        + "an fo:list-item");
            }
            break;
View Full Code Here


        final ListBlockArea blockArea = bcArea.makeListBlockArea(this.node,
                graftingPoint);

        final int numChildren = this.node.getChildCount();
        for (int i = listBlockPL.getProgress(); i < numChildren; i++) {
            final ListItem listItem = (ListItem) this.node.getChildAt(i);
            final ListItemPL listItemPL = (ListItemPL) getLayoutProxy(
                    listItem);
            Status status = listItemPL.layout(blockArea, graftingPoint);
            if (status.isIncomplete()) {
                if (status == Status.AREA_FULL_NONE && i > 0) {
View Full Code Here

TOP

Related Classes of org.axsl.fo.fo.ListItem

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.