If your program knows how to read the XML format used by Open Office, then you're in the money.