Line data Source code
1 : #include <sal/types.h>
2 :
3 :
4 : #include <stdio.h> // debug printfs
5 :
6 : extern "C" {
7 :
8 : static const sal_Unicode langID[] = {0x65, 0x73, 0x0};
9 : static const sal_Unicode langDefaultName[] = {0x53, 0x70, 0x61, 0x6e, 0x69, 0x73, 0x68, 0x0};
10 : static const sal_Unicode countryID[] = {0x50, 0x41, 0x0};
11 : static const sal_Unicode countryDefaultName[] = {0x50, 0x61, 0x6e, 0x61, 0x6d, 0x61, 0x0};
12 : static const sal_Unicode Variant[] = {0x0};
13 :
14 : static const sal_Unicode* LCInfoArray[] = {
15 : langID,
16 : langDefaultName,
17 : countryID,
18 : countryDefaultName,
19 : Variant
20 : };
21 :
22 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getLCInfo_es_PA(sal_Int16& count)
23 : {
24 0 : count = 0;
25 0 : return (sal_Unicode**)LCInfoArray;
26 : }
27 : extern sal_Unicode ** SAL_CALL getLocaleItem_es_DO(sal_Int16& count);
28 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getLocaleItem_es_PA(sal_Int16& count)
29 : {
30 0 : return getLocaleItem_es_DO(count);
31 : }
32 : static const sal_Unicode replaceFrom0[] = {0x0};
33 : static const sal_Unicode replaceTo0[] = {0x5b, 0x24, 0x42, 0x2f, 0x2e, 0x2d, 0x31, 0x38, 0x30, 0x41, 0x5d, 0x0};
34 : extern sal_Unicode ** SAL_CALL getAllFormats0_es_GT(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to);
35 4 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllFormats0_es_PA(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to)
36 : {
37 4 : to = replaceTo0;
38 : const sal_Unicode* tmp;
39 4 : return getAllFormats0_es_GT(count, from, tmp);
40 : }
41 : extern sal_Unicode ** SAL_CALL getDateAcceptancePatterns_es_GT(sal_Int16& count);
42 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getDateAcceptancePatterns_es_PA(sal_Int16& count)
43 : {
44 0 : return getDateAcceptancePatterns_es_GT(count);
45 : }
46 : extern sal_Unicode ** SAL_CALL getCollatorImplementation_en_US(sal_Int16& count);
47 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollatorImplementation_es_PA(sal_Int16& count)
48 : {
49 0 : return getCollatorImplementation_en_US(count);
50 : }
51 : extern sal_Unicode ** SAL_CALL getCollationOptions_en_US(sal_Int16& count);
52 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollationOptions_es_PA(sal_Int16& count)
53 : {
54 0 : return getCollationOptions_en_US(count);
55 : }
56 : extern sal_Unicode ** SAL_CALL getSearchOptions_en_US(sal_Int16& count);
57 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getSearchOptions_es_PA(sal_Int16& count)
58 : {
59 0 : return getSearchOptions_en_US(count);
60 : }
61 : extern sal_Unicode ** SAL_CALL getIndexAlgorithm_es_ES(sal_Int16& count);
62 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getIndexAlgorithm_es_PA(sal_Int16& count)
63 : {
64 0 : return getIndexAlgorithm_es_ES(count);
65 : }
66 : extern sal_Unicode ** SAL_CALL getUnicodeScripts_es_ES(sal_Int16& count);
67 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getUnicodeScripts_es_PA(sal_Int16& count)
68 : {
69 0 : return getUnicodeScripts_es_ES(count);
70 : }
71 : extern sal_Unicode ** SAL_CALL getFollowPageWords_es_ES(sal_Int16& count);
72 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getFollowPageWords_es_PA(sal_Int16& count)
73 : {
74 0 : return getFollowPageWords_es_ES(count);
75 : }
76 : extern sal_Unicode ** SAL_CALL getAllCalendars_es_AR(sal_Int16& count);
77 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCalendars_es_PA(sal_Int16& count)
78 : {
79 0 : return getAllCalendars_es_AR(count);
80 : }
81 : static const sal_Unicode defaultCurrency0[] = {1};
82 : static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes0[] = {1};
83 : static const sal_Unicode defaultCurrencyLegacyOnly0[] = {0};
84 : static const sal_Unicode currencyID0[] = {0x50, 0x41, 0x42, 0x0};
85 : static const sal_Unicode currencySymbol0[] = {0x42, 0x2f, 0x2e, 0x0};
86 : static const sal_Unicode bankSymbol0[] = {0x50, 0x41, 0x42, 0x0};
87 : static const sal_Unicode currencyName0[] = {0x42, 0x61, 0x6c, 0x62, 0x6f, 0x61, 0x0};
88 : static const sal_Unicode currencyDecimalPlaces0[] = {2};
89 :
90 : static const sal_Unicode defaultCurrency1[] = {0};
91 : static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes1[] = {0};
92 : static const sal_Unicode defaultCurrencyLegacyOnly1[] = {1};
93 : static const sal_Unicode currencyID1[] = {0x50, 0x41, 0x42, 0x0};
94 : static const sal_Unicode currencySymbol1[] = {0x42, 0x0};
95 : static const sal_Unicode bankSymbol1[] = {0x50, 0x41, 0x42, 0x0};
96 : static const sal_Unicode currencyName1[] = {0x42, 0x61, 0x6c, 0x62, 0x6f, 0x61, 0x0};
97 : static const sal_Unicode currencyDecimalPlaces1[] = {2};
98 :
99 : static const sal_Int16 currencyCount = 2;
100 :
101 : static const sal_Unicode* currencies[] = {
102 : currencyID0,
103 : currencySymbol0,
104 : bankSymbol0,
105 : currencyName0,
106 : defaultCurrency0,
107 : defaultCurrencyUsedInCompatibleFormatCodes0,
108 : currencyDecimalPlaces0,
109 : defaultCurrencyLegacyOnly0,
110 : currencyID1,
111 : currencySymbol1,
112 : bankSymbol1,
113 : currencyName1,
114 : defaultCurrency1,
115 : defaultCurrencyUsedInCompatibleFormatCodes1,
116 : currencyDecimalPlaces1,
117 : defaultCurrencyLegacyOnly1,
118 : };
119 :
120 8 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCurrencies_es_PA(sal_Int16& count)
121 : {
122 8 : count = currencyCount;
123 8 : return (sal_Unicode**)currencies;
124 : }
125 : extern sal_Unicode ** SAL_CALL getTransliterations_en_US(sal_Int16& count);
126 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getTransliterations_es_PA(sal_Int16& count)
127 : {
128 0 : return getTransliterations_en_US(count);
129 : }
130 : extern sal_Unicode ** SAL_CALL getForbiddenCharacters_es_ES(sal_Int16& count);
131 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getForbiddenCharacters_es_PA(sal_Int16& count)
132 : {
133 0 : return getForbiddenCharacters_es_ES(count);
134 : }
135 : extern sal_Unicode ** SAL_CALL getBreakIteratorRules_es_ES(sal_Int16& count);
136 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getBreakIteratorRules_es_PA(sal_Int16& count)
137 : {
138 0 : return getBreakIteratorRules_es_ES(count);
139 : }
140 : extern sal_Unicode ** SAL_CALL getReservedWords_es_ES(sal_Int16& count);
141 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getReservedWords_es_PA(sal_Int16& count)
142 : {
143 0 : return getReservedWords_es_ES(count);
144 : }
145 : // ---> ContinuousNumbering
146 : extern const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_en_US(sal_Int16& nStyles, sal_Int16& nAttributes);
147 0 : SAL_DLLPUBLIC_EXPORT const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_es_PA(sal_Int16& nStyles, sal_Int16& nAttributes)
148 : {
149 0 : return getContinuousNumberingLevels_en_US(nStyles, nAttributes);
150 : }
151 : // ---> OutlineNumbering
152 : extern const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_en_US(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes);
153 0 : SAL_DLLPUBLIC_EXPORT const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_es_PA(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes)
154 : {
155 0 : return getOutlineNumberingLevels_en_US(nStyles, nLevels, nAttributes);
156 : }
157 : } // extern "C"
158 :
|