xref: /core/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs (revision 2745e97d3d21cc91747d51ca4b68f53ac219211e)
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 *   Licensed to the Apache Software Foundation (ASF) under one or more
12 *   contributor license agreements. See the NOTICE file distributed
13 *   with this work for additional information regarding copyright
14 *   ownership. The ASF licenses this file to you under the Apache
15 *   License, Version 2.0 (the "License"); you may not use this file
16 *   except in compliance with the License. You may obtain a copy of
17 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 -->
19<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
20<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="Compatibility" oor:package="org.openoffice.Office" xml:lang="en-US">
21  <info>
22    <desc>List of applications and their recommended formatting options</desc>
23  </info>
24  <templates>
25    <group oor:name="FormattingOptions">
26      <info>
27        <desc>Recommended formatting options for one application</desc>
28      </info>
29      <prop oor:name="Module" oor:type="xs:string">
30        <info>
31          <desc>Module of the application</desc>
32        </info>
33        <constraints>
34          <enumeration oor:value="swriter">
35            <info>
36              <desc>Writer module</desc>
37            </info>
38          </enumeration>
39        </constraints>
40      </prop>
41      <prop oor:name="AddSpacing" oor:type="xs:boolean" oor:nillable="false">
42        <info>
43          <desc>Add spacing between paragraphs and tables</desc>
44        </info>
45        <value>true</value>
46      </prop>
47      <prop oor:name="AddSpacingAtPages" oor:type="xs:boolean" oor:nillable="false">
48        <info>
49          <desc>Add paragraph and table spacing at top of first page and page breaks</desc>
50        </info>
51        <value>true</value>
52      </prop>
53      <prop oor:name="UseOurTabStopFormat" oor:type="xs:boolean" oor:nillable="false">
54        <info>
55          <desc>Use OpenOffice.org 1.1 tabstop formatting</desc>
56        </info>
57        <value>false</value>
58      </prop>
59      <prop oor:name="NoExternalLeading" oor:type="xs:boolean" oor:nillable="false">
60        <info>
61          <desc>Do not add leading (extra space) between lines of text</desc>
62        </info>
63        <value>false</value>
64      </prop>
65      <prop oor:name="UseLineSpacing" oor:type="xs:boolean" oor:nillable="false">
66        <info>
67          <desc>Use OpenOffice.org 1.1 line spacing</desc>
68        </info>
69        <value>false</value>
70      </prop>
71      <prop oor:name="AddTableSpacing" oor:type="xs:boolean" oor:nillable="false">
72        <info>
73          <desc>Add paragraph and table spacing at bottom of table cells</desc>
74        </info>
75        <value>true</value>
76      </prop>
77      <prop oor:name="AddTableLineSpacing" oor:type="xs:boolean" oor:nillable="false">
78        <info>
79          <desc>Add paragraph line spacing at bottom of table cells</desc>
80        </info>
81        <value>true</value>
82      </prop>
83      <prop oor:name="UseObjectPositioning" oor:type="xs:boolean" oor:nillable="false">
84        <info>
85          <desc>Use OpenOffice.org 1.1 object positioning</desc>
86        </info>
87        <value>false</value>
88      </prop>
89      <prop oor:name="UseOurTextWrapping" oor:type="xs:boolean" oor:nillable="false">
90        <info>
91          <desc>Use OpenOffice.org 1.1 text wrapping</desc>
92        </info>
93        <value>false</value>
94      </prop>
95      <prop oor:name="ConsiderWrappingStyle" oor:type="xs:boolean" oor:nillable="false">
96        <info>
97          <desc>Consider wrapping style when positioning objects</desc>
98        </info>
99        <value>false</value>
100      </prop>
101      <prop oor:name="ExpandWordSpace" oor:type="xs:boolean" oor:nillable="false">
102        <info>
103          <desc>Expand word space on lines with manual line breaks in justified paragraphs</desc>
104        </info>
105        <value>true</value>
106      </prop>
107      <prop oor:name="ProtectForm" oor:type="xs:boolean" oor:nillable="false">
108        <info>
109          <desc>Protect form</desc>
110        </info>
111        <value>false</value>
112      </prop>
113      <prop oor:name="MsWordCompTrailingBlanks" oor:type="xs:boolean" oor:nillable="false">
114        <info>
115          <desc>Word-compatible trailing blanks</desc>
116        </info>
117        <value>false</value>
118      </prop>
119      <prop oor:name="MsWordUlTrailSpace" oor:type="xs:boolean" oor:nillable="false">
120        <info>
121          <desc>Show underline of Word-compatible trailing blanks</desc>
122        </info>
123        <value>false</value>
124      </prop>
125      <prop oor:name="SubtractFlysAnchoredAtFlys" oor:type="xs:boolean" oor:nillable="false">
126        <info>
127          <desc>Tolerate white lines of PDF page backgrounds for compatibility with old documents (Use LibreOffice 4.3 anchoring paint order)</desc>
128        </info>
129        <value>false</value>
130      </prop>
131      <prop oor:name="EmptyDbFieldHidesPara" oor:type="xs:boolean" oor:nillable="false">
132        <info>
133          <desc>Hide paragraphs of mail merge fields with empty value when generating merged documents</desc>
134        </info>
135        <value>true</value>
136      </prop>
137      <prop oor:name="UseVariableWidthNBSP" oor:type="xs:boolean" oor:nillable="false">
138        <info>
139          <desc>Render NBSP as having variable size, instead of having a fixed size</desc>
140        </info>
141        <value>false</value>
142      </prop>
143      <prop oor:name="NoGapAfterNoteNumber" oor:type="xs:boolean" oor:nillable="false">
144        <info>
145          <desc>Do not add an extra space after number in footnotes with hanging first line</desc>
146        </info>
147        <value>false</value>
148      </prop>
149      <prop oor:name="TabsRelativeToIndent" oor:type="xs:boolean" oor:nillable="false">
150        <info>
151          <desc>Set tabstops relative to indent of paragraph</desc>
152        </info>
153        <value>true</value>
154      </prop>
155      <prop oor:name="TabOverMargin" oor:type="xs:boolean" oor:nillable="false">
156        <info>
157          <desc>Allow tabs to extend beyond the right margin</desc>
158        </info>
159        <value>false</value>
160      </prop>
161      <prop oor:name="DoNotMirrorRtlDrawObjs" oor:type="xs:boolean" oor:nillable="false">
162        <info>
163          <desc>Do not mirror drawing objects anchored in paragraphs with an RTL writing direction</desc>
164        </info>
165        <value>false</value>
166      </prop>
167      <prop oor:name="ContinuousEndnotes" oor:type="xs:boolean" oor:nillable="false">
168        <info>
169          <desc>Render endnotes at the end of the document inline, rather than on a separate page</desc>
170        </info>
171        <value>false</value>
172      </prop>
173      <prop oor:name="MsWordCompGridMetrics" oor:type="xs:boolean" oor:nillable="false">
174        <info>
175          <desc>Use Word-compatible font metrics for text grid</desc>
176        </info>
177        <value>false</value>
178      </prop>
179      <prop oor:name="IgnoreTabsAndBlanksForLineCalculation" oor:type="xs:boolean" oor:nillable="false">
180        <info>
181          <desc>Make whitespace character height not affect line height</desc>
182        </info>
183        <value>false</value>
184      </prop>
185      <prop oor:name="BalanceSpacesAndIdeographicSpaces" oor:type="xs:boolean" oor:nillable="false">
186        <info>
187          <desc>Adjust spaces to half the width of ideographic spaces, using Word-compatible rules</desc>
188        </info>
189        <value>false</value>
190      </prop>
191      <prop oor:name="ForceTopAlignmentInCellWithFloatingAnchor" oor:type="xs:boolean" oor:nillable="false">
192        <info>
193          <desc>Use old Word-compatible layout, forcing cell contents to be top-aligned if the cell contains a floating shape</desc>
194        </info>
195        <value>false</value>
196      </prop>
197      <prop oor:name="AdjustTableLineHeightsToGridHeight" oor:type="xs:boolean" oor:nillable="false">
198        <info>
199          <desc>Fix line heights for text inside tables to the text grid line height</desc>
200        </info>
201        <value>true</value>
202      </prop>
203    </group>
204  </templates>
205  <component>
206    <set oor:name="AllFileFormats" oor:node-type="FormattingOptions">
207      <info>
208        <desc>The List of the applications.</desc>
209      </info>
210    </set>
211    <group oor:name="View">
212      <info>
213        <desc>Compatibility options affecting GUI</desc>
214      </info>
215      <prop oor:name="MSCompatibleFormsMenu" oor:type="xs:boolean" oor:nillable="false">
216        <!-- UIHints: Tools - Options - Writer - Compatibility - Global Options -->
217        <info>
218          <desc>Specifies whether Form menu should be customized for an MSO workflow. The MS compatible Form menu contains only MS compatible form controls.</desc>
219          <label>Reorganize Form menu for Microsoft compatibility.</label>
220        </info>
221        <value>false</value>
222      </prop>
223      <prop oor:name="AllowCommentsInFootnotes" oor:type="xs:boolean" oor:nillable="false">
224        <info>
225            <!-- See tdf#86188 for rationale -->
226            <desc>Specifies whether adding comments to footnotes etc. is allowed. These are allowed for ODF but not in OOXML and can result in invalid docx files being saved.</desc>
227            <label>Allow adding comments to footnotes, headers and frames. Disable for better OOXML interoperability.</label>
228        </info>
229        <value>true</value>
230      </prop>
231      <prop oor:name="ReverseSeriesOrderAreaAndNetChart" oor:type="xs:boolean" oor:nillable="false">
232        <info>
233          <!-- See tdf#127813 for rationale -->
234          <desc>Specifies the data series order of filled net and normal area charts.</desc>
235          <label>Reverse the data series order of filled net and normal area charts. Disable for better OOXML interoperability.</label>
236        </info>
237        <value>true</value>
238      </prop>
239      <prop oor:name="ReverseXAxisOrientationDoughnutChart" oor:type="xs:boolean" oor:nillable="false">
240        <info>
241          <!-- See tdf#123218, tdf#108067 for rationale -->
242          <desc>Specifies the X axis orientation of doughnut charts.</desc>
243          <label>Reverse the X axis orientation of doughnut charts. Disable for better OOXML interoperability.</label>
244        </info>
245        <value>true</value>
246      </prop>
247      <prop oor:name="ClockwisePieChartDirection" oor:type="xs:boolean" oor:nillable="false">
248        <info>
249        <!-- See tdf#108059 for rationale -->
250            <desc>Specifies whether the default orientation of pie charts should be clockwise. In OOXML-heavy environments it might be confusing to see charts being mirrored after save, avoid that by setting this key to true.</desc>
251            <label>Pie chart default orientation. Set to true for more OOXML-ish UX.</label>
252        </info>
253        <value>false</value>
254      </prop>
255    </group>
256  </component>
257</oor:component-schema>
258