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 <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/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

#define SRCDOC_LIFE_SPAN   30000

Definition at line 77 of file externalrefmgr.cxx.

Referenced by IMPL_LINK().

#define SRCDOC_SCAN_INTERVAL   1000*30

Definition at line 78 of file externalrefmgr.cxx.

Referenced by ScExternalRefManager::ScExternalRefManager().

Function Documentation

static FormulaToken* convertToToken ( ScDocument rHostDoc,
const ScDocument rSrcDoc,
ScRefCellValue rCell 
)
static
static std::unique_ptr<ScTokenArray> convertToTokenArray ( ScDocument rHostDoc,
const ScDocument rSrcDoc,
ScRange rRange,
vector< ScExternalRefCache::SingleRangeData > &  rCacheData 
)
static
IMPL_LINK ( ScExternalRefManager  ,
TimeOutHdl  ,
Timer ,
pTimer  ,
void   
)
static std::unique_ptr<ScTokenArray> lcl_fillEmptyMatrix ( const ScDocument rDoc,
const ScRange rRange 
)
static
static bool lcl_getStrictTableDataIndex ( const ScExternalRefCache::TableNameIndexMap rMap,
const OUString &  rName,
size_t &  rIndex 
)
static

Definition at line 884 of file externalrefmgr.cxx.

Referenced by ScExternalRefCache::initializeDoc().

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

Definition at line 2784 of file externalrefmgr.cxx.

Referenced by ScExternalRefManager::breakLink().