Package org.axsl.fo

Examples of org.axsl.fo.Fo


    public Status layout(final AreaNode areaNode,
            final GraftingPoint graftingPoint) throws AreaTreeException {
        final int numChildren = this.node.getChildCount();

        for (int i = 0; i < numChildren; i++) {
            final Fo fo = this.node.getChildAt(i);

            Status status = getLayoutProxy(fo).layout(areaNode, graftingPoint);
            if (status.isIncomplete()) {
                /* in fact all should be laid out and clip, error etc depending
                 * on 'overflow' */
 
View Full Code Here


     * @return The baseline shift, in millipoints.
     */
    public int traitBaselineShift() {
        /* TODO: Add an "Inline" super-interface to the aXSL FO Tree stuff so
         * that this can be cleaned up. */
        final Fo generatedBy = traitGeneratedBy();
        if (generatedBy instanceof BaselineShiftPa) {
            final BaselineShiftPa baselineShiftFo = (BaselineShiftPa)
                    generatedBy;
            final int baselineShift = baselineShiftFo.traitBaselineShift(this);
            return baselineShift;
View Full Code Here

TOP

Related Classes of org.axsl.fo.Fo

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.