4.13 Understanding and Configuring Document Conversions with OpenOffice

Kablink Vibe uses OpenOffice to perform document conversions. Documents undergo two types of conversions:

If OpenOffice is crashing with certain file types during either of the conversion processes, you can restrict the problematic file types from being converted.

In order to determine if OpenOffice is crashing during word conversion or HTML conversion, you need to carefully examine the server log file. After you determine where OpenOffice is crashing, continue with the appropriate section:

4.13.1 Excluding File Types from Being Indexed to the Vibe Site

IMPORTANT:Performing the following procedure causes the file types that you specify to be excluded from searches performed in Vibe.

  1. Change to the following directory:

    Linux:

    /opt/novell/teaming/apache-tomcat/
                               webapps/ssf/WEB-INF/classes/config
    

    Windows:

    c:\Program Files\Novell\Teaming\apache-tomcat\
                               webapps\ssf\WEB-INF\classes\config
    
  2. Open the ssf.properties file in a text editor.

  3. Search for the following line:

    exclude.from.openoffice.indexing.extensions=
    
  4. Make a backup copy of the ssf-ext.properties file, which is located in the same directory as the ssf.properties file.

  5. Open the ssf-ext.properties file in a text editor.

  6. Copy the exclude.from.openoffice.indexing.extensions= line from the ssf.properties file to the bottom of the ssf-ext.properties file.

  7. Add the file types that are causing OpenOffice to crash to be the value of this property. For example, exclude.from.openoffice.indexing.extensions=.pptx,.odf

  8. Save and close the ssf-ext.properties file.

  9. Close the ssf.properties file without saving it.

  10. Stop and restart Vibe.

4.13.2 Excluding File Types from Being Displayed in HTML

Files are displayed in HTML view when you click the VIEW link next to a filename. If OpenOffice crashes during this HTML conversion process with certain files, you can exclude the problematic file types from being converted. These file types can then no longer be viewed in HTML.

  1. Change to the following directory:

    Linux:

    /opt/novell/teaming/apache-tomcat/
                               webapps/ssf/WEB-INF/classes/config
    

    Windows:

    c:\Program Files\Novell\Teaming\apache-tomcat\
                               webapps\ssf\WEB-INF\classes\config
    
  2. Open the ssf.properties file in a text editor.

  3. Search for the following line:

    view.as.html.file.openoffice.extensions=
    
  4. Make a backup copy of the ssf-ext.properties file, which is located in the same directory as the ssf.properties file.

  5. Open the ssf-ext.properties file in a text editor.

  6. Copy the view.as.html.file.openoffice.extensions= line from the ssf.properties file to the bottom of the ssf-ext.properties file.

  7. Remove the file types from the value of this property that are causing OpenOffice to crash.

  8. Save and close the ssf-ext.properties file.

  9. Close the ssf.properties file without saving it.

  10. Stop and restart Vibe.