LibreOffice Module sc (master)  1
Functions
xmltabi.cxx File Reference
#include "xmltabi.hxx"
#include "xmlimprt.hxx"
#include "xmlrowi.hxx"
#include "xmlcoli.hxx"
#include "xmlsceni.hxx"
#include "xmlexternaltabi.hxx"
#include "xmlnexpi.hxx"
#include <document.hxx>
#include <docuno.hxx>
#include <olinetab.hxx>
#include "XMLTableShapesContext.hxx"
#include "XMLTableSourceContext.hxx"
#include "XMLStylesImportHelper.hxx"
#include <rangeutl.hxx>
#include <externalrefmgr.hxx>
#include <sheetdata.hxx>
#include "xmlcondformat.hxx"
#include <xmloff/xmltkmap.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/XMLEventsImportContext.hxx>
#include <tools/urlobj.hxx>
#include <sax/fastattribs.hxx>
#include <com/sun/star/sheet/XSpreadsheet.hpp>
#include <comphelper/servicehelper.hxx>
Include dependency graph for xmltabi.cxx:

Go to the source code of this file.

Functions

static bool lcl_isExternalRefCache (const OUString &rName, OUString &rUrl, OUString &rExtTabName)
 Determine whether this table is an external reference cache from its name. More...
 

Function Documentation

static bool lcl_isExternalRefCache ( const OUString &  rName,
OUString &  rUrl,
OUString &  rExtTabName 
)
static

Determine whether this table is an external reference cache from its name.

There is currently no way of determining whether a table is a regular table or an external reference cache other than examining the name itself. We should probably introduce a new boolean value for table:table element and use it instead of doing this, to make it more reliable and future-proof.

Parameters
rName
Returns

Definition at line 66 of file xmltabi.cxx.

References INetURLObject::CompareProtocolScheme(), INetURLObject::GetScheme(), i, n, and p.

Referenced by ScXMLTableContext::ScXMLTableContext().