It is currently Sun Nov 24, 2024 5:28 pm
public class DocxTest {
public static void main(String[] args) {
WordprocessingMLPackage wordMLPackage;
try {
wordMLPackage = WordprocessingMLPackage.load(new java.io.File("C:\\modelo.docx"));
} catch (Docx4JException e) {
e.printStackTrace();
}
}
}
...log4j:WARN No appenders could be found for logger (org.docx4j.openpackaging.parts.PartName).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
JAXB: RI not present. Trying Java 6 implementation.
JAXB: Using Java 6 implementation.
Total posts 10111 • Total topics 2842 • Total members 2074