PsToPdfServicePOATie.java 1.66 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.ps2pdf;

import com.adobe.ps2pdf.*;
import org.omg.CORBA.ORB;
import org.omg.PortableServer.POA;

public class PsToPdfServicePOATie
extends PsToPdfServicePOA {
    private PsToPdfServiceOperations _delegate;
    private POA _poa;

    public PsToPdfServicePOATie(PsToPdfServiceOperations delegate) {
        this._delegate = delegate;
    }

    public PsToPdfServicePOATie(PsToPdfServiceOperations delegate, POA poa) {
        this._delegate = delegate;
        this._poa = poa;
    }

    public PsToPdfService _this() {
        return PsToPdfServiceHelper.narrow(this._this_object());
    }

    public PsToPdfService _this(ORB orb) {
        return PsToPdfServiceHelper.narrow(this._this_object(orb));
    }

    public PsToPdfServiceOperations _delegate() {
        return this._delegate;
    }

    public void _delegate(PsToPdfServiceOperations delegate) {
        this._delegate = delegate;
    }

    public POA _default_POA() {
        if (this._poa != null) {
            return this._poa;
        }
        return super._default_POA();
    }

    public void convertToPdf(PsToPdfFilePaths filePaths, PsToPdfFontPaths fontPaths, boolean bUsePrologue, long timeout) throws PsToPdfFailureException {
        this._delegate.convertToPdf(filePaths, fontPaths, bUsePrologue, timeout);
    }

    public FontsInFolder[] getFontsInFolder(PsToPdfFontPaths fontPaths, String folderPath) throws PsToPdfFailureException {
        return this._delegate.getFontsInFolder(fontPaths, folderPath);
    }

    public String getColorProfilesDirectory() throws PsToPdfFailureException {
        return this._delegate.getColorProfilesDirectory();
    }
}