Package org.axsl.fo.fo

Examples of org.axsl.fo.fo.ExternalGraphic


        if (nonTextToUse instanceof InstreamForeignObject) {
            final InstreamForeignObject ifo = (InstreamForeignObject)
                    nonTextToUse;
            factory.makeForeignObjectArea(ifo, sizeInline, graftingPoint);
        } else if (nonTextToUse instanceof ExternalGraphic) {
            final ExternalGraphic graphic = (ExternalGraphic) nonTextToUse;
            factory.makeExternalGraphicArea(graphic, sizeInline,
                    graftingPoint);
        } else if (nonTextToUse instanceof Leader) {
            final Leader leader = (Leader) nonTextToUse;
            try {
View Full Code Here


    /**
     * Returns the bpd of the viewport for this area.
     * @return The bpd of the viewport for this area.
     */
    public int viewportBPD() {
        final ExternalGraphic eg = this.traitGeneratedBy();
        return eg.viewportBpd(this);
    }
View Full Code Here

    /**
     * Returns the ipd of the viewport for this area.
     * @return The ipd of the viewport for this area.
     */
    public int viewportIPD() {
        final ExternalGraphic eg = this.traitGeneratedBy();
        return eg.viewportIpd(this);
    }
View Full Code Here

TOP

Related Classes of org.axsl.fo.fo.ExternalGraphic

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.