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