Kaydet (Commit) 3b7b4d07 authored tarafından Caolán McNamara's avatar Caolán McNamara

wmffuzzer as single static binary for oss-fuzz

Change-Id: I4d5ae63e46809341a7bb74a7c89b5a80c7a91e38
Reviewed-on: https://gerrit.libreoffice.org/32227Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 1ad871ce
......@@ -424,6 +424,8 @@ $(foreach ide,\
eclipsecdt,\
$(eval $(call gb_Top_GbuildToIdeIntegration,$(ide))))
fuzzers: Library_sal Library_salhelper Library_reg Library_store Library_unoidl codemaker Library_cppu Library_i18nlangtag StaticLibrary_ulingu StaticLibrary_jpeg StaticLibrary_findsofficepath Rdb_services udkapi offapi Library_clew Library_gie Library_reflection Library_invocadapt Library_bootstrap Library_introspection Library_stocservices Library_cppuhelper Library_xmlreader Library_gcc3_uno instsetoo_native more_fonts Executable_wmffuzzer
endif # MAKE_RESTARTS
# vim: set noet sw=4 ts=4:
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_CustomTarget_CustomTarget,vcl/workben))
wmffuzzer_PYTHONCOMMAND := $(call gb_ExternalExecutable_get_command,python)
wmffuzzer_Native_cxx=$(call gb_CustomTarget_get_workdir,vcl/workben)/native-code.cxx
$(wmffuzzer_Native_cxx): $(SRCDIR)/solenv/bin/native-code.py | $(call gb_CustomTarget_get_workdir,vcl/workben)/.dir
$(call gb_Helper_abbreviate_dirs, $(wmffuzzer_PYTHONCOMMAND) $(SRCDIR)/solenv/bin/native-code.py -j -g core) > $@
# vim: set noet sw=4 ts=4:
......@@ -15,7 +15,30 @@ $(eval $(call gb_Executable_use_api,wmffuzzer,\
udkapi \
))
$(eval $(call gb_Executable_use_external,wmffuzzer,boost_headers))
$(eval $(call gb_Executable_use_externals,wmffuzzer,\
boost_headers \
curl \
harfbuzz \
graphite \
cairo \
fontconfig \
freetype \
icui18n \
icuuc \
icudata \
lcms2 \
librdf \
libxslt \
libxml2 \
jpeg \
clew \
openssl \
expat \
mythes \
hyphen \
hunspell \
zlib \
))
$(eval $(call gb_Executable_set_include,wmffuzzer,\
$$(INCLUDE) \
......@@ -23,19 +46,81 @@ $(eval $(call gb_Executable_set_include,wmffuzzer,\
))
$(eval $(call gb_Executable_use_libraries,wmffuzzer,\
tl \
sal \
utl \
vcl \
basctl \
merged \
cui \
chartcontroller \
chartcore \
sm \
gie \
oox \
reflection \
odfflatxml \
invocadapt \
bootstrap \
introspection \
stocservices \
lnth \
hyphen \
i18nsearch \
embobj \
evtatt \
unordf \
ucphier1 \
ucptdoc1 \
srtrs1 \
storagefd \
mtfrenderer \
canvasfactory \
vclcanvas \
xof \
xmlfa \
xmlfd \
cppu \
cppuhelper \
comphelper \
i18nlangtag \
xmlreader \
unoidl \
reg \
store \
expwrap \
gcc3_uno \
salhelper \
sal \
))
$(eval $(call gb_Executable_use_static_libraries,wmffuzzer,\
findsofficepath \
ulingu \
))
$(eval $(call gb_Executable_add_exception_objects,wmffuzzer,\
vcl/workben/wmffuzzer \
vcl/workben/wmffuzzer \
vcl/workben/localestub/localestub \
vcl/workben/localestub/localedata_en_AU \
vcl/workben/localestub/localedata_en_BW \
vcl/workben/localestub/localedata_en_BZ \
vcl/workben/localestub/localedata_en_CA \
vcl/workben/localestub/localedata_en_GB \
vcl/workben/localestub/localedata_en_GH \
vcl/workben/localestub/localedata_en_GM \
vcl/workben/localestub/localedata_en_IE \
vcl/workben/localestub/localedata_en_IN \
vcl/workben/localestub/localedata_en_JM \
vcl/workben/localestub/localedata_en_MW \
vcl/workben/localestub/localedata_en_NA \
vcl/workben/localestub/localedata_en_NZ \
vcl/workben/localestub/localedata_en_PH \
vcl/workben/localestub/localedata_en_TT \
vcl/workben/localestub/localedata_en_US \
vcl/workben/localestub/localedata_en_ZA \
vcl/workben/localestub/localedata_en_ZW \
))
$(eval $(call gb_Executable_add_generated_exception_objects,wmffuzzer,\
CustomTarget/vcl/workben/native-code \
))
$(eval $(call gb_Executable_add_libs,wmffuzzer,\
-lFuzzingEngine \
......
......@@ -104,6 +104,7 @@ endif
ifneq ($(ENABLE_FUZZERS),)
$(eval $(call gb_Module_add_targets,vcl,\
CustomTarget_nativecode \
Executable_wmffuzzer \
))
endif
......
This diff is collapsed.
#include <sal/types.h>
#include <stdio.h>
extern "C" {
static const sal_Unicode langID[] = {0x65, 0x6e, 0x0};
static const sal_Unicode langDefaultName[] = {0x45, 0x6e, 0x67, 0x6c, 0x69, 0x73, 0x68, 0x0};
static const sal_Unicode countryID[] = {0x42, 0x57, 0x0};
static const sal_Unicode countryDefaultName[] = {0x42, 0x6f, 0x74, 0x73, 0x77, 0x61, 0x6e, 0x61, 0x0};
static const sal_Unicode Variant[] = {0x0};
static const sal_Unicode* LCInfoArray[] = {
langID,
langDefaultName,
countryID,
countryDefaultName,
Variant
};
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getLCInfo_en_BW(sal_Int16& count)
{
count = 0;
return (sal_Unicode**)LCInfoArray;
}
extern sal_Unicode ** SAL_CALL getLocaleItem_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getLocaleItem_en_BW(sal_Int16& count)
{
return getLocaleItem_en_GB(count);
}
static const sal_Unicode replaceTo0[] = {0x5b, 0x24, 0x50, 0x2d, 0x39, 0x38, 0x30, 0x39, 0x5d, 0x0};
extern sal_Unicode const * const * SAL_CALL getAllFormats0_en_GB(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to);
SAL_DLLPUBLIC_EXPORT sal_Unicode const * const * SAL_CALL getAllFormats0_en_BW(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to)
{
to = replaceTo0;
const sal_Unicode* tmp;
return getAllFormats0_en_GB(count, from, tmp);
}
extern sal_Unicode ** SAL_CALL getDateAcceptancePatterns_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getDateAcceptancePatterns_en_BW(sal_Int16& count)
{
return getDateAcceptancePatterns_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getCollatorImplementation_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollatorImplementation_en_BW(sal_Int16& count)
{
return getCollatorImplementation_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getCollationOptions_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollationOptions_en_BW(sal_Int16& count)
{
return getCollationOptions_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getSearchOptions_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getSearchOptions_en_BW(sal_Int16& count)
{
return getSearchOptions_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getIndexAlgorithm_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getIndexAlgorithm_en_BW(sal_Int16& count)
{
return getIndexAlgorithm_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getUnicodeScripts_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getUnicodeScripts_en_BW(sal_Int16& count)
{
return getUnicodeScripts_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getFollowPageWords_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getFollowPageWords_en_BW(sal_Int16& count)
{
return getFollowPageWords_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getAllCalendars_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCalendars_en_BW(sal_Int16& count)
{
return getAllCalendars_en_GB(count);
}
static const sal_Unicode defaultCurrency0[] = {1};
static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes0[] = {1};
static const sal_Unicode defaultCurrencyLegacyOnly0[] = {0};
static const sal_Unicode currencyID0[] = {0x42, 0x57, 0x50, 0x0};
static const sal_Unicode currencySymbol0[] = {0x50, 0x0};
static const sal_Unicode bankSymbol0[] = {0x42, 0x57, 0x50, 0x0};
static const sal_Unicode currencyName0[] = {0x50, 0x75, 0x6c, 0x61, 0x0};
static const sal_Unicode currencyDecimalPlaces0[] = {2};
static const sal_Int16 currencyCount = 1;
static const sal_Unicode* currencies[] = {
currencyID0,
currencySymbol0,
bankSymbol0,
currencyName0,
defaultCurrency0,
defaultCurrencyUsedInCompatibleFormatCodes0,
currencyDecimalPlaces0,
defaultCurrencyLegacyOnly0,
};
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCurrencies_en_BW(sal_Int16& count)
{
count = currencyCount;
return (sal_Unicode**)currencies;
}
extern sal_Unicode ** SAL_CALL getTransliterations_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getTransliterations_en_BW(sal_Int16& count)
{
return getTransliterations_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getForbiddenCharacters_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getForbiddenCharacters_en_BW(sal_Int16& count)
{
return getForbiddenCharacters_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getBreakIteratorRules_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getBreakIteratorRules_en_BW(sal_Int16& count)
{
return getBreakIteratorRules_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getReservedWords_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getReservedWords_en_BW(sal_Int16& count)
{
return getReservedWords_en_GB(count);
}
// ---> ContinuousNumbering
extern const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_en_GB(sal_Int16& nStyles, sal_Int16& nAttributes);
SAL_DLLPUBLIC_EXPORT const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_en_BW(sal_Int16& nStyles, sal_Int16& nAttributes)
{
return getContinuousNumberingLevels_en_GB(nStyles, nAttributes);
}
// ---> OutlineNumbering
extern const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_en_GB(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes);
SAL_DLLPUBLIC_EXPORT const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_en_BW(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes)
{
return getOutlineNumberingLevels_en_GB(nStyles, nLevels, nAttributes);
}
} // extern "C"
#include <sal/types.h>
#include <stdio.h>
extern "C" {
static const sal_Unicode langID[] = {0x65, 0x6e, 0x0};
static const sal_Unicode langDefaultName[] = {0x45, 0x6e, 0x67, 0x6c, 0x69, 0x73, 0x68, 0x0};
static const sal_Unicode countryID[] = {0x42, 0x5a, 0x0};
static const sal_Unicode countryDefaultName[] = {0x42, 0x65, 0x6c, 0x69, 0x7a, 0x65, 0x0};
static const sal_Unicode Variant[] = {0x0};
static const sal_Unicode* LCInfoArray[] = {
langID,
langDefaultName,
countryID,
countryDefaultName,
Variant
};
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getLCInfo_en_BZ(sal_Int16& count)
{
count = 0;
return (sal_Unicode**)LCInfoArray;
}
static const sal_Unicode LC_CTYPE_Unoid[] = {0x0};
static const sal_Unicode dateSeparator[] = {0x2f, 0x0};
static const sal_Unicode thousandSeparator[] = {0x2c, 0x0};
static const sal_Unicode decimalSeparator[] = {0x2e, 0x0};
static const sal_Unicode timeSeparator[] = {0x3a, 0x0};
static const sal_Unicode time100SecSeparator[] = {0x2e, 0x0};
static const sal_Unicode listSeparator[] = {0x3b, 0x0};
static const sal_Unicode LongDateDayOfWeekSeparator[] = {0x2c, 0x20, 0x0};
static const sal_Unicode LongDateDaySeparator[] = {0x2c, 0x20, 0x0};
static const sal_Unicode LongDateMonthSeparator[] = {0x20, 0x0};
static const sal_Unicode LongDateYearSeparator[] = {0x20, 0x0};
static const sal_Unicode quotationStart[] = {0x2018, 0x0};
static const sal_Unicode quotationEnd[] = {0x2019, 0x0};
static const sal_Unicode doubleQuotationStart[] = {0x201c, 0x0};
static const sal_Unicode doubleQuotationEnd[] = {0x201d, 0x0};
static const sal_Unicode timeAM[] = {0x41, 0x4d, 0x0};
static const sal_Unicode timePM[] = {0x50, 0x4d, 0x0};
static const sal_Unicode measurementSystem[] = {0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x0};
static const sal_Unicode* LCType[] = {
LC_CTYPE_Unoid,
dateSeparator,
thousandSeparator,
decimalSeparator,
timeSeparator,
time100SecSeparator,
listSeparator,
quotationStart,
quotationEnd,
doubleQuotationStart,
doubleQuotationEnd,
timeAM,
timePM,
measurementSystem,
LongDateDayOfWeekSeparator,
LongDateDaySeparator,
LongDateMonthSeparator,
LongDateYearSeparator
};
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getLocaleItem_en_BZ(sal_Int16& count)
{
count = 0;
return (sal_Unicode**)LCType;
}
static const sal_Unicode replaceTo0[] = {0x5b, 0x24, 0x42, 0x5a, 0x24, 0x2d, 0x32, 0x38, 0x30, 0x39, 0x5d, 0x0};
extern sal_Unicode const * const * SAL_CALL getAllFormats0_en_US(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to);
SAL_DLLPUBLIC_EXPORT sal_Unicode const * const * SAL_CALL getAllFormats0_en_BZ(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to)
{
to = replaceTo0;
const sal_Unicode* tmp;
return getAllFormats0_en_US(count, from, tmp);
}
extern sal_Unicode ** SAL_CALL getDateAcceptancePatterns_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getDateAcceptancePatterns_en_BZ(sal_Int16& count)
{
return getDateAcceptancePatterns_en_US(count);
}
extern sal_Unicode ** SAL_CALL getCollatorImplementation_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollatorImplementation_en_BZ(sal_Int16& count)
{
return getCollatorImplementation_en_US(count);
}
extern sal_Unicode ** SAL_CALL getCollationOptions_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollationOptions_en_BZ(sal_Int16& count)
{
return getCollationOptions_en_US(count);
}
extern sal_Unicode ** SAL_CALL getSearchOptions_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getSearchOptions_en_BZ(sal_Int16& count)
{
return getSearchOptions_en_US(count);
}
extern sal_Unicode ** SAL_CALL getIndexAlgorithm_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getIndexAlgorithm_en_BZ(sal_Int16& count)
{
return getIndexAlgorithm_en_US(count);
}
extern sal_Unicode ** SAL_CALL getUnicodeScripts_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getUnicodeScripts_en_BZ(sal_Int16& count)
{
return getUnicodeScripts_en_US(count);
}
extern sal_Unicode ** SAL_CALL getFollowPageWords_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getFollowPageWords_en_BZ(sal_Int16& count)
{
return getFollowPageWords_en_US(count);
}
static const sal_Unicode calendarID0[] = {0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
static const sal_Unicode defaultCalendar0[] = {1};
static const sal_Unicode dayRef0[] = {0x72, 0x65, 0x66, 0x0};
static const sal_Unicode dayRefName0[] = {0x65, 0x6e, 0x5f, 0x55, 0x53, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
static const sal_Unicode monthRef0[] = {0x72, 0x65, 0x66, 0x0};
static const sal_Unicode monthRefName0[] = {0x65, 0x6e, 0x5f, 0x55, 0x53, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
static const sal_Unicode genitiveMonthRef0[] = {0x72, 0x65, 0x66, 0x0};
static const sal_Unicode genitiveMonthRefName0[] = {0x65, 0x6e, 0x5f, 0x55, 0x53, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
static const sal_Unicode partitiveMonthRef0[] = {0x72, 0x65, 0x66, 0x0};
static const sal_Unicode partitiveMonthRefName0[] = {0x65, 0x6e, 0x5f, 0x55, 0x53, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
static const sal_Unicode eraRef0[] = {0x72, 0x65, 0x66, 0x0};
static const sal_Unicode eraRefName0[] = {0x65, 0x6e, 0x5f, 0x55, 0x53, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
static const sal_Unicode startDayOfWeek0[] = {0x6d, 0x6f, 0x6e, 0x0};
static const sal_Unicode minimalDaysInFirstWeek0[] = {1};
static const sal_Int16 calendarsCount = 1;
static const sal_Unicode nbOfDays[] = {0};
static const sal_Unicode nbOfMonths[] = {0};
static const sal_Unicode nbOfGenitiveMonths[] = {0};
static const sal_Unicode nbOfPartitiveMonths[] = {0};
static const sal_Unicode nbOfEras[] = {0};
static const sal_Unicode* calendars[] = {
nbOfDays,
nbOfMonths,
nbOfGenitiveMonths,
nbOfPartitiveMonths,
nbOfEras,
calendarID0,
defaultCalendar0,
dayRef0,
dayRefName0,
monthRef0,
monthRefName0,
genitiveMonthRef0,
genitiveMonthRefName0,
partitiveMonthRef0,
partitiveMonthRefName0,
eraRef0,
eraRefName0,
startDayOfWeek0,
minimalDaysInFirstWeek0,
};
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCalendars_en_BZ(sal_Int16& count)
{
count = calendarsCount;
return (sal_Unicode**)calendars;
}
static const sal_Unicode defaultCurrency0[] = {1};
static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes0[] = {1};
static const sal_Unicode defaultCurrencyLegacyOnly0[] = {0};
static const sal_Unicode currencyID0[] = {0x42, 0x5a, 0x44, 0x0};
static const sal_Unicode currencySymbol0[] = {0x42, 0x5a, 0x24, 0x0};
static const sal_Unicode bankSymbol0[] = {0x42, 0x5a, 0x44, 0x0};
static const sal_Unicode currencyName0[] = {0x42, 0x65, 0x6c, 0x69, 0x7a, 0x65, 0x20, 0x44, 0x6f, 0x6c, 0x6c, 0x61, 0x72, 0x0};
static const sal_Unicode currencyDecimalPlaces0[] = {2};
static const sal_Int16 currencyCount = 1;
static const sal_Unicode* currencies[] = {
currencyID0,
currencySymbol0,
bankSymbol0,
currencyName0,
defaultCurrency0,
defaultCurrencyUsedInCompatibleFormatCodes0,
currencyDecimalPlaces0,
defaultCurrencyLegacyOnly0,
};
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCurrencies_en_BZ(sal_Int16& count)
{
count = currencyCount;
return (sal_Unicode**)currencies;
}
extern sal_Unicode ** SAL_CALL getTransliterations_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getTransliterations_en_BZ(sal_Int16& count)
{
return getTransliterations_en_US(count);
}
extern sal_Unicode ** SAL_CALL getForbiddenCharacters_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getForbiddenCharacters_en_BZ(sal_Int16& count)
{
return getForbiddenCharacters_en_US(count);
}
extern sal_Unicode ** SAL_CALL getBreakIteratorRules_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getBreakIteratorRules_en_BZ(sal_Int16& count)
{
return getBreakIteratorRules_en_US(count);
}
extern sal_Unicode ** SAL_CALL getReservedWords_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getReservedWords_en_BZ(sal_Int16& count)
{
return getReservedWords_en_US(count);
}
// ---> ContinuousNumbering
extern const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_en_US(sal_Int16& nStyles, sal_Int16& nAttributes);
SAL_DLLPUBLIC_EXPORT const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_en_BZ(sal_Int16& nStyles, sal_Int16& nAttributes)
{
return getContinuousNumberingLevels_en_US(nStyles, nAttributes);
}
// ---> OutlineNumbering
extern const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_en_US(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes);
SAL_DLLPUBLIC_EXPORT const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_en_BZ(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes)
{
return getOutlineNumberingLevels_en_US(nStyles, nLevels, nAttributes);
}
} // extern "C"
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#include <sal/types.h>
#include <stdio.h>
extern "C" {
static const sal_Unicode langID[] = {0x65, 0x6e, 0x0};
static const sal_Unicode langDefaultName[] = {0x45, 0x6e, 0x67, 0x6c, 0x69, 0x73, 0x68, 0x0};
static const sal_Unicode countryID[] = {0x47, 0x4d, 0x0};
static const sal_Unicode countryDefaultName[] = {0x47, 0x61, 0x6d, 0x62, 0x69, 0x61, 0x0};
static const sal_Unicode Variant[] = {0x0};
static const sal_Unicode* LCInfoArray[] = {
langID,
langDefaultName,
countryID,
countryDefaultName,
Variant
};
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getLCInfo_en_GM(sal_Int16& count)
{
count = 0;
return (sal_Unicode**)LCInfoArray;
}
extern sal_Unicode ** SAL_CALL getLocaleItem_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getLocaleItem_en_GM(sal_Int16& count)
{
return getLocaleItem_en_GB(count);
}
static const sal_Unicode replaceTo0[] = {0x5b, 0x24, 0x44, 0x2d, 0x39, 0x30, 0x30, 0x39, 0x5d, 0x0};
extern sal_Unicode const * const * SAL_CALL getAllFormats0_en_GB(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to);
SAL_DLLPUBLIC_EXPORT sal_Unicode const * const * SAL_CALL getAllFormats0_en_GM(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to)
{
to = replaceTo0;
const sal_Unicode* tmp;
return getAllFormats0_en_GB(count, from, tmp);
}
extern sal_Unicode ** SAL_CALL getDateAcceptancePatterns_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getDateAcceptancePatterns_en_GM(sal_Int16& count)
{
return getDateAcceptancePatterns_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getCollatorImplementation_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollatorImplementation_en_GM(sal_Int16& count)
{
return getCollatorImplementation_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getCollationOptions_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollationOptions_en_GM(sal_Int16& count)
{
return getCollationOptions_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getSearchOptions_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getSearchOptions_en_GM(sal_Int16& count)
{
return getSearchOptions_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getIndexAlgorithm_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getIndexAlgorithm_en_GM(sal_Int16& count)
{
return getIndexAlgorithm_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getUnicodeScripts_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getUnicodeScripts_en_GM(sal_Int16& count)
{
return getUnicodeScripts_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getFollowPageWords_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getFollowPageWords_en_GM(sal_Int16& count)
{
return getFollowPageWords_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getAllCalendars_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCalendars_en_GM(sal_Int16& count)
{
return getAllCalendars_en_GB(count);
}
static const sal_Unicode defaultCurrency0[] = {1};
static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes0[] = {1};
static const sal_Unicode defaultCurrencyLegacyOnly0[] = {0};
static const sal_Unicode currencyID0[] = {0x47, 0x4d, 0x44, 0x0};
static const sal_Unicode currencySymbol0[] = {0x44, 0x0};
static const sal_Unicode bankSymbol0[] = {0x47, 0x4d, 0x44, 0x0};
static const sal_Unicode currencyName0[] = {0x44, 0x61, 0x6c, 0x61, 0x73, 0x69, 0x0};
static const sal_Unicode currencyDecimalPlaces0[] = {2};
static const sal_Int16 currencyCount = 1;
static const sal_Unicode* currencies[] = {
currencyID0,
currencySymbol0,
bankSymbol0,
currencyName0,
defaultCurrency0,
defaultCurrencyUsedInCompatibleFormatCodes0,
currencyDecimalPlaces0,
defaultCurrencyLegacyOnly0,
};
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCurrencies_en_GM(sal_Int16& count)
{
count = currencyCount;
return (sal_Unicode**)currencies;
}
extern sal_Unicode ** SAL_CALL getTransliterations_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getTransliterations_en_GM(sal_Int16& count)
{
return getTransliterations_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getForbiddenCharacters_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getForbiddenCharacters_en_GM(sal_Int16& count)
{
return getForbiddenCharacters_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getBreakIteratorRules_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getBreakIteratorRules_en_GM(sal_Int16& count)
{
return getBreakIteratorRules_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getReservedWords_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getReservedWords_en_GM(sal_Int16& count)
{
return getReservedWords_en_GB(count);
}
// ---> ContinuousNumbering
extern const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_en_GB(sal_Int16& nStyles, sal_Int16& nAttributes);
SAL_DLLPUBLIC_EXPORT const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_en_GM(sal_Int16& nStyles, sal_Int16& nAttributes)
{
return getContinuousNumberingLevels_en_GB(nStyles, nAttributes);
}
// ---> OutlineNumbering
extern const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_en_GB(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes);
SAL_DLLPUBLIC_EXPORT const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_en_GM(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes)
{
return getOutlineNumberingLevels_en_GB(nStyles, nLevels, nAttributes);
}
} // extern "C"
This diff is collapsed.
#include <sal/types.h>
#include <stdio.h>
extern "C" {
static const sal_Unicode langID[] = {0x65, 0x6e, 0x0};
static const sal_Unicode langDefaultName[] = {0x45, 0x6e, 0x67, 0x6c, 0x69, 0x73, 0x68, 0x0};
static const sal_Unicode countryID[] = {0x49, 0x4e, 0x0};
static const sal_Unicode countryDefaultName[] = {0x49, 0x6e, 0x64, 0x69, 0x61, 0x0};
static const sal_Unicode Variant[] = {0x0};
static const sal_Unicode* LCInfoArray[] = {
langID,
langDefaultName,
countryID,
countryDefaultName,
Variant
};
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getLCInfo_en_IN(sal_Int16& count)
{
count = 0;
return (sal_Unicode**)LCInfoArray;
}
extern sal_Unicode ** SAL_CALL getLocaleItem_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getLocaleItem_en_IN(sal_Int16& count)
{
return getLocaleItem_en_GB(count);
}
static const sal_Unicode replaceTo0[] = {0x5b, 0x24, 0x20b9, 0x2d, 0x34, 0x30, 0x30, 0x39, 0x5d, 0x0};
extern sal_Unicode const * const * SAL_CALL getAllFormats0_en_GB(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to);
SAL_DLLPUBLIC_EXPORT sal_Unicode const * const * SAL_CALL getAllFormats0_en_IN(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to)
{
to = replaceTo0;
const sal_Unicode* tmp;
return getAllFormats0_en_GB(count, from, tmp);
}
extern sal_Unicode ** SAL_CALL getDateAcceptancePatterns_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getDateAcceptancePatterns_en_IN(sal_Int16& count)
{
return getDateAcceptancePatterns_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getCollatorImplementation_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollatorImplementation_en_IN(sal_Int16& count)
{
return getCollatorImplementation_en_US(count);
}
extern sal_Unicode ** SAL_CALL getCollationOptions_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollationOptions_en_IN(sal_Int16& count)
{
return getCollationOptions_en_US(count);
}
extern sal_Unicode ** SAL_CALL getSearchOptions_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getSearchOptions_en_IN(sal_Int16& count)
{
return getSearchOptions_en_US(count);
}
extern sal_Unicode ** SAL_CALL getIndexAlgorithm_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getIndexAlgorithm_en_IN(sal_Int16& count)
{
return getIndexAlgorithm_en_US(count);
}
extern sal_Unicode ** SAL_CALL getUnicodeScripts_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getUnicodeScripts_en_IN(sal_Int16& count)
{
return getUnicodeScripts_en_US(count);
}
extern sal_Unicode ** SAL_CALL getFollowPageWords_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getFollowPageWords_en_IN(sal_Int16& count)
{
return getFollowPageWords_en_US(count);
}
static const sal_Unicode calendarID0[] = {0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
static const sal_Unicode defaultCalendar0[] = {1};
static const sal_Unicode dayRef0[] = {0x72, 0x65, 0x66, 0x0};
static const sal_Unicode dayRefName0[] = {0x65, 0x6e, 0x5f, 0x55, 0x53, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
static const sal_Unicode monthRef0[] = {0x72, 0x65, 0x66, 0x0};
static const sal_Unicode monthRefName0[] = {0x65, 0x6e, 0x5f, 0x55, 0x53, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
static const sal_Unicode genitiveMonthRef0[] = {0x72, 0x65, 0x66, 0x0};
static const sal_Unicode genitiveMonthRefName0[] = {0x65, 0x6e, 0x5f, 0x55, 0x53, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
static const sal_Unicode partitiveMonthRef0[] = {0x72, 0x65, 0x66, 0x0};
static const sal_Unicode partitiveMonthRefName0[] = {0x65, 0x6e, 0x5f, 0x55, 0x53, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
static const sal_Unicode eraRef0[] = {0x72, 0x65, 0x66, 0x0};
static const sal_Unicode eraRefName0[] = {0x65, 0x6e, 0x5f, 0x55, 0x53, 0x5f, 0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
static const sal_Unicode startDayOfWeek0[] = {0x6d, 0x6f, 0x6e, 0x0};
static const sal_Unicode minimalDaysInFirstWeek0[] = {1};
static const sal_Int16 calendarsCount = 1;
static const sal_Unicode nbOfDays[] = {0};
static const sal_Unicode nbOfMonths[] = {0};
static const sal_Unicode nbOfGenitiveMonths[] = {0};
static const sal_Unicode nbOfPartitiveMonths[] = {0};
static const sal_Unicode nbOfEras[] = {0};
static const sal_Unicode* calendars[] = {
nbOfDays,
nbOfMonths,
nbOfGenitiveMonths,
nbOfPartitiveMonths,
nbOfEras,
calendarID0,
defaultCalendar0,
dayRef0,
dayRefName0,
monthRef0,
monthRefName0,
genitiveMonthRef0,
genitiveMonthRefName0,
partitiveMonthRef0,
partitiveMonthRefName0,
eraRef0,
eraRefName0,
startDayOfWeek0,
minimalDaysInFirstWeek0,
};
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCalendars_en_IN(sal_Int16& count)
{
count = calendarsCount;
return (sal_Unicode**)calendars;
}
static const sal_Unicode defaultCurrency0[] = {1};
static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes0[] = {1};
static const sal_Unicode defaultCurrencyLegacyOnly0[] = {0};
static const sal_Unicode currencyID0[] = {0x49, 0x4e, 0x52, 0x0};
static const sal_Unicode currencySymbol0[] = {0x20b9, 0x0};
static const sal_Unicode bankSymbol0[] = {0x49, 0x4e, 0x52, 0x0};
static const sal_Unicode currencyName0[] = {0x52, 0x75, 0x70, 0x65, 0x65, 0x0};
static const sal_Unicode currencyDecimalPlaces0[] = {2};
static const sal_Unicode defaultCurrency1[] = {0};
static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes1[] = {0};
static const sal_Unicode defaultCurrencyLegacyOnly1[] = {1};
static const sal_Unicode currencyID1[] = {0x49, 0x4e, 0x52, 0x0};
static const sal_Unicode currencySymbol1[] = {0x52, 0x73, 0x2e, 0x0};
static const sal_Unicode bankSymbol1[] = {0x49, 0x4e, 0x52, 0x0};
static const sal_Unicode currencyName1[] = {0x49, 0x6e, 0x64, 0x69, 0x61, 0x6e, 0x20, 0x52, 0x75, 0x70, 0x65, 0x65, 0x0};
static const sal_Unicode currencyDecimalPlaces1[] = {2};
static const sal_Int16 currencyCount = 2;
static const sal_Unicode* currencies[] = {
currencyID0,
currencySymbol0,
bankSymbol0,
currencyName0,
defaultCurrency0,
defaultCurrencyUsedInCompatibleFormatCodes0,
currencyDecimalPlaces0,
defaultCurrencyLegacyOnly0,
currencyID1,
currencySymbol1,
bankSymbol1,
currencyName1,
defaultCurrency1,
defaultCurrencyUsedInCompatibleFormatCodes1,
currencyDecimalPlaces1,
defaultCurrencyLegacyOnly1,
};
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCurrencies_en_IN(sal_Int16& count)
{
count = currencyCount;
return (sal_Unicode**)currencies;
}
extern sal_Unicode ** SAL_CALL getTransliterations_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getTransliterations_en_IN(sal_Int16& count)
{
return getTransliterations_en_US(count);
}
extern sal_Unicode ** SAL_CALL getForbiddenCharacters_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getForbiddenCharacters_en_IN(sal_Int16& count)
{
return getForbiddenCharacters_en_US(count);
}
extern sal_Unicode ** SAL_CALL getBreakIteratorRules_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getBreakIteratorRules_en_IN(sal_Int16& count)
{
return getBreakIteratorRules_en_US(count);
}
extern sal_Unicode ** SAL_CALL getReservedWords_en_US(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getReservedWords_en_IN(sal_Int16& count)
{
return getReservedWords_en_US(count);
}
// ---> ContinuousNumbering
extern const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_en_US(sal_Int16& nStyles, sal_Int16& nAttributes);
SAL_DLLPUBLIC_EXPORT const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_en_IN(sal_Int16& nStyles, sal_Int16& nAttributes)
{
return getContinuousNumberingLevels_en_US(nStyles, nAttributes);
}
// ---> OutlineNumbering
extern const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_en_US(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes);
SAL_DLLPUBLIC_EXPORT const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_en_IN(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes)
{
return getOutlineNumberingLevels_en_US(nStyles, nLevels, nAttributes);
}
} // extern "C"
This diff is collapsed.
#include <sal/types.h>
#include <stdio.h>
extern "C" {
static const sal_Unicode langID[] = {0x65, 0x6e, 0x0};
static const sal_Unicode langDefaultName[] = {0x45, 0x6e, 0x67, 0x6c, 0x69, 0x73, 0x68, 0x0};
static const sal_Unicode countryID[] = {0x4d, 0x57, 0x0};
static const sal_Unicode countryDefaultName[] = {0x4d, 0x61, 0x6c, 0x61, 0x77, 0x69, 0x0};
static const sal_Unicode Variant[] = {0x0};
static const sal_Unicode* LCInfoArray[] = {
langID,
langDefaultName,
countryID,
countryDefaultName,
Variant
};
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getLCInfo_en_MW(sal_Int16& count)
{
count = 0;
return (sal_Unicode**)LCInfoArray;
}
extern sal_Unicode ** SAL_CALL getLocaleItem_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getLocaleItem_en_MW(sal_Int16& count)
{
return getLocaleItem_en_GB(count);
}
static const sal_Unicode replaceTo0[] = {0x5b, 0x24, 0x4d, 0x4b, 0x2d, 0x38, 0x38, 0x30, 0x39, 0x5d, 0x0};
extern sal_Unicode const * const * SAL_CALL getAllFormats0_en_GB(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to);
SAL_DLLPUBLIC_EXPORT sal_Unicode const * const * SAL_CALL getAllFormats0_en_MW(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to)
{
to = replaceTo0;
const sal_Unicode* tmp;
return getAllFormats0_en_GB(count, from, tmp);
}
extern sal_Unicode ** SAL_CALL getDateAcceptancePatterns_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getDateAcceptancePatterns_en_MW(sal_Int16& count)
{
return getDateAcceptancePatterns_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getCollatorImplementation_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollatorImplementation_en_MW(sal_Int16& count)
{
return getCollatorImplementation_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getCollationOptions_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollationOptions_en_MW(sal_Int16& count)
{
return getCollationOptions_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getSearchOptions_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getSearchOptions_en_MW(sal_Int16& count)
{
return getSearchOptions_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getIndexAlgorithm_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getIndexAlgorithm_en_MW(sal_Int16& count)
{
return getIndexAlgorithm_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getUnicodeScripts_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getUnicodeScripts_en_MW(sal_Int16& count)
{
return getUnicodeScripts_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getFollowPageWords_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getFollowPageWords_en_MW(sal_Int16& count)
{
return getFollowPageWords_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getAllCalendars_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCalendars_en_MW(sal_Int16& count)
{
return getAllCalendars_en_GB(count);
}
static const sal_Unicode defaultCurrency0[] = {1};
static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes0[] = {1};
static const sal_Unicode defaultCurrencyLegacyOnly0[] = {0};
static const sal_Unicode currencyID0[] = {0x4d, 0x57, 0x4b, 0x0};
static const sal_Unicode currencySymbol0[] = {0x4d, 0x4b, 0x0};
static const sal_Unicode bankSymbol0[] = {0x4d, 0x57, 0x4b, 0x0};
static const sal_Unicode currencyName0[] = {0x4d, 0x61, 0x6c, 0x61, 0x77, 0x69, 0x61, 0x6e, 0x20, 0x6b, 0x77, 0x61, 0x63, 0x68, 0x61, 0x0};
static const sal_Unicode currencyDecimalPlaces0[] = {2};
static const sal_Int16 currencyCount = 1;
static const sal_Unicode* currencies[] = {
currencyID0,
currencySymbol0,
bankSymbol0,
currencyName0,
defaultCurrency0,
defaultCurrencyUsedInCompatibleFormatCodes0,
currencyDecimalPlaces0,
defaultCurrencyLegacyOnly0,
};
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCurrencies_en_MW(sal_Int16& count)
{
count = currencyCount;
return (sal_Unicode**)currencies;
}
extern sal_Unicode ** SAL_CALL getTransliterations_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getTransliterations_en_MW(sal_Int16& count)
{
return getTransliterations_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getForbiddenCharacters_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getForbiddenCharacters_en_MW(sal_Int16& count)
{
return getForbiddenCharacters_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getBreakIteratorRules_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getBreakIteratorRules_en_MW(sal_Int16& count)
{
return getBreakIteratorRules_en_GB(count);
}
extern sal_Unicode ** SAL_CALL getReservedWords_en_GB(sal_Int16& count);
SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getReservedWords_en_MW(sal_Int16& count)
{
return getReservedWords_en_GB(count);
}
// ---> ContinuousNumbering
extern const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_en_GB(sal_Int16& nStyles, sal_Int16& nAttributes);
SAL_DLLPUBLIC_EXPORT const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_en_MW(sal_Int16& nStyles, sal_Int16& nAttributes)
{
return getContinuousNumberingLevels_en_GB(nStyles, nAttributes);
}
// ---> OutlineNumbering
extern const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_en_GB(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes);
SAL_DLLPUBLIC_EXPORT const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_en_MW(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes)
{
return getOutlineNumberingLevels_en_GB(nStyles, nLevels, nAttributes);
}
} // extern "C"
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <sal/types.h>
extern "C" const sal_Unicode* getSTC_CharData_T2S() { return nullptr; }
extern "C" const sal_uInt16* getSTC_CharIndex_T2S() { return nullptr; }
extern "C" const sal_Unicode* getSTC_CharData_S2V() { return nullptr; }
extern "C" const sal_uInt16* getSTC_CharIndex_S2V() { return nullptr; }
extern "C" const sal_Unicode* getSTC_CharData_S2T() { return nullptr; }
extern "C" const sal_uInt16* getSTC_CharIndex_S2T() { return nullptr; }
extern "C" const sal_Unicode *getSTC_WordData(sal_Int32&) { return nullptr; }
extern "C" const sal_uInt16 *getSTC_WordIndex_T2S(sal_Int32&) { return nullptr; }
extern "C" const sal_uInt16 *getSTC_WordEntry_T2S() { return nullptr; }
extern "C" const sal_uInt16 *getSTC_WordIndex_S2T(sal_Int32&) { return nullptr; }
extern "C" const sal_uInt16 *getSTC_WordEntry_S2T() { return nullptr; }
extern "C" sal_uInt16** get_zh_zhuyin() { return nullptr; }
extern "C" sal_uInt16** get_zh_pinyin() { return nullptr; }
extern "C" const sal_Unicode* getHangul2HanjaData() { return nullptr; }
extern "C" const void* getHangul2HanjaIndex() { return nullptr; }
extern "C" sal_Int16 getHangul2HanjaIndexCount() { return 0; }
extern "C" const sal_uInt16* getHanja2HangulIndex() { return nullptr; }
extern "C" const sal_Unicode* getHanja2HangulData() { return 0; }
extern "C" sal_uInt16** get_indexdata_ko_dict(sal_Int16*) { return nullptr; }
extern "C" sal_uInt16** get_indexdata_zh_TW_radical(sal_Int16*) { return nullptr; }
extern "C" sal_uInt16** get_indexdata_zh_TW_stroke(sal_Int16*) { return nullptr; }
extern "C" sal_uInt16** get_indexdata_zh_radical(sal_Int16*) { return nullptr; }
extern "C" sal_uInt16** get_indexdata_zh_pinyin(sal_Int16*) { return nullptr; }
extern "C" sal_uInt16** get_indexdata_zh_stroke(sal_Int16*) { return nullptr; }
extern "C" sal_uInt16** get_indexdata_zh_zhuyin(sal_Int16*) { return nullptr; }
extern "C" sal_uInt16** get_ko_phonetic(sal_Int16*) { return nullptr; }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -44,7 +44,7 @@ namespace
}
OUString path;
osl::FileBase::getSystemPathFromFileURL(uri, path);
OString sFontDir = OUStringToOString(path, osl_getThreadTextEncoding()) + "../share/fonts/truetype";
OString sFontDir = OUStringToOString(path, osl_getThreadTextEncoding());
rtl::OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>");
aBuffer.append(sFontDir);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment