Re: [api-dev] Developing a tool to recognise MS Office file types ( .doc, .xls, .mdb, .ppt )

2009-06-25 Thread Mathias Bauer
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 open

Re: [api-dev] Re: Developing a tool to recognise MS Office file types ( .doc, .xls, .mdb, .ppt )

2009-06-25 Thread RKVS Raman
Have a look at http://api.openoffice.org/docs/common/ref/com/sun/star/document/ExtendedTypeDetection.html it might help. Best Regards -Raman On Thu, Jun 25, 2009 at 1:28 PM, Professional wrote: > The files is supposed to be recognised based on the file contents, not the > extension. :) > >

[api-dev] Developing a tool to recognise MS Office file types ( .doc, .xls, .mdb, .ppt )

2009-06-25 Thread Professional
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

[api-dev] Re: Developing a tool to recognise MS Office file types ( .doc, .xls, .mdb, .ppt )

2009-06-25 Thread Professional
The files is supposed to be recognised based on the file contents, not the extension. :) On Thu, Jun 25, 2009 at 9:54 AM, 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).