office-gobmx/sax/Library_sax.mk
Regina Henschel 9f62c7a0f2 tdf#161483 enable LO to read ODF angle units
ODF uses in several places data type 'angle' (18.3.1, ODF 1.3). That is
a double followed by unit identifier 'deg', 'grad' or 'rad' or a unit
less value in degrees. LO uses in the API angles in degrees, 1/10 of
degrees and 1/100 of degrees in data types 'double', 'short' and 'long'.

Without the fix LO does not interpret the units, but takes only the
number part.

Change-Id: Ib3f2a518a25199e3cf7a7a8572e169785f75c427
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169360
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2024-06-25 16:21:42 +02:00

54 lines
1.3 KiB
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_Library_Library,sax))
$(eval $(call gb_Library_set_componentfile,sax,sax/source/expatwrap/expwrap,services))
$(eval $(call gb_Library_set_include,sax,\
-I$(SRCDIR)/sax/inc \
$$(INCLUDE) \
))
$(eval $(call gb_Library_use_common_precompiled_header,sax))
$(eval $(call gb_Library_use_sdk_api,sax))
$(eval $(call gb_Library_use_externals,sax,\
libxml2 \
expat \
))
$(eval $(call gb_Library_use_libraries,sax,\
basegfx \
comphelper \
cppu \
cppuhelper \
sal \
salhelper \
tl \
))
$(eval $(call gb_Library_add_defs,sax,\
-DSAX_DLLIMPLEMENTATION \
))
$(eval $(call gb_Library_add_exception_objects,sax,\
sax/source/expatwrap/sax_expat \
sax/source/expatwrap/saxwriter \
sax/source/expatwrap/xml2utf \
sax/source/fastparser/fastparser \
sax/source/fastparser/legacyfastparser \
sax/source/tools/converter \
sax/source/tools/fastattribs \
sax/source/tools/fastserializer \
sax/source/tools/fshelper \
))
# vim: set noet sw=4 ts=4: