LibreOffice Module sc (master) 1
Macros | Functions
externalrefmgr.cxx File Reference
#include <externalrefmgr.hxx>
#include <document.hxx>
#include <token.hxx>
#include <tokenarray.hxx>
#include <address.hxx>
#include <tablink.hxx>
#include <docsh.hxx>
#include <scextopt.hxx>
#include <rangenam.hxx>
#include <formulacell.hxx>
#include <utility>
#include <viewdata.hxx>
#include <tabvwsh.hxx>
#include <sc.hrc>
#include <globstr.hrc>
#include <scresid.hxx>
#include <cellvalue.hxx>
#include <defaultsoptions.hxx>
#include <scmod.hxx>
#include <o3tl/safeint.hxx>
#include <osl/file.hxx>
#include <sfx2/app.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/event.hxx>
#include <sfx2/fcontnr.hxx>
#include <sfx2/objsh.hxx>
#include <svl/itemset.hxx>
#include <svl/numformat.hxx>
#include <svl/stritem.hxx>
#include <svl/urihelper.hxx>
#include <svl/sharedstringpool.hxx>
#include <sfx2/linkmgr.hxx>
#include <tools/urlobj.hxx>
#include <unotools/charclass.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/ucbhelper.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
#include <stringutil.hxx>
#include <scmatrix.hxx>
#include <columnspanset.hxx>
#include <column.hxx>
#include <com/sun/star/document/MacroExecMode.hpp>
#include <com/sun/star/document/UpdateDocMode.hpp>
#include <sal/log.hxx>
#include <memory>
#include <algorithm>
Include dependency graph for externalrefmgr.cxx:

Go to the source code of this file.

Macros

#define SRCDOC_LIFE_SPAN   30000
 
#define SRCDOC_SCAN_INTERVAL   1000*30
 

Functions

static bool lcl_getStrictTableDataIndex (const ScExternalRefCache::TableNameIndexMap &rMap, const OUString &rName, size_t &rIndex)
 
static FormulaTokenconvertToToken (ScDocument &rHostDoc, const ScDocument &rSrcDoc, ScRefCellValue &rCell)
 
static std::unique_ptr< ScTokenArrayconvertToTokenArray (ScDocument &rHostDoc, const ScDocument &rSrcDoc, ScRange &rRange, vector< ScExternalRefCache::SingleRangeData > &rCacheData)
 
static std::unique_ptr< ScTokenArraylcl_fillEmptyMatrix (const ScDocument &rDoc, const ScRange &rRange)
 
template<typename MapContainer >
static void lcl_removeByFileId (sal_uInt16 nFileId, MapContainer &rMap)
 
 IMPL_LINK (ScExternalRefManager, TimeOutHdl, Timer *, pTimer, void)
 

Macro Definition Documentation

◆ SRCDOC_LIFE_SPAN

#define SRCDOC_LIFE_SPAN   30000

Definition at line 79 of file externalrefmgr.cxx.

◆ SRCDOC_SCAN_INTERVAL

#define SRCDOC_SCAN_INTERVAL   1000*30

Definition at line 80 of file externalrefmgr.cxx.

Function Documentation

◆ convertToToken()

static FormulaToken * convertToToken ( ScDocument rHostDoc,
const ScDocument rSrcDoc,
ScRefCellValue rCell 
)
static

◆ convertToTokenArray()

static std::unique_ptr< ScTokenArray > convertToTokenArray ( ScDocument rHostDoc,
const ScDocument rSrcDoc,
ScRange rRange,
vector< ScExternalRefCache::SingleRangeData > &  rCacheData 
)
static

◆ IMPL_LINK()

IMPL_LINK ( ScExternalRefManager  ,
TimeOutHdl  ,
Timer ,
pTimer  ,
void   
)

◆ lcl_fillEmptyMatrix()

static std::unique_ptr< ScTokenArray > lcl_fillEmptyMatrix ( const ScDocument rDoc,
const ScRange rRange 
)
static

◆ lcl_getStrictTableDataIndex()

static bool lcl_getStrictTableDataIndex ( const ScExternalRefCache::TableNameIndexMap rMap,
const OUString &  rName,
size_t &  rIndex 
)
static

Definition at line 912 of file externalrefmgr.cxx.

Referenced by ScExternalRefCache::initializeDoc().

◆ lcl_removeByFileId()

template<typename MapContainer >
static void lcl_removeByFileId ( sal_uInt16  nFileId,
MapContainer &  rMap 
)
static

Definition at line 2892 of file externalrefmgr.cxx.

Referenced by ScExternalRefManager::breakLink().