Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create .odt files with C#.NET?

Note: I found this "Creating a Word Doc in C#.NET", but that is not what I want.

Do you know how to create a .odt to create file from C# .NET?
Is there a .NET component or wrapper for an OpenOffice.org library to do this?

like image 734
Rodrigo Amaya Avatar asked Oct 21 '08 22:10

Rodrigo Amaya


3 Answers

Have a look at AODL (see http://odftoolkit.org/projects/odftoolkit/pages/AODL).

  • fully managed .NET 1.1 (so it runs on MS.Net and Mono)
  • support for text and spreadsheet documents
  • create, read, edit, save documents
  • ...

EDIT by kame: New link AODL-Wiki

like image 139
bmotmans Avatar answered Sep 21 '22 03:09

bmotmans


You can check out the OASIS Standards site for information on the ODT standard. From what I've seen, they're using an XML based standard and have an XSD available for the the document standard, so you could use that in conjunction with your own code to build a document file in the proper format.

like image 30
Dillie-O Avatar answered Sep 20 '22 03:09

Dillie-O


You might be interested in OpenOffice, UNO CLI Language Binding.

like image 36
VolkerK Avatar answered Sep 19 '22 03:09

VolkerK