Files
loongoffice/external/libnumbertext/Module_libnumbertext.mk
László Németh f1579d3d6c tdf#117171 support localized number name numbering styles
in page number, chapter and outline numbering
in ~30 languages by integrating libnumbertext library.

- offapi: add linguistic2::NumberText

New NumberingType constants:

- ordinal indicators (1st, 2nd, 3rd...)

- cardinal number names (One, Two, Three...)

- ordinal number names  (First, Second, Third...)

Note: these numberings are parts of OOXML, too.

Plain text files of Libnumbertext's language data
are installed in share/numbertext (similar to
share/fingerprint), allowing further customization.

Change-Id: I4034da0a40a8c926f14a3f591749a89a8d807d5a
Reviewed-on: https://gerrit.libreoffice.org/53313
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2018-05-03 11:42:20 +02:00

33 lines
763 B
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# 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_Module_Module,libnumbertext))
$(eval $(call gb_Module_add_targets,libnumbertext,\
ExternalPackage_numbertext \
UnpackedTarball_libnumbertext \
))
ifeq ($(COM),MSC)
$(eval $(call gb_Module_add_targets,libnumbertext,\
StaticLibrary_libnumbertext \
))
else
ifeq ($(ENABLE_LIBNUMBERTEXT),TRUE)
$(eval $(call gb_Module_add_targets,libnumbertext,\
ExternalProject_libnumbertext \
))
endif
endif
# vim: set noet sw=4 ts=4: