summaryrefslogtreecommitdiff
path: root/sc/inc/column.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2022-03-28 14:31:21 +0900
committerTomaž Vajngerl <quikee@gmail.com>2022-04-05 03:45:59 +0200
commitc07d2ea9589cf794bd300697e8a40bf9f94a8346 (patch)
tree0152b1d84c4b69a2681b9bf8e465a61067011ed0 /sc/inc/column.hxx
parentcf4d5ed026c8799a70432a832a8a707c2e316216 (diff)
sc: make printing of Sparklines work
Sparkline cells don't contain any data, so they would be ignored if we don't include them in the function that determine if there is any data in a cell or not. This is the main reason why the cells weren't drawn when printing as they had no data so they were ignored. Change-Id: I7849f1a00c9421616b8af90bdac368fd63ae1087 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132514 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sc/inc/column.hxx')
-rw-r--r--sc/inc/column.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index f60ea22cbc30..0a2b16c809d9 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -677,6 +677,9 @@ public:
void CopyCellSparklinesToDocument(SCROW nRow1, SCROW nRow2, ScColumn& rDestCol, SCROW nRowOffsetDest = 0) const;
void DuplicateSparklines(SCROW nStartRow, size_t nDataSize, ScColumn& rDestCol,
sc::ColumnBlockPosition& rDestBlockPos, SCROW nRowOffsetDest = 0) const;
+ bool HasSparklines() const;
+ SCROW GetSparklinesMaxRow() const;
+ SCROW GetSparklinesMinRow() const;
// cell notes
ScPostIt* GetCellNote( SCROW nRow );