summaryrefslogtreecommitdiff
path: root/sc/inc/table.hxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-03-10 15:03:25 +0100
committerLuboš Luňák <l.lunak@collabora.com>2022-03-11 10:09:03 +0100
commitdddee125cc32f1ad5228e598a7de04e9654e65c1 (patch)
tree19c35052c83886c8807fa6d7d45d333b2e57eeac /sc/inc/table.hxx
parent69b5f0b6579c6574a8fe68ab2a64208ec767db55 (diff)
load ods/xlsx with full row attributes without allocating all columns
If there's e.g. an entire row bold, it's enough to set default attribute for unallocated columns. This also reverts the workaround from commit 297ab561c6754, as it's no longer necessary. Change-Id: I0b208709aeaff1c0d59da2410926876715cfe642 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131320 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r--sc/inc/table.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index e7d91a5cad97..532f6cf10124 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -736,6 +736,7 @@ public:
void ApplyPatternArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow,
const ScPatternAttr& rAttr, ScEditDataArray* pDataArray = nullptr,
bool* const pIsChanged = nullptr );
+ void SetAttrEntries( SCCOL nStartCol, SCCOL nEndCol, std::vector<ScAttrEntry> && vNewData);
void SetPattern( const ScAddress& rPos, const ScPatternAttr& rAttr );
const ScPatternAttr* SetPattern( SCCOL nCol, SCROW nRow, std::unique_ptr<ScPatternAttr> );