reportdesign: avoid assertion on duplicate properties ...

... from XMLAutoStylePoolProperties that happens when opening bugdoc
from fdo#87044.

Change-Id: I7002cf5176cd326f57b50fb6030ffb89160c237b
(cherry picked from commit 541800fa17c6a4f9552c76e5290b5011addb1264)
reportbuilder: re-add numerous bits of dead code needed by bug fix

Change-Id: Ia0a8b8ec3b4684ad6766467c8e3413f91dc8bf67
(cherry picked from commit 458f22c338f39ad777ad3f34b45a81b4eb8dfe8e)
fdo#87044: reportbuilder: Revert "fdo#67930 don't use variables ...

... for formattedtext in header/footer"

This reverts commit b0e3c6b8fa548defd5a3af2b8bf88b0b49589753.
This reverts commit fc92c1abebcfe9b18649d35b76bf22e001e332da.

The other fix from the libreoffice-4-1 branch seems to work better.

Change-Id: Idc5d7543c11dff74977729dab5afd978197dab6a
(cherry picked from commit d6ce95ae2288859fe74d601f1bdaf616ab1ee7f0)
fdo#67930 work around fdo#68024

don't emit string-value attribute

Change-Id: I3668b88437451523f2b6bb3c2c82e1929f7ba3d8
Reviewed-on: https://gerrit.libreoffice.org/5371
Tested-by: Miklos Vajna <vmiklos@suse.cz>
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
(cherry picked from commit 76408b0f0d7e91cddb8b056069a2ee547109b156)
(cherry picked from commit 1e10f6d229587ffc2a955c225b489645f8016e23)