Spreadsheet: fix range selection

This commit is contained in:
Zheng, Lei
2022-06-12 17:19:28 +08:00
committed by Uwe
parent 4e8dfb152d
commit 1c8c6a48af
3 changed files with 56 additions and 2 deletions

View File

@@ -1975,3 +1975,8 @@ const boost::any PropertySheet::getPathValue(const App::ObjectIdentifier & path)
return boost::any();
return path.getValue();
}
bool PropertySheet::hasSpan() const
{
return !mergedCells.empty();
}

View File

@@ -153,6 +153,8 @@ public:
void getSpans(App::CellAddress address, int &rows, int &cols) const;
bool hasSpan() const;
App::CellAddress getAnchor(App::CellAddress address) const;
bool isMergedCell(App::CellAddress address) const;