How to use the word/document2.xml function in word

To help you get started, we’ve selected a few word examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github alonrbar / easy-template-x / src / fileType.ts View on Github external
public static isDocx(zipFile: JSZip): boolean {
        return !!(zipFile.files["word/document.xml"] || zipFile.files["word/document2.xml"]);
    }
github alonrbar / easy-template-x / dist / easy-template-x.js View on Github external
function isDocx(zipFile) {
        return !!(zipFile.files["word/document.xml"] || zipFile.files["word/document2.xml"]);
    }
    FileType.isDocx = isDocx;
github alonrbar / easy-template-x / src / templateSpec / docxTemplateSpec.ts View on Github external
public mainFilePath(zip: JSZip): string {
        if (zip.files["word/document.xml"]) {
            return "word/document.xml";
        }
        if (zip.files["word/document2.xml"]) {
            return "word/document2.xml";
        }
        return undefined;
    }
}
github alonrbar / easy-template-x / dist / easy-template-x.js View on Github external
DocxParser.prototype.mainFilePath = function (zip) {
        if (zip.files["word/document.xml"]) {
            return "word/document.xml";
        }
        if (zip.files["word/document2.xml"]) {
            return "word/document2.xml";
        }
        return undefined;
    };
    DocxParser.prototype.splitTextNode = function (textNode, splitIndex, addBefore) {

word

Word Processing Document library

Apache-2.0
Latest version published 4 years ago

Package Health Score

70 / 100
Full package analysis