org.docx4j.jaxb.McIgnorableNamespaceDeclarator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docx4j-core Show documentation
Show all versions of docx4j-core Show documentation
docx4j is a library which helps you to work with the Office Open
XML file format as used in docx
documents, pptx presentations, and xlsx spreadsheets.
/**
*
*/
package org.docx4j.jaxb;
/**
* Docx4j will ensure that each namespace in mc:Ignorable is properly declared
* (as it needs to be in order for Office to open the file),
* but if you add mc:Ignorable content, it is still generally up to you to set the mc:Ignorable
* attribute correctly. Exceptions are DocumentSettingsPart, where docx4j
* tries to set it correctly for you, and pptx where currently "v" is assumed.
*
* Note that there is a difference between the prefixes which need to be
* in mc:Ignorable, and the requirement to pre-declare namespaces used
* in mc:Choice (eg Requires="wpg")
*
* But since both require the namespace to be pre-declared, this mechanism is
* used for both. (search for getMcChoiceNamespaces)
*
* @author jharrop
*/
public interface McIgnorableNamespaceDeclarator {
public void setMcIgnorable(String mcIgnorable);
}