Package org.docx4j.openpackaging.packages

Examples of org.docx4j.openpackaging.packages.WordprocessingMLPackage.filter()


    // Apply the filter
    WordprocessingMLPackage.FilterSettings filterSettings = new WordprocessingMLPackage.FilterSettings();
    filterSettings.setRemoveProofErrors(true);
    filterSettings.setRemoveContentControls(true);
    filterSettings.setRemoveRsids(true);
    wmlPackage.filter(filterSettings);
    // Note the filter is deprecated, since its questionable whether this
    // is important enough to live in WordprocessingMLPackage,
    // and in any case probably should be replaced with a TraversalUtil
    // approach (which wouldn't involve marshal/unmarshall, and
    // so should be more efficient).
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.