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" oor:package="org.openoffice.Office" oor:name="Linguistic" xml:lang="en-US">
21  <info>
22    <desc>Contains linguistic (spell checking, hyphenation, thesaurus) related
23    configurations.</desc>
24  </info>
25  <templates>
26    <group oor:name="Dictionary">
27      <info>
28        <desc>Specifies the settings for a single dictionary to be used by a
29        spell checker, hyphenator or thesaurus.</desc>
30      </info>
31      <prop oor:name="Locations" oor:type="oor:string-list">
32        <info>
33          <desc>Specifies the location(s) where the files that represent the
34          dictionary are found. Each entry in the list must be from type
35          URL.</desc>
36          <label>Dictionary location</label>
37        </info>
38      </prop>
39      <prop oor:name="Format" oor:type="xs:string">
40        <info>
41          <desc>Specifies the format the dictionary is written in.</desc>
42          <label>Dictionary format</label>
43        </info>
44      </prop>
45      <prop oor:name="Locales" oor:type="oor:string-list">
46        <info>
47          <desc>Bind a dictionary to its supported list of locales.</desc>
48          <label>Dictionary locales</label>
49        </info>
50      </prop>
51    </group>
52    <group oor:name="DictionaryUsingService">
53      <info>
54        <desc>A list of all services making use of dictionaries.</desc>
55      </info>
56      <prop oor:name="SupportedDictionaryFormats" oor:type="oor:string-list">
57        <info>
58          <desc>The list of all dictionary formats the service can handle.</desc>
59          <label>Supported dictionary formats</label>
60        </info>
61      </prop>
62    </group>
63    <group oor:name="ServiceNameEntry">
64      <info>
65        <desc>The node name is the service implementation name.</desc>
66      </info>
67      <prop oor:name="VendorImagesNode" oor:type="xs:string">
68        <info>
69          <desc>Contains the node name in the VendorImages set to look for in
70          order to find a specific image.</desc>
71          <label>Vendor images node</label>
72        </info>
73      </prop>
74    </group>
75    <group oor:name="VendorImagesEntry">
76      <info>
77        <desc>The images for vendor specific branding in the UI. The node name is
78        the service implementation name.</desc>
79      </info>
80      <prop oor:name="SpellAndGrammarDialogImage" oor:type="xs:string">
81        <info>
82          <desc>The path to the image for the spell and grammar checking
83          dialog.</desc>
84          <label>Spell and grammar dialog image</label>
85        </info>
86      </prop>
87      <prop oor:name="SpellAndGrammarContextMenuSuggestionImage" oor:type="xs:string">
88        <info>
89          <desc>The path to the image for the spell and grammar checking
90          suggestions in the context menu context menu.</desc>
91          <label>Spell and grammar context menu suggestions image</label>
92        </info>
93      </prop>
94      <prop oor:name="SpellAndGrammarContextMenuDictionaryImage" oor:type="xs:string">
95        <info>
96          <desc>The path to the image for the spell and grammar checking context
97          menu context menu.</desc>
98          <label>Spell and grammar context menu dictionary image</label>
99        </info>
100      </prop>
101      <prop oor:name="ThesaurusDialogImage" oor:type="xs:string">
102        <info>
103          <desc>The path to the image for the thesaurus dialog.</desc>
104          <label>Thesaurus dialog image</label>
105        </info>
106      </prop>
107      <prop oor:name="SynonymsContextMenuImage" oor:type="xs:string">
108        <info>
109          <desc>The path to the image for the synonyms context menu.</desc>
110          <label>Synonyms context menu image</label>
111        </info>
112      </prop>
113    </group>
114    <group oor:name="GrammarCheckerEntry">
115      <info>
116        <desc>Specifies the settings for a grammar checker. The node name is the
117        grammar checkers implementation name.</desc>
118      </info>
119      <prop oor:name="Locales" oor:type="oor:string-list">
120        <info>
121          <desc>The list of supported locales.</desc>
122          <label>Grammar checker locales</label>
123        </info>
124      </prop>
125    </group>
126  </templates>
127  <component>
128    <group oor:name="Images">
129      <info>
130        <desc>Contains settings for images to be used.</desc>
131      </info>
132      <set oor:name="ServiceNameEntries" oor:node-type="ServiceNameEntry">
133        <info>
134          <desc>The node name is the service implementation name and the
135          property states the node name to use in the VendorImages set.</desc>
136          <label>Component entries</label>
137        </info>
138      </set>
139      <set oor:name="VendorImages" oor:node-type="VendorImagesEntry">
140        <info>
141          <desc>Contains the images to use. The node names are the service
142          implementation names.</desc>
143          <label>Vendor images</label>
144        </info>
145      </set>
146    </group>
147    <group oor:name="General">
148      <info>
149        <desc>Contains general settings for the linguistic
150        configurations.</desc>
151      </info>
152      <prop oor:name="UILocale" oor:type="xs:string" oor:nillable="false">
153        <!-- OldLocation: NEW -->
154        <!-- UIHints: Tools - Options - General - Language Settings - Languages
155        -->
156        <info>
157          <desc>Specifies the UI language. An empty string means: use the
158          desktop's UI language if possible.</desc>
159        </info>
160        <value/>
161      </prop>
162      <prop oor:name="IsIgnoreControlCharacters" oor:type="xs:boolean" oor:nillable="false">
163        <!-- OldLocation: NEW -->
164        <info>
165          <desc>Ignores the control characters (ASCII characters &lt; 32) for
166          spell checking, hyphenation and the thesaurus.</desc>
167        </info>
168        <value>true</value>
169      </prop>
170      <prop oor:name="DefaultLocale" oor:type="xs:string" oor:nillable="false">
171        <!-- OldPath: DefaultLanguage -->
172        <!-- OldLocation: soffice.ini -->
173        <!-- UIHints: Tools - Options - General - Language -->
174        <info>
175          <desc>Specifies the default document language.</desc>
176          <label>Default language</label>
177        </info>
178        <value/>
179        <!-- JB: Empty default inserted into empty property node. Remove if NIL
180             was intended -->
181      </prop>
182      <prop oor:name="DefaultLocale_CJK" oor:type="xs:string" oor:nillable="false">
183        <!-- OldPath: DefaultLanguage -->
184        <!-- UIHints: Tools - Options - General - Language -->
185        <info>
186          <desc>Specifies the default document CJK language.</desc>
187          <label>Default language for CJK linguistics</label>
188        </info>
189        <value/>
190        <!-- JB: Empty default inserted into empty property node. Remove if NIL
191             was intended -->
192      </prop>
193      <prop oor:name="DefaultLocale_CTL" oor:type="xs:string" oor:nillable="false">
194        <!-- OldPath: DefaultLanguage -->
195        <!-- UIHints: Tools - Options - General - Language -->
196        <info>
197          <desc>Specifies the default document CTL language.</desc>
198          <label>Default language for CTL linguistics</label>
199        </info>
200        <value/>
201        <!-- JB: Empty default inserted into empty property node. Remove if NIL
202             was intended -->
203      </prop>
204      <group oor:name="DictionaryList">
205        <info>
206          <desc>Defines which personal dictionaries are used.</desc>
207        </info>
208        <prop oor:name="ActiveDictionaries" oor:type="oor:string-list" oor:nillable="false">
209          <!-- OldPath: Active-Dictionaries -->
210          <!-- OldLocation: soffice.ini -->
211          <!-- UIHints: Tools - Options - General - Language -->
212          <info>
213            <desc>Specifies the custom dictionaries to be used. The Ignore list
214            (IgnoreAllList (All)) is administered in the RAM only for the
215            current spellcheck.</desc>
216            <label>Custom dictionaries</label>
217          </info>
218          <value>
219            <it>IgnoreAllList</it>
220            <it>standard.dic</it>
221            <it>en-US.dic</it>
222            <it>en-GB.dic</it>
223            <it>sl.dic</it>
224            <it>technical.dic</it>
225            <it>hu_AkH11.dic</it>
226          </value>
227        </prop>
228        <prop oor:name="IsUseDictionaryList" oor:type="xs:boolean" oor:nillable="false">
229          <!-- OldLocation: NEW -->
230          <info>
231            <desc>Determines if personal dictionaries should be used for spell
232            checking and hyphenation.</desc>
233          </info>
234          <value>true</value>
235        </prop>
236      </group>
237    </group>
238    <group oor:name="TextConversion">
239      <info>
240        <desc>Defines settings used by the text conversion.</desc>
241      </info>
242      <prop oor:name="ActiveConversionDictionaries" oor:type="oor:string-list" oor:nillable="false">
243        <!-- OldLocation: NEW -->
244        <info>
245          <desc>Specifies the user dictionaries to be used. </desc>
246          <label>Active text conversion user dictionaries</label>
247        </info>
248        <value/>
249      </prop>
250      <prop oor:name="IsIgnorePostPositionalWord" oor:type="xs:boolean" oor:nillable="false">
251        <!-- OldLocation: NEW -->
252        <info>
253          <desc>Specifies if post positionals should be ignored when looking for
254          Korean entries.</desc>
255          <label>Ignore post positional word</label>
256        </info>
257        <value>true</value>
258      </prop>
259      <prop oor:name="IsAutoCloseDialog" oor:type="xs:boolean" oor:nillable="false">
260        <!-- OldLocation: NEW -->
261        <info>
262          <desc>Specifies if the dialog should be closed automatically after the
263          conversion of the current text portion is processed.</desc>
264          <label>Auto close dialog</label>
265        </info>
266        <value>false</value>
267      </prop>
268      <prop oor:name="IsShowEntriesRecentlyUsedFirst" oor:type="xs:boolean" oor:nillable="false">
269        <!-- OldLocation: NEW -->
270        <info>
271          <desc>Specifies if entries that were recently used as replacements
272          should be listed first.</desc>
273          <label>Show entries recently used first</label>
274        </info>
275        <value>false</value>
276      </prop>
277      <prop oor:name="IsAutoReplaceUniqueEntries" oor:type="xs:boolean" oor:nillable="false">
278        <!-- OldLocation: NEW -->
279        <info>
280          <desc>Specifies if entries for which have only one possible
281          replacement should be replaced automatically.</desc>
282          <label>Auto replace unique entries</label>
283        </info>
284        <value>false</value>
285      </prop>
286      <prop oor:name="IsDirectionToSimplified" oor:type="xs:boolean">
287        <!-- OldLocation: NEW -->
288        <info>
289          <desc>Specifies in which direction the translation will be made, from
290          traditional to simplified or the other way round.</desc>
291          <label>Direction to simplified</label>
292        </info>
293      </prop>
294      <prop oor:name="IsUseCharacterVariants" oor:type="xs:boolean" oor:nillable="false">
295        <!-- OldLocation: NEW -->
296        <info>
297          <desc>Specifies whether Taiwan, Hongkong SAR, and Macao SAR character
298          variants should be used for translation.</desc>
299          <label>Use character variants</label>
300        </info>
301        <value>false</value>
302      </prop>
303      <prop oor:name="IsTranslateCommonTerms" oor:type="xs:boolean" oor:nillable="false">
304        <!-- OldLocation: NEW -->
305        <info>
306          <desc>Specifies whether common terms should be detected and translated
307          as whole words.</desc>
308          <label>Translate Common Terms</label>
309        </info>
310        <value>false</value>
311      </prop>
312      <prop oor:name="IsReverseMapping" oor:type="xs:boolean" oor:nillable="false">
313        <!-- OldLocation: NEW -->
314        <info>
315          <desc>If Reverse Mapping is active than every dictionary entry added
316          or modified will also be added or modified within the dictionary in
317          the opposite mapping direction.</desc>
318          <label>Reverse Mapping</label>
319        </info>
320        <value>false</value>
321      </prop>
322    </group>
323    <group oor:name="SpellChecking">
324      <info>
325        <desc>Contains spell checking-relevant settings.</desc>
326      </info>
327      <prop oor:name="IsSpellUpperCase" oor:type="xs:boolean" oor:nillable="false">
328        <!-- OldPath: MiscOptions / SpellOptions -->
329        <!-- OldLocation: soffice.ini -->
330        <!-- UIHints: Tools - Options - General - Language -->
331        <info>
332          <desc>Specifies whether to include uppercase words in the spellcheck
333          process.</desc>
334          <label>Spell uppercase words</label>
335        </info>
336        <value>true</value>
337      </prop>
338      <prop oor:name="IsSpellWithDigits" oor:type="xs:boolean" oor:nillable="false">
339        <!-- OldPath: MiscOptions / SpellOptions -->
340        <!-- OldLocation: soffice.ini -->
341        <!-- UIHints: Tools - Options - General - Language -->
342        <info>
343          <desc>Specifies whether to check the spelling of words which contain
344          numbers as well as letters.</desc>
345          <label>Spell words with digits</label>
346        </info>
347        <value>false</value>
348      </prop>
349      <prop oor:name="IsSpellCapitalization" oor:type="xs:boolean" oor:nillable="false">
350        <!-- OldPath: MiscOptions / SpellOptions -->
351        <!-- OldLocation: soffice.ini -->
352        <!-- UIHints: Tools - Options - General - Language -->
353        <info>
354          <deprecated/>
355          <desc>Checks the correct use of capitalization.</desc>
356          <label>Check capitalization</label>
357        </info>
358        <value>true</value>
359      </prop>
360      <prop oor:name="IsSpellAuto" oor:type="xs:boolean" oor:nillable="false">
361        <!-- OldPath: MiscOptions / SpellOptions -->
362        <!-- OldLocation: soffice.ini -->
363        <!-- UIHints: Tools - Options - General - Language -->
364        <info>
365          <desc>Checks spelling automatically.</desc>
366          <label>Automatic spellchecking</label>
367        </info>
368        <value>true</value>
369      </prop>
370      <prop oor:name="IsSpellSpecial" oor:type="xs:boolean" oor:nillable="false">
371        <!-- OldPath: MiscOptions / SpellOptions -->
372        <!-- OldLocation: soffice.ini -->
373        <!-- UIHints: Tools - Options - General - Language -->
374        <info>
375          <desc>Allows spellchecking in headers, footers, and frames.</desc>
376          <label>Check spelling in special regions</label>
377        </info>
378        <value>true</value>
379      </prop>
380      <prop oor:name="IsReverseDirection" oor:type="xs:boolean" oor:nillable="false">
381        <!-- OldPath: MiscOptions / SpellOptions -->
382        <!-- OldLocation: soffice.ini -->
383        <!-- UIHints: Tools - Options - General - Language -->
384        <info>
385          <desc>Advances backwards through the text for spell checking.</desc>
386          <label>Reverse direction.</label>
387        </info>
388        <value>false</value>
389      </prop>
390    </group>
391    <group oor:name="GrammarChecking">
392      <info>
393        <desc>Contains grammar checking relevant settings.</desc>
394      </info>
395      <prop oor:name="IsAutoCheck" oor:type="xs:boolean" oor:nillable="false">
396        <info>
397          <desc>determines if grammar is automatically checked.</desc>
398          <label>Automatic grammar checking</label>
399        </info>
400        <value>true</value>
401      </prop>
402      <prop oor:name="IsInteractiveCheck" oor:type="xs:boolean" oor:nillable="false">
403        <info>
404          <desc>determines if grammar is check in the spelling and grammar
405          dialog.</desc>
406          <label>Interactive grammar checking</label>
407        </info>
408        <value>true</value>
409      </prop>
410    </group>
411    <group oor:name="Hyphenation">
412      <info>
413        <desc>Contains hyphenation relevant settings.</desc>
414      </info>
415      <prop oor:name="MinLeading" oor:type="xs:short" oor:nillable="false">
416        <!-- OldPath: HyphMinLeading -->
417        <!-- OldLocation: soffice.ini -->
418        <!-- UIHints: Tools - Options - General - Language -->
419        <info>
420          <desc>Specifies the minimum number of characters of the hyphenated
421          word required at the end of the line.</desc>
422          <label>Characters per syllable before hyphen</label>
423        </info>
424        <constraints>
425          <minInclusive oor:value="2">
426            <info>
427              <desc>Specifies the minimum value allowed.</desc>
428            </info>
429          </minInclusive>
430          <maxInclusive oor:value="9">
431            <info>
432              <desc>Specifies the maximum value allowed.</desc>
433            </info>
434          </maxInclusive>
435        </constraints>
436        <value>2</value>
437      </prop>
438      <prop oor:name="MinTrailing" oor:type="xs:short" oor:nillable="false">
439        <!-- OldPath: HyphMinTrailing -->
440        <!-- OldLocation: soffice.ini -->
441        <!-- UIHints: Tools - Options - General - Language -->
442        <info>
443          <desc>Specifies the minimum number of characters of the hyphenated
444          word required at the next line.</desc>
445          <label>Characters per syllable after hyphen</label>
446        </info>
447        <constraints>
448          <minInclusive oor:value="2">
449            <info>
450              <desc>Specifies the minimum value allowed.</desc>
451            </info>
452          </minInclusive>
453          <maxInclusive oor:value="9">
454            <info>
455              <desc>Specifies the maximum value allowed.</desc>
456            </info>
457          </maxInclusive>
458        </constraints>
459        <value>2</value>
460      </prop>
461      <prop oor:name="MinWordLength" oor:type="xs:short" oor:nillable="false">
462        <!-- OldPath: HyphMinWordLength -->
463        <!-- OldLocation: soffice.ini -->
464        <info>
465          <desc>Specifies the minimum word length to allow a hyphenation.</desc>
466          <label>Minimal word length</label>
467        </info>
468        <constraints>
469          <minInclusive oor:value="2">
470            <info>
471              <desc>Specifies the minimum value allowed.</desc>
472            </info>
473          </minInclusive>
474          <maxInclusive oor:value="9">
475            <info>
476              <desc>Specifies the maximum value allowed.</desc>
477            </info>
478          </maxInclusive>
479        </constraints>
480        <value>5</value>
481      </prop>
482      <prop oor:name="IsHyphSpecial" oor:type="xs:boolean" oor:nillable="false">
483        <!-- OldPath: MiscOptions -->
484        <!-- OldLocation: soffice.ini -->
485        <!-- UIHints: Tools - Options - General - Language -->
486        <info>
487          <desc>Allows hyphenation in headers, footers, and frames.</desc>
488          <label>Hyphenate in special regions.</label>
489        </info>
490        <value>true</value>
491      </prop>
492      <prop oor:name="IsHyphAuto" oor:type="xs:boolean" oor:nillable="false">
493        <!-- OldPath: MiscOptions -->
494        <!-- OldLocation: soffice.ini -->
495        <!-- UIHints: Tools - Options - General - Language -->
496        <info>
497          <desc>Allows for automatic insertion of soft hyphens.</desc>
498          <label>Automatic hyphenation.</label>
499        </info>
500        <value>false</value>
501      </prop>
502    </group>
503    <group oor:name="ServiceManager">
504      <info>
505        <desc>Contains settings for the service manager that are used to
506        access/configure the usage of the various linguistic service
507        implementations.</desc>
508      </info>
509      <set oor:name="Dictionaries" oor:node-type="Dictionary">
510        <info>
511          <desc>Contains all dictionaries to be used for spell checking,
512          hyphenation or thesaurus.</desc>
513          <label>Dictionaries</label>
514        </info>
515      </set>
516      <set oor:name="SpellCheckers" oor:node-type="DictionaryUsingService">
517        <info>
518          <desc>Contains all spell checker.</desc>
519          <label>Spell Checker</label>
520        </info>
521      </set>
522      <set oor:name="Hyphenators" oor:node-type="DictionaryUsingService">
523        <info>
524          <desc>Contains all hyphenators.</desc>
525          <label>Hyphenators</label>
526        </info>
527      </set>
528      <set oor:name="Thesauri" oor:node-type="DictionaryUsingService">
529        <info>
530          <desc>Contains all thesauri.</desc>
531          <label>Thesauri</label>
532        </info>
533      </set>
534      <prop oor:name="DisabledDictionaries" oor:type="oor:string-list">
535        <info>
536          <desc>The list of dictionaries that are currently not in use.</desc>
537          <label>Disabled Dictionaries</label>
538        </info>
539      </prop>
540      <set oor:name="GrammarCheckers" oor:node-type="GrammarCheckerEntry">
541        <info>
542          <desc>Contains all grammar checkers.</desc>
543          <label>Grammar Checkers</label>
544        </info>
545      </set>
546      <prop oor:name="DataFilesChangedCheckValue" oor:type="xs:int" oor:nillable="false">
547        <info>
548          <desc>Value used to check if the data files of the linguistic have
549          changed and thus the configuration needs to be updated.</desc>
550          <label>Data files changed check value</label>
551        </info>
552        <value>-1</value>
553      </prop>
554      <group oor:name="SpellCheckerList" oor:extensible="true">
555        <info>
556          <desc>Contains a list of languages and spell-checking-service entries.
557          Only languages listed will be supported.</desc>
558        </info>
559      </group>
560      <group oor:name="ThesaurusList" oor:extensible="true">
561        <info>
562          <desc>Contains a list of languages and thesaurus-service entries.
563          Only languages listed will be supported.</desc>
564        </info>
565      </group>
566      <group oor:name="HyphenatorList" oor:extensible="true">
567        <info>
568          <desc>Contains a list of languages and hyphenation-service pairs. Only
569          the languages that are listed are supported.</desc>
570        </info>
571      </group>
572      <group oor:name="GrammarCheckerList" oor:extensible="true">
573        <info>
574          <desc>Contains a list of languages and grammar-checking-service pairs.
575          Only languages that are listed are supported.</desc>
576        </info>
577      </group>
578      <group oor:name="LastFoundSpellCheckers" oor:extensible="true">
579        <info>
580          <desc>Contains a list of languages and spell-checking-service entries.
581          The entries represent those languages/spellcheckers that were
582          available the last time. New languages/spellcheckers (those available
583          this time but not the last time) will be activated
584          automatically.</desc>
585        </info>
586      </group>
587      <group oor:name="LastFoundThesauri" oor:extensible="true">
588        <info>
589          <desc>Contains a list of languages and thesaurus-service entries. The
590          entries represent those languages/thesauri that were available the
591          last time. New languages/thesauri (those available this time but not
592          the last time) will be activated automatically.</desc>
593        </info>
594      </group>
595      <group oor:name="LastFoundHyphenators" oor:extensible="true">
596        <info>
597          <desc>Contains a list of languages and hyphenation-service pairs. The
598          entries represent those languages/hyphenators that were available the
599          last time. New languages/hyphenators (those available this time but
600          not the last time) will be activated automatically.</desc>
601        </info>
602      </group>
603      <group oor:name="LastFoundGrammarCheckers" oor:extensible="true">
604        <info>
605          <desc>Contains a list of languages and grammar-checking-service pairs.
606          The entries represent those languages/hyphenators that were available
607          the last time. New languages/hyphenators (those available this time
608          but not the last time) will be activated automatically.</desc>
609        </info>
610      </group>
611    </group>
612  </component>
613</oor:component-schema>
614