sw_redlinehide: adapt ToX Update

Desktop / LibreOffice - Michael Stahl [cib.de] - 21 December 2018 21:13 EST

The ToX exists only once in the model, so it either has to have the content corresponding to redlines being shown, or hidden.

Adapt Update based on current layout setting.

Change-Id: Ibf5ec092632cf3a5f513965afdb840fd8239a7fd Reviewed-on: https://gerrit.libreoffice.org/65527

80cedb5dcb6a sw_redlinehide: adapt ToX Update
sw/inc/ToxTextGenerator.hxx | 25 ++++-
sw/inc/doc.hxx | 8 +-
sw/inc/tox.hxx | 3 +-
sw/qa/core/test_ToxTextGenerator.cxx | 14 +--
sw/source/core/doc/doc.cxx | 5 +-
sw/source/core/doc/doctxm.cxx | 157 ++++++++++++++++++++------------
sw/source/core/edit/edtox.cxx | 6 +-
sw/source/core/fields/reffld.cxx | 21 +++--
sw/source/core/inc/doctxm.hxx | 22 +++--
sw/source/core/inc/txmsrt.hxx | 54 +++++++----
sw/source/core/inc/txtfrm.hxx | 3 +
sw/source/core/tox/ToxTextGenerator.cxx | 149 ++++++++++++++++++++++--------
sw/source/core/tox/tox.cxx | 4 +-
sw/source/core/tox/txmsrt.cxx | 147 ++++++++++++++++++++++++------
sw/source/core/unocore/unoidx.cxx | 5 +-
sw/source/ui/index/multmrk.cxx | 3 +-
sw/source/ui/index/swuiidxmrk.cxx | 9 +-
sw/source/uibase/inc/toxmgr.hxx | 1 +
sw/source/uibase/index/toxmgr.cxx | 2 +-
19 files changed, 446 insertions(+), 192 deletions(-)

Upstream: cgit.freedesktop.org


  • Share