Spreadsheet: Add Python API for getUsedCells

Also adds access to getNonEmptyCells, and unit tests for both. Designed
to fix #7587.
This commit is contained in:
Chris Hennes
2022-11-03 22:50:41 -05:00
parent b444ae94d5
commit 11dd7fc5f9
3 changed files with 76 additions and 0 deletions

View File

@@ -180,5 +180,26 @@ following dependency order.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getUsedCells">
<Documentation>
<UserDocu>
getUsedCells()
Get a list of the names of all cells that are marked as used. These cells may
or may not have a non-empty string content.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getNonEmptyCells">
<Documentation>
<UserDocu>
getNonEmptyCells()
Get a list of the names of all cells with data in them.
</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>