126 std::vector< XclExpTabInfoEntry >
158 sal_uInt16& rnXclTab,
SCTAB nScTab,
169 sal_uInt16& rnFirstXclTab, sal_uInt16& rnLastXclTab,
175 void FindExtSheet( sal_uInt16 nFileId,
const OUString& rTabName, sal_uInt16 nXclTabSpan,
176 sal_uInt16& rnExtSheet, sal_uInt16& rnFirstSBTab, sal_uInt16& rnLastSBTab,
184 void StoreCell( sal_uInt16 nFileId,
const OUString& rTabName,
const ScAddress& rPos );
193 sal_uInt16& rnExtSheet, sal_uInt16& rnExtName,
194 const OUString& rName );
197 sal_uInt16& rnExtSheet, sal_uInt16& rnExtName,
198 const OUString& rName );
204 sal_uInt16& rnExtSheet, sal_uInt16& rnExtName,
205 const OUString& rApplic,
const OUString& rTopic,
const OUString& rItem );
208 sal_uInt16& rnExtSheet, sal_uInt16& rnExtName,
const OUString& rUrl,
std::shared_ptr< ScTokenArray > TokenArrayRef
Abstract base class for implementation classes of the link manager.
Stores all data for internal/external references (the link table).
std::shared_ptr< XclExpLinkManagerImpl > XclExpLinkMgrImplPtr
bool InsertExtName(sal_uInt16 &rnExtSheet, sal_uInt16 &rnExtName, const OUString &rUrl, const OUString &rName, const ScExternalRefCache::TokenArrayRef &rArray)
bool InsertDde(sal_uInt16 &rnExtSheet, sal_uInt16 &rnExtName, const OUString &rApplic, const OUString &rTopic, const OUString &rItem)
Finds or inserts an EXTERNNAME record for DDE links.
void FindExtSheet(sal_uInt16 &rnExtSheet, sal_uInt16 &rnXclTab, SCTAB nScTab, XclExpRefLogEntry *pRefLogEntry=nullptr)
Searches for an EXTERNSHEET index for the given Calc sheet.
void StoreCell(const ScSingleRefData &rRef, const ScAddress &rPos)
Stores the cell with the given address in a CRN record list.
XclExpLinkManager(const XclExpRoot &rRoot)
virtual void Save(XclExpStream &rStrm) override
Writes the entire Link table.
void StoreCellRange(const ScComplexRefData &rRef, const ScAddress &rPos)
Stores all cells in the given range in a CRN record list.
virtual void SaveXml(XclExpXmlStream &rStrm) override
Writes the entire Link table to OOXML.
virtual ~XclExpLinkManager() override
bool InsertAddIn(sal_uInt16 &rnExtSheet, sal_uInt16 &rnExtName, const OUString &rName)
Finds or inserts an EXTERNNAME record for an add-in function name.
XclExpLinkMgrImplPtr mxImpl
bool InsertEuroTool(sal_uInt16 &rnExtSheet, sal_uInt16 &rnExtName, const OUString &rName)
InsertEuroTool.
Base class for all Excel records.
Access to global data from other classes.
This class is used to export Excel record streams.
Stores the correct Excel sheet index for each Calc sheet.
bool IsMirroredTab(SCTAB nScTab) const
Returns true, if the specified Calc sheet is displayed in right-to-left mode.
SCTAB GetScTabCount() const
Returns the number of Calc sheets.
bool GetFlag(SCTAB nScTab, ExcTabBufFlags nFlags) const
Returns true, if any of the passed flags is set for the specified Calc sheet.
void SetFlag(SCTAB nScTab, ExcTabBufFlags nFlags, bool bSet=true)
Sets or clears (depending on bSet) all passed flags for the specified Calc sheet.
SCTAB GetRealScTab(SCTAB nSortedScTab) const
Returns the Calc sheet index of the nSortedTab-th entry in the sorted sheet names list.
sal_uInt16 GetFirstVisXclTab() const
Returns the Excel index of the first visible sheet.
bool IsDisplayedTab(SCTAB nScTab) const
Returns true, if the specified Calc sheet is the displayed (active) sheet.
sal_uInt16 GetXclSelectedCount() const
Returns the number of exported selected sheets.
::std::vector< SCTAB > ScTabVec
bool IsVisibleTab(SCTAB nScTab) const
Returns true, if the specified Calc sheet is visible and will be exported.
sal_uInt16 mnFirstVisXclTab
Displayed (active) sheet.
SCTAB mnScCnt
Array of Calc sheet index information.
sal_uInt16 mnXclSelCnt
Count of external link sheets.
sal_uInt16 GetXclTab(SCTAB nScTab) const
Returns the Excel sheet index for a given Calc sheet.
XclExpTabInfo(const XclExpRoot &rRoot)
Initializes the complete buffer from the current exported document.
std::vector< XclExpTabInfoEntry > maTabInfoVec
OUString GetScTabName(SCTAB nScTab) const
Returns the Calc name of the specified sheet.
void CalcXclIndexes()
Searches for sheets not to be exported.
sal_uInt16 mnDisplXclTab
Count of selected and exported sheets.
sal_uInt16 mnXclCnt
Count of Calc sheets.
ScTabVec maFromSortedVec
First visible sheet.
bool IsSelectedTab(SCTAB nScTab) const
Returns true, if the specified Calc sheet is selected and will be exported.
bool IsExternalTab(SCTAB nScTab) const
Returns true, if the specified Calc sheet is used to store external cell contents.
sal_uInt16 GetXclTabCount() const
Returns the number of Excel sheets to be exported.
bool IsExportTab(SCTAB nScTab) const
Returns true, if the specified Calc sheet will be exported.
sal_uInt16 GetDisplayedXclTab() const
Returns the Excel index of the active, displayed sheet.
sal_uInt16 GetXclExtTabCount() const
Returns the number of external linked sheets.
ScTabVec maToSortedVec
Sorted Calc sheet index -> real Calc sheet index.
sal_uInt16 mnXclExtCnt
Count of Excel sheets to be exported.
void CalcSortedIndexes()
Sorts the names of all tables and stores the indexes of the sorted indexes.
Complex reference (a range) into the sheet.
Single reference (one address) into the sheet.
Log entry for external references in a formula, used i.e.
Data structure with information about one Calc sheet.
@ Mirrored
Sheet is selected.
@ Extern
Sheet will be ignored completely.
@ SkipMask
Sheet is linked externally.