/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { XmlPartManagerBase } from "./XmlPartManagerBase";
import { SgmlReader } from "./SgmlReader";
import { StreamReader } from "igniteui-angular-core";
import { markType } from "igniteui-angular-core";
/**
 * @hidden
 */
export class VmlDrawingPartManager extends XmlPartManagerBase {
    constructor(a) {
        super();
        this.a2 = false;
        this.a2 = a;
    }
    get_m() {
        return VmlDrawingPartManager.a6;
    }
    get m() {
        return this.get_m();
    }
    a0() {
        return ((() => {
            let $ret = new SgmlReader();
            $ret._b7 = new StreamReader(this.l);
            return $ret;
        })());
    }
    n(a) {
        if (this.a2) {
            switch (a) {
                case 1: return "/theme/drawings/vmlDrawing.vml";
                default: return null;
            }
        }
        else {
            switch (a) {
                case 0: return "/xl/drawings/vmlDrawing.vml";
                case 1: return "/word/drawings/vmlDrawing.vml";
                default: return null;
            }
        }
    }
    o(a) {
        switch (a) {
            case 0:
            case 1: return VmlDrawingPartManager.a7;
            default: return VmlDrawingPartManager.a7;
        }
    }
    get_g() {
        return true;
    }
    get g() {
        return this.get_g();
    }
}
VmlDrawingPartManager.$t = markType(VmlDrawingPartManager, 'VmlDrawingPartManager', XmlPartManagerBase.$);
VmlDrawingPartManager.a6 = "application/vnd.openxmlformats-officedocument.vmlDrawing";
VmlDrawingPartManager.a7 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing";
//# sourceMappingURL=VmlDrawingPartManager.js.map