From eb358d77291eba677141bab113dc27d7aabb0f3e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 11:44:04 +0200 Subject: Merging upstream version 4:24.2.2. Signed-off-by: Daniel Baumann --- sc/inc/clipcontext.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sc/inc/clipcontext.hxx') diff --git a/sc/inc/clipcontext.hxx b/sc/inc/clipcontext.hxx index b3ce874a6a..d93e6acb45 100644 --- a/sc/inc/clipcontext.hxx +++ b/sc/inc/clipcontext.hxx @@ -161,12 +161,15 @@ public: class CopyToClipContext final : public ClipContextBase { bool mbKeepScenarioFlags:1; + bool mbCopyChartRanges : 1 = false; // Copying ranges not included in selection: + // only copy data, not cell attributes public: - CopyToClipContext(ScDocument& rDoc, bool bKeepScenarioFlags); + CopyToClipContext(ScDocument& rDoc, bool bKeepScenarioFlags, bool bCopyChartRanges = false); virtual ~CopyToClipContext() override; bool isKeepScenarioFlags() const; + bool isCopyChartRanges() const { return mbCopyChartRanges; } }; class CopyToDocContext final : public ClipContextBase -- cgit v1.2.3