1 #!/usr/bin/perl -w # -*- tab-width: 4; indent-tabs-mode: nil;
3 # This file is part of the LibreOffice project.
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/.
16 getCollatorImplementation
17 getContinuousNumberingLevels
18 getDateAcceptancePatterns
20 getForbiddenCharacters
24 getOutlineNumberingLevels
36 foreach my $lang (@ARGV) {
37 foreach my $func (@FUNCS) {
38 if ($func eq 'getAllFormats1') {
39 if ($lang eq 'en_US') {
40 printf("void %s_%s();\n", $func, $lang);
43 printf("void %s_%s();\n", $func, $lang);
52 foreach my $func (@FUNCS) {
53 printf(" void (*%s)();\n", $func);
55 print '} aLibTable[] = {
58 foreach my $lang (@ARGV) {
60 printf(" \"%s\",\n", $lang);
61 foreach my $func (@FUNCS) {
62 if ($func eq 'getAllFormats1') {
63 if ($lang eq 'en_US') {
64 printf(" %s_%s,\n", $func, $lang);
69 printf(" %s_%s,\n", $func, $lang);
72 printf(" }%s\n", ($lang ne $ARGV[$#ARGV]) ?
',' : '');
80 # vim:set shiftwidth=4 softtabstop=4 expandtab: