Files
odfstudio/wizards/source/scriptforge/python
Jean-Pierre Ledure d57836db76 ScriptForge - (Calc) extend use cases of FilterFormula
A FilterFormula is a Calc formula that returns TRUE or FALSE
   The formula is expressed in terms of
   - the top-left cell of the range when FilterScope = "CELL"
   - the topmost row of the range when FilterScope = "ROW"
   - the leftmost column of the range when FilterScope = "COLUMN"
   After pasting, the relative and absolute references
   will be interpreted correctly.

The FilterScope indicates the way the formula is applied,
once by row, column or individual cell.

The requested action is done only on the rows/columns/cells
for which the FilterFormula returns True.

Next methods receive 2 new arguments:
=>   FilterFormula and FilterScope:
   ClearAll()
   ClearFormats()
   ClearValues()
   SetCellStyle()

These changes are valid for Basic and Python user scripts.
Without these new arguments above methods behave as before.

The documentation needs to be adapted:
- inclusion of FilterFormula and FilterScope concepts in the
  DEFINITIONS section of the SF_Calc help page
- new arguments to add in resp. methods

Change-Id: I657b231252106b91ed7e27a49ef3331c1fcee917
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138590
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
2022-08-20 19:35:49 +02:00
..