office-gobmx/sax
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
..
inc
qa
source
test
CppunitTest_sax.mk
CppunitTest_sax_attributes.mk
CppunitTest_sax_parser.mk
CppunitTest_sax_xmlimport.mk
IwyuFilter_sax.yaml
Library_sax.mk
Makefile
Module_sax.mk
README.md
README.vars

UNO Services for SAX

UNO services for SAX parsing and C++ functions for XMLSchema-2 data types.

  • source/expwrap: string-based SAX parser UNO service wrapping expat
  • source/fastparser: multi-threaded token-based SAX parser UNO service wrapping libxml2
  • source/tools:
    • C++ wrapper for fast SAX parser
    • C++ XMLSchema-2 data type conversion helpers

Multi-threading in FastParser can be disabled for debugging purposes with:

SAX_DISABLE_THREADS=1 SAL_LOG="+INFO.sax.fastparser+WARN"