User Tools

Site Tools


applications:libreoffice

Applications - LibreOffice

Notes

Numbered Headings

Tested with LibreOffice 4.1.4.2.

To number the headings as:

1. Heading 1
1.1. Heading 2
1.1.1 Heading 3
  • Go to the Tools menu.
  • Select “Outline Numbering…”.
  • On the Numbering tab:
    • Select level 1.
    • Select “1, 2, 3, …” at Number.
    • “Show sublevels” should be greyed out.
    • Select level 2.
    • Select “1, 2, 3, …” at Number.
    • “Show sublevels” should be 2.
    • Select level 3.
    • Select “1, 2, 3, …” at Number.
    • “Show sublevels” should be 3.
    • Etc.
  • Click on OK.

The headings should now be numbered.

Source: LibreOfficeForum.org - Numbering for Heading 1, Heading 2

Setting the default save format

Tested with LibreOffice 3.4.4

Save the below as %INSTALLDIR%\share\registry\modules\org\openoffice\setup\Setup-calc.xcu to set the default save format for Calc to Office 2007/2010 XML (xlsx).

Change “Calc MS Excel 2007” to “MS Excel 97” to make .xls the default save format.

<?xml version="1.0"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:install="http://openoffice.org/2004/installation" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="Setup" oor:package="org.openoffice">
  <node oor:name="Office">
    <node oor:name="Factories">
      <node oor:name="com.sun.star.sheet.SpreadsheetDocument" oor:op="replace">
        <prop oor:name="ooSetupFactoryDocumentService" oor:finalized="true">
          <value>com.sun.star.sheet.SpreadsheetDocument</value>
        </prop>
        <prop oor:name="ooSetupFactoryCommandConfigRef">
          <value>CalcCommands</value>
        </prop>
        <prop oor:name="ooSetupFactoryActualFilter" oor:finalized="true">
          <value>calc8</value>
        </prop>
        <prop oor:name="ooSetupFactoryActualTemplateFilter" oor:finalized="true">
          <value>calc8_template</value>
        </prop>
        <prop oor:name="ooSetupFactoryDefaultFilter">
          <value>Calc MS Excel 2007 XML</value>
        </prop>
        <prop oor:name="ooSetupFactoryEmptyDocumentURL" oor:finalized="true">
          <value>private:factory/scalc</value>
        </prop>
        <prop oor:name="ooSetupFactoryWindowAttributes">
          <value>,,,;4;</value>
        </prop>
        <prop oor:name="ooSetupFactoryIcon">
          <value>4</value>
        </prop>
        <prop oor:name="ooSetupFactoryTemplateFile">
          <value></value>
        </prop>
        <prop oor:name="ooSetupFactoryShortName">
          <value>scalc</value>
        </prop>
        <prop oor:name="ooSetupFactoryUIName">
          <value>Calc</value>
        </prop>
        <prop oor:name="ooSetupFactoryWindowStateConfigRef">
          <value>CalcWindowState</value>
        </prop>
        <prop oor:name="ooSetupFactoryCmdCategoryConfigRef">
          <value>GenericCategories</value>
        </prop>
      </node>
    </node>
  </node>
</oor:component-data>

Save the below as %INSTALLDIR%\share\registry\modules\org\openoffice\setup\Setup-writer.xcu to set the default save format for Writer to Office 2007/2010 XML (docx).

Change “MS Word 2007 XML” to “MS Word 97” to make .doc the default save format.

<?xml version="1.0"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:install="http://openoffice.org/2004/installation" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="Setup" oor:package="org.openoffice">
  <node oor:name="Office">
    <node oor:name="Factories">
      <node oor:name="com.sun.star.text.GlobalDocument" oor:op="replace">
        <prop oor:name="ooSetupFactoryDocumentService" oor:finalized="true">
          <value>com.sun.star.text.GlobalDocument</value>
        </prop>
        <prop oor:name="ooSetupFactoryCommandConfigRef">
          <value>WriterCommands</value>
        </prop>
        <prop oor:name="ooSetupFactoryActualFilter" oor:finalized="true">
          <value>writerglobal8</value>
        </prop>
        <prop oor:name="ooSetupFactoryActualTemplateFilter" oor:finalized="true"/>
        <prop oor:name="ooSetupFactoryDefaultFilter">
          <value>writerglobal8</value>
        </prop>
        <prop oor:name="ooSetupFactoryEmptyDocumentURL" oor:finalized="true">
          <value>private:factory/swriter/GlobalDocument</value>
        </prop>
        <prop oor:name="ooSetupFactoryWindowAttributes">
          <value></value>
        </prop>
        <prop oor:name="ooSetupFactoryIcon">
          <value>11</value>
        </prop>
        <prop oor:name="ooSetupFactoryTemplateFile">
          <value></value>
        </prop>
        <prop oor:name="ooSetupFactoryShortName">
          <value>sglobal</value>
        </prop>
        <prop oor:name="ooSetupFactoryUIName">
          <value>Writer</value>
        </prop>
        <prop oor:name="ooSetupFactoryWindowStateConfigRef">
          <value>WriterGlobalWindowState</value>
        </prop>
        <prop oor:name="ooSetupFactoryCmdCategoryConfigRef">
          <value>GenericCategories</value>
        </prop>
      </node>
      <node oor:name="com.sun.star.text.TextDocument" oor:op="replace">
        <prop oor:name="ooSetupFactoryDocumentService" oor:finalized="true">
          <value>com.sun.star.text.TextDocument</value>
        </prop>
        <prop oor:name="ooSetupFactoryCommandConfigRef">
          <value>WriterCommands</value>
        </prop>
        <prop oor:name="ooSetupFactoryActualFilter" oor:finalized="true">
          <value>writer8</value>
        </prop>
        <prop oor:name="ooSetupFactoryActualTemplateFilter" oor:finalized="true">
          <value>writer8_template</value>
        </prop>
        <prop oor:name="ooSetupFactoryDefaultFilter">
          <value>MS Word 2007 XML</value>
        </prop>
        <prop oor:name="ooSetupFactoryEmptyDocumentURL" oor:finalized="true">
          <value>private:factory/swriter</value>
        </prop>
        <prop oor:name="ooSetupFactoryWindowAttributes">
          <value></value>
        </prop>
        <prop oor:name="ooSetupFactoryIcon">
          <value>2</value>
        </prop>
        <prop oor:name="ooSetupFactoryTemplateFile">
          <value></value>
        </prop>
        <prop oor:name="ooSetupFactoryShortName">
          <value>swriter</value>
        </prop>
        <prop oor:name="ooSetupFactoryUIName">
          <value>Writer</value>
        </prop>
        <prop oor:name="ooSetupFactoryWindowStateConfigRef">
          <value>WriterWindowState</value>
        </prop>
        <prop oor:name="ooSetupFactoryCmdCategoryConfigRef">
          <value>GenericCategories</value>
        </prop>
      </node>
      <node oor:name="com.sun.star.sdb.FormDesign" oor:op="replace">
        <prop oor:name="ooSetupFactoryDocumentService" oor:finalized="true">
          <value>com.sun.star.text.TextDocument</value>
        </prop>
        <prop oor:name="ooSetupFactoryActualFilter" oor:finalized="true">
          <value>writer8</value>
        </prop>
        <prop oor:name="ooSetupFactoryActualTemplateFilter" oor:finalized="true">
          <value>writer8_template</value>
        </prop>
        <prop oor:name="ooSetupFactoryDefaultFilter">
          <value>writer8</value>
        </prop>
        <prop oor:name="ooSetupFactoryEmptyDocumentURL" oor:finalized="true">
          <value>private:factory/swriter</value>
        </prop>
        <prop oor:name="ooSetupFactoryCommandConfigRef">
          <value>WriterCommands</value>
        </prop>
        <prop oor:name="ooSetupFactoryIcon">
          <value>2</value>
        </prop>
        <prop oor:name="ooSetupFactoryShortName">
          <value>swform</value>
        </prop>
        <prop oor:name="ooSetupFactoryUIName">
          <value xml:lang="en-US">Database Forms</value>
        </prop>
        <prop oor:name="ooSetupFactoryWindowStateConfigRef">
          <value>WriterFormWindowState</value>
        </prop>
        <prop oor:name="ooSetupFactoryCmdCategoryConfigRef">
          <value>GenericCategories</value>
        </prop>
      </node>
      <node oor:name="com.sun.star.sdb.TextReportDesign" oor:op="replace">
        <prop oor:name="ooSetupFactoryDocumentService" oor:finalized="true">
          <value>com.sun.star.text.TextDocument</value>
        </prop>
        <prop oor:name="ooSetupFactoryActualFilter" oor:finalized="true">
          <value>writer8</value>
        </prop>
        <prop oor:name="ooSetupFactoryActualTemplateFilter" oor:finalized="true">
          <value>writer8_template</value>
        </prop>
        <prop oor:name="ooSetupFactoryDefaultFilter">
          <value>writer8</value>
        </prop>
        <prop oor:name="ooSetupFactoryEmptyDocumentURL" oor:finalized="true">
          <value>private:factory/swriter</value>
        </prop>
        <prop oor:name="ooSetupFactoryCommandConfigRef">
          <value>WriterCommands</value>
        </prop>
        <prop oor:name="ooSetupFactoryIcon">
          <value>2</value>
        </prop>
        <prop oor:name="ooSetupFactoryShortName">
          <value>swreport</value>
        </prop>
        <prop oor:name="ooSetupFactoryUIName">
          <value xml:lang="en-US">Database Reports</value>
        </prop>
        <prop oor:name="ooSetupFactoryWindowStateConfigRef">
          <value>WriterReportWindowState</value>
        </prop>
        <prop oor:name="ooSetupFactoryCmdCategoryConfigRef">
          <value>GenericCategories</value>
        </prop>
      </node>
      <node oor:name="com.sun.star.xforms.XMLFormDocument" oor:op="replace">
        <prop oor:name="ooSetupFactoryDocumentService" oor:finalized="true">
          <value>com.sun.star.text.TextDocument</value>
        </prop>
        <prop oor:name="ooSetupFactoryActualFilter" oor:finalized="true">
          <value>writer8</value>
        </prop>
        <prop oor:name="ooSetupFactoryActualTemplateFilter" oor:finalized="true">
          <value>writer8_template</value>
        </prop>
        <prop oor:name="ooSetupFactoryDefaultFilter">
          <value>writer8</value>
        </prop>
        <prop oor:name="ooSetupFactoryEmptyDocumentURL" oor:finalized="true">
          <value>private:factory/swriter?slot=21053</value>
        </prop>
        <prop oor:name="ooSetupFactoryCommandConfigRef">
          <value>WriterCommands</value>
        </prop>
        <prop oor:name="ooSetupFactoryWindowAttributes">
          <value></value>
        </prop>
        <prop oor:name="ooSetupFactoryIcon">
          <value>2</value>
        </prop>
        <prop oor:name="ooSetupFactoryShortName">
          <value>swxform</value>
        </prop>
        <prop oor:name="ooSetupFactoryUIName">
          <value xml:lang="en-US">XML Form Document</value>
        </prop>
        <prop oor:name="ooSetupFactoryWindowStateConfigRef">
          <value>XFormsWindowState</value>
        </prop>
        <prop oor:name="ooSetupFactoryCmdCategoryConfigRef">
          <value>GenericCategories</value>
        </prop>
      </node>
    </node>
  </node>
</oor:component-data>
applications/libreoffice.txt · Last modified: 2014/10/27 00:00 by bas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki