/** * Removes Structured Document Tags from the main document part, headers, and footer, * preserving their contents. * * @param wordMLPackage * The docx package to modify (in situ). * * @throws Docx4JException * In case any transformation error occurs. * @since 6.1.0 */ public void removeSDTs(WordprocessingMLPackage wordMLPackage) throws Docx4JException { removeSDTs(wordMLPackage, getQuantifier() , (String[])null); }
/** * Removes Structured Document Tags from a document part, preserving their * contents. * * In case key "empty" is specified, value bindings (xpath) are removed only * if they have void contents (e.g. the XML points nowhere). * * @param part * The document part to modify (in situ). * @param quantifier * The quantifier regarding which kinds of parts are to be * removed. * @param keys * In case of {@link Quantifier#NAMED}, quantifier names. All * strings except "xpath", "condition", "repeat", "empty" are * ignored. * @throws Docx4JException * In case any transformation error occurs. */ public void removeSDTs(final JaxbXmlPart<? extends Object> part) throws Docx4JException { removeSDTs(part, getQuantifier() , (String[])null); }
/** * Removes Structured Document Tags from the main document part, headers, and footer, * preserving their contents. * * @param wordMLPackage * The docx package to modify (in situ). * * @throws Docx4JException * In case any transformation error occurs. * @since 6.1.0 */ public void removeSDTs(WordprocessingMLPackage wordMLPackage) throws Docx4JException { removeSDTs(wordMLPackage, getQuantifier() , (String[])null); }
/** * Removes Structured Document Tags from a document part, preserving their * contents. * * In case key "empty" is specified, value bindings (xpath) are removed only * if they have void contents (e.g. the XML points nowhere). * * @param part * The document part to modify (in situ). * @param quantifier * The quantifier regarding which kinds of parts are to be * removed. * @param keys * In case of {@link Quantifier#NAMED}, quantifier names. All * strings except "xpath", "condition", "repeat", "empty" are * ignored. * @throws Docx4JException * In case any transformation error occurs. */ public void removeSDTs(final JaxbXmlPart<? extends Object> part) throws Docx4JException { removeSDTs(part, getQuantifier() , (String[])null); }