From The Document Foundation Wiki
Jump to navigation Jump to search

To open .TAB files with the CSV filter of LibreOffice, follow these instructions:

  1. Close LibreOffice and its quick launcher.
  2. Make a backup copy of the file <LibreOffice>/Basis/share/registry/calc.xcd
  3. Edit it.
  4. Search for this string: calc_Text_txt_csv_StarCalc. The second occurrence of the string will look like this:
     <node oor:name="'''calc_Text_txt_csv_StarCalc'''" oor:op="replace" > 
        <prop oor:name="DetectService">
        <prop oor:name="URLPattern"/> 
        <prop oor:name="Extensions">
           '''<value>csv txt xls</value>'''
        <prop oor:name="MediaType">
        <prop oor:name="Preferred">
        <prop oor:name="PreferredFilter">
           <value>Text - txt - csv (StarCalc)</value>
        <prop oor:name="UIName">
           <value>Text - txt - csv (StarOffice Calc)</value> 
         <prop oor:name="ClipboardFormat"/>

    Note : to save space, the return characters at the ends of the lines have been omitted in this file. This makes it difficult for human beings to read it. If you wish, you can insert the returns.

  5. Modify the line: <prop oor:name="Extensions"> <value>csv txt xls</value> </prop>