reportdesign: avoid assertion on duplicate properties ...

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

Change-Id: I7002cf5176cd326f57b50fb6030ffb89160c237b
reportbuilder: re-add numerous bits of dead code needed by bug fix

Change-Id: Ia0a8b8ec3b4684ad6766467c8e3413f91dc8bf67
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
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)