office-gobmx/oox/source
Balazs Varga d7214aba95 tdf#160517 - chart odf: import/export formatted chart titles
(main, sub, axis titles) texts properly to/from odf format.

Fix odf export of formatted chart titles. The exported data structure
will look like:

<chart:title svg:x="3.304cm" svg:y="0.285cm" chart:style-name="ch2">
    <text:p>
        <text:span text:style-name="T1">This</text:span>
        <text:span text:style-name="T2"> is</text:span>
        .
        .
        .
        <text:span text:style-name="T3">3</text:span>
        <text:span text:style-name="T2"> a </text:span>
    </text:p>
</chart:title>

Fix import of formatted chart titles. Put the properties and related texts
into the chart2::XFormattedString2 uno objects.

Follow-up commit of:
55e9a27afd
Related: tdf#39052 - chart ooxml: export formatted chart titles

4f994cec38
tdf#39052 - Chart: make characters formatable in editable chart textshapes

--
TODO: chart data point / dataseries labels are handled differently
since those are not editable objects, but that is a completily different
issue.
--

Change-Id: I1842f2c69c132bdf578bb2d354f451cc9d49c63c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166122
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2024-04-18 18:07:57 +02:00
..
core tdf#146619 Drop unused 'using namespace' in: oox/ 2024-04-09 08:45:48 +02:00
crypto
docprop
drawingml Use o3tl::convert in oox 2024-04-13 01:19:00 +02:00
dump tdf#146619 Drop unused 'using namespace' in: oox/ 2024-04-09 08:45:48 +02:00
export tdf#160517 - chart odf: import/export formatted chart titles 2024-04-18 18:07:57 +02:00
helper tdf#146619 Drop unused 'using namespace' in: oox/ 2024-04-09 08:45:48 +02:00
mathml
ole tdf#146619 Drop unused 'using namespace' in: oox/ 2024-04-09 08:45:48 +02:00
ppt tdf#146619 Drop unused 'using namespace' in: oox/ 2024-04-09 08:45:48 +02:00
shape tdf#158237 Use C++20 contains() instead of find() and end() 2024-03-29 14:58:23 +01:00
token svx: read font and spacing scaling from oox, add bot as UNO prop. 2024-04-03 04:06:39 +02:00
vml