|
LibreOffice Module sc (master) 1
|
#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>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 FormulaToken * | convertToToken (ScDocument &rHostDoc, const ScDocument &rSrcDoc, ScRefCellValue &rCell) |
| static std::unique_ptr< ScTokenArray > | convertToTokenArray (ScDocument &rHostDoc, const ScDocument &rSrcDoc, ScRange &rRange, vector< ScExternalRefCache::SingleRangeData > &rCacheData) |
| static std::unique_ptr< ScTokenArray > | lcl_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) | |
| #define SRCDOC_LIFE_SPAN 30000 |
Definition at line 79 of file externalrefmgr.cxx.
| #define SRCDOC_SCAN_INTERVAL 1000*30 |
Definition at line 80 of file externalrefmgr.cxx.
|
static |
Definition at line 1513 of file externalrefmgr.cxx.
References aStr, CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_STRING, CELLTYPE_VALUE, ScRefCellValue::getDouble(), ScFormulaCell::GetErrCode(), ScRefCellValue::getFormula(), ScDocument::GetSharedStringPool(), ScFormulaCell::GetString(), svl::SharedString::getString(), ScRefCellValue::getString(), ScRefCellValue::getType(), ScFormulaCell::GetValue(), ScRefCellValue::hasEmptyValue(), svl::SharedStringPool::intern(), and ScFormulaCell::IsValue().
Referenced by ScExternalRefManager::getSingleRefTokenFromSrcDoc().
|
static |
Definition at line 1556 of file externalrefmgr.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScDocument::FillMatrix(), ScDocument::GetSharedStringPool(), o3tl::make_unsigned(), ScDocument::MaxCol(), ScDocument::MaxRow(), ocSep, ScAddress::Row(), ScAddress::SetCol(), ScAddress::SetRow(), ScDocument::ShrinkToUsedDataArea(), and ScAddress::Tab().
Referenced by ScExternalRefManager::getDoubleRefTokensFromSrcDoc().
| IMPL_LINK | ( | ScExternalRefManager | , |
| TimeOutHdl | , | ||
| Timer * | , | ||
| pTimer | , | ||
| void | |||
| ) |
Definition at line 3319 of file externalrefmgr.cxx.
References ScExternalRefManager::maSrcDocTimer, ScExternalRefManager::purgeStaleSrcDocument(), and SRCDOC_LIFE_SPAN.
|
static |
Definition at line 1651 of file externalrefmgr.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), and ScAddress::Row().
|
static |
Definition at line 912 of file externalrefmgr.cxx.
Referenced by ScExternalRefCache::initializeDoc().
|
static |
Definition at line 2892 of file externalrefmgr.cxx.
Referenced by ScExternalRefManager::breakLink().