diff options
author | Martin Hosken <martin_hosken@sil.org> | 2016-11-16 00:53:59 +0000 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-17 17:16:52 +0000 |
commit | 6b35e804198ac45386805e80a3d413ed3405c3b4 (patch) | |
tree | 1132517e5e139e6387016e04d20a5660e8c39064 /officecfg | |
parent | 3b94229fb74dfe43e2b7349d6f580dc375f28814 (diff) |
Fix tdf#103855 add language codes and names to language lists from extensions
Rationale for changes to languagetag.hxx can be found in the bug
tdf#103855.
Change-Id: I7fa7c8a3f7b219ce08df69a3965f544ae156beab
Reviewed-on: https://gerrit.libreoffice.org/30882
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'officecfg')
-rw-r--r-- | officecfg/registry/schema/org/openoffice/VCL.xcs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/VCL.xcs b/officecfg/registry/schema/org/openoffice/VCL.xcs index 0d8afd15a9db..a46588965c01 100644 --- a/officecfg/registry/schema/org/openoffice/VCL.xcs +++ b/officecfg/registry/schema/org/openoffice/VCL.xcs @@ -67,6 +67,21 @@ <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> </info> </group> + <group oor:name="ExtraLanguage"> + <info> + <desc>Specifies an extenisble list of languages that should be added to the various language selection lists</desc> + </info> + <prop oor:name="Name" oor:type="xs:string" oor:nillable="false" oor:localized="true"> + <info> + <desc>Gives the UI name to present to the user</desc> + </info> + </prop> + <prop oor:name="ScriptType" oor:type="xs:int" oor:nillable="false"> + <info> + <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> + </info> + </prop> + </group> <group oor:name="LocalizedDefaultFonts" oor:extensible="true"> <info> <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> @@ -84,6 +99,11 @@ <desc>Contains the settings for VCL (see template description).</desc> </info> </set> + <set oor:name="ExtraLanguages" oor:node-type="ExtraLanguage"> + <info> + <desc>Specifies extra language tags to support</desc> + </info> + </set> <set oor:name="DefaultFonts" oor:node-type="LocalizedDefaultFonts"> <info> <desc>Contains the localized default fonts for VCL (see template description).</desc> |