ScDocument Class Reference

For usage in FindDdeLink() only! More...

#include <document.hxx>

Collaboration diagram for ScDocument:

Collaboration graph
[legend]

List of all members.

Public Member Functions

SC_DLLPUBLIC ULONG GetCellCount () const
ULONG GetWeightedCount () const
ULONG GetCodeCount () const
 DECL_LINK (GetUserDefinedColor, USHORT *)
SC_DLLPUBLIC ScDocument (ScDocumentMode eMode=SCDOCMODE_DOCUMENT, SfxObjectShell *pDocShell=NULL)
SC_DLLPUBLIC ~ScDocument ()
inline::com::sun::star::uno::Reference
< ::com::sun::star::lang::XMultiServiceFactory > 
GetServiceManager () const
SC_DLLPUBLIC const String & GetName () const
void SetName (const String &r)
const String & GetCodeName () const
void SetCodeName (const String &r)
SC_DLLPUBLIC NameToNameMapGetLocalNameMap (SCTAB &rTab)
void GetDocStat (ScDocStat &rDocStat)
SC_DLLPUBLIC void InitDrawLayer (SfxObjectShell *pDocShell=NULL)
XColorTableGetColorTable ()
SC_DLLPUBLIC SvxLinkManagerGetLinkManager () const
SC_DLLPUBLIC const ScDocOptionsGetDocOptions () const
SC_DLLPUBLIC void SetDocOptions (const ScDocOptions &rOpt)
SC_DLLPUBLIC const ScViewOptionsGetViewOptions () const
SC_DLLPUBLIC void SetViewOptions (const ScViewOptions &rOpt)
void SetPrintOptions ()
ScExtDocOptionsGetExtDocOptions ()
SC_DLLPUBLIC void SetExtDocOptions (ScExtDocOptions *pNewOptions)
void GetLanguage (LanguageType &rLatin, LanguageType &rCjk, LanguageType &rCtl) const
void SetLanguage (LanguageType eLatin, LanguageType eCjk, LanguageType eCtl)
void SetDrawDefaults ()
void SetConsolidateDlgData (const ScConsolidateParam *pData)
const ScConsolidateParamGetConsolidateDlgData () const
void Clear (sal_Bool bFromDestructor=sal_False)
ScFieldEditEngineCreateFieldEditEngine ()
void DisposeFieldEditEngine (ScFieldEditEngine *&rpEditEngine)
SC_DLLPUBLIC ScRangeNameGetRangeName ()
void SetRangeName (ScRangeName *pNewRangeName)
SCTAB GetMaxTableNumber ()
void SetMaxTableNumber (SCTAB nNumber)
ScRangePairListGetColNameRanges ()
ScRangePairListGetRowNameRanges ()
ScRangePairListRef & GetColNameRangesRef ()
ScRangePairListRef & GetRowNameRangesRef ()
SC_DLLPUBLIC ScDBCollectionGetDBCollection () const
void SetDBCollection (ScDBCollection *pNewDBCollection, BOOL bRemoveAutoFilter=FALSE)
ScDBDataGetDBAtCursor (SCCOL nCol, SCROW nRow, SCTAB nTab, BOOL bStartOnly=FALSE) const
ScDBDataGetDBAtArea (SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const
SC_DLLPUBLIC ScRangeDataGetRangeAtBlock (const ScRange &rBlock, String *pName=NULL) const
SC_DLLPUBLIC ScDPCollectionGetDPCollection ()
ScDPObjectGetDPAtCursor (SCCOL nCol, SCROW nRow, SCTAB nTab) const
ScDPObjectGetDPAtBlock (const ScRange &rBlock) const
SC_DLLPUBLIC ScChartCollectionGetChartCollection () const
void StopTemporaryChartLock ()
void EnsureGraphicNames ()
SdrObjectGetObjectAtPoint (SCTAB nTab, const Point &rPos)
BOOL HasChartAtPoint (SCTAB nTab, const Point &rPos, String *pName=NULL)
::com::sun::star::uno::Reference
< ::com::sun::star::chart2::XChartDocument > 
GetChartByName (const String &rChartName)
SC_DLLPUBLIC void GetChartRanges (const String &rChartName,::std::vector< ScRangeList > &rRanges, ScDocument *pSheetNameDoc)
void SetChartRanges (const String &rChartName, const ::std::vector< ScRangeList > &rRanges)
void UpdateChartArea (const String &rChartName, const ScRange &rNewArea, BOOL bColHeaders, BOOL bRowHeaders, BOOL bAdd)
void UpdateChartArea (const String &rChartName, const ScRangeListRef &rNewList, BOOL bColHeaders, BOOL bRowHeaders, BOOL bAdd)
void GetOldChartParameters (const String &rName, ScRangeList &rRanges, BOOL &rColHeaders, BOOL &rRowHeaders)
::com::sun::star::uno::Reference
< ::com::sun::star::embed::XEmbeddedObject > 
FindOleObjectByName (const String &rName)
SC_DLLPUBLIC void MakeTable (SCTAB nTab, bool _bNeedsNameCheck=true)
SCTAB GetVisibleTab () const
SC_DLLPUBLIC void SetVisibleTab (SCTAB nTab)
SC_DLLPUBLIC BOOL HasTable (SCTAB nTab) const
SC_DLLPUBLIC BOOL GetName (SCTAB nTab, String &rName) const
SC_DLLPUBLIC BOOL GetCodeName (SCTAB nTab, String &rName) const
SC_DLLPUBLIC BOOL SetCodeName (SCTAB nTab, String &rName)
SC_DLLPUBLIC BOOL GetTable (const String &rName, SCTAB &rTab) const
SC_DLLPUBLIC SCTAB GetTableCount () const
SvNumberFormatterIndexTable * GetFormatExchangeList () const
SC_DLLPUBLIC ScDocProtectionGetDocProtection () const
SC_DLLPUBLIC void SetDocProtection (const ScDocProtection *pProtect)
SC_DLLPUBLIC BOOL IsDocProtected () const
BOOL IsDocEditable () const
SC_DLLPUBLIC BOOL IsTabProtected (SCTAB nTab) const
SC_DLLPUBLIC ScTableProtectionGetTabProtection (SCTAB nTab) const
SC_DLLPUBLIC void SetTabProtection (SCTAB nTab, const ScTableProtection *pProtect)
void CopyTabProtection (SCTAB nTabSrc, SCTAB nTabDest)
void LockTable (SCTAB nTab)
void UnlockTable (SCTAB nTab)
BOOL IsBlockEditable (SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, BOOL *pOnlyNotBecauseOfMatrix=NULL) const
BOOL IsSelectionEditable (const ScMarkData &rMark, BOOL *pOnlyNotBecauseOfMatrix=NULL) const
BOOL HasSelectedBlockMatrixFragment (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const ScMarkData &rMark) const
BOOL GetMatrixFormulaRange (const ScAddress &rCellPos, ScRange &rMatrix)
BOOL IsEmbedded () const
void GetEmbedded (ScRange &rRange) const
void SetEmbedded (const ScRange &rRange)
void ResetEmbedded ()
Rectangle GetEmbeddedRect () const
void SetEmbedded (const Rectangle &rRect)
void SnapVisArea (Rectangle &rRect) const
SC_DLLPUBLIC BOOL ValidTabName (const String &rName) const
SC_DLLPUBLIC BOOL ValidNewTabName (const String &rName) const
SC_DLLPUBLIC void CreateValidTabName (String &rName) const
SC_DLLPUBLIC BOOL InsertTab (SCTAB nPos, const String &rName, BOOL bExternalDocument=FALSE)
SC_DLLPUBLIC BOOL DeleteTab (SCTAB nTab, ScDocument *pRefUndoDoc=NULL)
SC_DLLPUBLIC BOOL RenameTab (SCTAB nTab, const String &rName, BOOL bUpdateRef=TRUE, BOOL bExternalDocument=FALSE)
BOOL MoveTab (SCTAB nOldPos, SCTAB nNewPos)
BOOL CopyTab (SCTAB nOldPos, SCTAB nNewPos, const ScMarkData *pOnlyMarked=NULL)
SC_DLLPUBLIC ULONG TransferTab (ScDocument *pSrcDoc, SCTAB nSrcPos, SCTAB nDestPos, BOOL bInsertNew=TRUE, BOOL bResultsOnly=FALSE)
SC_DLLPUBLIC void TransferDrawPage (ScDocument *pSrcDoc, SCTAB nSrcPos, SCTAB nDestPos)
SC_DLLPUBLIC void SetVisible (SCTAB nTab, BOOL bVisible)
SC_DLLPUBLIC BOOL IsVisible (SCTAB nTab) const
BOOL IsStreamValid (SCTAB nTab) const
void SetStreamValid (SCTAB nTab, BOOL bSet, BOOL bIgnoreLock=FALSE)
void LockStreamValid (bool bLock)
bool IsStreamValidLocked () const
BOOL IsPendingRowHeights (SCTAB nTab) const
void SetPendingRowHeights (SCTAB nTab, BOOL bSet)
SC_DLLPUBLIC void SetLayoutRTL (SCTAB nTab, BOOL bRTL)
SC_DLLPUBLIC BOOL IsLayoutRTL (SCTAB nTab) const
BOOL IsNegativePage (SCTAB nTab) const
SC_DLLPUBLIC void SetScenario (SCTAB nTab, BOOL bFlag)
SC_DLLPUBLIC BOOL IsScenario (SCTAB nTab) const
SC_DLLPUBLIC void GetScenarioData (SCTAB nTab, String &rComment, Color &rColor, USHORT &rFlags) const
SC_DLLPUBLIC void SetScenarioData (SCTAB nTab, const String &rComment, const Color &rColor, USHORT nFlags)
void GetScenarioFlags (SCTAB nTab, USHORT &rFlags) const
SC_DLLPUBLIC BOOL IsActiveScenario (SCTAB nTab) const
SC_DLLPUBLIC void SetActiveScenario (SCTAB nTab, BOOL bActive)
SC_DLLPUBLIC
formula::FormulaGrammar::AddressConvention 
GetAddressConvention () const
SC_DLLPUBLIC
formula::FormulaGrammar::Grammar 
GetGrammar () const
void SetGrammar (formula::FormulaGrammar::Grammar eGram)
SC_DLLPUBLIC BYTE GetLinkMode (SCTAB nTab) const
BOOL IsLinked (SCTAB nTab) const
SC_DLLPUBLIC const String & GetLinkDoc (SCTAB nTab) const
const String & GetLinkFlt (SCTAB nTab) const
const String & GetLinkOpt (SCTAB nTab) const
SC_DLLPUBLIC const String & GetLinkTab (SCTAB nTab) const
ULONG GetLinkRefreshDelay (SCTAB nTab) const
void SetLink (SCTAB nTab, BYTE nMode, const String &rDoc, const String &rFilter, const String &rOptions, const String &rTabName, ULONG nRefreshDelay)
BOOL HasLink (const String &rDoc, const String &rFilter, const String &rOptions) const
SC_DLLPUBLIC BOOL LinkExternalTab (SCTAB &nTab, const String &aDocTab, const String &aFileName, const String &aTabName)
bool HasExternalRefManager () const
SC_DLLPUBLIC ScExternalRefManagerGetExternalRefManager () const
bool IsInExternalReferenceMarking () const
void MarkUsedExternalReferences ()
bool MarkUsedExternalReferences (ScTokenArray &rArr)
ScFormulaParserPoolGetFormulaParserPool () const
 Returns the pool containing external formula parsers.
BOOL HasDdeLinks () const
BOOL HasAreaLinks () const
void UpdateExternalRefLinks ()
void UpdateDdeLinks ()
void UpdateAreaLinks ()
void IncInDdeLinkUpdate ()
void DecInDdeLinkUpdate ()
BOOL IsInDdeLinkUpdate () const
SC_DLLPUBLIC void CopyDdeLinks (ScDocument *pDestDoc) const
void DisconnectDdeLinks ()
USHORT GetDdeLinkCount () const
BOOL UpdateDdeLink (const String &rAppl, const String &rTopic, const String &rItem)
SC_DLLPUBLIC bool FindDdeLink (const String &rAppl, const String &rTopic, const String &rItem, BYTE nMode, USHORT &rnDdePos)
 Tries to find a DDE link with the specified connection data.
bool GetDdeLinkData (USHORT nDdePos, String &rAppl, String &rTopic, String &rItem) const
 Returns the connection data of the specified DDE link.
bool GetDdeLinkMode (USHORT nDdePos, BYTE &rnMode) const
 Returns the link mode of the specified DDE link.
SC_DLLPUBLIC const ScMatrixGetDdeLinkResultMatrix (USHORT nDdePos) const
 Returns the result matrix of the specified DDE link.
SC_DLLPUBLIC bool CreateDdeLink (const String &rAppl, const String &rTopic, const String &rItem, BYTE nMode, ScMatrix *pResults=NULL)
 Tries to find a DDE link or creates a new, if not extant.
bool SetDdeLinkResultMatrix (USHORT nDdePos, ScMatrix *pResults)
 Sets a result matrix for the specified DDE link.
SfxBindingsGetViewBindings ()
SfxObjectShellGetDocumentShell () const
ScDrawLayerGetDrawLayer ()
SfxBroadcasterGetDrawBroadcaster ()
void BeginDrawUndo ()
void BeginUnoRefUndo ()
bool HasUnoRefUndo () const
ScUnoRefListEndUnoRefUndo ()
sal_Int64 GetNewUnoId ()
void AddUnoRefChange (sal_Int64 nId, const ScRangeList &rOldRanges)
sal_Bool IsChart (const SdrObject *pObject)
SC_DLLPUBLIC void UpdateAllCharts ()
void UpdateChartRef (UpdateRefMode eUpdateRefMode, SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2, SCsCOL nDx, SCsROW nDy, SCsTAB nDz)
void SetChartRangeList (const String &rChartName, const ScRangeListRef &rNewRangeListRef)
 setzt nur die neue RangeList, keine ChartListener o.ae.
BOOL HasControl (SCTAB nTab, const Rectangle &rMMRect)
void InvalidateControls (Window *pWin, SCTAB nTab, const Rectangle &rMMRect)
void StartAnimations (SCTAB nTab, Window *pWin)
BOOL HasBackgroundDraw (SCTAB nTab, const Rectangle &rMMRect)
BOOL HasAnyDraw (SCTAB nTab, const Rectangle &rMMRect)
SC_DLLPUBLIC ScOutlineTableGetOutlineTable (SCTAB nTab, BOOL bCreate=FALSE)
BOOL SetOutlineTable (SCTAB nTab, const ScOutlineTable *pNewOutline)
void DoAutoOutline (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab)
BOOL DoSubTotals (SCTAB nTab, ScSubTotalParam &rParam)
void RemoveSubTotals (SCTAB nTab, ScSubTotalParam &rParam)
BOOL TestRemoveSubTotals (SCTAB nTab, const ScSubTotalParam &rParam)
BOOL HasSubTotalCells (const ScRange &rRange)
SC_DLLPUBLIC void PutCell (const ScAddress &, ScBaseCell *pCell, BOOL bForceTab=FALSE)
SC_DLLPUBLIC void PutCell (SCCOL nCol, SCROW nRow, SCTAB nTab, ScBaseCell *pCell, BOOL bForceTab=FALSE)
SC_DLLPUBLIC void PutCell (SCCOL nCol, SCROW nRow, SCTAB nTab, ScBaseCell *pCell, ULONG nFormatIndex, BOOL bForceTab=FALSE)
SC_DLLPUBLIC BOOL SetString (SCCOL nCol, SCROW nRow, SCTAB nTab, const String &rString, ScSetStringParam *pParam=NULL)
SC_DLLPUBLIC void SetValue (SCCOL nCol, SCROW nRow, SCTAB nTab, const double &rVal)
void SetError (SCCOL nCol, SCROW nRow, SCTAB nTab, const USHORT nError)
SC_DLLPUBLIC void InsertMatrixFormula (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark, const String &rFormula, const ScTokenArray *p=NULL, const formula::FormulaGrammar::Grammar=formula::FormulaGrammar::GRAM_DEFAULT)
SC_DLLPUBLIC void InsertTableOp (const ScTabOpParam &rParam, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark)
SC_DLLPUBLIC void GetString (SCCOL nCol, SCROW nRow, SCTAB nTab, String &rString)
SC_DLLPUBLIC void GetInputString (SCCOL nCol, SCROW nRow, SCTAB nTab, String &rString)
SC_DLLPUBLIC double GetValue (const ScAddress &)
SC_DLLPUBLIC void GetValue (SCCOL nCol, SCROW nRow, SCTAB nTab, double &rValue)
SC_DLLPUBLIC double RoundValueAsShown (double fVal, ULONG nFormat)
SC_DLLPUBLIC void GetNumberFormat (SCCOL nCol, SCROW nRow, SCTAB nTab, sal_uInt32 &rFormat)
sal_uInt32 GetNumberFormat (const ScRange &rRange) const
SC_DLLPUBLIC sal_uInt32 GetNumberFormat (const ScAddress &) const
SC_DLLPUBLIC void GetNumberFormatInfo (short &nType, ULONG &nIndex, const ScAddress &rPos, const ScBaseCell *pCell) const
 If no number format attribute is set and the cell pointer passed is of type formula cell, the calculated number format of the formula cell is returned.
void GetFormula (SCCOL nCol, SCROW nRow, SCTAB nTab, String &rFormula, BOOL bAsciiExport=FALSE) const
SC_DLLPUBLIC void GetCellType (SCCOL nCol, SCROW nRow, SCTAB nTab, CellType &rCellType) const
SC_DLLPUBLIC CellType GetCellType (const ScAddress &rPos) const
SC_DLLPUBLIC void GetCell (SCCOL nCol, SCROW nRow, SCTAB nTab, ScBaseCell *&rpCell) const
SC_DLLPUBLIC ScBaseCellGetCell (const ScAddress &rPos) const
SC_DLLPUBLIC BOOL HasData (SCCOL nCol, SCROW nRow, SCTAB nTab)
SC_DLLPUBLIC BOOL HasStringData (SCCOL nCol, SCROW nRow, SCTAB nTab) const
SC_DLLPUBLIC BOOL HasValueData (SCCOL nCol, SCROW nRow, SCTAB nTab) const
BOOL HasStringCells (const ScRange &rRange) const
BOOL HasSelectionData (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 Returns true, if there is any data to create a selection list for rPos.
ScPostItGetNote (const ScAddress &rPos)
 Returns the pointer to a cell note object at the passed cell address.
void TakeNote (const ScAddress &rPos, ScPostIt *&rpNote)
 Sets the passed note at the cell with the passed cell address.
ScPostItReleaseNote (const ScAddress &rPos)
 Returns and forgets the cell note object at the passed cell address.
SC_DLLPUBLIC ScPostItGetOrCreateNote (const ScAddress &rPos)
 Returns the pointer to an existing or created cell note object at the passed cell address.
void DeleteNote (const ScAddress &rPos)
 Deletes the note at the passed cell address.
void InitializeNoteCaptions (SCTAB nTab, bool bForced=false)
 Creates the captions of all uninitialized cell notes in the specified sheet.
void InitializeAllNoteCaptions (bool bForced=false)
 Creates the captions of all uninitialized cell notes in all sheets.
BOOL ExtendMergeSel (SCCOL nStartCol, SCROW nStartRow, SCCOL &rEndCol, SCROW &rEndRow, const ScMarkData &rMark, BOOL bRefresh=FALSE, BOOL bAttrs=FALSE)
BOOL ExtendMerge (SCCOL nStartCol, SCROW nStartRow, SCCOL &rEndCol, SCROW &rEndRow, SCTAB nTab, BOOL bRefresh=FALSE, BOOL bAttrs=FALSE)
BOOL ExtendMerge (ScRange &rRange, BOOL bRefresh=FALSE, BOOL bAttrs=FALSE)
BOOL ExtendTotalMerge (ScRange &rRange)
SC_DLLPUBLIC BOOL ExtendOverlapped (SCCOL &rStartCol, SCROW &rStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab)
SC_DLLPUBLIC BOOL ExtendOverlapped (ScRange &rRange)
BOOL RefreshAutoFilter (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab)
SC_DLLPUBLIC void DoMergeContents (SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow)
SC_DLLPUBLIC void DoMerge (SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, bool bDeleteCaptions=true)
void RemoveMerge (SCCOL nCol, SCROW nRow, SCTAB nTab)
BOOL IsBlockEmpty (SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, bool bIgnoreNotes=false) const
BOOL IsPrintEmpty (SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, BOOL bLeftIsEmpty=FALSE, ScRange *pLastRange=NULL, Rectangle *pLastMM=NULL) const
void SkipOverlapped (SCCOL &rCol, SCROW &rRow, SCTAB nTab) const
BOOL IsHorOverlapped (SCCOL nCol, SCROW nRow, SCTAB nTab) const
BOOL IsVerOverlapped (SCCOL nCol, SCROW nRow, SCTAB nTab) const
SC_DLLPUBLIC BOOL HasAttrib (SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2, USHORT nMask)
SC_DLLPUBLIC BOOL HasAttrib (const ScRange &rRange, USHORT nMask)
void GetBorderLines (SCCOL nCol, SCROW nRow, SCTAB nTab, const SvxBorderLine **ppLeft, const SvxBorderLine **ppTop, const SvxBorderLine **ppRight, const SvxBorderLine **ppBottom) const
void ResetChanged (const ScRange &rRange)
void SetDirty ()
void SetDirty (const ScRange &)
void SetTableOpDirty (const ScRange &)
void InterpretDirtyCells (const ScRangeList &rRanges)
void CalcAll ()
SC_DLLPUBLIC void CalcAfterLoad ()
void CompileAll ()
void CompileXML ()
ScAutoNameCacheGetAutoNameCache ()
ScLookupCacheGetLookupCache (const ScRange &rRange)
 Creates a ScLookupCache cache for the range if it doesn't already exist.
void AddLookupCache (ScLookupCache &rCache)
 Only ScLookupCache ctor uses AddLookupCache(), do not use elsewhere!
void RemoveLookupCache (ScLookupCache &rCache)
 Only ScLookupCache dtor uses RemoveLookupCache(), do not use elsewhere!
void ClearLookupCaches ()
 Zap all caches.
void SetAutoCalc (BOOL bNewAutoCalc)
BOOL GetAutoCalc () const
void SetAutoCalcShellDisabled (BOOL bNew)
BOOL IsAutoCalcShellDisabled () const
void SetForcedFormulaPending (BOOL bNew)
BOOL IsForcedFormulaPending () const
BOOL IsCalculatingFormulaTree ()
BOOL FireCalculateEvent (SCTAB nTab)
void AddCalculateTable (SCTAB nTab)
USHORT GetErrCode (const ScAddress &) const
bool ShrinkToDataArea (SCTAB nTab, SCCOL &rStartCol, SCROW &rStartRow, SCCOL &rEndCol, SCROW &rEndRow) const
void GetDataArea (SCTAB nTab, SCCOL &rStartCol, SCROW &rStartRow, SCCOL &rEndCol, SCROW &rEndRow, BOOL bIncludeOld) const
SC_DLLPUBLIC BOOL GetCellArea (SCTAB nTab, SCCOL &rEndCol, SCROW &rEndRow) const
SC_DLLPUBLIC BOOL GetTableArea (SCTAB nTab, SCCOL &rEndCol, SCROW &rEndRow) const
SC_DLLPUBLIC BOOL GetPrintArea (SCTAB nTab, SCCOL &rEndCol, SCROW &rEndRow, BOOL bNotes=TRUE) const
SC_DLLPUBLIC BOOL GetPrintAreaHor (SCTAB nTab, SCROW nStartRow, SCROW nEndRow, SCCOL &rEndCol, BOOL bNotes=TRUE) const
SC_DLLPUBLIC BOOL GetPrintAreaVer (SCTAB nTab, SCCOL nStartCol, SCCOL nEndCol, SCROW &rEndRow, BOOL bNotes=TRUE) const
void InvalidateTableArea ()
SC_DLLPUBLIC BOOL GetDataStart (SCTAB nTab, SCCOL &rStartCol, SCROW &rStartRow) const
void ExtendPrintArea (OutputDevice *pDev, SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL &rEndCol, SCROW nEndRow)
 Find the maximum column position that contains printable data for the specified row range.
SC_DLLPUBLIC SCSIZE GetEmptyLinesInBlock (SCCOL nStartCol, SCROW nStartRow, SCTAB nStartTab, SCCOL nEndCol, SCROW nEndRow, SCTAB nEndTab, ScDirection eDir)
void FindAreaPos (SCCOL &rCol, SCROW &rRow, SCTAB nTab, SCsCOL nMovX, SCsROW nMovY)
SC_DLLPUBLIC void GetNextPos (SCCOL &rCol, SCROW &rRow, SCTAB nTab, SCsCOL nMovX, SCsROW nMovY, BOOL bMarked, BOOL bUnprotected, const ScMarkData &rMark)
BOOL GetNextMarkedCell (SCCOL &rCol, SCROW &rRow, SCTAB nTab, const ScMarkData &rMark)
void LimitChartArea (SCTAB nTab, SCCOL &rStartCol, SCROW &rStartRow, SCCOL &rEndCol, SCROW &rEndRow)
void LimitChartIfAll (ScRangeListRef &rRangeList)
BOOL InsertRow (SCCOL nStartCol, SCTAB nStartTab, SCCOL nEndCol, SCTAB nEndTab, SCROW nStartRow, SCSIZE nSize, ScDocument *pRefUndoDoc=NULL, const ScMarkData *pTabMark=NULL)
SC_DLLPUBLIC BOOL InsertRow (const ScRange &rRange, ScDocument *pRefUndoDoc=NULL)
void DeleteRow (SCCOL nStartCol, SCTAB nStartTab, SCCOL nEndCol, SCTAB nEndTab, SCROW nStartRow, SCSIZE nSize, ScDocument *pRefUndoDoc=NULL, BOOL *pUndoOutline=NULL, const ScMarkData *pTabMark=NULL)
SC_DLLPUBLIC void DeleteRow (const ScRange &rRange, ScDocument *pRefUndoDoc=NULL, BOOL *pUndoOutline=NULL)
BOOL InsertCol (SCROW nStartRow, SCTAB nStartTab, SCROW nEndRow, SCTAB nEndTab, SCCOL nStartCol, SCSIZE nSize, ScDocument *pRefUndoDoc=NULL, const ScMarkData *pTabMark=NULL)
SC_DLLPUBLIC BOOL InsertCol (const ScRange &rRange, ScDocument *pRefUndoDoc=NULL)
void DeleteCol (SCROW nStartRow, SCTAB nStartTab, SCROW nEndRow, SCTAB nEndTab, SCCOL nStartCol, SCSIZE nSize, ScDocument *pRefUndoDoc=NULL, BOOL *pUndoOutline=NULL, const ScMarkData *pTabMark=NULL)
void DeleteCol (const ScRange &rRange, ScDocument *pRefUndoDoc=NULL, BOOL *pUndoOutline=NULL)
BOOL CanInsertRow (const ScRange &rRange) const
BOOL CanInsertCol (const ScRange &rRange) const
void FitBlock (const ScRange &rOld, const ScRange &rNew, BOOL bClear=TRUE)
BOOL CanFitBlock (const ScRange &rOld, const ScRange &rNew)
BOOL IsClipOrUndo () const
BOOL IsUndo () const
BOOL IsClipboard () const
bool IsUndoEnabled () const
void EnableUndo (bool bVal)
bool IsAdjustHeightEnabled () const
void EnableAdjustHeight (bool bVal)
bool IsExecuteLinkEnabled () const
void EnableExecuteLink (bool bVal)
bool IsChangeReadOnlyEnabled () const
void EnableChangeReadOnly (bool bVal)
SC_DLLPUBLIC sal_Int16 GetNamedRangesLockCount () const
void SetNamedRangesLockCount (sal_Int16 nCount)
SC_DLLPUBLIC void ResetClip (ScDocument *pSourceDoc, const ScMarkData *pMarks)
SC_DLLPUBLIC void ResetClip (ScDocument *pSourceDoc, SCTAB nTab)
void SetCutMode (BOOL bCut)
BOOL IsCutMode ()
void SetClipArea (const ScRange &rArea, BOOL bCut=FALSE)
SC_DLLPUBLIC BOOL IsDocVisible () const
void SetDocVisible (BOOL bSet)
BOOL HasOLEObjectsInArea (const ScRange &rRange, const ScMarkData *pTabMark=NULL)
void DeleteObjectsInArea (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark)
void DeleteObjectsInSelection (const ScMarkData &rMark)
void DeleteArea (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark, USHORT nDelFlag)
void DeleteAreaTab (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCTAB nTab, USHORT nDelFlag)
void DeleteAreaTab (const ScRange &rRange, USHORT nDelFlag)
void CopyToClip (const ScClipParam &rClipParam, ScDocument *pClipDoc, const ScMarkData *pMarks=NULL, bool bAllTabs=false, bool bKeepScenarioFlags=false, bool bIncludeObjects=false, bool bCloneNoteCaptions=true)
void CopyTabToClip (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCTAB nTab, ScDocument *pClipDoc=NULL)
void CopyBlockFromClip (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark, SCsCOL nDx, SCsROW nDy, const ScCopyBlockFromClipParams *pCBFCP)
void CopyNonFilteredFromClip (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark, SCsCOL nDx, SCsROW nDy, const ScCopyBlockFromClipParams *pCBFCP, SCROW &rClipStartRow)
void StartListeningFromClip (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark, USHORT nInsFlag)
void BroadcastFromClip (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark, USHORT nInsFlag)
void CopyFromClip (const ScRange &rDestRange, const ScMarkData &rMark, USHORT nInsFlag, ScDocument *pRefUndoDoc=NULL, ScDocument *pClipDoc=NULL, BOOL bResetCut=TRUE, BOOL bAsLink=FALSE, BOOL bIncludeFiltered=TRUE, BOOL bSkipAttrForEmpty=FALSE, const ScRangeList *pDestRanges=NULL)
 If pDestRanges is given it overrides rDestRange, rDestRange in this case is the overall encompassing range.
void CopyMultiRangeFromClip (const ScAddress &rDestPos, const ScMarkData &rMark, sal_uInt16 nInsFlag, ScDocument *pClipDoc, bool bResetCut=true, bool bAsLink=false, bool bIncludeFiltered=true, bool bSkipAttrForEmpty=false)
void GetClipArea (SCCOL &nClipX, SCROW &nClipY, BOOL bIncludeFiltered)
void GetClipStart (SCCOL &nClipX, SCROW &nClipY)
BOOL HasClipFilteredRows ()
BOOL IsClipboardSource () const
SC_DLLPUBLIC void TransposeClip (ScDocument *pTransClip, USHORT nFlags, BOOL bAsLink)
ScClipParamGetClipParam ()
void SetClipParam (const ScClipParam &rParam)
void MixDocument (const ScRange &rRange, USHORT nFunction, BOOL bSkipEmpty, ScDocument *pSrcDoc)
void FillTab (const ScRange &rSrcArea, const ScMarkData &rMark, USHORT nFlags, USHORT nFunction, BOOL bSkipEmpty, BOOL bAsLink)
void FillTabMarked (SCTAB nSrcTab, const ScMarkData &rMark, USHORT nFlags, USHORT nFunction, BOOL bSkipEmpty, BOOL bAsLink)
void TransliterateText (const ScMarkData &rMultiMark, sal_Int32 nType)
SC_DLLPUBLIC void InitUndo (ScDocument *pSrcDoc, SCTAB nTab1, SCTAB nTab2, BOOL bColInfo=FALSE, BOOL bRowInfo=FALSE)
void AddUndoTab (SCTAB nTab1, SCTAB nTab2, BOOL bColInfo=FALSE, BOOL bRowInfo=FALSE)
SC_DLLPUBLIC void InitUndoSelected (ScDocument *pSrcDoc, const ScMarkData &rTabSelection, BOOL bColInfo=FALSE, BOOL bRowInfo=FALSE)
void CopyToDocument (SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2, USHORT nFlags, BOOL bMarked, ScDocument *pDestDoc, const ScMarkData *pMarks=NULL, BOOL bColRowFlags=TRUE)
void UndoToDocument (SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2, USHORT nFlags, BOOL bMarked, ScDocument *pDestDoc, const ScMarkData *pMarks=NULL)
void CopyToDocument (const ScRange &rRange, USHORT nFlags, BOOL bMarked, ScDocument *pDestDoc, const ScMarkData *pMarks=NULL, BOOL bColRowFlags=TRUE)
void UndoToDocument (const ScRange &rRange, USHORT nFlags, BOOL bMarked, ScDocument *pDestDoc, const ScMarkData *pMarks=NULL)
void CopyScenario (SCTAB nSrcTab, SCTAB nDestTab, BOOL bNewScenario=FALSE)
BOOL TestCopyScenario (SCTAB nSrcTab, SCTAB nDestTab) const
void MarkScenario (SCTAB nSrcTab, SCTAB nDestTab, ScMarkData &rDestMark, BOOL bResetMark=TRUE, USHORT nNeededBits=0) const
BOOL HasScenarioRange (SCTAB nTab, const ScRange &rRange) const
SC_DLLPUBLIC const ScRangeListGetScenarioRanges (SCTAB nTab) const
SC_DLLPUBLIC void CopyUpdated (ScDocument *pPosDoc, ScDocument *pDestDoc)
void UpdateReference (UpdateRefMode eUpdateRefMode, SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2, SCsCOL nDx, SCsROW nDy, SCsTAB nDz, ScDocument *pUndoDoc=NULL, BOOL bIncludeDraw=TRUE, bool bUpdateNoteCaptionPos=true)
SC_DLLPUBLIC void UpdateTranspose (const ScAddress &rDestPos, ScDocument *pClipDoc, const ScMarkData &rMark, ScDocument *pUndoDoc=NULL)
void UpdateGrow (const ScRange &rArea, SCCOL nGrowX, SCROW nGrowY)
void Fill (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData &rMark, ULONG nFillCount, FillDir eFillDir=FILL_TO_BOTTOM, FillCmd eFillCmd=FILL_LINEAR, FillDateCmd eFillDateCmd=FILL_DAY, double nStepValue=1.0, double nMaxValue=1E307)
String GetAutoFillPreview (const ScRange &rSource, SCCOL nEndX, SCROW nEndY)
BOOL GetSelectionFunction (ScSubTotalFunc eFunc, const ScAddress &rCursor, const ScMarkData &rMark, double &rResult)
SC_DLLPUBLIC const SfxPoolItemGetAttr (SCCOL nCol, SCROW nRow, SCTAB nTab, USHORT nWhich) const
SC_DLLPUBLIC const ScPatternAttrGetPattern (SCCOL nCol, SCROW nRow, SCTAB nTab) const
SC_DLLPUBLIC const ScPatternAttrGetMostUsedPattern (SCCOL nCol, SCROW nStartRow, SCROW nEndRow, SCTAB nTab) const
const ScPatternAttrGetSelectionPattern (const ScMarkData &rMark, BOOL bDeep=TRUE)
ScPatternAttrCreateSelectionPattern (const ScMarkData &rMark, BOOL bDeep=TRUE)
const ScConditionalFormatGetCondFormat (SCCOL nCol, SCROW nRow, SCTAB nTab) const
SC_DLLPUBLIC const SfxItemSetGetCondResult (SCCOL nCol, SCROW nRow, SCTAB nTab) const
const SfxPoolItemGetEffItem (SCCOL nCol, SCROW nRow, SCTAB nTab, USHORT nWhich) const
SC_DLLPUBLIC const
::com::sun::star::uno::Reference
< ::com::sun::star::i18n::XBreakIterator > & 
GetBreakIterator ()
BOOL HasStringWeakCharacters (const String &rString)
SC_DLLPUBLIC BYTE GetStringScriptType (const String &rString)
SC_DLLPUBLIC BYTE GetCellScriptType (ScBaseCell *pCell, ULONG nNumberFormat)
SC_DLLPUBLIC BYTE GetScriptType (SCCOL nCol, SCROW nRow, SCTAB nTab, ScBaseCell *pCell=NULL)
BOOL HasDetectiveOperations () const
void AddDetectiveOperation (const ScDetOpData &rData)
void ClearDetectiveOperations ()
ScDetOpListGetDetOpList () const
void SetDetOpList (ScDetOpList *pNew)
BOOL HasDetectiveObjects (SCTAB nTab) const
void GetSelectionFrame (const ScMarkData &rMark, SvxBoxItem &rLineOuter, SvxBoxInfoItem &rLineInner)
void ApplySelectionFrame (const ScMarkData &rMark, const SvxBoxItem *pLineOuter, const SvxBoxInfoItem *pLineInner)
void ApplyFrameAreaTab (const ScRange &rRange, const SvxBoxItem *pLineOuter, const SvxBoxInfoItem *pLineInner)
void ClearSelectionItems (const USHORT *pWhich, const ScMarkData &rMark)
void ChangeSelectionIndent (BOOL bIncrement, const ScMarkData &rMark)
SC_DLLPUBLIC ULONG AddCondFormat (const ScConditionalFormat &rNew)
SC_DLLPUBLIC void FindConditionalFormat (ULONG nKey, ScRangeList &rRanges)
SC_DLLPUBLIC void FindConditionalFormat (ULONG nKey, ScRangeList &rRanges, SCTAB nTab)
void ConditionalChanged (ULONG nKey)
SC_DLLPUBLIC ULONG AddValidationEntry (const ScValidationData &rNew)
SC_DLLPUBLIC const
ScValidationData
GetValidationEntry (ULONG nIndex) const
ScConditionalFormatList * GetCondFormList () const
void SetCondFormList (ScConditionalFormatList *pNew)
ScValidationDataList * GetValidationList () const
SC_DLLPUBLIC void ApplyAttr (SCCOL nCol, SCROW nRow, SCTAB nTab, const SfxPoolItem &rAttr)
SC_DLLPUBLIC void ApplyPattern (SCCOL nCol, SCROW nRow, SCTAB nTab, const ScPatternAttr &rAttr)
SC_DLLPUBLIC void ApplyPatternArea (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const ScMarkData &rMark, const ScPatternAttr &rAttr, ScEditDataArray *pDataArray=NULL)
SC_DLLPUBLIC void ApplyPatternAreaTab (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab, const ScPatternAttr &rAttr)
SC_DLLPUBLIC bool SetAttrEntries (SCCOL nCol, SCTAB nTab, ScAttrEntry *pData, SCSIZE nSize)
SC_DLLPUBLIC void ApplyPatternIfNumberformatIncompatible (const ScRange &rRange, const ScMarkData &rMark, const ScPatternAttr &rPattern, short nNewType)
void ApplyStyle (SCCOL nCol, SCROW nRow, SCTAB nTab, const ScStyleSheet &rStyle)
void ApplyStyleArea (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const ScMarkData &rMark, const ScStyleSheet &rStyle)
SC_DLLPUBLIC void ApplyStyleAreaTab (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab, const ScStyleSheet &rStyle)
void ApplySelectionStyle (const ScStyleSheet &rStyle, const ScMarkData &rMark)
void ApplySelectionLineStyle (const ScMarkData &rMark, const SvxBorderLine *pLine, BOOL bColorOnly)
const ScStyleSheetGetStyle (SCCOL nCol, SCROW nRow, SCTAB nTab) const
const ScStyleSheetGetSelectionStyle (const ScMarkData &rMark) const
void StyleSheetChanged (const SfxStyleSheetBase *pStyleSheet, BOOL bRemoved, OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY)
BOOL IsStyleSheetUsed (const ScStyleSheet &rStyle, BOOL bGatherAllStyles) const
SC_DLLPUBLIC BOOL ApplyFlagsTab (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab, INT16 nFlags)
BOOL RemoveFlagsTab (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab, INT16 nFlags)
SC_DLLPUBLIC void SetPattern (const ScAddress &, const ScPatternAttr &rAttr, BOOL bPutToPool=FALSE)
SC_DLLPUBLIC void SetPattern (SCCOL nCol, SCROW nRow, SCTAB nTab, const ScPatternAttr &rAttr, BOOL bPutToPool=FALSE)
void DeleteNumberFormat (const sal_uInt32 *pDelKeys, sal_uInt32 nCount)
void AutoFormat (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, USHORT nFormatNo, const ScMarkData &rMark)
void GetAutoFormatData (SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScAutoFormatData &rData)
BOOL SearchAndReplace (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow, SCTAB &rTab, ScMarkData &rMark, String &rUndoStr, ScDocument *pUndoDoc=NULL)
BOOL Solver (SCCOL nFCol, SCROW nFRow, SCTAB nFTab, SCCOL nVCol, SCROW nVRow, SCTAB nVTab, const String &sValStr, double &nX)
void ApplySelectionPattern (const ScPatternAttr &rAttr, const ScMarkData &rMark, ScEditDataArray *pDataArray=NULL)
void DeleteSelection (USHORT nDelFlag, const ScMarkData &rMark)
void DeleteSelectionTab (SCTAB nTab, USHORT nDelFlag, const ScMarkData &rMark)
SC_DLLPUBLIC void SetColWidth (SCCOL nCol, SCTAB nTab, USHORT nNewWidth)
SC_DLLPUBLIC void SetRowHeight (SCROW nRow, SCTAB nTab, USHORT nNewHeight)
SC_DLLPUBLIC void SetRowHeightRange (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, USHORT nNewHeight)
SC_DLLPUBLIC void SetRowHeightOnly (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, USHORT nNewHeight)
void SetManualHeight (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, BOOL bManual)
SC_DLLPUBLIC USHORT GetColWidth (SCCOL nCol, SCTAB nTab) const
SC_DLLPUBLIC USHORT GetRowHeight (SCROW nRow, SCTAB nTab, bool bHiddenAsZero=true) const
SC_DLLPUBLIC ULONG GetRowHeight (SCROW nStartRow, SCROW nEndRow, SCTAB nTab) const
ULONG GetScaledRowHeight (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, double fScale) const
SC_DLLPUBLIC ULONG GetColOffset (SCCOL nCol, SCTAB nTab) const
SC_DLLPUBLIC ULONG GetRowOffset (SCROW nRow, SCTAB nTab) const
SC_DLLPUBLIC USHORT GetOriginalWidth (SCCOL nCol, SCTAB nTab) const
SC_DLLPUBLIC USHORT GetOriginalHeight (SCROW nRow, SCTAB nTab) const
USHORT GetCommonWidth (SCCOL nEndCol, SCTAB nTab) const
SC_DLLPUBLIC ULONG FastGetRowHeight (SCROW nStartRow, SCROW nEndRow, SCTAB nTab) const
ULONG FastGetScaledRowHeight (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, double fScale) const
SC_DLLPUBLIC USHORT FastGetRowHeight (SCROW nRow, SCTAB nTab) const
SCROW FastGetRowForHeight (SCTAB nTab, ULONG nHeight) const
SCROW GetHiddenRowCount (SCROW nRow, SCTAB nTab) const
USHORT GetOptimalColWidth (SCCOL nCol, SCTAB nTab, OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY, BOOL bFormula, const ScMarkData *pMarkData=NULL, const ScColWidthParam *pParam=NULL)
SC_DLLPUBLIC BOOL SetOptimalHeight (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, USHORT nExtra, OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY, BOOL bShrink)
void UpdateAllRowHeights (OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY, const ScMarkData *pTabMark=NULL)
long GetNeededSize (SCCOL nCol, SCROW nRow, SCTAB nTab, OutputDevice *pDev, double nPPTX, double nPPTY, const Fraction &rZoomX, const Fraction &rZoomY, BOOL bWidth, BOOL bTotalSize=FALSE)
SC_DLLPUBLIC void ShowCol (SCCOL nCol, SCTAB nTab, BOOL bShow)
SC_DLLPUBLIC void ShowRow (SCROW nRow, SCTAB nTab, BOOL bShow)
SC_DLLPUBLIC void ShowRows (SCROW nRow1, SCROW nRow2, SCTAB nTab, BOOL bShow)
SC_DLLPUBLIC void SetColFlags (SCCOL nCol, SCTAB nTab, BYTE nNewFlags)
SC_DLLPUBLIC void SetRowFlags (SCROW nRow, SCTAB nTab, BYTE nNewFlags)
SC_DLLPUBLIC void SetRowFlags (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, BYTE nNewFlags)
SC_DLLPUBLIC BYTE GetColFlags (SCCOL nCol, SCTAB nTab) const
SC_DLLPUBLIC BYTE GetRowFlags (SCROW nRow, SCTAB nTab) const
SC_DLLPUBLIC const
ScBitMaskCompressedArray
< SCROW, BYTE > & 
GetRowFlagsArray (SCTAB nTab) const
SC_DLLPUBLIC
ScBitMaskCompressedArray
< SCROW, BYTE > & 
GetRowFlagsArrayModifiable (SCTAB nTab)
SC_DLLPUBLIC void GetAllRowBreaks (::std::set< SCROW > &rBreaks, SCTAB nTab, bool bPage, bool bManual) const
SC_DLLPUBLIC void GetAllColBreaks (::std::set< SCCOL > &rBreaks, SCTAB nTab, bool bPage, bool bManual) const
SC_DLLPUBLIC ScBreakType HasRowBreak (SCROW nRow, SCTAB nTab) const
SC_DLLPUBLIC ScBreakType HasColBreak (SCCOL nCol, SCTAB nTab) const
SC_DLLPUBLIC void SetRowBreak (SCROW nRow, SCTAB nTab, bool bPage, bool bManual)
SC_DLLPUBLIC void SetColBreak (SCCOL nCol, SCTAB nTab, bool bPage, bool bManual)
void RemoveRowBreak (SCROW nRow, SCTAB nTab, bool bPage, bool bManual)
void RemoveColBreak (SCCOL nCol, SCTAB nTab, bool bPage, bool bManual)
::com::sun::star::uno::Sequence
< ::com::sun::star::sheet::TablePageBreakData > 
GetRowBreakData (SCTAB nTab) const
SC_DLLPUBLIC bool RowHidden (SCROW nRow, SCTAB nTab, SCROW *pFirstRow=NULL, SCROW *pLastRow=NULL)
SC_DLLPUBLIC bool RowHidden (SCROW nRow, SCTAB nTab, SCROW &rLastRow)
SC_DLLPUBLIC bool HasHiddenRows (SCROW nStartRow, SCROW nEndRow, SCTAB nTab)
SC_DLLPUBLIC bool ColHidden (SCCOL nCol, SCTAB nTab, SCCOL &rLastCol)
SC_DLLPUBLIC bool ColHidden (SCCOL nCol, SCTAB nTab, SCCOL *pFirstCol=NULL, SCCOL *pLastCol=NULL)
SC_DLLPUBLIC void SetRowHidden (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, bool bHidden)
SC_DLLPUBLIC void SetColHidden (SCCOL nStartCol, SCCOL nEndCol, SCTAB nTab, bool bHidden)
SC_DLLPUBLIC SCROW FirstVisibleRow (SCROW nStartRow, SCROW nEndRow, SCTAB nTab)
SC_DLLPUBLIC SCROW LastVisibleRow (SCROW nStartRow, SCROW nEndRow, SCTAB nTab)
SCROW CountVisibleRows (SCROW nStartRow, SCROW nEndRow, SCTAB nTab)
bool RowFiltered (SCROW nRow, SCTAB nTab, SCROW *pFirstRow=NULL, SCROW *pLastRow=NULL)
bool HasFilteredRows (SCROW nStartRow, SCROW nEndRow, SCTAB nTab)
bool ColFiltered (SCCOL nCol, SCTAB nTab, SCCOL *pFirstCol=NULL, SCCOL *pLastCol=NULL)
SC_DLLPUBLIC void SetRowFiltered (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, bool bFiltered)
SC_DLLPUBLIC void SetColFiltered (SCCOL nStartCol, SCCOL nEndCol, SCTAB nTab, bool bFiltered)
SCROW FirstNonFilteredRow (SCROW nStartRow, SCROW nEndRow, SCTAB nTab)
SCROW LastNonFilteredRow (SCROW nStartRow, SCROW nEndRow, SCTAB nTab)
SCROW CountNonFilteredRows (SCROW nStartRow, SCROW nEndRow, SCTAB nTab)
void SyncColRowFlags ()
 Write all column row flags to table's flag data, because not all column row attributes are stored in the flag data members.
SC_DLLPUBLIC SCROW GetLastFlaggedRow (SCTAB nTab) const
SCCOL GetLastChangedCol (SCTAB nTab) const
SCROW GetLastChangedRow (SCTAB nTab) const
SCCOL GetNextDifferentChangedCol (SCTAB nTab, SCCOL nStart) const
SCROW GetNextDifferentChangedRow (SCTAB nTab, SCROW nStart, bool bCareManualSize=true) const
BOOL GetColDefault (SCTAB nTab, SCCOL nCol, SCROW nLastRow, SCROW &nDefault)
BOOL GetRowDefault (SCTAB nTab, SCROW nRow, SCCOL nLastCol, SCCOL &nDefault)
BOOL UpdateOutlineCol (SCCOL nStartCol, SCCOL nEndCol, SCTAB nTab, BOOL bShow)
BOOL UpdateOutlineRow (SCROW nStartRow, SCROW nEndRow, SCTAB nTab, BOOL bShow)
void StripHidden (SCCOL &rX1, SCROW &rY1, SCCOL &rX2, SCROW &rY2, SCTAB nTab)
void ExtendHidden (SCCOL &rX1, SCROW &rY1, SCCOL &rX2, SCROW &rY2, SCTAB nTab)
SC_DLLPUBLIC ScPatternAttrGetDefPattern () const
SC_DLLPUBLIC ScDocumentPoolGetPool ()
SC_DLLPUBLIC ScStyleSheetPoolGetStyleSheetPool () const
SC_DLLPUBLIC const String & GetPageStyle (SCTAB nTab) const
SC_DLLPUBLIC void SetPageStyle (SCTAB nTab, const String &rName)
Size GetPageSize (SCTAB nTab) const
void SetPageSize (SCTAB nTab, const Size &rSize)
void SetRepeatArea (SCTAB nTab, SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCROW nEndRow)
void InvalidatePageBreaks (SCTAB nTab)
void UpdatePageBreaks (SCTAB nTab, const ScRange *pUserArea=NULL)
void RemoveManualBreaks (SCTAB nTab)
BOOL HasManualBreaks (SCTAB nTab) const
BOOL IsPageStyleInUse (const String &rStrPageStyle, SCTAB *pInTab=NULL)
BOOL RemovePageStyleInUse (const String &rStrPageStyle)
BOOL RenamePageStyleInUse (const String &rOld, const String &rNew)
void ModifyStyleSheet (SfxStyleSheetBase &rPageStyle, const SfxItemSet &rChanges)
void PageStyleModified (SCTAB nTab, const String &rNewName)
SC_DLLPUBLIC BOOL NeedPageResetAfterTab (SCTAB nTab) const
SC_DLLPUBLIC BOOL HasPrintRange ()
SC_DLLPUBLIC USHORT GetPrintRangeCount (SCTAB nTab)
SC_DLLPUBLIC const ScRangeGetPrintRange (SCTAB nTab, USHORT nPos)
SC_DLLPUBLIC const ScRangeGetRepeatColRange (SCTAB nTab)
SC_DLLPUBLIC const ScRangeGetRepeatRowRange (SCTAB nTab)
BOOL IsPrintEntireSheet (SCTAB nTab) const
 Returns true, if the specified sheet is always printed.
SC_DLLPUBLIC void ClearPrintRanges (SCTAB nTab)
 Removes all print ranges.
SC_DLLPUBLIC void AddPrintRange (SCTAB nTab, const ScRange &rNew)
 Adds a new print ranges.
SC_DLLPUBLIC void SetPrintEntireSheet (SCTAB nTab)
 Marks the specified sheet to be printed completely.
SC_DLLPUBLIC void SetRepeatColRange (SCTAB nTab, const ScRange *pNew)
SC_DLLPUBLIC void SetRepeatRowRange (SCTAB nTab, const ScRange *pNew)
ScPrintRangeSaverCreatePrintRangeSaver () const
void RestorePrintRanges (const ScPrintRangeSaver &rSaver)
SC_DLLPUBLIC Rectangle GetMMRect (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab)
SC_DLLPUBLIC ScRange GetRange (SCTAB nTab, const Rectangle &rMMRect)
void UpdStlShtPtrsFrmNms ()
void StylesToNames ()
SC_DLLPUBLIC void CopyStdStylesFrom (ScDocument *pSrcDoc)
CharSet GetSrcCharSet () const
ULONG GetSrcVersion () const
SCROW GetSrcMaxRow () const
void SetSrcCharSet (CharSet eNew)
void UpdateFontCharSet ()
void FillInfo (ScTableInfo &rTabInfo, SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, SCTAB nTab, double nScaleX, double nScaleY, BOOL bPageMode, BOOL bFormulaMode, const ScMarkData *pMarkData=NULL)
SC_DLLPUBLIC SvNumberFormatterGetFormatTable () const
void Sort (SCTAB nTab, const ScSortParam &rSortParam, BOOL bKeepQuery)
SCSIZE Query (SCTAB nTab, const ScQueryParam &rQueryParam, BOOL bKeepSub)
BOOL ValidQuery (SCROW nRow, SCTAB nTab, const ScQueryParam &rQueryParam, BOOL *pSpecial=NULL)
SC_DLLPUBLIC BOOL CreateQueryParam (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCTAB nTab, ScQueryParam &rQueryParam)
void GetUpperCellString (SCCOL nCol, SCROW nRow, SCTAB nTab, String &rStr)
void UpdateDynamicEndRow (ScDBData &rDBData) const
 Update the dynamic end row position of a current data area.
BOOL GetFilterEntries (SCCOL nCol, SCROW nRow, SCTAB nTab, bool bFilter, TypedScStrCollection &rStrings, bool &rHasDates)
SC_DLLPUBLIC BOOL GetFilterEntriesArea (SCCOL nCol, SCROW nStartRow, SCROW nEndRow, SCTAB nTab, TypedScStrCollection &rStrings, bool &rHasDates)
BOOL GetDataEntries (SCCOL nCol, SCROW nRow, SCTAB nTab, TypedScStrCollection &rStrings, BOOL bLimit=FALSE)
BOOL GetFormulaEntries (TypedScStrCollection &rStrings)
BOOL HasAutoFilter (SCCOL nCol, SCROW nRow, SCTAB nTab)
SC_DLLPUBLIC BOOL HasColHeader (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab)
SC_DLLPUBLIC BOOL HasRowHeader (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, SCTAB nTab)
SfxPrinterGetPrinter (BOOL bCreateIfNotExist=TRUE)
void SetPrinter (SfxPrinter *pNewPrinter)
VirtualDeviceGetVirtualDevice_100th_mm ()
SC_DLLPUBLIC OutputDeviceGetRefDevice ()
void EraseNonUsedSharedNames (USHORT nLevel)
BOOL GetNextSpellingCell (SCCOL &nCol, SCROW &nRow, SCTAB nTab, BOOL bInSel, const ScMarkData &rMark) const
BOOL ReplaceStyle (const SvxSearchItem &rSearchItem, SCCOL nCol, SCROW nRow, SCTAB nTab, ScMarkData &rMark, BOOL bIsUndo)
void DoColResize (SCTAB nTab, SCCOL nCol1, SCCOL nCol2, SCSIZE nAdd)
BOOL IsLoadingDone () const
void InvalidateTextWidth (const String &rStyleName)
void InvalidateTextWidth (SCTAB nTab)
void InvalidateTextWidth (const ScAddress *pAdrFrom, const ScAddress *pAdrTo, BOOL bNumFormatChanged)
BOOL IdleCalcTextWidth ()
BOOL IdleCheckLinks ()
BOOL ContinueOnlineSpelling ()
BOOL IsIdleDisabled () const
void DisableIdle (BOOL bDo)
BOOL IsDetectiveDirty () const
void SetDetectiveDirty (BOOL bSet)
void RemoveAutoSpellObj ()
void SetOnlineSpellPos (const ScAddress &rPos)
SC_DLLPUBLIC BOOL SetVisibleSpellRange (const ScRange &rRange)
BYTE GetMacroCallMode () const
void SetMacroCallMode (BYTE nNew)
BOOL GetHasMacroFunc () const
void SetHasMacroFunc (BOOL bSet)
BOOL CheckMacroWarn ()
void SetRangeOverflowType (sal_uInt32 nType)
sal_Bool HasRangeOverflow () const
SC_DLLPUBLIC sal_uInt32 GetRangeOverflowType () const
void SetNoSetDirty (BOOL bVal)
BOOL GetNoSetDirty () const
void SetInsertingFromOtherDoc (BOOL bVal)
BOOL IsInsertingFromOtherDoc () const
void SetLoadingMedium (bool bVal)
bool IsLoadingMedium () const
void SetImportingXML (BOOL bVal)
BOOL IsImportingXML () const
void SetXMLFromWrapper (BOOL bVal)
BOOL IsXMLFromWrapper () const
void SetCalcingAfterLoad (BOOL bVal)
BOOL IsCalcingAfterLoad () const
void SetNoListening (BOOL bVal)
BOOL GetNoListening () const
ScBroadcastAreaSlotMachineGetBASM () const
ScChartListenerCollectionGetChartListenerCollection () const
void SetChartListenerCollection (ScChartListenerCollection *, BOOL bSetChartRangeLists=FALSE)
void UpdateChart (const String &rName)
void RestoreChartListener (const String &rName)
SC_DLLPUBLIC void UpdateChartListenerCollection ()
BOOL IsChartListenerCollectionNeedsUpdate () const
void SetChartListenerCollectionNeedsUpdate (BOOL bFlg)
void AddOLEObjectToCollection (const String &rName)
ScChangeViewSettingsGetChangeViewSettings () const
SC_DLLPUBLIC void SetChangeViewSettings (const ScChangeViewSettings &rNew)
vos::ORef
< SvxForbiddenCharactersTable
GetForbiddenCharacters ()
void SetForbiddenCharacters (const vos::ORef< SvxForbiddenCharactersTable > xNew)
BYTE GetAsianCompression () const
BOOL IsValidAsianCompression () const
void SetAsianCompression (BYTE nNew)
BOOL GetAsianKerning () const
BOOL IsValidAsianKerning () const
void SetAsianKerning (BOOL bNew)
BYTE GetEditTextDirection (SCTAB nTab) const
SC_DLLPUBLIC ScLkUpdMode GetLinkMode () const
void SetLinkMode (ScLkUpdMode nSet)
SC_DLLPUBLIC ScMacroManagerGetMacroManager ()
void StartListeningArea (const ScRange &rRange, SvtListener *pListener)
void EndListeningArea (const ScRange &rRange, SvtListener *pListener)
void Broadcast (const ScHint &rHint)
 Broadcast wrapper, calls SC_DLLPUBLIC rHint.GetCell()->Broadcast() and AreaBroadcast() and TrackFormulas() and conditional format list SourceChanged().
void Broadcast (ULONG nHint, const ScAddress &rAddr, ScBaseCell *pCell)
 deprecated
void AreaBroadcast (const ScHint &rHint)
 only area, no cell broadcast
void AreaBroadcastInRange (const ScRange &rRange, const ScHint &rHint)
 only areas in range, no cell broadcasts
void DelBroadcastAreasInRange (const ScRange &rRange)
void UpdateBroadcastAreas (UpdateRefMode eUpdateRefMode, const ScRange &rRange, SCsCOL nDx, SCsROW nDy, SCsTAB nDz)
void StartListeningCell (const ScAddress &rAddress, SvtListener *pListener)
void EndListeningCell (const ScAddress &rAddress, SvtListener *pListener)
void PutInFormulaTree (ScFormulaCell *pCell)
void RemoveFromFormulaTree (ScFormulaCell *pCell)
void CalcFormulaTree (BOOL bOnlyForced=FALSE, BOOL bNoProgressBar=FALSE)
void ClearFormulaTree ()
void AppendToFormulaTrack (ScFormulaCell *pCell)
void RemoveFromFormulaTrack (ScFormulaCell *pCell)
void TrackFormulas (ULONG nHintId=SC_HINT_DATACHANGED)
USHORT GetFormulaTrackCount () const
BOOL IsInFormulaTree (ScFormulaCell *pCell) const
BOOL IsInFormulaTrack (ScFormulaCell *pCell) const
USHORT GetHardRecalcState ()
void SetHardRecalcState (USHORT nVal)
void StartAllListeners ()
const ScFormulaCellGetFormulaTree () const
BOOL HasForcedFormulas () const
void SetForcedFormulas (BOOL bVal)
ULONG GetFormulaCodeInTree () const
BOOL IsInInterpreter () const
USHORT GetInterpretLevel ()
void IncInterpretLevel ()
void DecInterpretLevel ()
BOOL IsInMacroInterpreter () const
USHORT GetMacroInterpretLevel ()
void IncMacroInterpretLevel ()
void DecMacroInterpretLevel ()
BOOL IsInInterpreterTableOp () const
USHORT GetInterpreterTableOpLevel ()
void IncInterpreterTableOpLevel ()
void DecInterpreterTableOpLevel ()
void AddTableOpFormulaCell (ScFormulaCell *)
void InvalidateLastTableOpParams ()
ScRecursionHelperGetRecursionHelper ()
BOOL IsInDtorClear () const
void SetExpandRefs (BOOL bVal)
BOOL IsExpandRefs ()
SC_DLLPUBLIC void IncSizeRecalcLevel (SCTAB nTab)
SC_DLLPUBLIC void DecSizeRecalcLevel (SCTAB nTab, bool bUpdateNoteCaptionPos=true)
ULONG GetXMLImportedFormulaCount () const
void IncXMLImportedFormulaCount (ULONG nVal)
void DecXMLImportedFormulaCount (ULONG nVal)
void StartTrackTimer ()
void CompileDBFormula ()
void CompileDBFormula (BOOL bCreateFormulaString)
void CompileNameFormula (BOOL bCreateFormulaString)
void CompileColRowNameFormula ()
sal_Int32 GetMaxStringLen (SCTAB nTab, SCCOL nCol, SCROW nRowStart, SCROW nRowEnd, CharSet eCharSet) const
 Maximum string length of a column, e.g.
xub_StrLen GetMaxNumberStringLen (sal_uInt16 &nPrecision, SCTAB nTab, SCCOL nCol, SCROW nRowStart, SCROW nRowEnd) const
 Maximum string length of numerical cells of a column, e.g.
void KeyInput (const KeyEvent &rKEvt)
ScChangeTrackGetChangeTrack () const
SC_DLLPUBLIC void SetChangeTrack (ScChangeTrack *pTrack)
 only for import filter, deletes any existing ChangeTrack via EndChangeTracking() and takes ownership of new ChangeTrack pTrack
void StartChangeTracking ()
void EndChangeTracking ()
SC_DLLPUBLIC void CompareDocument (ScDocument &rOtherDoc)
void AddUnoObject (SfxListener &rObject)
void RemoveUnoObject (SfxListener &rObject)
void BroadcastUno (const SfxHint &rHint)
void AddUnoListenerCall (const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyListener > &rListener, const ::com::sun::star::lang::EventObject &rEvent)
void SetInLinkUpdate (BOOL bSet)
BOOL IsInLinkUpdate () const
SC_DLLPUBLIC SfxItemPoolGetEditPool () const
SC_DLLPUBLIC SfxItemPoolGetEnginePool () const
SC_DLLPUBLIC ScFieldEditEngineGetEditEngine ()
SC_DLLPUBLIC ScNoteEditEngineGetNoteEngine ()
ScRefreshTimerControlGetRefreshTimerControl () const
ScRefreshTimerControl *const * GetRefreshTimerControlAddress () const
void SetPastingDrawFromOtherDoc (BOOL bVal)
BOOL PastingDrawFromOtherDoc () const
sal_uInt32 GetDocumentID () const
 an ID unique to each document instance
void InvalidateStyleSheetUsage ()
void GetSortParam (ScSortParam &rParam, SCTAB nTab)
void SetSortParam (ScSortParam &rParam, SCTAB nTab)
SC_DLLPUBLIC
com::sun::star::uno::Reference
< com::sun::star::document::XVbaEventsHelper > 
GetVbaEventsHelper ()
void SetStorageGrammar (formula::FormulaGrammar::Grammar eGrammar)
 Should only be GRAM_PODF or GRAM_ODFF.
formula::FormulaGrammar::Grammar GetStorageGrammar () const
SfxUndoManagerGetUndoManager ()
bool IsInVBAMode () const
void AddSubTotalCell (ScFormulaCell *pCell)
void RemoveSubTotalCell (ScFormulaCell *pCell)
void SetSubTotalCellsDirty (const ScRange &rDirtyRange)
ScRowBreakIteratorGetRowBreakIterator (SCTAB nTab) const

Static Public Member Functions

static void GetSearchAndReplaceStart (const SvxSearchItem &rSearchItem, SCCOL &rCol, SCROW &rRow)

Public Attributes

ScTabOpList aTableOpList
ScInterpreterTableOpParams aLastTableOpParams

Private Member Functions

 ScDocument (const ScDocument &r)
void FindMaxRotCol (SCTAB nTab, RowInfo *pRowInfo, SCSIZE nArrCount, SCCOL nX1, SCCOL nX2) const
USHORT RowDifferences (SCROW nThisRow, SCTAB nThisTab, ScDocument &rOtherDoc, SCROW nOtherRow, SCTAB nOtherTab, SCCOL nMaxCol, SCCOLROW *pOtherCols)
USHORT ColDifferences (SCCOL nThisCol, SCTAB nThisTab, ScDocument &rOtherDoc, SCCOL nOtherCol, SCTAB nOtherTab, SCROW nMaxRow, SCCOLROW *pOtherRows)
void FindOrder (SCCOLROW *pOtherRows, SCCOLROW nThisEndRow, SCCOLROW nOtherEndRow, BOOL bColumns, ScDocument &rOtherDoc, SCTAB nThisTab, SCTAB nOtherTab, SCCOLROW nEndCol, SCCOLROW *pTranslate, ScProgress *pProgress, ULONG nProAdd)
BOOL OnlineSpellInRange (const ScRange &rSpellRange, ScAddress &rSpellPos, USHORT nMaxTest)
 DECL_LINK (TrackTimeHdl, Timer *)
void MergeNumberFormatter (ScDocument *pSrcDoc)
void ImplCreateOptions ()
void ImplDeleteOptions ()
void DeleteDrawLayer ()
void DeleteColorTable ()
SC_DLLPUBLIC BOOL DrawGetPrintArea (ScRange &rRange, BOOL bSetHor, BOOL bSetVer) const
void DrawMovePage (USHORT nOldPos, USHORT nNewPos)
void DrawCopyPage (USHORT nOldPos, USHORT nNewPos)
void UpdateDrawPrinter ()
void UpdateDrawLanguages ()
void UpdateDrawDefaults ()
SC_DLLPUBLIC void InitClipPtrs (ScDocument *pSourceDoc)
void LoadDdeLinks (SvStream &rStream)
void SaveDdeLinks (SvStream &rStream) const
void DeleteAreaLinksOnTab (SCTAB nTab)
void UpdateRefAreaLinks (UpdateRefMode eUpdateRefMode, const ScRange &r, SCsCOL nDx, SCsROW nDy, SCsTAB nDz)
void CopyRangeNamesToClip (ScDocument *pClipDoc, const ScRange &rClipRange, const ScMarkData *pMarks, bool bAllTabs)
void CopyRangeNamesFromClip (ScDocument *pClipDoc, ScClipRangeNameData &rRangeNames)
void UpdateRangeNamesInFormulas (ScClipRangeNameData &rRangeNames, const ScRangeList &rDestRanges, const ScMarkData &rMark, SCCOL nXw, SCROW nYw)
BOOL HasPartOfMerged (const ScRange &rRange)

Static Private Member Functions

static ScRecursionHelperCreateRecursionHelperInstance ()

Private Attributes

::com::sun::star::uno::Reference
< ::com::sun::star::lang::XMultiServiceFactory > 
xServiceManager
vos::ORef< ScPoolHelperxPoolHelper
SfxUndoManagermpUndoManager
ScFieldEditEnginepEditEngine
ScNoteEditEnginepNoteEngine
SfxItemPoolpNoteItemPool
SfxObjectShellpShell
SfxPrinterpPrinter
VirtualDevicepVirtualDevice_100th_mm
ScDrawLayerpDrawLayer
XColorTablepColorTable
ScConditionalFormatList * pCondFormList
ScValidationDataList * pValidationList
SvNumberFormatterIndexTable * pFormatExchangeList
ScTablepTab [MAXTABCOUNT]
ScRangeNamepRangeName
ScDBCollectionpDBCollection
ScDPCollectionpDPCollection
ScChartCollectionpChartCollection
std::auto_ptr
< ScTemporaryChartLock
apTemporaryChartLock
ScPatternAttrpSelectionAttr
SvxLinkManagerpLinkManager
ScFormulaCellpFormulaTree
ScFormulaCellpEOFormulaTree
ScFormulaCellpFormulaTrack
ScFormulaCellpEOFormulaTrack
ScBroadcastAreaSlotMachinepBASM
ScChartListenerCollectionpChartListenerCollection
ScStrCollectionpOtherObjects
SvMemoryStream * pClipData
ScDetOpListpDetOpList
ScChangeTrackpChangeTrack
SfxBroadcasterpUnoBroadcaster
ScUnoListenerCallspUnoListenerCalls
ScUnoRefListpUnoRefUndoList
ScChangeViewSettingspChangeViewSettings
ScScriptTypeDatapScriptTypeData
ScRefreshTimerControlpRefreshTimerControl
vos::ORef
< SvxForbiddenCharactersTable
xForbiddenCharacters
ScFieldEditEnginepCacheFieldEditEngine
::std::auto_ptr< ScDocProtectionpDocProtection
::std::auto_ptr< ScClipParammpClipParam
::std::auto_ptr
< ScExternalRefManager
pExternalRefMgr
::std::auto_ptr< ScMacroManagermpMacroMgr
mutable::std::auto_ptr
< ScFormulaParserPool
mxFormulaParserPool
String aDocName
 Pool for all external formula parsers used by this document.
String aDocCodeName
ScRangePairListRef xColNameRanges
ScRangePairListRef xRowNameRanges
ScViewOptionspViewOptions
ScDocOptionspDocOptions
ScExtDocOptionspExtDocOptions
ScConsolidateParampConsolidateDlgData
ScRecursionHelperpRecursionHelper
ScAutoNameCachepAutoNameCache
ScLookupCacheMapImplpLookupCacheMapImpl
sal_Int64 nUnoObjectId
sal_uInt32 nRangeOverflowType
ScRange aEmbedRange
ScAddress aCurTextWidthCalcPos
ScAddress aOnlineSpellPos
ScRange aVisSpellRange
ScAddress aVisSpellPos
Timer aTrackTimer
com::sun::star::uno::Reference
< com::sun::star::document::XVbaEventsHelper > 
mxVbaEventsHelper
LanguageType eLanguage
LanguageType eCjkLanguage
LanguageType eCtlLanguage
CharSet eSrcSet
formula::FormulaGrammar::Grammar eStorageGrammar
 The compiler grammar used in document storage.
formula::FormulaGrammar::Grammar eXmlImportGrammar
 The compiler grammar used in ODF import after brackets had been stripped (which they shouldn't, but until that's fixed) by the XML importer.
ULONG nFormulaCodeInTree
ULONG nXMLImportedFormulaCount
USHORT nInterpretLevel
USHORT nMacroInterpretLevel
USHORT nInterpreterTableOpLevel
SCTAB nMaxTableNumber
USHORT nSrcVer
SCROW nSrcMaxRow
USHORT nFormulaTrackCount
USHORT nHardRecalcState
SCTAB nVisibleTab
ScLkUpdMode eLinkMode
BOOL bAutoCalc
BOOL bAutoCalcShellDisabled
BOOL bForcedFormulaPending
BOOL bCalculatingFormulaTree
BOOL bIsClip
BOOL bIsUndo
BOOL bIsVisible
BOOL bIsEmbedded
BOOL bNoSetDirty
BOOL bInsertingFromOtherDoc
bool bLoadingMedium
BOOL bImportingXML
BOOL bXMLFromWrapper
BOOL bCalcingAfterLoad
BOOL bNoListening
BOOL bLoadingDone
BOOL bIdleDisabled
BOOL bInLinkUpdate
BOOL bChartListenerCollectionNeedsUpdate
BOOL bHasForcedFormulas
BOOL bInDtorClear
BOOL bExpandRefs
BOOL bDetectiveDirty
BYTE nMacroCallMode
BOOL bHasMacroFunc
BYTE nVisSpellState
BYTE nAsianCompression
BYTE nAsianKerning
BOOL bSetDrawDefaults
BOOL bPastingDrawFromOtherDoc
BYTE nInDdeLinkUpdate
BOOL bInUnoBroadcast
BOOL bInUnoListenerCall
formula::FormulaGrammar::Grammar eGrammar
BOOL bStyleSheetUsageInvalid
bool mbUndoEnabled
bool mbAdjustHeightEnabled
bool mbExecuteLinkEnabled
bool mbChangeReadOnlyEnabled
bool mbStreamValidLocked
sal_Int16 mnNamedRangesLockCount
::std::vector< SCTABmaTabs
::std::set< ScFormulaCell * > maSubTotalCells
std::map< SCTAB, ScSortParammSheetSortParams

Friends

class ScDocumentIterator
class ScValueIterator
class ScDBQueryDataIterator
class ScCellIterator
class ScQueryCellIterator
class ScHorizontalCellIterator
class ScHorizontalAttrIterator
class ScDocAttrIterator
class ScAttrRectIterator
class ScDocShell
class ScDocRowHeightUpdater

Classes

class  NumFmtMergeHandler
 Use this class as a locale variable to merge number formatter from another document, and set NULL pointer to pFormatExchangeList when done. More...


Detailed Description

For usage in FindDdeLink() only!

Definition at line 236 of file document.hxx.


Constructor & Destructor Documentation

ScDocument::ScDocument ( ScDocumentMode  eMode = SCDOCMODE_DOCUMENT,
SfxObjectShell pDocShell = NULL 
)

ScDocument::~ScDocument (  ) 

ScDocument::ScDocument ( const ScDocument r  )  [private]


Member Function Documentation

ULONG ScDocument::GetCellCount (  )  const

ULONG ScDocument::GetWeightedCount (  )  const

Definition at line 5010 of file document.cxx.

References ScTable::GetWeightedCount(), MAXTAB, and pTab.

ULONG ScDocument::GetCodeCount (  )  const

Definition at line 4998 of file document.cxx.

References ScTable::GetCodeCount(), MAXTAB, and pTab.

Referenced by MoveTab().

ScDocument::DECL_LINK ( GetUserDefinedColor  ,
USHORT  
)

inline ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > ScDocument::GetServiceManager (  )  const [inline]

SC_DLLPUBLIC const String& ScDocument::GetName (  )  const [inline]

Definition at line 454 of file document.hxx.

References aDocName.

Referenced by ScDocShell::AfterXMLLoading(), ScTableSheetObj::apply(), XclExpTabInfo::CalcSortedIndexes(), CompareDocument(), CopyTab(), ScAccessiblePreviewTable::createAccessibleName(), ScAccessibleTableBase::createAccessibleName(), ScVbaEventsHelper::createWorkSheet(), ScDocFunc::DeleteTable(), ScViewFunc::DeleteTables(), ScGridWindow::DoScenarioMenue(), ExcEScenario::ExcEScenario(), ScCellShell::Execute(), ScTabViewShell::Execute(), ScTabViewShell::ExecuteTable(), ExcTable::FillAsHeader(), ScPreviewShell::FillFieldData(), ScTabViewShell::FillFieldData(), ScAddress::Format(), ScConflictsDlg::GetConflictString(), ConventionXL::GetDocAndTab(), ScExternalRefManager::getDoubleRefTokens(), ScTableSheetsObj::getElementNames(), ScScenariosObj::getElementNames(), ScTableSheetObj::getName(), ScExternalRefManager::getRangeNameTokens(), ScChangeAction::GetRefString(), ScExternalRefManager::getSrcDocument(), ScCellShell::GetState(), ScTabViewShell::GetStateTable(), ScContentTree::GetTableNames(), ScModelObj::getViewData(), ScVbaObjectForCodeNameProvider::hasByName(), IMPL_LINK(), ScViewFunc::ImportTables(), ScTransferObj::InitDocShell(), ScViewFunc::InsertTableLink(), lcl_DrawScenarioFrames(), lcl_GetAreaName(), lcl_Split_DocTab(), ScDBFunc::MakePivotTable(), ScPrintFunc::MakeTableString(), ConventionOOO_A1::MakeTabStr(), ScDocShell::ModifyScenario(), ScViewFunc::MoveTable(), ImportExcel8::Read(), ImportLotus::Read(), ScUndoImportTab::Redo(), ScTableLink::Refresh(), ScDocFunc::RenameTable(), ScInterpreter::ScCell(), ScFormatFilterPluginImpl::ScExportDif(), ScRangePairList_QsortNameCompare(), ScTabControl::ScTabControl(), ScNavigatorDlg::SetCurrentTableStr(), ScRetypePassDlg::SetDataFromDocument(), ScViewFunc::ShowTable(), TransferTab(), ScUndoDeleteTab::Undo(), ScUndoImportTab::Undo(), ScTabControl::UpdateStatus(), ScDocShell::UseScenario(), XclExpPivotCache::XclExpPivotCache(), and XclExpTabInfo::XclExpTabInfo().

void ScDocument::SetName ( const String &  r  )  [inline]

Definition at line 455 of file document.hxx.

References aDocName.

Referenced by ScDocShell::Notify().

const String& ScDocument::GetCodeName (  )  const [inline]

void ScDocument::SetCodeName ( const String &  r  )  [inline]

Definition at line 457 of file document.hxx.

References aDocCodeName.

Referenced by ImportExcel8::Codename(), ImportExcel8::Read(), and VBA_InsertModule().

NameToNameMap * ScDocument::GetLocalNameMap ( SCTAB rTab  ) 

Definition at line 189 of file document.cxx.

References HasTable(), ScTable::localNameToGlobalName, and pTab.

Referenced by getScRangeListForAddress(), and XclImpName::XclImpName().

void ScDocument::GetDocStat ( ScDocStat rDocStat  ) 

void ScDocument::InitDrawLayer ( SfxObjectShell pDocShell = NULL  ) 

XColorTable * ScDocument::GetColorTable (  ) 

SvxLinkManager * ScDocument::GetLinkManager (  )  const

const ScDocOptions & ScDocument::GetDocOptions (  )  const

void ScDocument::SetDocOptions ( const ScDocOptions rOpt  ) 

const ScViewOptions & ScDocument::GetViewOptions (  )  const

void ScDocument::SetViewOptions ( const ScViewOptions rOpt  ) 

void ScDocument::SetPrintOptions (  ) 

ScExtDocOptions* ScDocument::GetExtDocOptions (  )  [inline]

void ScDocument::SetExtDocOptions ( ScExtDocOptions pNewOptions  ) 

void ScDocument::GetLanguage ( LanguageType rLatin,
LanguageType rCjk,
LanguageType rCtl 
) const

void ScDocument::SetLanguage ( LanguageType  eLatin,
LanguageType  eCjk,
LanguageType  eCtl 
)

void ScDocument::SetDrawDefaults (  ) 

Definition at line 1813 of file documen3.cxx.

References bSetDrawDefaults, TRUE, and UpdateDrawDefaults().

void ScDocument::SetConsolidateDlgData ( const ScConsolidateParam pData  ) 

const ScConsolidateParam* ScDocument::GetConsolidateDlgData (  )  const [inline]

void ScDocument::Clear ( sal_Bool  bFromDestructor = sal_False  ) 

ScFieldEditEngine * ScDocument::CreateFieldEditEngine (  ) 

void ScDocument::DisposeFieldEditEngine ( ScFieldEditEngine *&  rpEditEngine  ) 

ScRangeName * ScDocument::GetRangeName (  ) 

Definition at line 90 of file documen3.cxx.

References pRangeName.

Referenced by ScDocFunc::CreateNames(), ScDocShell::DdeCreateLinkSource(), ScPosWnd::DoEnter(), ScDBDocFunc::DoSubTotals(), ScDBFunc::DoSubTotals(), ScEditShell::Execute(), ScCellShell::ExecuteEdit(), ScTable::Fill(), ScDocFunc::FillAuto(), ScPosWnd::FillRangeNames(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), ScAreaLink::FindExtRange(), ScFormulaCell::FindRangeNamesInUse(), ScContentTree::GetAreaNames(), ScNamedRangesObj::getCount(), ScNamedRangesObj::getElementNames(), ScHTMLImport::GetHTMLRangeNameList(), XclRoot::GetNamedRanges(), ScNamedRangesObj::GetObjectByIndex_Impl(), ScNamedRangeObj::GetRangeData_Impl(), ScExternalRefManager::getRangeNameTokens(), ScValidationData::GetSelectionFromFormula(), ScCompiler::HandleRange(), ScCompiler::HasModifiedRange(), Sc10Import::ImportNameCollection(), ScViewFunc::InsertName(), ScDocFunc::InsertNameList(), ScHTMLImport::InsertRangeName(), ScCompiler::IsNamedRange(), ScFormulaCell::IsRangeNameInUse(), lcl_FillRangeFromName(), lcl_GetRange(), lcl_HasRelRef(), ScRangeUtil::MakeRangeFromName(), ScNamedRangeObj::Modify_Impl(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ScAreaNameIterator::ScAreaNameIterator(), ScFormulaCell::ScFormulaCell(), ScImportExport::ScImportExport(), ScInterpreter::ScIndirect(), ScDocFunc::SetNewRangeNames(), ScUndoAutoFill::Undo(), ScCompiler::UpdateDeleteTab(), ScFormulaCell::UpdateGrow(), ScCompiler::UpdateInsertTab(), ScCompiler::UpdateMoveTab(), ScCompiler::UpdateReference(), ScFormulaCell::UpdateTranspose(), ScXMLExport::WriteNamedExpressions(), ScHTMLImport::WriteToDocument(), and ScEEImport::WriteToDocument().

void ScDocument::SetRangeName ( ScRangeName pNewRangeName  ) 

SCTAB ScDocument::GetMaxTableNumber (  )  [inline]

void ScDocument::SetMaxTableNumber ( SCTAB  nNumber  )  [inline]

Definition at line 492 of file document.hxx.

References nMaxTableNumber.

ScRangePairList* ScDocument::GetColNameRanges (  )  [inline]

ScRangePairList* ScDocument::GetRowNameRanges (  )  [inline]

ScRangePairListRef& ScDocument::GetColNameRangesRef (  )  [inline]

ScRangePairListRef& ScDocument::GetRowNameRangesRef (  )  [inline]

ScDBCollection * ScDocument::GetDBCollection (  )  const

Definition at line 123 of file documen3.cxx.

References pDBCollection.

Referenced by ScDBDocFunc::AddDBRange(), ScDBFuncUndo::BeginRedo(), ScDocShell::CancelAutoDBRange(), ScTabViewShell::Construct(), ScDBDocFunc::DeleteDBRange(), ScRefUndoData::DeleteUnchanged(), ScUndoAutoFilter::DoChange(), ScDBDocFunc::DoSubTotals(), ScDBFunc::DoSubTotals(), ScXMLDatabaseRangeContext::EndElement(), ScDBFuncUndo::EndUndo(), ScDocShell::Execute(), ScCellShell::ExecuteDB(), ScAreaLink::FindExtRange(), ScDatabaseRangesObj::getCount(), XclRoot::GetDatabaseRanges(), ScDocShell::GetDBData(), ScDatabaseRangeObj::GetDBData_Impl(), ScContentTree::GetDbNames(), ScDatabaseRangesObj::getElementNames(), ScDatabaseRangesObj::GetObjectByIndex_Impl(), ScUndoUtil::GetOldDBData(), ScValidationData::GetSelectionFromFormula(), ScDBFunc::GotoDBArea(), ScCompiler::HandleDbData(), ScCompiler::HasModifiedRange(), ScCompiler::IsDBRange(), lcl_GetDBAreaRange(), lcl_GetDBData_Impl(), lcl_GetRange(), Sc10Import::LoadDataBaseCollection(), ScRangeUtil::MakeRangeFromName(), ScDBDocFunc::ModifyDBData(), ScDBFunc::NotifyCloseDbNameDlg(), ScDBDocFunc::Query(), ScDBDocFunc::RenameDBRange(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ScAreaNameIterator::ScAreaNameIterator(), ScInterpreter::ScDBArea(), ScDocShell::ScDocShell(), ScRefUndoData::ScRefUndoData(), ScDBDocFunc::Sort(), ScUndoConsolidate::Undo(), ScDBDocFunc::UpdateImport(), ScInputWindow::UseSubTotal(), ScXMLExportDatabaseRanges::WriteDatabaseRanges(), and ScXMLExportDatabaseRanges::WriteSubTotalDescriptor().

void ScDocument::SetDBCollection ( ScDBCollection pNewDBCollection,
BOOL  bRemoveAutoFilter = FALSE 
)

ScDBData * ScDocument::GetDBAtCursor ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
BOOL  bStartOnly = FALSE 
) const

ScDBData * ScDocument::GetDBAtArea ( SCTAB  nTab,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
) const

ScRangeData * ScDocument::GetRangeAtBlock ( const ScRange rBlock,
String *  pName = NULL 
) const

ScDPCollection * ScDocument::GetDPCollection (  ) 

ScDPObject * ScDocument::GetDPAtCursor ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const

ScDPObject * ScDocument::GetDPAtBlock ( const ScRange rBlock  )  const

Definition at line 217 of file documen3.cxx.

References ScCollection::GetCount(), and pDPCollection.

Referenced by ScCellShell::GetDBState(), and ScInterpreter::ScGetPivotData().

ScChartCollection * ScDocument::GetChartCollection (  )  const

Definition at line 232 of file documen3.cxx.

References pChartCollection.

Referenced by Sc10InsertObject::InsertChart().

void ScDocument::StopTemporaryChartLock (  ) 

Definition at line 237 of file documen3.cxx.

References apTemporaryChartLock.

Referenced by ScDocShell::PrepareSaveGuard::PrepareSaveGuard().

void ScDocument::EnsureGraphicNames (  ) 

Definition at line 544 of file documen9.cxx.

References ScDrawLayer::EnsureGraphicNames(), and pDrawLayer.

Referenced by ScDocShell::ConvertFrom(), and ScViewFunc::PasteDraw().

SdrObject * ScDocument::GetObjectAtPoint ( SCTAB  nTab,
const Point &  rPos 
)

BOOL ScDocument::HasChartAtPoint ( SCTAB  nTab,
const Point &  rPos,
String *  pName = NULL 
)

uno::Reference< chart2::XChartDocument > ScDocument::GetChartByName ( const String &  rChartName  ) 

void ScDocument::GetChartRanges ( const String &  rChartName,
::std::vector< ScRangeList > &  rRanges,
ScDocument pSheetNameDoc 
)

void ScDocument::SetChartRanges ( const String &  rChartName,
const ::std::vector< ScRangeList > &  rRanges 
)

Definition at line 399 of file documen5.cxx.

References ScRangeList::Format(), GetChartByName(), lcl_SetChartRanges(), and SCR_ABS_3D.

Referenced by TransferDrawPage().

void ScDocument::UpdateChartArea ( const String &  rChartName,
const ScRange rNewArea,
BOOL  bColHeaders,
BOOL  bRowHeaders,
BOOL  bAdd 
)

void ScDocument::UpdateChartArea ( const String &  rChartName,
const ScRangeListRef &  rNewList,
BOOL  bColHeaders,
BOOL  bRowHeaders,
BOOL  bAdd 
)

void ScDocument::GetOldChartParameters ( const String &  rName,
ScRangeList rRanges,
BOOL &  rColHeaders,
BOOL &  rRowHeaders 
)

uno::Reference< embed::XEmbeddedObject > ScDocument::FindOleObjectByName ( const String &  rName  ) 

void ScDocument::MakeTable ( SCTAB  nTab,
bool  _bNeedsNameCheck = true 
)

SCTAB ScDocument::GetVisibleTab (  )  const [inline]

SC_DLLPUBLIC void ScDocument::SetVisibleTab ( SCTAB  nTab  )  [inline]

BOOL ScDocument::HasTable ( SCTAB  nTab  )  const

BOOL ScDocument::GetName ( SCTAB  nTab,
String &  rName 
) const

Definition at line 150 of file document.cxx.

References BOOL(), FALSE, ScTable::GetName(), pTab, TRUE, and VALIDTAB.

BOOL ScDocument::GetCodeName ( SCTAB  nTab,
String &  rName 
) const

Definition at line 176 of file document.cxx.

References BOOL(), FALSE, ScTable::GetCodeName(), pTab, TRUE, and VALIDTAB.

BOOL ScDocument::SetCodeName ( SCTAB  nTab,
String &  rName 
)

Definition at line 162 of file document.cxx.

References BOOL(), FALSE, getStr(), pTab, ScTable::SetCodeName(), TRUE, and VALIDTAB.

BOOL ScDocument::GetTable ( const String &  rName,
SCTAB rTab 
) const

SC_DLLPUBLIC SCTAB ScDocument::GetTableCount (  )  const [inline]

Definition at line 547 of file document.hxx.

References nMaxTableNumber.

Referenced by ScXMLExport::_ExportAutoStyles(), ScViewFunc::AdjustBlockHeight(), ScDocShell::AfterXMLLoading(), ScViewFunc::AppendTable(), ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScDocFunc::ApplyStyle(), ScDocFunc::AutoFormat(), ScPreview::CalcPages(), ScDocFunc::ChangeIndent(), CompareDocument(), ScTabViewShell::Construct(), ScDocShell::ConvertFrom(), XclExpFmlaCompImpl::ConvertRefData(), ScDocShell::ConvertTo(), CopyFromClip(), CopyMultiRangeFromClip(), ScViewData::CopyTab(), CopyUpdated(), ScTabViewShell::CreatePrintDialog(), CreatePrintRangeSaver(), ScViewData::CreateSelectedTabData(), XclExpChangeTrack::CreateTempChangeTrack(), ScViewFunc::CutToClip(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteContents(), ScViewFunc::DeleteContents(), ScViewFunc::DeleteMulti(), DeleteObjectsInArea(), ScDrawLayer::DeleteObjectsInSelection(), DeleteTab(), ScDocFunc::DeleteTable(), ScViewFunc::DeleteTable(), ScViewFunc::DeleteTables(), ScTabView::DeselectAllTables(), ScDocFunc::DetectiveRefresh(), ScUndoMoveTab::DoChange(), ScUndoRefConversion::DoChange(), ScUndoDeleteContents::DoChange(), ScUndoSelectionAttr::DoChange(), ScUndoImportTab::DoChange(), ScUndoPaste::DoChange(), ScUndoConversion::DoChange(), ScUndoFillTable::DoChange(), ScUndoDataForm::DoChange(), ScUndoCut::DoChange(), ScUndoSelectionStyle::DoChange(), ScDocShell::DoConsolidate(), ScDocShell::DoHardRecalc(), ScTabViewShell::DoPrint(), ScViewFunc::DoRefConversion(), ScGridWindow::DoScenarioMenue(), DoSdrUndoAction(), ScViewFunc::DoSheetConversion(), ScDBDocFunc::DoSubTotals(), ScDBFunc::DoSubTotals(), ScRefUpdate::DoTranspose(), ScGridWindow::Draw(), ScContentTree::DrawNamesChanged(), ScGridWindow::DropTransferObj(), ScXMLImport::endDocument(), ScViewFunc::EnterData(), ScDocShell::Execute(), ScTabViewShell::Execute(), ScFormatShell::ExecuteStyle(), ScTabViewShell::ExecuteTable(), ScDocFunc::FillAuto(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), FillTab(), ScViewFunc::FillTab(), FillTabMarked(), ScConversionEngineBase::FindNextConversionCell(), ScAddress::Format(), FuInsertChart::FuInsertChart(), ScTableSheetsObj::getCount(), ScDrawPagesObj::getCount(), ScScenariosObj::getCount(), ScSheetLinksObj::getCount(), GetDocStat(), ScContentTree::GetDrawNames(), ScTableSheetsObj::getElementNames(), ScVbaObjectForCodeNameProvider::getElementNames(), ScSheetLinksObj::getElementNames(), ScPreview::GetFirstPage(), ScDocShell::GetHiddenInformationState(), ScContentTree::GetNotePos(), ScContentTree::GetNoteStrings(), ScSheetLinksObj::GetObjectByIndex_Impl(), ScTabControl::GetPrivatDropPos(), ScNamedRangeObj::getReferencePosition(), ScRefAddress::GetRefString(), ScExternalRefManager::getSrcDocument(), ScCellShell::GetState(), ScDocShell::GetState(), ScTabViewShell::GetState(), ScTabViewShell::GetStateTable(), ScFormatShell::GetStyleState(), ScPrintFuncCache::GetTabForPage(), ScContentTree::GetTableNames(), ScConditionEntry::GetValidSrcPos(), ScVbaObjectForCodeNameProvider::hasByName(), HasLink(), ScGridWindow::HasScenarioButton(), ScViewFunc::HideTable(), IMPL_LINK(), ScSpellDialogChildWindow::Init(), InitializeAllNoteCaptions(), ScPrintFuncCache::InitLocations(), ScDocFunc::InsertCells(), InsertTab(), ScDocFunc::InsertTable(), ScViewFunc::InsertTableLink(), InvalidateTextWidth(), IsPageStyleInUse(), ScBigAddress::IsValid(), lcl_AnyTabProtected(), lcl_checkDestRangeForOverwrite(), lcl_DrawScenarioFrames(), lcl_GetPrintData(), lcl_HasValidStream(), lcl_ParseTarget(), lcl_SelHasAttrib(), lcl_TestScenarioRedliningDrop(), LinkExternalTab(), ScDBFunc::MakePivotTable(), ScViewFunc::MergeCells(), ScDocShell::MergeSharedDocument(), ScModule::ModifyOptions(), ScTabControl::MouseButtonUp(), ScRefUpdate::Move(), ScAddress::Move(), ScDocFunc::MoveBlock(), ScViewFunc::MoveBlockTo(), ScRefUpdate::MoveRelWrap(), ScViewData::MoveTab(), MoveTab(), ScViewFunc::MoveTable(), ScDocShell::MoveTable(), ScPassHashHelper::needsPassHashRegen(), ScContentTree::NoteStringsChanged(), ScModule::Notify(), ScTabViewShell::Notify(), ScDocShell::NotifyStyle(), ScDocShell::PageStyleModified(), ScTabView::PaintExtras(), ScViewFunc::PasteFromClip(), ImportExcel::PostDocLoad(),