LibreOffice Module sc (master) 1
Public Member Functions | Static Public Member Functions | List of all members
ScRangeUpdater Struct Reference

#include <rangeutl.hxx>

Public Member Functions

 ScRangeUpdater ()=delete
 

Static Public Member Functions

static void UpdateInsertTab (ScAddress &rAddr, const sc::RefUpdateInsertTabContext &rCxt)
 
static void UpdateDeleteTab (ScAddress &rAddr, const sc::RefUpdateDeleteTabContext &rCxt)
 This is for the base-cell-address of a defined name or conditional format, not for references. More...
 

Detailed Description

Definition at line 274 of file rangeutl.hxx.

Constructor & Destructor Documentation

◆ ScRangeUpdater()

ScRangeUpdater::ScRangeUpdater ( )
delete

Member Function Documentation

◆ UpdateDeleteTab()

void ScRangeUpdater::UpdateDeleteTab ( ScAddress rAddr,
const sc::RefUpdateDeleteTabContext rCxt 
)
static

This is for the base-cell-address of a defined name or conditional format, not for references.

A sheet position on or after the start of the deleted range is moved towards the beginning by the amount of deleted sheets, within the deleted range to the front of that or set to 0 (as there is always at least one sheet in a document) if the position would result in a negative value, e.g. if position was 0 and (only) sheet 0 is deleted it would had become -1.

Definition at line 1059 of file rangeutl.cxx.

References sc::RefUpdateDeleteTabContext::mnDeletePos, sc::RefUpdateDeleteTabContext::mnSheets, ScAddress::SetTab(), and ScAddress::Tab().

Referenced by ScTokenArray::AdjustReferenceOnDeletedTab(), ScConditionEntry::UpdateDeleteTab(), and ScRangeData::UpdateDeleteTab().

◆ UpdateInsertTab()

void ScRangeUpdater::UpdateInsertTab ( ScAddress rAddr,
const sc::RefUpdateInsertTabContext rCxt 
)
static

The documentation for this struct was generated from the following files: