Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
<?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" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="odfdom-java-0.8.7-javadoc" level="project" />
</component>
</module>
import org.odftoolkit.odfdom.doc.OdfTextDocument;
import java.io.File;
public class Test {
public static void main(String args[]) throws Exception {
OdfTextDocument odt = OdfTextDocument.newTextDocument();
odt.addText("Check");
odt.save(new File("C:/myfile.odt"));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.