20 #ifndef INCLUDED_SC_SOURCE_FILTER_INC_XENAME_HXX
21 #define INCLUDED_SC_SOURCE_FILTER_INC_XENAME_HXX
56 sal_uInt16
InsertMacroCall(
const OUString& rMacroName,
bool bVBasic,
bool bFunc,
bool bHidden =
false );
59 const OUString&
GetOrigName( sal_uInt16 nNameIdx )
const;
virtual ~XclExpNameManager() override
This class is used to export Excel record streams.
bool IsVolatile(sal_uInt16 nNameIdx) const
Returns true, if the specified defined name is volatile.
XclExpNameMgrImplRef mxImpl
virtual void Save(XclExpStream &rStrm) override
Writes the entire list of NAME records.
SCTAB GetScTab(sal_uInt16 nNameIdx) const
Returns the Calc sheet of a local defined name, or SCTAB_GLOBAL for global defined names...
Access to global data from other classes.
sal_uInt16 InsertUniqueName(const OUString &rName, const XclTokenArrayRef &xTokArr, SCTAB nScTab)
Inserts a new defined name.
Base class for all Excel records.
virtual void SaveXml(XclExpXmlStream &rStrm) override
Manager that stores all internal defined names (NAME records) of the document.
sal_uInt16 InsertRawName(const OUString &rName)
Returns index of an existing name, or creates a name without definition.
const OUString & GetOrigName(sal_uInt16 nNameIdx) const
Returns the Calc sheet of a local defined name, or SCTAB_GLOBAL for global defined names...
std::shared_ptr< XclExpNameManagerImpl > XclExpNameMgrImplRef
sal_uInt16 InsertBuiltInName(sal_Unicode cBuiltIn, const ScRange &rRange)
Inserts a new built-in defined name, referring to the passed sheet range.
Implementation class of the name manager.
sal_uInt16 InsertMacroCall(const OUString &rMacroName, bool bVBasic, bool bFunc, bool bHidden=false)
Searches or inserts a defined name describing a macro name.
void Initialize()
Creates NAME records for built-in and user defined names.
XclExpNameManager(const XclExpRoot &rRoot)
sal_uInt16 InsertName(SCTAB nTab, sal_uInt16 nScNameIdx, SCTAB nCurrTab)
Inserts the Calc name with the passed index and returns the Excel NAME index.