cancel
Showing results for 
Search instead for 
Did you mean: 

Support of OpenOffice/StarOffice documents for indexing

dbrunner
Champ in-the-making
Champ in-the-making
Is the StarOffice/OpenOffice (OpenDocument or OpenOffice 1.x) file format supported for indexing and search ?

I tried to store some StarOffice documents, and I can't search in the content. It's working with Office ord PDF documents.

Thanks in advance for your help.
Daniel
7 REPLIES 7

derek
Star Contributor
Star Contributor
Hi,

What file extensions are you interested in?  .sxw, .odt …

These have to be enabled in the UnoContentTransformer code.  I'll enable and test the sxw and odt quickly.

Regards

derek
Star Contributor
Star Contributor
Hi,

I have enabled and tested the .sxw and .odt to .txt transformations.  To enable yourself, add the following to UnoContentTransformer:

        formatsByConversion.put(
                new ContentTransformerRegistry.TransformationKey(MimetypeMap.MIMETYPE_OPENOFFICE_WRITER, MimetypeMap.MIMETYPE_TEXT_PLAIN),
                new DocumentFormatWrapper(DocumentFormat.TEXT, 1.0));
        formatsByConversion.put(
                new ContentTransformerRegistry.TransformationKey(MimetypeMap.MIMETYPE_OPENDOCUMENT_TEXT, MimetypeMap.MIMETYPE_TEXT_PLAIN),
                new DocumentFormatWrapper(DocumentFormat.TEXT, 1.0));
The checkin was done as revision 2125 (svn://www.alfresco.org).

Thanks for pointing this out and I hope it helps.

Regards

dbrunner
Champ in-the-making
Champ in-the-making
I didn't try until now, but I am interested in the sxw, sxc, sxi and the corresponding OpenDocument formats.

It would be nice to also include sdw, sdc and the sdi documents.

Thanks.
Daniel

derek
Star Contributor
Star Contributor
Hi,

I have added this as a task to be done for the 1.2 release: http://www.alfresco.org/jira/browse/AR-345

Regards

dbrunner
Champ in-the-making
Champ in-the-making
How can I download the revision 2125 ? May be you can send me just the corresponding jar so that I can install on my system ?

Daniel

kevinr
Star Contributor
Star Contributor
The SVN repository and nightly builds are available:

http://www.alfresco.org/forums/viewtopic.php?t=563&highlight=subversion

dbrunner
Champ in-the-making
Champ in-the-making
Thanks for all. Pleaser also add support in V1.2 for the older StarOffice 5.2 file formats (*.sdw, *.sdi, *.sdc, *.sdd).

Daniel