Create a gist now

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="odfdom-java-0.8.7-javadoc" level="project" />
import org.odftoolkit.odfdom.doc.OdfTextDocument;
public class Test {
public static void main(String args[]) throws Exception {
OdfTextDocument odt = OdfTextDocument.newTextDocument();
odt.addText("Check"); File("C:/myfile.odt"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment