Professional wrote: > Dear Sir/Madam, > > I am supposed to develop a tool which can identify the correct > Microsoft Office File types (.doc, .xls, .mdb, .ppt). The tool will take an > MS office file ( .doc, .xls, .mdb, .ppt) as input and will return the file > type. OpenOffice opens the correct type of application for each of these MS > office files so it means OpenOffice have some way to differenciate between > MS office file types. Can you please help me with this problem? Any > OpenOffice library which can be helpful to me? anything else you want > suggest?
OOo has a library (sot) that is able to load the OLE storage format. One of the sub streams in such a storage tells the format. Using the sot library of OOo standalone is not possible, you will need some others too. Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[email protected]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
