title: Using OpenOffice from C# to convert File Formats
body: <p>Has anyone used the <a href="http://en.wikipedia.org/wiki/Command-line_interface" rel="nofollow noreferrer">CLI</a> libraries from <a href="http://en.wikipedia.org/wiki/OpenOffice.org" rel="nofollow noreferrer">OpenOffice</a> that allow to use it from a .NET application?
  I'm trying to save a document in HTML format in the following way.</p>
  
  <p>You define a property that is passed as parameter to the save method.
  In this case I found the example to save the document as Microsoft Word 97, and it is done giving the property a name like "FilterName" and the string value "swriter: MS Word 97". </p>
  
  <p>The issue is that they don't have documented what is the string value for saving as an HTML Document.</p>
  
  <p>Here is the code:</p>
  
  <pre><code> propertyValues[1] = new unoidl.com.sun.star.beans.PropertyValue();
   propertyValues[1].Name = "FilterName";
   propertyValues[1].Value = new uno.Any("swriter: MS Word 97");
  
   XStorable xStorable = xComponent as XStorable;
   xStorable.storeToURL(PathConverter(FileName), propertyValues);
  </code></pre>
  
  <p>Where can I find the source code of the OpenOffice so I can trace it?</p>