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="VCL" oor:package="org.openoffice" xml:lang="en-US">
21  <info>
22    <desc>Contains preferences for the VCL (Visual Class Library).</desc>
23  </info>
24  <templates>
25    <group oor:name="LFonts">
26      <info>
27        <desc>Contains attributes for fonts. The substitution lists are separated by ';' and are searched first to last for a substitute.</desc>
28      </info>
29      <prop oor:name="SubstFonts" oor:type="xs:string">
30        <info>
31          <desc>Contains a list of substitute fonts used in office documents.</desc>
32        </info>
33      </prop>
34      <prop oor:name="SubstFontsMS" oor:type="xs:string">
35        <info>
36          <desc>Contains a list of substitute fonts used in MS export filters.</desc>
37        </info>
38      </prop>
39      <prop oor:name="SubstFontsPS" oor:type="xs:string">
40        <info>
41          <desc>Unused. Used to contain a list of substitute fonts used in a PostScript context (for example, EPS export).</desc>
42        </info>
43      </prop>
44      <prop oor:name="SubstFontsHTML" oor:type="xs:string">
45        <info>
46          <desc>Unused. Used to contain a list of substitute fonts used in a HTML context (for example, HTML import/export).</desc>
47        </info>
48      </prop>
49      <prop oor:name="FontWeight" oor:type="xs:string">
50        <info>
51          <desc>Specifies the font weight. Valid values are "thin", "ultralight", "light", "semilight", "normal", "medium", "semibold", "bold", "ultrabold", "black" (in ascending order of weight) and "unknown".</desc>
52        </info>
53      </prop>
54      <prop oor:name="FontWidth" oor:type="xs:string">
55        <info>
56          <desc>Specifies the font width. Valid values are "ultracondensed", "extracondensed", "condensed", "semicondensed", "normal", "semiexpanded", "expanded", "extraexpanded", "ultraexpanded" (in ascending order of width) and "unknown".</desc>
57        </info>
58      </prop>
59      <prop oor:name="FontType" oor:type="xs:string">
60        <info>
61          <desc>Denotes the compatible styles for the font. Multiple styles are separated by ','. Valid styles are: "Default", "Standard", "Normal", "Symbol", "Fixed", "SansSerif", "Serif", "Decorative", "Special", "Italic", "Title", "Capitals", "CJK", "CJK_JP", "CJK_SC", "CJK_TC", "CJK_KR", "CTL", "NoneLatin", "Full", "Outline", "Shadow", "Rounded", "Typewriter", "Script", "Handwriting", "Chancery", "comic", "brushscript", "gothic", "schoolbook", "other"</desc>
62        </info>
63      </prop>
64    </group>
65    <group oor:name="ConfigurableSettings" oor:extensible="true">
66      <info>
67        <desc>Specifies an extensible set of options that are ordered into key/value pairs for the VCL. For example, a valid key for describing when ATTools is activated is: "EnableATToolSupport" (valid values = "true", "false").</desc>
68      </info>
69    </group>
70    <group oor:name="ExtraLanguage">
71      <info>
72        <desc>Specifies an extenisble list of languages that should be added to the various language selection lists</desc>
73      </info>
74      <prop oor:name="Name" oor:type="xs:string" oor:nillable="false" oor:localized="true">
75        <info>
76          <desc>Gives the UI name to present to the user</desc>
77        </info>
78      </prop>
79      <prop oor:name="ScriptType" oor:type="xs:int" oor:nillable="false">
80        <info>
81          <desc>Which of the various language lists to include this in: 1 - Western, 2 - Asian, 3 - CTL, 4 - Right to Left (implies CTL). This value corresponds to the concrete enum values in LanguageTag::ScriptType found in i18nlangtag/languagetag.hxx.</desc>
82        </info>
83      </prop>
84    </group>
85    <group oor:name="LocalizedDefaultFonts" oor:extensible="true">
86      <info>
87        <desc>Contains a localized table of default font lists organized as a set of sets of key/value pairs. The outer set denotes the language (e.g. "en-US") so that default fonts can be declared for different language contexts. Each value is a font list separated by ';'. Default fonts are: CJK_DISPLAY, CJK_HEADING, CJK_PRESENTATION, CJK_SPREADSHEET, CJK_TEXT, CTL_DISPLAY, CTL_HEADING, CTL_PRESENTATION, CTL_SPREADSHEET, CTL_TEXT, FIXED, LATIN_DISPLAY, LATIN_FIXED, LATIN_HEADING, LATIN_PRESENTATION, LATIN_SPREADSHEET, LATIN_TEXT, SANS, SANS_UNICODE, SERIF, SYMBOL, UI_FIXED, UI_SANS. Corresponding font lists: *_DISPLAY, *_HEADING, *_PRESENTATION, *_SPREADSHEET, *_TEXT, SANS, SANS_UNICODE, SERIF,SYMBOL, UI_FIXED, UI_SANS.</desc>
88      </info>
89    </group>
90    <set oor:name="LocalizedFontSubstitutions" oor:node-type="LFonts">
91      <info>
92        <desc>Contains localized font substitution tables organized as a group of sets of LFonts. The outer set denotes the language (for example, "en-US").</desc>
93      </info>
94    </set>
95  </templates>
96  <component>
97    <set oor:name="Settings" oor:node-type="ConfigurableSettings">
98      <info>
99        <desc>Contains the settings for VCL (see template description).</desc>
100      </info>
101    </set>
102    <set oor:name="ExtraLanguages" oor:node-type="ExtraLanguage">
103      <info>
104        <desc>Specifies extra language tags to support</desc>
105      </info>
106    </set>
107    <set oor:name="DefaultFonts" oor:node-type="LocalizedDefaultFonts">
108      <info>
109        <desc>Contains the localized default fonts for VCL (see template description).</desc>
110      </info>
111    </set>
112    <set oor:name="FontSubstitutions" oor:node-type="LocalizedFontSubstitutions">
113      <info>
114        <desc>Contains the localized font substitution tables for VCL (see template description).</desc>
115      </info>
116    </set>
117  </component>
118</oor:component-schema>
119