diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2018-09-08 00:41:47 +0200 |
---|---|---|
committer | Regina Henschel <rb.henschel@t-online.de> | 2018-09-12 09:24:05 +0200 |
commit | d52c8fd4cc025ca9da474a20aa0f5514032273e2 (patch) | |
tree | 33e628c6ef9c4bd707edbe360edac69fd5a76fb9 /include/svx/svdlayer.hxx | |
parent | 1b267db43b35cc0dcd6d50712efe52ed32fa6e7b (diff) |
tdf#119392 write bitfield in <draw:layer-set> order
The view uses the SdrLayerIDSet bitfield in layer ID order.
But file format knows no layer IDs and on loading the
bitfield is interpreted in the layer order given by
<draw:layer-set> element. Therefore reorder the bits on
saving according <draw:layer-set>, which is order in
SdrLayerAdmin.
Change-Id: Id349dc7f42338e35ca8cc3b6409d061213b01691
Reviewed-on: https://gerrit.libreoffice.org/60178
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'include/svx/svdlayer.hxx')
-rw-r--r-- | include/svx/svdlayer.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/svx/svdlayer.hxx b/include/svx/svdlayer.hxx index 2f2a32f33bd7..b36a1e9fdb1e 100644 --- a/include/svx/svdlayer.hxx +++ b/include/svx/svdlayer.hxx @@ -163,6 +163,10 @@ public: void getVisibleLayersODF( SdrLayerIDSet& rOutSet) const; void getPrintableLayersODF( SdrLayerIDSet& rOutSet) const; void getLockedLayersODF( SdrLayerIDSet& rOutSet) const; + + // Generates a bitfield for settings.xml from the SdrLayerIDSet. + // Output is a uno sequence of BYTE (which is 'short' in API). + void QueryValue(const SdrLayerIDSet& rViewLayerSet, css::uno::Any& rAny); }; #endif // INCLUDED_SVX_SVDLAYER_HXX |