"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CNvPicPrXform = void 0;
const base_xform_1 = require("../base-xform.js");
class CNvPicPrXform extends base_xform_1.BaseXform {
    get tag() {
        return "xdr:cNvPicPr";
    }
    render(xmlStream) {
        xmlStream.openNode(this.tag);
        xmlStream.leafNode("a:picLocks", {
            noChangeAspect: "1"
        });
        xmlStream.closeNode();
    }
    parseOpen(node) {
        switch (node.name) {
            case this.tag:
                return true;
            default:
                return true;
        }
    }
    parseText() { }
    parseClose(name) {
        switch (name) {
            case this.tag:
                return false;
            default:
                // unprocessed internal nodes
                return true;
        }
    }
}
exports.CNvPicPrXform = CNvPicPrXform;
