views:

1974

answers:

4

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?

Thanks!

+1  A: 

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.

Dillie-O
+1  A: 

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

VolkerK
+3  A: 

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
  • ...
bmotmans
A: 

use UNO CLI components, do you want to create an ODT or a WORD document?

Basel Nimer