Translations:Faq/Calc/039/6/en

From The Document Foundation Wiki
Jump to: navigation, 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">
           <value>com.sun.star.comp.calc.FormatDetector</value>
        </prop> 
        <prop oor:name="URLPattern"/> 
        <prop oor:name="Extensions">
           '''<value>csv txt xls</value>'''
        </prop> 
        <prop oor:name="MediaType">
           <value>text/plain</value>
        </prop> 
        <prop oor:name="Preferred">
           <value>false</value>
        </prop> 
        <prop oor:name="PreferredFilter">
           <value>Text - txt - csv (StarCalc)</value>
        </prop> 
        <prop oor:name="UIName">
           <value>Text - txt - csv (StarOffice Calc)</value> 
        </prop> 
         <prop oor:name="ClipboardFormat"/>
     </node>
    

    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>