LibreOffice Module sc (master) 1
|
#include <docsh.hxx>
Classes | |
class | PrepareSaveGuard |
Do things that need to be done before saving to our own format and necessary clean ups in dtor. More... | |
Public Member Functions | |
SFX_DECL_OBJECTFACTORY () | |
ScDocShell (const ScDocShell &rDocShell)=delete | |
ScDocShell (const SfxModelFlags i_nSfxCreationFlags=SfxModelFlags::EMBEDDED_OBJECT, const std::shared_ptr< ScDocument > &pDoc={}) | |
virtual | ~ScDocShell () override |
virtual SfxUndoManager * | GetUndoManager () override |
virtual void | FillClass (SvGlobalName *pClassName, SotClipboardFormatId *pFormat, OUString *pFullTypeName, sal_Int32 nFileFormat, bool bTemplate=false) const override |
virtual std::set< Color > | GetDocColors () override |
virtual std::shared_ptr< model::ColorSet > | GetThemeColors () override |
virtual bool | InitNew (const css::uno::Reference< css::embed::XStorage > &) override |
virtual bool | Load (SfxMedium &rMedium) override |
virtual bool | LoadFrom (SfxMedium &rMedium) override |
virtual bool | ConvertFrom (SfxMedium &rMedium) override |
virtual bool | LoadExternal (SfxMedium &rMedium) override |
virtual bool | Save () override |
virtual bool | SaveAs (SfxMedium &rMedium) override |
virtual bool | ConvertTo (SfxMedium &rMedium) override |
virtual bool | PrepareClose (bool bUI=true) override |
virtual void | LoadStyles (SfxObjectShell &rSource) override |
virtual bool | DoSaveCompleted (SfxMedium *pNewStor=nullptr, bool bRegisterRecent=true) override |
virtual bool | QuerySlotExecutable (sal_uInt16 nSlotId) override |
virtual void | Draw (OutputDevice *, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen) override |
virtual void | SetVisArea (const tools::Rectangle &rVisArea) override |
virtual void | TerminateEditing () override |
virtual tools::Rectangle | GetVisArea (sal_uInt16 nAspect) const override |
virtual Printer * | GetDocumentPrinter () override |
virtual void | SetModified (bool=true) override |
void | SetVisAreaOrSize (const tools::Rectangle &rVisArea) |
virtual std::shared_ptr< SfxDocumentInfoDialog > | CreateDocumentInfoDialog (weld::Window *pParent, const SfxItemSet &rSet) override |
void | GetDocStat (ScDocStat &rDocStat) |
const ScDocument & | GetDocument () const |
ScDocument & | GetDocument () |
ScDocFunc & | GetDocFunc () |
css::uno::Reference< css::datatransfer::XTransferable2 > const & | GetClipData () const |
void | SetClipData (const css::uno::Reference< css::datatransfer::XTransferable2 > &xTransferable) |
SfxPrinter * | GetPrinter (bool bCreateIfNotExist=true) |
sal_uInt16 | SetPrinter (VclPtr< SfxPrinter > const &pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL) |
void | UpdateFontList () |
ScDrawLayer * | MakeDrawLayer () |
void | AsciiSave (SvStream &rStream, const ScImportOptions &rOpt, SCTAB nTab) |
void | Execute (SfxRequest &rReq) |
void | GetState (SfxItemSet &rSet) |
void | ExecutePageStyle (const SfxViewShell &rCaller, SfxRequest &rReq, SCTAB nCurTab) |
void | GetStatePageStyle (SfxItemSet &rSet, SCTAB nCurTab) |
void | CompareDocument (ScDocument &rOtherDoc) |
void | MergeDocument (ScDocument &rOtherDoc, bool bShared=false, bool bCheckDuplicates=false, sal_uLong nOffset=0, ScChangeActionMergeMap *pMergeMap=nullptr, bool bInverseMap=false) |
bool | MergeSharedDocument (ScDocShell *pSharedDocShell) |
ScChangeAction * | GetChangeAction (const ScAddress &rPos) |
void | SetChangeComment (ScChangeAction *pAction, const OUString &rComment) |
void | ExecuteChangeCommentDialog (ScChangeAction *pAction, weld::Window *pParent, bool bPrevNext=true) |
bool | ExecuteChangeProtectionDialog (bool bJustQueryIfProtected=false) |
Protect/unprotect ChangeTrack and return <TRUE> if protection was successfully changed. More... | |
void | SetPrintZoom (SCTAB nTab, sal_uInt16 nScale, sal_uInt16 nPages) |
bool | AdjustPrintZoom (const ScRange &rRange) |
void | LoadStylesArgs (ScDocShell &rSource, bool bReplace, bool bCellStyles, bool bPageStyles) |
void | PageStyleModified (std::u16string_view rStyleName, bool bApi) |
void | NotifyStyle (const SfxStyleSheetHint &rHint) |
void | DoAutoStyle (const ScRange &rRange, const OUString &rStyle) |
void | ErrorMessage (TranslateId pGlobStrId) |
bool | IsEditable () const |
bool | AdjustRowHeight (SCROW nStartRow, SCROW nEndRow, SCTAB nTab) |
merge with docfunc More... | |
void | UpdateAllRowHeights (const ScMarkData *pTabMark=nullptr) |
void | UpdateAllRowHeights (const bool bOnlyUsedRows) |
void | UpdatePendingRowHeights (SCTAB nUpdateTab, bool bBefore=false) |
void | RefreshPivotTables (const ScRange &rSource) |
void | DoConsolidate (const ScConsolidateParam &rParam, bool bRecord=true) |
void | UseScenario (SCTAB nTab, const OUString &rName, bool bRecord=true) |
SCTAB | MakeScenario (SCTAB nTab, const OUString &rName, const OUString &rComment, const Color &rColor, ScScenarioFlags nFlags, ScMarkData &rMark, bool bRecord=true) |
void | ModifyScenario (SCTAB nTab, const OUString &rName, const OUString &rComment, const Color &rColor, ScScenarioFlags nFlags) |
sal_uLong | TransferTab (ScDocShell &rSrcDocShell, SCTAB nSrcPos, SCTAB nDestPos, bool bInsertNew, bool bNotifyAndPaint) |
bool | MoveTable (SCTAB nSrcTab, SCTAB nDestTab, bool bCopy, bool bRecord) |
void | DoRecalc (bool bApi) |
void | DoHardRecalc () |
void | UpdateOle (const ScViewData &rViewData, bool bSnapSize=false) |
bool | IsOle () const |
void | DBAreaDeleted (SCTAB nTab, SCCOL nX1, SCROW nY1, SCCOL nX2) |
ScDBData * | GetDBData (const ScRange &rMarked, ScGetDBMode eMode, ScGetDBSelection eSel) |
ScDBData * | GetAnonymousDBData (const ScRange &rRange) |
std::unique_ptr< ScDBData > | GetOldAutoDBRange () |
void | CancelAutoDBRange () |
virtual void | ReconnectDdeLink (SfxObjectShell &rServer) override |
void | UpdateLinks () override |
void | SetInitialLinkUpdate (const SfxMedium *pMedium) |
void | AllowLinkUpdate () |
void | ReloadAllLinks () |
void | ReloadTabLinks () |
ScLkUpdMode | GetLinkUpdateModeState () const |
void | SetFormulaOptions (const ScFormulaOptions &rOpt, bool bForLoading=false) |
void | CheckConfigOptions () |
Called when the Options dialog is dismissed with the OK button, to handle potentially conflicting option settings. More... | |
void | PostEditView (ScEditEngineDefaulter *pEditEngine, const ScAddress &rCursorPos) |
void | PostPaint (SCCOL nStartCol, SCROW nStartRow, SCTAB nStartTab, SCCOL nEndCol, SCROW nEndRow, SCTAB nEndTab, PaintPartFlags nPart, sal_uInt16 nExtFlags=0) |
void | PostPaint (const ScRangeList &rRanges, PaintPartFlags nPart, sal_uInt16 nExtFlags=0) |
void | PostPaintCell (SCCOL nCol, SCROW nRow, SCTAB nTab) |
void | PostPaintCell (const ScAddress &rPos) |
void | PostPaintGridAll () |
void | PostPaintExtras () |
bool | IsPaintLocked () const |
void | PostDataChanged () |
void | UpdatePaintExt (sal_uInt16 &rExtFlags, SCCOL nStartCol, SCROW nStartRow, SCTAB nStartTab, SCCOL nEndCol, SCROW nEndRow, SCTAB nEndTab) |
void | UpdatePaintExt (sal_uInt16 &rExtFlags, const ScRange &rRange) |
void | SetDocumentModified () |
void | SetDrawModified () |
SetDrawModified - without Formula update. More... | |
void | LockPaint () |
void | UnlockPaint () |
sal_uInt16 | GetLockCount () const |
void | SetLockCount (sal_uInt16 nNew) |
void | LockDocument () |
void | UnlockDocument () |
DECL_DLLPRIVATE_LINK (DialogClosedHdl, sfx2::FileDialogHelper *, void) | |
DECL_DLLPRIVATE_LINK (ReloadAllLinksHdl, weld::Button &, void) | |
virtual SfxStyleSheetBasePool * | GetStyleSheetPool () override |
void | SetInplace (bool bInplace) |
bool | IsEmpty () const |
void | SetEmpty (bool bSet) |
bool | IsInUndo () const |
void | SetInUndo (bool bSet) |
void | CalcOutputFactor () |
double | GetOutputFactor () const |
void | GetPageOnFromPageStyleSet (const SfxItemSet *pStyleSet, SCTAB nCurTab, bool &rbHeader, bool &rbFooter) |
virtual ::sfx2::SvLinkSource * | DdeCreateLinkSource (const OUString &rItem) override |
const OUString & | GetDdeTextFmt () const |
SfxBindings * | GetViewBindings () |
ScTabViewShell * | GetBestViewShell (bool bOnlyVisible=true) |
void | SetDocumentModifiedPending (bool bVal) |
bool | IsDocumentModifiedPending () const |
bool | IsUpdateEnabled () const |
void | SetUpdateEnabled (bool bValue) |
void | SetAreasChangedNeedBroadcast () |
OutputDevice * | GetRefDevice () |
DECL_DLLPRIVATE_LINK (RefreshDBDataHdl, Timer *, void) | |
void | BeforeXMLLoading () |
void | AfterXMLLoading (bool bRet) |
virtual HiddenInformation | GetHiddenInformationState (HiddenInformation nStates) override |
ScSheetSaveData * | GetSheetSaveData () |
ScFormatSaveData * | GetFormatSaveData () |
virtual bool | IsChangeRecording () const override |
virtual bool | HasChangeRecordProtection () const override |
virtual void | SetChangeRecording (bool bActivate, bool bLockAllViews=false) override |
virtual void | SetProtectionPassword (const OUString &rPassword) override |
virtual bool | GetProtectionHash (css::uno::Sequence< sal_Int8 > &rPasswordHash) override |
void | SnapVisArea (tools::Rectangle &rRect) const |
void | RegisterAutomationWorkbookObject (css::uno::Reference< ooo::vba::excel::XWorkbook > const &xWorkbook) |
ScModelObj * | GetModel () const |
virtual tools::Rectangle | GetVisArea (sal_uInt16 nAspect) const |
const tools::Rectangle & | GetVisArea () const |
Public Member Functions inherited from SfxObjectShell | |
void | Stamp_SetPrintCancelState (bool bState) |
bool | Stamp_GetPrintCancelState () const |
virtual void | Invalidate (sal_uInt16 nId=0) override |
SfxModule * | GetModule () const |
virtual SfxObjectFactory & | GetFactory () const=0 |
SfxMedium * | GetMedium () const |
css::uno::Reference< css::document::XDocumentProperties > | getDocProperties () const |
void | UpdateDocInfoForSave () |
void | FlushDocInfo () |
bool | HasName () const |
OUString | GetAPIName () const |
void | SetReadOnly () |
bool | IsReadOnly () const |
bool | IsReadOnlyMedium () const |
bool | IsOriginallyReadOnlyMedium () const |
bool | IsOriginallyLoadedReadOnlyMedium () const |
void | SetReadOnlyUI (bool bReadOnly=true) |
bool | IsReadOnlyUI () const |
void | SetNoName () |
bool | IsInModalMode () const |
bool | IsInPrepareClose () const |
bool | AcceptStateUpdate () const |
bool | IsHelpDocument () const |
bool | IsDocShared () const |
OUString | GetSharedFileURL () const |
bool | SwitchToShared (bool bShared, bool bSave) |
SAL_DLLPRIVATE void | FreeSharedFile (const OUString &aTempFileURL) |
SAL_DLLPRIVATE void | DoNotCleanShareControlFile () |
void | SetSharedXMLFlag (bool bFlag) const |
bool | HasSharedXMLFlagSet () const |
SAL_DLLPRIVATE void | SetModalMode_Impl (bool bModal) |
SAL_DLLPRIVATE void | SetMacroMode_Impl (bool bModal=true) |
void | ResetError () |
ErrCode | GetError () const |
ErrCode | GetErrorCode () const |
void | SetError (ErrCode rErr) |
void | DoInitUnitTest () |
bool | DoInitNew () |
bool | DoLoad (SfxMedium *pMedium) |
bool | DoLoadExternal (SfxMedium *pMed) |
bool | DoSave () |
bool | DoSaveAs (SfxMedium &rNewStor) |
bool | DoSaveObjectAs (SfxMedium &rNewStor, bool bCommit) |
virtual bool | DoSaveCompleted (SfxMedium *pNewStor=nullptr, bool bRegisterRecent=true) |
virtual void | TerminateEditing () |
bool | LoadOwnFormat (SfxMedium &pMedium) |
virtual bool | SaveAsOwnFormat (SfxMedium &pMedium) |
virtual bool | ConvertFrom (SfxMedium &rMedium) |
virtual bool | ConvertTo (SfxMedium &rMedium) |
virtual bool | InitNew (const css::uno::Reference< css::embed::XStorage > &xStorage) |
virtual bool | Load (SfxMedium &rMedium) |
virtual bool | LoadFrom (SfxMedium &rMedium) |
virtual bool | Save () |
virtual bool | SaveAs (SfxMedium &rMedium) |
virtual bool | SaveCompleted (const css::uno::Reference< css::embed::XStorage > &xStorage) |
bool | SwitchPersistence (const css::uno::Reference< css::embed::XStorage > &xStorage) |
virtual void | UpdateLinks () |
virtual bool | LoadExternal (SfxMedium &rMedium) |
bool | IsConfigOptionsChecked () const |
void | SetConfigOptionsChecked (bool bChecked) |
virtual bool | QuerySlotExecutable (sal_uInt16 nSlotId) |
void | SaveChildren (bool bObjectsOnly=false) |
bool | SaveAsChildren (SfxMedium &rMedium) |
bool | SwitchChildrenPersistence (const css::uno::Reference< css::embed::XStorage > &xStorage, bool bForceNonModified=false) |
bool | SaveCompletedChildren () |
virtual bool | InsertGeneratedStream (SfxMedium &rMedium, css::uno::Reference< css::text::XTextRange > const &xInsertPosition) |
virtual bool | ImportFrom (SfxMedium &rMedium, css::uno::Reference< css::text::XTextRange > const &xInsertPosition) |
bool | ExportTo (SfxMedium &rMedium) |
bool | PrepareForSigning (weld::Window *pDialogParent) |
bool | CheckIsReadonly (bool bSignScriptingContent, weld::Window *pDialogParent=nullptr) |
void | RecheckSignature (bool bAlsoRecheckScriptingSignature) |
void | AfterSigning (bool bSignSuccess, bool bSignScriptingContent) |
bool | HasValidSignatures () const |
SignatureState | GetDocumentSignatureState () |
bool | SignDocumentContent (weld::Window *pDialogParent) |
css::uno::Sequence< css::security::DocumentSignatureInformation > | GetDocumentSignatureInformation (bool bScriptingContent, const css::uno::Reference< css::security::XDocumentDigitalSignatures > &xSigner=css::uno::Reference< css::security::XDocumentDigitalSignatures >()) |
bool | SignDocumentContentUsingCertificate (const css::uno::Reference< css::security::XCertificate > &xCertificate) |
bool | ResignDocument (css::uno::Sequence< css::security::DocumentSignatureInformation > &rSignaturesInfo) |
void | SignSignatureLine (weld::Window *pDialogParent, const OUString &aSignatureLineId, const css::uno::Reference< css::security::XCertificate > &xCert, const css::uno::Reference< css::graphic::XGraphic > &xValidGraphic, const css::uno::Reference< css::graphic::XGraphic > &xInvalidGraphic, const OUString &aComment) |
SignatureState | GetScriptingSignatureState () |
bool | SignScriptingContent (weld::Window *pDialogParent) |
DECL_DLLPRIVATE_LINK (SignDocumentHandler, weld::Button &, void) | |
virtual std::shared_ptr< SfxDocumentInfoDialog > | CreateDocumentInfoDialog (weld::Window *pParent, const SfxItemSet &rItemSet) |
ErrCode | CallBasic (std::u16string_view rMacro, std::u16string_view rBasicName, SbxArray *pArgs, SbxValue *pRet=nullptr) |
ErrCode | CallXScript (const OUString &rScriptURL, const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Any &aRet, css::uno::Sequence< sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam, bool bRaiseError=true, const css::uno::Any *aCaller=nullptr) |
bool | AdjustMacroMode () |
SvKeyValueIterator * | GetHeaderAttributes () |
void | ClearHeaderAttributesForSourceViewHack () |
void | SetHeaderAttributesForSourceViewHack () |
bool | IsQueryLoadTemplate () const |
bool | IsUseUserData () const |
bool | IsUseThumbnailSave () const |
bool | IsLoadReadonly () const |
bool | IsSaveVersionOnClose () const |
void | SetQueryLoadTemplate (bool b) |
void | SetUseUserData (bool bNew) |
void | SetUseThumbnailSave (bool _bNew) |
void | SetLoadReadonly (bool _bReadonly) |
void | SetSaveVersionOnClose (bool bSet) |
void | ResetFromTemplate (const OUString &rTemplateName, std::u16string_view rFileName) |
sal_uInt32 | GetModifyPasswordHash () const |
bool | SetModifyPasswordHash (sal_uInt32 nHash) |
void | SetMacroCallsSeenWhileLoading () |
bool | GetMacroCallsSeenWhileLoading () const |
const css::uno::Sequence< css::beans::PropertyValue > & | GetModifyPasswordInfo () const |
bool | SetModifyPasswordInfo (const css::uno::Sequence< css::beans::PropertyValue > &aInfo) |
virtual bool | PrepareClose (bool bUI=true) |
virtual HiddenInformation | GetHiddenInformationState (HiddenInformation nStates) |
sal_Int16 | QueryHiddenInformation (HiddenWarningFact eFact, weld::Window *pParent) |
bool | IsSecurityOptOpenReadOnly () const |
void | SetSecurityOptOpenReadOnly (bool bOpenReadOnly) |
Size | GetFirstPageSize () const |
bool | DoClose () |
std::shared_ptr< GDIMetaFile > | GetPreviewMetaFile (bool bFullContent=false) const |
BitmapEx | GetPreviewBitmap () const |
virtual void | CancelTransfers () |
bool | GenerateAndStoreThumbnail (bool bEncrypted, const css::uno::Reference< css::embed::XStorage > &xStor) |
bool | WriteThumbnail (bool bEncrypted, const css::uno::Reference< css::io::XStream > &xStream) |
bool | IsInGenerateAndStoreThumbnail () const |
bool | IsAvoidRecentDocs () const |
bool | IsRememberingSignature () const |
void | AvoidRecentDocs (bool bAvoid) |
bool | IsContinueImportOnFilterExceptions (std::u16string_view aErrMessage) |
bool | IsAbortingImport () const |
void | FinishedLoading (SfxLoadedFlags nWhich=SfxLoadedFlags::ALL) |
void | TemplateDisconnectionAfterLoad () |
void | SetLoading (SfxLoadedFlags nFlags) |
bool | IsLoading () const |
bool | IsLoadingFinished () const |
void | SetAutoLoad (const INetURLObject &, sal_uInt32 nTime, bool bReload) |
bool | IsAutoLoadLocked () const |
bool | IsPreview () const |
SfxObjectCreateMode | GetCreateMode () const |
SfxProgress * | GetProgress () const |
void | SetWaitCursor (bool bSet) const |
void | SetTitle (const OUString &rTitle) |
OUString | GetTitle (sal_uInt16 nMaxLen=0) const |
void | InvalidateName () |
virtual ::sfx2::SvLinkSource * | DdeCreateLinkSource (const OUString &rItem) |
virtual void | ReconnectDdeLink (SfxObjectShell &rServer) |
virtual SfxStyleSheetBasePool * | GetStyleSheetPool () |
virtual void | LoadStyles (SfxObjectShell &rSource) |
virtual sfx2::StyleManager * | GetStyleManager () |
void | SetAutoStyleFilterIndex (sal_uInt16 nSet) |
sal_uInt16 | GetAutoStyleFilterIndex () const |
bool | HasBasic () const |
BasicManager * | GetBasicManager () const |
css::uno::Reference< css::script::XLibraryContainer > | GetBasicContainer () |
css::uno::Reference< css::script::XLibraryContainer > | GetDialogContainer () |
StarBASIC * | GetBasic () const |
std::optional< NamedColor > | GetRecentColor (sal_uInt16 nSlotId) |
void | SetRecentColor (sal_uInt16 nSlotId, const NamedColor &rColor) |
virtual std::set< Color > | GetDocColors () |
virtual std::shared_ptr< model::ColorSet > | GetThemeColors () |
virtual sfx::AccessibilityIssueCollection | runAccessibilityCheck () |
virtual SfxObjectShell * | GetObjectShell () override |
css::uno::Reference< css::frame::XModel3 > | GetModel () const |
void | SetBaseModel (SfxBaseModel *pModel) |
css::uno::Reference< css::frame::XModel3 > | GetBaseModel () const |
virtual css::uno::Sequence< OUString > | GetEventNames () |
css::uno::Reference< css::awt::XWindow > | GetDialogParent (SfxMedium const *pMedium=nullptr) |
bool | IsInPlaceActive () const |
bool | IsUIActive () const |
bool | isEditDocLocked () const |
bool | isContentExtractionLocked () const |
bool | isExportLocked () const |
bool | isPrintLocked () const |
bool | isSaveLocked () const |
void | EnableSetModified (bool bEnable=true) |
bool | IsEnableSetModified () const |
virtual void | SetModified (bool bModified=true) |
bool | IsModified () const |
void | SetupStorage (const css::uno::Reference< css::embed::XStorage > &xStorage, sal_Int32 nVersion, bool bTemplate) const |
css::uno::Reference< css::embed::XStorage > const & | GetStorage () |
SvGlobalName const & | GetClassName () const |
virtual css::uno::Reference< css::task::XInteractionHandler > | getInteractionHandler () const override |
virtual css::uno::Reference< css::embed::XStorage > | getStorage () const override |
virtual comphelper::EmbeddedObjectContainer & | getEmbeddedObjectContainer () const override |
bool | isEnableSetModified () const override |
virtual OUString | getDocumentBaseURL () const override |
comphelper::EmbeddedObjectContainer & | GetEmbeddedObjectContainer () const |
void | ClearEmbeddedObjects () |
virtual Printer * | GetDocumentPrinter () |
virtual OutputDevice * | GetDocumentRefDev () |
virtual void | OnDocumentPrinterChanged (Printer *pNewPrinter) |
virtual tools::Rectangle | GetVisArea (sal_uInt16 nAspect) const |
virtual void | SetVisArea (const tools::Rectangle &rVisArea) |
const tools::Rectangle & | GetVisArea () const |
void | SetVisAreaSize (const Size &rVisSize) |
MapUnit | GetMapUnit () const |
void | SetMapUnit (MapUnit nMUnit) |
void | FillTransferableObjectDescriptor (TransferableObjectDescriptor &rDesc) const |
void | DoDraw (OutputDevice *, const Point &rObjPos, const Size &rSize, const JobSetup &rSetup, sal_uInt16 nAspect=ASPECT_CONTENT, bool bOutputForScreen=false) |
virtual void | Draw (OutputDevice *, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen)=0 |
virtual void | FillClass (SvGlobalName *pClassName, SotClipboardFormatId *pFormat, OUString *pFullTypeName, sal_Int32 nVersion, bool bTemplate=false) const=0 |
virtual bool | IsChangeRecording () const |
virtual bool | HasChangeRecordProtection () const |
virtual void | SetChangeRecording (bool bActivate, bool bLockAllViews=false) |
virtual void | SetProtectionPassword (const OUString &rPassword) |
virtual bool | GetProtectionHash (css::uno::Sequence< sal_Int8 > &rPasswordHash) |
void | AppendInfoBarWhenReady (const OUString &sId, const OUString &sPrimaryMessage, const OUString &sSecondaryMessage, InfobarType aInfobarType, bool bShowCloseButton=true) |
std::vector< InfobarData > & | getPendingInfobars () |
SAL_DLLPRIVATE bool | CreatePreview_Impl (bool bFullContent, VirtualDevice *pDevice, GDIMetaFile *pFile) const |
SAL_DLLPRIVATE bool | ConnectTmpStorage_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage, SfxMedium *pMedium) |
SAL_DLLPRIVATE bool | DisconnectStorage_Impl (SfxMedium &rSrcMedium, SfxMedium &rTargetMedium) |
SAL_DLLPRIVATE bool | PutURLContentsToVersionStream_Impl (const OUString &aURL, const css::uno::Reference< css::embed::XStorage > &xDocStorage, const OUString &aStreamName) |
SAL_DLLPRIVATE OUString | CreateTempCopyOfStorage_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage) |
SAL_DLLPRIVATE void | InitOwnModel_Impl () |
SAL_DLLPRIVATE void | BreakMacroSign_Impl (bool bBreakMacroSing) |
SAL_DLLPRIVATE void | CheckSecurityOnLoading_Impl () |
SAL_DLLPRIVATE void | CheckForBrokenDocSignatures_Impl () |
SAL_DLLPRIVATE void | CheckEncryption_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler) |
SAL_DLLPRIVATE void | SetModifyPasswordEntered (bool bEntered=true) |
SAL_DLLPRIVATE bool | IsModifyPasswordEntered () const |
SAL_DLLPRIVATE void | InitBasicManager_Impl () |
SAL_DLLPRIVATE SfxObjectShell_Impl * | Get_Impl () |
SAL_DLLPRIVATE const SfxObjectShell_Impl * | Get_Impl () const |
SAL_DLLPRIVATE void | SetCreateMode_Impl (SfxObjectCreateMode nMode) |
SAL_DLLPRIVATE void | DoDraw_Impl (OutputDevice *pDev, const Point &rViewPos, const Fraction &rScaleX, const Fraction &rScaleY, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen) |
SAL_DLLPRIVATE void | ExecFile_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | GetState_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | PrintExec_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | PrintState_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | ExecProps_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | StateProps_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | ExecView_Impl (SfxRequest &) |
SAL_DLLPRIVATE bool | ImportFromGeneratedStream_Impl (const css::uno::Reference< css::io::XStream > &xStream, const css::uno::Sequence< css::beans::PropertyValue > &aMediaDescr) |
SAL_DLLPRIVATE void | UpdateFromTemplate_Impl () |
SAL_DLLPRIVATE bool | CanReload_Impl () |
SAL_DLLPRIVATE void | SetNamedVisibility_Impl () |
SAL_DLLPRIVATE bool | DoSave_Impl (const SfxItemSet *pSet) |
SAL_DLLPRIVATE bool | Save_Impl (const SfxItemSet *pSet) |
SAL_DLLPRIVATE bool | PreDoSaveAs_Impl (const OUString &rFileName, const OUString &rFiltName, SfxItemSet const &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs) |
SAL_DLLPRIVATE bool | APISaveAs_Impl (std::u16string_view aFileName, SfxItemSet &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs) |
SAL_DLLPRIVATE bool | CommonSaveAs_Impl (const INetURLObject &aURL, const OUString &aFilterName, SfxItemSet &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs) |
SAL_DLLPRIVATE bool | GeneralInit_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage, bool bTypeMustBeSetAlready) |
SAL_DLLPRIVATE void | PrepareSecondTryLoad_Impl () |
SAL_DLLPRIVATE void | SetInitialized_Impl (const bool i_fromInitNew) |
SAL_DLLPRIVATE IndexBitSet & | GetNoSet_Impl () |
SAL_DLLPRIVATE void | SetProgress_Impl (SfxProgress *pProgress) |
SAL_DLLPRIVATE void | PostActivateEvent_Impl (SfxViewFrame const *) |
SAL_DLLPRIVATE void | SetActivateEvent_Impl (SfxEventHintId) |
SAL_DLLPRIVATE SignatureState | ImplGetSignatureState (bool bScriptingContent=false) |
SAL_DLLPRIVATE bool | QuerySaveSizeExceededModules_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler) |
SAL_DLLPRIVATE void | CheckOut () |
SAL_DLLPRIVATE void | CancelCheckOut () |
SAL_DLLPRIVATE void | CheckIn () |
SAL_DLLPRIVATE css::uno::Sequence< css::document::CmisVersion > | GetCmisVersions () const |
virtual const sfx2::IXmlIdRegistry * | GetXmlIdRegistry () const |
bool | IsSignPDF () const |
css::uno::Reference< css::security::XCertificate > | GetSignPDFCertificate () const |
css::uno::Sequence< css::beans::PropertyValue > | GetDocumentProtectionFromGrabBag () const |
virtual std::unique_ptr< LockAllViewsGuard > | LockAllViews () |
Public Member Functions inherited from SfxShell | |
virtual | ~SfxShell () override |
virtual SfxInterface * | GetInterface () const |
void | SetName (const OUString &rName) |
const OUString & | GetName () const |
SfxViewShell * | GetViewShell () const |
const SfxPoolItem * | GetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr) |
const SfxPoolItem * | ExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr) |
void | ExecuteSlot (SfxRequest &rReq, bool bAsync) |
SfxItemPool & | GetPool () const |
void | SetPool (SfxItemPool *pNewPool) |
virtual SfxUndoManager * | GetUndoManager () |
void | SetUndoManager (SfxUndoManager *pNewUndoMgr) |
SfxRepeatTarget * | GetRepeatTarget () const |
void | SetRepeatTarget (SfxRepeatTarget *pTarget) |
virtual void | Invalidate (sal_uInt16 nId=0) |
virtual bool | IsDesignMode () const |
bool | IsActive () const |
virtual void | Activate (bool bMDI) |
virtual void | Deactivate (bool bMDI) |
SfxDispatcher * | GetDispatcher () const |
SfxViewFrame * | GetFrame () const |
virtual bool | HasUIFeature (SfxShellFeature nFeature) const |
void | UIFeatureChanged () |
const SfxPoolItem * | GetItem (sal_uInt16 nSlotId) const |
const T * | GetItem (TypedWhichId< T > nWhich) const |
void | PutItem (const SfxPoolItem &rItem) |
void | SetVerbs (const css::uno::Sequence< css::embed::VerbDescriptor > &aVerbs) |
const css::uno::Sequence< css::embed::VerbDescriptor > & | GetVerbs () const |
void | VerbExec (SfxRequest &) |
SAL_DLLPRIVATE const SfxSlot * | GetVerbSlot_Impl (sal_uInt16 nId) const |
virtual SfxObjectShell * | GetObjectShell () |
void | SetDisableFlags (SfxDisableFlags nFlags) |
SfxDisableFlags | GetDisableFlags () const |
virtual std::optional< SfxItemSet > | CreateItemSet (sal_uInt16 nId) |
virtual void | ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet) |
void | SetContextName (const OUString &rsContextName) |
void | BroadcastContextForActivation (const bool bIsActivated) |
bool | SetContextBroadcasterEnabled (const bool bIsEnabled) |
SAL_DLLPRIVATE bool | CanExecuteSlot_Impl (const SfxSlot &rSlot) |
virtual bool | IsConditionalFastCall (const SfxRequest &rReq) |
SAL_DLLPRIVATE void | DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI) |
SAL_DLLPRIVATE void | DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI) |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Static Public Member Functions | |
static weld::Window * | GetActiveDialogParent () |
static ScViewData * | GetViewData () |
static SCTAB | GetCurTab () |
static ScDocShell * | GetShellByNum (sal_uInt16 nDocNo) |
static OUString | GetOwnFilterName () |
static OUString | GetHtmlFilterName () |
static OUString | GetWebQueryFilterName () |
static OUString | GetAsciiFilterName () |
static OUString | GetLotusFilterName () |
static OUString | GetDBaseFilterName () |
static OUString | GetDifFilterName () |
static bool | HasAutomaticTableName (std::u16string_view rFilter) |
static void | LOKCommentNotify (LOKCommentNotificationType nType, const ScDocument *pDocument, const ScAddress &rPos, const ScPostIt *pNote) |
static void | ResetKeyBindings (ScOptionsUtil::KeyBindingType eType) |
Static Public Member Functions inherited from SfxObjectShell | |
static const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () |
static OUString | CreateShellID (const SfxObjectShell *pShell) |
static SAL_WARN_UNUSED_RESULT SfxObjectShell * | GetFirst (const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true) |
static SAL_WARN_UNUSED_RESULT SfxObjectShell * | GetNext (const SfxObjectShell &rPrev, const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true) |
static SAL_WARN_UNUSED_RESULT SfxObjectShell * | Current () |
static css::uno::Reference< css::uno::XInterface > | GetCurrentComponent () |
static void | SetCurrentComponent (const css::uno::Reference< css::uno::XInterface > &_rxComponent) |
static ErrCode | CallXScript (const css::uno::Reference< css::uno::XInterface > &_rxScriptContext, const OUString &rScriptURL, const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Any &aRet, css::uno::Sequence< sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam, bool bRaiseError=true, const css::uno::Any *aCaller=nullptr) |
static bool | UnTrustedScript (const OUString &rScriptURL) |
static bool | isScriptAccessAllowed (const css::uno::Reference< css::uno::XInterface > &rScriptContext) |
static ErrCode | HandleFilter (SfxMedium *pMedium, SfxObjectShell const *pDoc) |
static void | ReconnectDdeLinks (SfxObjectShell &rServer) |
static SfxObjectShell * | CreateObject (const OUString &rServiceName, SfxObjectCreateMode=SfxObjectCreateMode::STANDARD) |
static SfxObjectShell * | CreateObjectByFactoryName (const OUString &rURL, SfxObjectCreateMode=SfxObjectCreateMode::STANDARD) |
static css::uno::Reference< css::lang::XComponent > | CreateAndLoadComponent (const SfxItemSet &rSet) |
static SfxObjectShell * | GetShellFromComponent (const css::uno::Reference< css::uno::XInterface > &xComp) |
static SfxObjectShell * | GetParentShell (const css::uno::Reference< css::uno::XInterface > &xChild) |
static OUString | GetServiceNameFromFactory (const OUString &rFact) |
static bool | CopyStoragesOfUnknownMediaType (const css::uno::Reference< css::embed::XStorage > &xSource, const css::uno::Reference< css::embed::XStorage > &xTarget, const css::uno::Sequence< OUString > &rExceptions=css::uno::Sequence< OUString >()) |
static bool | IsOwnStorageFormat (const SfxMedium &) |
static SAL_DLLPRIVATE bool | IsPackageStorageFormat_Impl (const SfxMedium &) |
static SAL_DLLPRIVATE bool | UseInteractionToHandleError (const css::uno::Reference< css::task::XInteractionHandler > &xHandler, ErrCode nError) |
static SAL_DLLPRIVATE void | StateView_Impl (SfxItemSet &) |
static SAL_DLLPRIVATE bool | QueryAllowExoticFormat_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler, const OUString &rURL, const OUString &rFilterUIName) |
Static Public Member Functions inherited from SfxShell | |
static SfxInterface * | GetStaticInterface () |
static void | EmptyExecStub (SfxShell *pShell, SfxRequest &) |
static void | EmptyStateStub (SfxShell *pShell, SfxItemSet &) |
static void | VerbState (SfxItemSet &) |
Private Member Functions | |
SAL_DLLPRIVATE void | InitItems () |
SAL_DLLPRIVATE void | DoEnterHandler () |
SAL_DLLPRIVATE void | InitOptions (bool bForLoading) |
SAL_DLLPRIVATE void | ResetDrawObjectShell () |
SAL_DLLPRIVATE bool | LoadXML (SfxMedium *pMedium, const css::uno::Reference< css::embed::XStorage > &) |
SAL_DLLPRIVATE bool | SaveXML (SfxMedium *pMedium, const css::uno::Reference< css::embed::XStorage > &) |
SAL_DLLPRIVATE SCTAB | GetSaveTab () |
SAL_DLLPRIVATE ErrCode | DBaseImport (const OUString &rFullFileName, rtl_TextEncoding eCharSet, std::map< SCCOL, ScColWidthParam > &aColWidthParam, ScFlatBoolRowSegments &rRowHeightsRecalc) |
SAL_DLLPRIVATE ErrCode | DBaseExport (const OUString &rFullFileName, rtl_TextEncoding eCharSet, bool &bHasMemo) |
SAL_DLLPRIVATE void | LockPaint_Impl (bool bDoc) |
SAL_DLLPRIVATE void | UnlockPaint_Impl (bool bDoc) |
SAL_DLLPRIVATE void | LockDocument_Impl (sal_uInt16 nNew) |
SAL_DLLPRIVATE void | UnlockDocument_Impl (sal_uInt16 nNew) |
SAL_DLLPRIVATE void | EnableSharedSettings (bool bEnable) |
SAL_DLLPRIVATE css::uno::Reference< css::frame::XModel > | LoadSharedDocument () |
SAL_DLLPRIVATE void | UseSheetSaveEntries () |
SAL_DLLPRIVATE std::unique_ptr< ScDocFunc > | CreateDocFunc () |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
Static Private Member Functions | |
static SAL_DLLPRIVATE bool | MoveFile (const INetURLObject &rSource, const INetURLObject &rDest) |
static SAL_DLLPRIVATE bool | KillFile (const INetURLObject &rURL) |
static SAL_DLLPRIVATE bool | IsDocument (const INetURLObject &rURL) |
static void | InitInterface_Impl () |
SfxInterface initializer. More... | |
Friends | |
bool | TestImportDBF (SvStream &rStream) |
Additional Inherited Members | |
Protected Member Functions inherited from SfxObjectShell | |
SfxObjectShell (SfxObjectCreateMode) | |
SfxObjectShell (SfxModelFlags) | |
virtual | ~SfxObjectShell () override |
void | ModifyChanged () |
virtual bool | Close () override |
virtual void | DoFlushDocInfo () |
void | AddToRecentlyUsedList () |
Protected Member Functions inherited from SfxShell | |
SfxShell () | |
SfxShell (SfxViewShell *pViewSh) | |
void | SetViewShell_Impl (SfxViewShell *pView) |
SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
Static Protected Member Functions inherited from SfxShell | |
static void | HandleOpenXmlFilterSettings (SfxRequest &) |
|
explicitdelete |
Referenced by Execute().
|
explicit |
Definition at line 2898 of file docsh.cxx.
References ScModelObj::CreateAndSet(), CreateDocFunc(), SfxObjectShell::GetCreateMode(), SfxShell::GetPool(), LINK, m_bIsInplace, m_pDocFunc, m_pDocument, make_shared(), SC_MOD, SfxShell::SetPool(), and SfxListener::StartListening().
|
overridevirtual |
Definition at line 2935 of file docsh.cxx.
References SfxListener::EndListening(), SfxApplication::GetDdeService(), m_pAutoStyleList, m_pDocFunc, m_pDocument, m_pFormatSaveData, m_pImpl, m_pModificator, m_pOldAutoDBRange, m_pPaintLockData, m_pSheetSaveData, SfxApplication::RemoveDdeTopic(), ResetDrawObjectShell(), and SfxGetpApp().
bool ScDocShell::AdjustPrintZoom | ( | const ScRange & | rRange | ) |
Definition at line 1699 of file docsh4.cxx.
References ScRange::aEnd, ScRange::aStart, ATTR_PAGE_HEADERS(), ATTR_PAGE_SCALE(), ATTR_PAGE_SCALETOPAGES(), ScAddress::Col(), SfxStyleSheetBasePool::Find(), SfxItemSet::Get(), SfxStyleSheetBase::GetItemSet(), GetPrinter(), ScPrintFunc::GetScaleData(), Size::Height(), i, m_pDocument, PRINT_HEADER_HEIGHT, PRINT_HEADER_WIDTH, ScAddress::Row(), rSet, SetPrintZoom(), ScAddress::Tab(), Size::Width(), and ZOOM_MIN.
Referenced by ScViewFunc::AdjustPrintZoom(), and ScGridWindow::PagebreakMove().
merge with docfunc
Definition at line 405 of file docsh5.cxx.
References ScSizeDeviceProvider::GetDevice(), ScSizeDeviceProvider::GetPPTX(), ScSizeDeviceProvider::GetPPTY(), Grid, Left, m_pDocument, and PostPaint().
Referenced by ScUndoEnterData::DoChange(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoUpdateAreaLink::DoChange(), ScImportExport::EndPaste(), ScViewFunc::EnterData(), lcl_PutDataArray(), lcl_PutFormulaArray(), ScAreaLink::Refresh(), ScDocumentConfiguration::setPropertyValue(), ScDBDocFunc::Sort(), and UpdatePendingRowHeights().
void ScDocShell::AfterXMLLoading | ( | bool | bRet | ) |
Definition at line 308 of file docsh.cxx.
References aName, ScDPCollection::CreateNewName(), ScDPCollection::GetCount(), SfxObjectShell::GetCreateMode(), ScGlobal::GetDocTabName(), ScDPObject::GetName(), INetURLObject::HasError(), i, m_bIsEmpty, m_pDocument, m_pModificator, nIndex, ScDocument::OFF, SC_COMPILER_FILE_TAB_SEP, ScDPObject::SetName(), ScDocument::TEMPORARY, ScGlobal::UnicodeStrChr(), ScChartListenerCollection::UpdateDirtyCharts(), and UpdateLinks().
Referenced by ScModelObj::AfterXMLLoading(), and LoadXML().
void ScDocShell::AllowLinkUpdate | ( | ) |
Definition at line 172 of file docsh4.cxx.
References SfxObjectShell::getEmbeddedObjectContainer(), m_pDocument, and comphelper::EmbeddedObjectContainer::setUserAllowsLinkUpdate().
Referenced by ScTabViewShell::Construct(), and ReloadAllLinks().
void ScDocShell::AsciiSave | ( | SvStream & | rStream, |
const ScImportOptions & | rOpt, | ||
SCTAB | nTab | ||
) |
Definition at line 1962 of file docsh.cxx.
References ATTR_HOR_JUSTIFY(), ATTR_PROTECTION(), ScImportOptions::bFixedWidth, ScImportOptions::bIncludeBOM, ScImportOptions::bSaveAsShown, ScImportOptions::bSaveFormulas, ScImportOptions::bSaveNumberAsSuch, cDelim, CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_NONE, CELLTYPE_STRING, CELLTYPE_VALUE, ScImportOptions::eCharSet, endlub(), eType, ScRefCellValue::getEditText(), SvStream::GetEndian(), ScFormulaCell::GetErrCode(), ScGlobal::GetErrorString(), ScRefCellValue::getFormula(), ScFormulaCell::GetFormula(), ScProtectionAttr::GetHideCell(), ScProtectionAttr::GetHideFormula(), ScCellFormat::GetInputString(), ScHorizontalCellIterator::GetNext(), ScRefCellValue::getSharedString(), SvStream::GetStreamCharSet(), ScFormulaCell::GetString(), svl::SharedString::getString(), ScCellFormat::GetString(), EditEngine::GetText(), ScRefCellValue::getType(), SvNumberFormatter::IsTextFormat(), ScFormulaCell::IsValue(), m_pDocument, ScImportOptions::nFieldSepCode, nPos, ScImportOptions::nTextSepCode, OUStringToOString(), ScResId(), SvStream::SetEndian(), ScProgress::SetStateOnPercent(), SvStream::SetStreamCharSet(), EditEngine::SetText(), SvStream::StartWritingUnicodeText(), write_uInt16s_FromOUString(), SvStream::WriteBytes(), SvStream::WriteUChar(), SvStream::WriteUnicodeOrByteText(), and SvStream::WriteUniOrByteChar().
Referenced by ConvertTo().
void ScDocShell::BeforeXMLLoading | ( | ) |
Definition at line 293 of file docsh.cxx.
References m_pDocument, and m_pModificator.
Referenced by ScModelObj::BeforeXMLLoading(), and LoadXML().
void ScDocShell::CalcOutputFactor | ( | ) |
Definition at line 355 of file docsh3.cxx.
References ATTR_PATTERN(), o3tl::convert(), ScPatternAttr::fillFontOnly(), Application::GetDefaultDevice(), OutputDevice::GetFont(), OutputDevice::GetMapMode(), GetRefDevice(), OutputDevice::GetTextWidth(), m_bIsInplace, m_nPrtToScreenFactor, m_pDocument, o3tl::mm100, ScGlobal::nScreenPPTX, OutputDevice::PixelToLogic(), SC_MOD, OutputDevice::SetFont(), OutputDevice::SetMapMode(), and o3tl::twip.
Referenced by ConvertFrom(), ScModelObj::initializeForTiledRendering(), InitNew(), Load(), SetInplace(), SetPrinter(), and UpdateFontList().
void ScDocShell::CancelAutoDBRange | ( | ) |
Definition at line 369 of file docsh5.cxx.
References Auto, DBAreaDeleted(), ScDBData::GetArea(), GetCurTab(), Grid, m_pDocument, m_pOldAutoDBRange, and PostPaint().
Referenced by ScFilterDlg::Close(), ScSpecialFilterDlg::Close(), ScCellShell::ExecuteSubtotals(), and lcl_GetSortParam().
void ScDocShell::CheckConfigOptions | ( | ) |
Called when the Options dialog is dismissed with the OK button, to handle potentially conflicting option settings.
Definition at line 473 of file docsh6.cxx.
References Application::CreateMessageDialog(), GetBestViewShell(), ScModule::GetFormulaOptions(), ScFormulaOptions::GetFormulaSepArg(), ScFormulaOptions::GetFormulaSepArrayCol(), ScFormulaOptions::GetFormulaSepArrayRow(), SfxViewShell::GetFrameWeld(), ScGlobal::getLocaleData(), LocaleDataWrapper::getNumDecimalSep(), LocaleDataWrapper::getNumDecimalSepAlt(), SfxObjectShell::IsConfigOptionsChecked(), ScFormulaOptions::ResetFormulaSeparators(), SC_MOD, ScResId(), SfxObjectShell::SetConfigOptionsChecked(), ScModule::SetFormulaOptions(), and SetFormulaOptions().
Referenced by ScGridWindow::GetFocus().
void ScDocShell::CompareDocument | ( | ScDocument & | rOtherDoc | ) |
there are changes -> inquiry if needs to be deleted
Definition at line 660 of file docsh3.cxx.
References ScDocument::GetDocumentShell(), ScChangeTrack::GetFirst(), SfxObjectShell::GetMedium(), GetModel(), SfxMedium::GetName(), ScChangeTrack::GetUser(), m_pDocument, PostPaintGridAll(), SetDocumentModified(), and ScChangeTrack::SetUser().
Referenced by Execute().
|
overridevirtual |
Call CreateFileStream directly, if available
In the filter
For all imports?
Reimplemented from SfxObjectShell.
Definition at line 1172 of file docsh.cxx.
References ScRange::aEnd, ScRange::aStart, CalcOutputFactor(), SfxUndoManager::Clear(), DBaseImport(), EIF_AUTO, EIF_BIFF5, EIF_BIFF8, EIF_BIFF_LE4, ERRCODE_NONE, SfxObjectShell::FinishedLoading(), ScFormatFilter::Get(), INetURLObject::GetBase(), SfxMedium::GetBaseURL(), ScAsciiOptions::GetCharSet(), ScGlobal::GetCharsetString(), ScGlobal::GetCharsetValue(), ScSizeDeviceProvider::GetDevice(), SfxObjectShell::GetError(), SfxMedium::GetFilter(), ScImportExport::GetIncludeBOM(), SfxMedium::GetInStream(), SfxItemSet::GetItemIfSet(), SfxMedium::GetItemSet(), SfxMedium::GetName(), ScFormatFilterPlugin::GetOrcusFilters(), GetOutputFactor(), SfxMedium::GetPhysicalName(), ScSizeDeviceProvider::GetPPTX(), ScSizeDeviceProvider::GetPPTY(), comphelper::getProcessComponentContext(), GetUndoManager(), ScOrcusFilters::importExcel2003XML(), ScOrcusFilters::importGnumeric(), ScImportExport::ImportStream(), InitItems(), ScImportExport::IsOverflowCell(), ScImportExport::IsOverflowCol(), ScImportExport::IsOverflowRow(), SfxMedium::IsStorage(), ErrCode::IsWarning(), LANGUAGE_SYSTEM, lcl_parseHtmlFilterOption(), LoadXML(), m_bIsEmpty, m_pDocument, MakeDrawLayer(), ScDocRowHeightUpdater::TabRanges::maRanges, ScMarkData::MarkToMulti(), ScGlobal::nLastColWidthExtra, nPPTX, nPPTY, ScGlobal::nScreenPPTX, ScGlobal::nScreenPPTY, pFilterDBase, pFilterDif, pFilterEx4Temp, pFilterEx5Temp, pFilterEx95Temp, pFilterEx97Temp, pFilterExcel4, pFilterExcel5, pFilterExcel95, pFilterExcel97, pFilterHtml, pFilterHtmlWebQ, pFilterLotus, pFilterQPro6, pFilterRtf, pFilterSylk, pFilterXML, SfxItemSet::Put(), ScAsciiOptions::ReadFromString(), SAL_WARN, SC_TEXT_CSV_FILTER_NAME, SCERR_IMPORT_CONNECT, SCERR_IMPORT_NI, SCERR_IMPORT_UNKNOWN, ScFormatFilterPlugin::ScImportDif(), ScFormatFilterPlugin::ScImportExcel(), ScFormatFilterPlugin::ScImportHTML(), ScFormatFilterPlugin::ScImportLotus123(), ScFormatFilterPlugin::ScImportQuattroPro(), ScFormatFilterPlugin::ScImportRTF(), SCWARN_IMPORT_CELL_OVERFLOW, SCWARN_IMPORT_COLUMN_OVERFLOW, SCWARN_IMPORT_ROW_OVERFLOW, SvStream::Seek(), ScAsciiOptions::SetCharSet(), ScAddress::SetCol(), SfxObjectShell::SetError(), ScImportExport::SetExtOptions(), ScAsciiOptions::SetFieldSeps(), ScAsciiOptions::SetIncludeBOM(), SetInitialLinkUpdate(), ScMarkData::SetMarkArea(), ScAddress::SetRow(), SvStream::SetStreamCharSet(), ScAsciiOptions::SetTextSep(), ScDocRowHeightUpdater::update(), and ScAsciiOptions::WriteToString().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 2391 of file docsh.cxx.
References INetURLObject::Append(), AsciiSave(), ScImportOptions::BuildString(), SfxItemSet::ClearItem(), SfxMedium::CloseOutStream(), utl::UcbStreamHelper::CreateStream(), INetURLObject::CutExtension(), INetURLObject::CutLastName(), DBaseExport(), ERRCODE_ABORT, ERRCODE_IO_CANTCREATE, ERRCODE_NONE, ExpBiff5, ExpBiff8, ScImportExport::ExportStream(), ScFormatFilter::Get(), GetActiveDialogParent(), SfxMedium::GetArgs(), SfxMedium::GetBaseURL(), GetBestViewShell(), ScGlobal::GetCharsetString(), ScGlobal::GetCharsetValue(), SfxObjectShell::GetCreateMode(), SfxMedium::GetError(), SfxObjectShell::GetError(), SfxMedium::GetFilter(), SfxItemSet::GetItem(), SfxItemSet::GetItemIfSet(), SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), INetURLObject::GetLastName(), INetURLObject::GetMainURL(), SfxMedium::GetName(), ScImportExport::GetNonConvertibleChars(), SfxMedium::GetOutStream(), SfxMedium::GetPhysicalName(), GetSaveTab(), SfxMedium::GetURLObject(), CntUnencodedStringItem::GetValue(), i, IsDocument(), FStatHelper::IsDocument(), ErrCode::IsWarning(), KillFile(), m_pAutoStyleList, m_pDocument, MoveFile(), nCount, ScPassHashHelper::needsPassHashRegen(), INetURLObject::NONE, ScImportOptions::nSheetToExport, OUStringToOString(), PASSHASH_XL, pFilterDBase, pFilterDif, pFilterEx5Temp, pFilterEx95Temp, pFilterEx97Temp, pFilterExcel5, pFilterExcel95, pFilterExcel97, pFilterHtml, pFilterSylk, pFilterXML, SaveXML(), SC_TEXT_CSV_FILTER_NAME, SCERR_EXPORT_DATA, SCERR_IMPORT_NI, ScFormatFilterPlugin::ScExportDif(), ScFormatFilterPlugin::ScExportExcel5(), SCWARN_EXPORT_ASCII, SCWARN_EXPORT_NONCONVERTIBLE_CHARS, SfxMedium::SetError(), SfxObjectShell::SetError(), INetURLObject::setExtension(), ScImportExport::SetFilterOptions(), ScImportExport::SetFormulas(), ScImportExport::SetStreamPath(), SfxObjectShell::SetVisArea(), u, INetURLObject::Unambiguous, and ScWarnPassword::WarningOnPassword().
|
private |
Definition at line 2893 of file docsh.cxx.
Referenced by ScDocShell().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 3095 of file docsh.cxx.
References ScAbstractDialogFactory::Create(), SfxObjectShell::Current(), ScAbstractDialogFactory::GetTabPageCreatorFunc(), rSet, and ScResId().
Definition at line 104 of file docsh5.cxx.
References Auto, Grid, m_pDocument, and PostPaint().
Referenced by ScDBFuncUndo::BeginRedo(), CancelAutoDBRange(), ScDBFuncUndo::EndUndo(), GetDBData(), ScDBDocFunc::ModifyAllDBData(), and ScDBDocFunc::Query().
|
private |
Definition at line 729 of file docsh8.cxx.
References aColNames, Date::AddDays(), CELLTYPE_EDIT, condformat::entry::DATE, comphelper::disposeComponent(), ERRCODE_IO_GENERAL, ERRCODE_NONE, ScHorizontalCellIterator::GetNext(), SvNumberFormatter::GetNullDate(), comphelper::getProcessServiceFactory(), GetSaveTab(), SvxTextEncodingTable::GetTextString(), ScRefCellValue::getType(), Date::GetUNODate(), ScRefCellValue::isEmpty(), KillFile(), m_pDocument, SAL_INFO, SAL_WARN, SC_DBPROP_COMMAND, SC_DBPROP_COMMANDTYPE, SC_SERVICE_ROWSET, SCERR_EXPORT_CONNECT, SCERR_EXPORT_DATA, SCERR_EXPORT_ENCODING, SCERR_EXPORT_FIELDWIDTH, SCERR_EXPORT_SQLEXCEPTION, ScResId(), SCWARN_EXPORT_DATALOST, ScProgress::SetStateOnPercent(), TABLE, TOOLS_WARN_EXCEPTION, and xFactory.
Referenced by ConvertTo().
|
private |
Definition at line 273 of file docsh8.cxx.
References SvDbaseConverter::ConvertPrecisionToDbase(), condformat::entry::DATE, ERRCODE_IO_GENERAL, ERRCODE_NONE, comphelper::getProcessServiceFactory(), i, m_pDocument, ScDatabaseDocUtil::StrData::mbSimpleText, ScDatabaseDocUtil::StrData::mnStrLength, ScDatabaseDocUtil::PutData(), SC_DBPROP_COMMAND, SC_DBPROP_COMMANDTYPE, SC_SERVICE_ROWSET, SCERR_IMPORT_CONNECT, ScResId(), SCWARN_IMPORT_COLUMN_OVERFLOW, SCWARN_IMPORT_RANGE_OVERFLOW, ScProgress::SetState(), ScFlatBoolRowSegments::setTrue(), TABLE, TOOLS_WARN_EXCEPTION, and xFactory.
Referenced by ConvertFrom().
|
override |
Definition at line 2503 of file docsh4.cxx.
References ScRangeData::AbsArea, ScRangeData::AbsPos, ScRange::aStart, formula::FormulaGrammar::CONV_OOO, ScRangeName::findByUpperName(), ScGlobal::getCharClass(), m_pDocument, ScAddress::Parse(), ScRange::Parse(), pData, ScRangeData::RefArea, and VALID.
ScDocShell::DECL_DLLPRIVATE_LINK | ( | DialogClosedHdl | , |
sfx2::FileDialogHelper * | , | ||
void | |||
) |
ScDocShell::DECL_DLLPRIVATE_LINK | ( | RefreshDBDataHdl | , |
Timer * | , | ||
void | |||
) |
ScDocShell::DECL_DLLPRIVATE_LINK | ( | ReloadAllLinksHdl | , |
weld::Button & | , | ||
void | |||
) |
void ScDocShell::DoAutoStyle | ( | const ScRange & | rRange, |
const OUString & | rStyle | ||
) |
Definition at line 1573 of file docsh4.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScStyleSheetPool::FindAutoStyle(), Grid, m_pDocument, PostPaint(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScAutoStyleList::ExecuteAllNow(), and ScAutoStyleList::ExecuteEntries().
void ScDocShell::DoConsolidate | ( | const ScConsolidateParam & | rParam, |
bool | bRecord = true |
||
) |
Definition at line 511 of file docsh5.cxx.
References aData, SfxUndoManager::AddUndoAction(), ScRange::aEnd, ALL, ScConsolidateParam::bByCol, ScConsolidateParam::bByRow, ScConsolidateParam::bReferenceData, ScAddress::Col(), CONTENTS, Application::CreateMessageDialog(), ScConsolidateParam::eFunction, FORMULA, GetActiveDialogParent(), ScDBData::GetArea(), GetUndoManager(), Grid, lcl_GetAreaName(), Left, m_pDocument, ScConsolidateParam::nCol, ScArea::nColEnd, ScArea::nColStart, ScConsolidateParam::nDataAreaCount, NONE, nPos, ScConsolidateParam::nRow, ScArea::nRowEnd, ScArea::nRowStart, ScConsolidateParam::nTab, ScArea::nTab, ScConsolidateParam::pDataAreas, PostPaint(), ScAddress::Row(), SCDOCMODE_UNDO, ScResId(), ScDBData::SetArea(), ScDocShellModificator::SetDocumentModified(), ScDBData::SetHeader(), Size, and TOP_LEFT.
Referenced by ScModelObj::consolidate(), ScDBFunc::Consolidate(), and ScUndoConsolidate::Redo().
|
private |
Definition at line 247 of file docsh.cxx.
References ScTabViewShell::GetActiveViewShell(), ScViewData::GetDocShell(), ScTabView::GetViewData(), and SC_MOD.
Referenced by PrepareClose().
void ScDocShell::DoHardRecalc | ( | ) |
Definition at line 1530 of file docsh4.cxx.
References CALCULATE, count, ScDocFunc::DetectiveRefresh(), end, GetActiveDialogParent(), GetBestViewShell(), GetDocFunc(), m_pDocument, PostPaintGridAll(), SAL_INFO, SAL_WARN, start, ScDBFunc::UpdateCharts(), ScTabViewShell::UpdateInputHandler(), and ScTabView::UpdateInputLine().
Referenced by ScModelObj::calculateAll(), Execute(), LoadXML(), oox::xls::WorkbookFragment::recalcFormulaCells(), sc::DataStream::Refresh(), and ScModelObj::setPropertyValue().
void ScDocShell::DoRecalc | ( | bool | bApi | ) |
Definition at line 1479 of file docsh4.cxx.
References ScInputHandler::FormulaPreview(), GetActiveDialogParent(), GetBestViewShell(), ScInputHandler::GetCursorPos(), ScChartListenerCollection::hasListeners(), ScInputHandler::IsFormulaMode(), ScInputHandler::IsInputMode(), m_pDocument, PostDataChanged(), PostPaintGridAll(), SAL_WARN, SC_MOD, ScFormulaCell::SetDirty(), ScDBFunc::UpdateCharts(), ScTabViewShell::UpdateInputHandler(), and ScTabView::UpdateInputLine().
Referenced by ScModelObj::calculate(), and Execute().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 2743 of file docsh.cxx.
References SfxObjectShell::DoSaveCompleted().
|
overridevirtual |
Implements SfxObjectShell.
Definition at line 2187 of file docsh4.cxx.
References ASPECT_THUMBNAIL, vcl::text::Default, ScPrintFunc::DrawToDev(), OutputDevice::GetLayoutMode(), SfxObjectShell::GetVisArea(), GetVisArea(), m_pDocument, OutputDevice::SetLayoutMode(), ScViewData::SetScreen(), ScViewData::SetTabNo(), SfxObjectShell::SetVisArea(), and SnapVisArea().
|
private |
Referenced by Execute().
void ScDocShell::ErrorMessage | ( | TranslateId | pGlobStrId | ) |
StopMarking at the (active) view?
Definition at line 71 of file docsh5.cxx.
References Application::CreateMessageDialog(), GetActiveDialogParent(), weld::Widget::grab_focus(), weld::Widget::has_focus(), SfxObjectShell::IsReadOnly(), and ScResId().
Referenced by ScDocFunc::ApplyAttributes(), ScDocFunc::ApplyStyle(), ScDocFunc::AutoFormat(), ScDocFunc::ChangeIndent(), ScDocFunc::ClearItems(), ScDocFunc::ConvertFormulaToValue(), ScDBDocFunc::CreatePivotTable(), ScDocFunc::DeleteCell(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteContents(), ScDBDocFunc::DoSubTotals(), ScDocFunc::EnterMatrix(), ScDocFunc::FillAuto(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), ScDocFunc::InsertCells(), ScDocFunc::InsertNameList(), ScDocFunc::InsertTable(), ScOutlineDocFunc::MakeOutline(), ScDocFunc::MergeCells(), ScDocFunc::MoveBlock(), PrepareClose(), ScDBDocFunc::Query(), ScOutlineDocFunc::RemoveOutline(), ScDocFunc::RenameTable(), ScDBDocFunc::RepeatDB(), ScDocFunc::ReplaceNote(), ScDocFunc::SetNormalString(), ScDocFunc::SetNoteText(), ScDocFunc::SetTabBgColor(), ScDocFunc::SetTableVisible(), ScDocFunc::SetWidthOrHeight(), ScDBDocFunc::Sort(), ScDocFunc::TabOp(), and ScDocFunc::TransliterateText().
void ScDocShell::Execute | ( | SfxRequest & | rReq | ) |
limit always or not at all ???
also for individual ranges, which cannot be updated
only for the dependent
old changes trace will be lost
get view for this document!
???????
omit SetTabNo in DeleteTable?
Definition at line 242 of file docsh4.cxx.
References aData, SfxUndoManager::AddUndoAction(), ScRange::aEnd, aName, SfxViewFrame::AppendInfoBar(), SfxRequest::AppendItem(), aProperties, ScRange::aStart, SfxUndoManager::Clear(), tools::SvRef< typename T >::clear(), sfx2::SfxNotebookBar::CloseMethod(), ScAddress::Col(), sfx2::DocumentInserter::Compare, CompareDocument(), weld::Button::connect_clicked(), SfxAbstractDialogFactory::Create(), ScAbstractDialogFactory::Create(), Application::CreateMessageDialog(), ScAbstractDialogFactory::CreateScColRowLabelDlg(), ScAbstractDialogFactory::CreateScNewScenarioDlg(), SfxViewFrame::Current(), ScViewFunc::DeleteTable(), SfxObjectShell::DoClose(), DoHardRecalc(), SfxObjectShell::DoLoad(), SfxRequest::Done(), DoRecalc(), EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), EE_TEXTPOS_ALL, EnableSharedSettings(), ScDocument::EndChangeTracking(), SfxUndoManager::EnterListAction(), ERRCODE_BASIC_BAD_PARAMETER, ERRCODE_BASIC_NO_ACTIVE_OBJECT, ERRCODE_BASIC_NO_OBJECT, ERRCTX_SFX_OPENDOC, sfx2::SfxNotebookBar::ExecMethod(), ScTabViewShell::Execute(), ExecuteChangeProtectionDialog(), SfxDispatcher::ExecuteList(), ScDBCollection::NamedDBs::findByUpperName(), ScChangeTrack::GetActionMax(), GetActiveDialogParent(), ScViewData::GetActivePart(), ScTabViewShell::GetActiveViewShell(), ScDocument::GetAddressConvention(), ScDBData::GetArea(), SfxRequest::GetArg(), SfxRequest::GetArgs(), GetBestViewShell(), ScDocument::GetChangeTrack(), ScGlobal::getCharClass(), SvxColorListItem::GetColorList(), GetDBData(), ScTabViewShell::GetDialogParent(), ScViewData::GetDispatcher(), GetDocument(), EditView::GetEditEngine(), ScViewData::GetEditView(), ScModelObj::GetEmbeddedObject(), SfxObjectShell::getEmbeddedObjectContainer(), EditEngine::GetEmptyItemSet(), SfxObjectShell::GetError(), SfxObjectShell::GetErrorCode(), ScDocumentLoader::GetFilterName(), ScTabViewShell::GetFormShell(), SfxShell::GetFrame(), SfxViewShell::GetFrameWeld(), ScDBData::GetImportParam(), SfxShell::GetItem(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), ScDocument::GetLanguage(), SvtLanguageTable::GetLanguageType(), GetLinkUpdateModeState(), svt::GenDocumentLockFile::GetLockData(), GetModel(), SfxMedium::GetName(), ScDBData::GetName(), ScDBCollection::getNamedDBs(), SfxShell::GetPool(), SvtLanguageOptions::GetScriptTypeOfLanguage(), EditView::GetSelection(), SfxObjectShell::GetSharedFileURL(), SfxRequest::GetSlot(), ScModule::GetSpellSettings(), GetStandardText(), ScViewData::GetTabNo(), o3tl::getToken(), GetUndoManager(), CntUnencodedStringItem::GetValue(), SfxBoolItem::GetValue(), SfxInt16Item::GetValue(), GetValue, ScViewData::GetView(), GetViewBindings(), GetViewData(), ScTabView::GetViewData(), ErrorHandler::HandleError(), ScChartPositioner::HasColHeaders(), ScDBData::HasImportParam(), ScDBData::HasImportSelection(), SfxItemSet::HasItem(), SfxObjectShell::HasName(), svt::ShareControlFile::HasOwnEntry(), ScDBData::HasQueryParam(), ScChartPositioner::HasRowHeaders(), SfxObjectShell::HasSharedXMLFlagSet(), ScDBData::HasSortParam(), ScDBData::HasSubTotalParam(), SfxRequest::Ignore(), ScDBFunc::ImportData(), svx::ODataAccessDescriptor::initializeFrom(), EditView::InsertText(), SfxBindings::Invalidate(), SfxBindings::InvalidateAll(), SfxObjectShell::InvalidateName(), sfx2::SfxNotebookBar::IsActive(), SfxRequest::IsAPI(), SfxObjectShell::IsDocShared(), ScChangeTrack::IsProtected(), ScShareDocumentDlg::IsShareDocumentChecked(), ScDBData::IsStripData(), Keep, LANGUAGE_DONTKNOW, LANGUAGE_NONE, SfxUndoManager::LeaveListAction(), LINK, LM_ALWAYS, LM_NEVER, LM_ON_DEMAND, LoadSharedDocument(), m_nCanUpdate, m_pDocument, m_pImpl, ScTabView::MarkRange(), sfx2::DocumentInserter::Merge, MergeDocument(), mode, ModifyScenario(), ESelection::nEndPos, nPos, ESelection::nStartPos, nVersion, ScAddress::Parse(), ScRange::ParseAny(), PostDataChanged(), PostPaintCell(), PostPaintExtras(), PostPaintGridAll(), SfxItemSet::Put(), RefreshPivotTables(), ReloadAllLinks(), ScDocumentLoader::RemoveAppPrefix(), SfxViewFrame::RemoveInfoBar(), ScDBFunc::RepeatDB(), RET_NO, RET_OK, RET_YES, ScAddress::Row(), weld::DialogController::run(), SC_DB_IMPORT, SC_MOD, ScDocShell(), ScResId(), weld::Button::set_label(), weld::Widget::set_tooltip_text(), EditView::SetAttribs(), ScDocument::SetChangeViewSettings(), SetDocumentModified(), SbxBase::SetError(), ScChangeViewSettings::SetHasActionRange(), ScDBData::SetImportParam(), ScDocument::SetLanguage(), SfxRequest::SetReturnValue(), EditView::SetSelection(), ScChangeViewSettings::SetShowAccepted(), ScChangeViewSettings::SetShowChanges(), ScTabView::SetTabNo(), ScChangeViewSettings::SetTheActionRange(), comphelper::EmbeddedObjectContainer::setUserAllowsLinkUpdate(), FmFormShell::SetY2KState(), ScDocOptions::SetYear2000(), SfxGetpApp(), SfxResId(), ScChangeViewSettings::ShowChanges(), SfxViewFrame::ShowChildWindow(), EditView::SpellIgnoreWord(), ScDocument::StartChangeTracking(), SfxBaseModel::store(), SfxObjectShell::SwitchToShared(), ScAddress::Tab(), TOOLS_WARN_EXCEPTION, u, UpdateAcceptChangesDialog(), ScDBDocFunc::UpdateImport(), ScTabView::UpdateLayerLocks(), ScInputHandler::UpdateSpellSettings(), VALID, ValidTab(), xModel, and ZERO.
void ScDocShell::ExecuteChangeCommentDialog | ( | ScChangeAction * | pAction, |
weld::Window * | pParent, | ||
bool | bPrevNext = true |
||
) |
Definition at line 638 of file docsh3.cxx.
References ScChangeAction::GetComment(), LocaleDataWrapper::getDate(), ScChangeAction::GetDateTime(), ScGlobal::getLocaleData(), SfxShell::GetPool(), LocaleDataWrapper::getTime(), ScChangeAction::GetUser(), and SfxItemSet::Put().
Referenced by ScTabViewShell::Execute().
bool ScDocShell::ExecuteChangeProtectionDialog | ( | bool | bJustQueryIfProtected = false | ) |
Protect/unprotect ChangeTrack and return <TRUE> if protection was successfully changed.
If bJustQueryIfProtected==sal_True protection is not changed and <TRUE> is returned if not protected or password was entered correctly.
Definition at line 1417 of file docsh4.cxx.
References SvPasswordHelper::CompareHashPassword(), Application::CreateMessageDialog(), GetActiveDialogParent(), SvPasswordHelper::GetHashPassword(), SfxPasswordDialog::GetPassword(), ScChangeTrack::GetProtection(), SfxShell::GetStaticInterface(), HID_CHG_PROTECT, ScChangeTrack::IsProtected(), m_pDocument, RET_OK, SfxPasswordDialog::run(), ScResId(), SfxPasswordDialog::SetEditHelpId(), SfxPasswordDialog::SetMinLen(), ScChangeTrack::SetProtection(), SfxPasswordDialog::ShowExtras(), and UpdateAcceptChangesDialog().
Referenced by Execute().
void ScDocShell::ExecutePageStyle | ( | const SfxViewShell & | rCaller, |
SfxRequest & | rReq, | ||
SCTAB | nCurTab | ||
) |
Definition at line 1820 of file docsh4.cxx.
References SfxUndoManager::AddUndoAction(), aStr, ATTR_PAGE(), ATTR_PAGE_FOOTERSET(), ATTR_PAGE_HEADERSET(), ATTR_PAGE_SHARED(), ScAbstractDialogFactory::Create(), ScAbstractDialogFactory::CreateScHFEditDlg(), ScAbstractDialogFactory::CreateScStyleDlg(), SfxStyleSheetBasePool::Find(), SfxItemSet::Get(), GetActiveDialogParent(), SfxRequest::GetArgs(), SfxViewFrame::GetBindings(), SfxStyleSheetBase::GetItemSet(), SfxStyleSheetBase::GetName(), GetPageOnFromPageStyleSet(), SfxRequest::GetSlot(), GetUndoManager(), GetViewBindings(), SfxViewShell::GetViewFrame(), SfxRequest::Ignore(), ScStyleSaveData::InitFromStyle(), SfxBindings::Invalidate(), m_bFooterOn, m_bHeaderOn, m_pDocument, SfxItemSet::MergeRange(), PageStyleModified(), RET_OK, SetDocumentModified(), XATTR_FILL_FIRST(), and XATTR_FILL_LAST().
Referenced by ScPreviewShell::Execute().
|
overridevirtual |
Implements SfxObjectShell.
Definition at line 193 of file docsh.cxx.
References ScResId(), SO3_SC_CLASSID_60, SOFFICE_FILEFORMAT_60, and SOFFICE_FILEFORMAT_8.
|
static |
Definition at line 3112 of file docsh.cxx.
References ScTabViewShell::GetActiveViewShell(), Application::GetDefDialogParent(), and ScTabViewShell::GetDialogParent().
Referenced by ScDocFunc::AutoFormat(), ConvertTo(), ScDocFunc::CreateOneName(), ScDBDocFunc::CreatePivotTable(), ScDPCollection::DBCaches::createRowSet(), ScDBDocFunc::DataPilotUpdate(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteTable(), ScDocFunc::DetectiveMarkInvalid(), DoConsolidate(), DoHardRecalc(), ScDBDocFunc::DoImport(), DoRecalc(), ScDBDocFunc::DoSubTotals(), ScDocFunc::EnterMatrix(), ErrorMessage(), Execute(), ExecuteChangeProtectionDialog(), ExecutePageStyle(), ScImportExport::ExtText2Doc(), ScDocFunc::FillAuto(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), ScSpellingEngine::GetDialogParent(), ScDocFunc::InsertCells(), ScDocFunc::InsertTable(), LoadFrom(), LoadXML(), MergeSharedDocument(), ScModule::ModifyOptions(), ScExternalRefManager::Notify(), Notify(), PageStyleModified(), ScDBDocFunc::Query(), oox::xls::WorkbookFragment::recalcFormulaCells(), ScUndoInsertCells::Redo(), ScUndoDeleteCells::Redo(), ScUndoDeleteMulti::Redo(), ReloadAllLinks(), ScDBDocFunc::RemovePivotTable(), ScModelObj::seekGoal(), ScDBDocFunc::Sort(), ScImportExport::StartPaste(), ScDocFunc::TabOp(), ScUndoInsertCells::Undo(), ScUndoDeleteCells::Undo(), ScUndoDeleteMulti::Undo(), ScDocFunc::Unprotect(), ScDBDocFunc::UpdateImport(), ScDBDocFunc::UpdatePivotTable(), and UseScenario().
Definition at line 344 of file docsh5.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScDBCollection::getAnonDBs(), ScDBCollection::AnonDBs::getByRange(), m_pDocument, pData, ScAddress::Row(), and ScAddress::Tab().
Referenced by ScDBFunc::GetAnonymousDBData().
|
static |
Definition at line 2857 of file docsh.cxx.
References SC_TEXT_CSV_FILTER_NAME.
Referenced by ScFilterOptionsObj::execute().
ScTabViewShell * ScDocShell::GetBestViewShell | ( | bool | bOnlyVisible = true | ) |
Definition at line 2623 of file docsh4.cxx.
References ScTabViewShell::GetActiveViewShell(), ScViewData::GetDocShell(), SfxViewFrame::GetFirst(), ScTabView::GetViewData(), SfxShell::GetViewShell(), and p.
Referenced by ScDocFunc::AdjustRowHeight(), CheckConfigOptions(), ConvertTo(), ScDocFunc::DeleteCells(), DoHardRecalc(), DoRecalc(), Execute(), XclExpXmlStream::exportDocument(), ooo::vba::excel::getBestViewShell(), ScModelObj::getDocWindow(), GetSaveTab(), ScModule::GetState(), GetState(), GetThemeColors(), GetViewBindings(), ScOutlineDocFunc::HideOutline(), ScDocFunc::InsertCells(), ScDataPilotTableObj::insertDrillDownSheet(), lcl_SelectAll(), MergeDocument(), ScViewFunc::MoveTable(), ScModelObj::paintTile(), ScModelObj::postMouseEvent(), ScDBDocFunc::Query(), SaveAs(), ScOutlineDocFunc::SelectLevel(), ScModelObj::setGraphicSelection(), ScDocFunc::SetWidthOrHeight(), ScOutlineDocFunc::ShowMarkedOutlines(), ScOutlineDocFunc::ShowOutline(), ScDBDocFunc::Sort(), ScDBDocFunc::UpdateImport(), and ScUndoDraw::UpdateSubShell().
ScChangeAction * ScDocShell::GetChangeAction | ( | const ScAddress & | rPos | ) |
ScViewUtil::IsActionShown( *pAction, *pSettings, *pDoc )...
Definition at line 572 of file docsh3.cxx.
References ScRange::aEnd, ScRange::aStart, ScBigRange::aStart, ScAddress::Col(), ScRange::Contains(), eType, ScChangeAction::GetBigRange(), ScDocument::GetChangeTrack(), GetDocument(), ScChangeTrack::GetFirst(), ScChangeAction::GetNext(), ScChangeAction::GetType(), ScChangeAction::IsVisible(), ScBigRange::MakeRange(), ScAddress::Row(), SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_DELETE_TABS, SC_CAT_MOVE, ScAddress::SetCol(), ScAddress::SetRow(), ScAddress::Tab(), and ScBigAddress::Tab().
Referenced by ScTabViewShell::Execute(), and ScTabViewShell::GetState().
|
inline |
Definition at line 223 of file docsh.hxx.
Referenced by ScVbaRange::Insert().
|
static |
this must be made non-static and use a ViewShell from this document!
Definition at line 2614 of file docsh4.cxx.
References ScViewData::GetTabNo(), and GetViewData().
Referenced by ScPreview::CalcPages(), CancelAutoDBRange(), ScUndoMerge::DoChange(), ScModelObj::FillRenderMarkData(), getScRangeListForAddress(), ScXMLSourceDlg::RefEditModified(), ScServerObject::ScServerObject(), ScUndoRemoveMerge::SetCurTab(), and SetPrinter().
|
static |
Definition at line 2867 of file docsh.cxx.
References pFilterDBase.
Referenced by ScFilterOptionsObj::execute().
ScDBData * ScDocShell::GetDBData | ( | const ScRange & | rMarked, |
ScGetDBMode | eMode, | ||
ScGetDBSelection | eSel | ||
) |
(UNDO ???)
Definition at line 115 of file docsh5.cxx.
References SfxUndoManager::AddUndoAction(), ScRange::aEnd, ScRange::aStart, ScAddress::Col(), DBAreaDeleted(), eMode, ScDBCollection::NamedDBs::findByUpperName(), ForceMark, ScDBData::GetArea(), ScGlobal::getCharClass(), ScDBCollection::GetDBNearCursor(), ScDBCollection::getNamedDBs(), ScDBData::GetTab(), GetUndoManager(), ScDBData::HasAutoFilter(), ScDBData::HasHeader(), ScDBCollection::NamedDBs::insert(), m_pDocument, m_pOldAutoDBRange, nCount, pData, ScAddress::Row(), RowDown, SC_DB_AUTOFILTER, SC_DB_IMPORT, SC_DB_MAKE, SC_DB_OLD, ScResId(), ScDBData::SetArea(), ScDBData::SetAutoFilter(), ScDBData::SetByRow(), ScDBData::SetHeader(), ScDBData::SetQueryParam(), ScDBData::SetSortParam(), ScDBData::SetSubTotalParam(), SfxGetpApp(), STR_DB_LOCAL_NONAME, and ScAddress::Tab().
Referenced by ScCellRangeObj::applySubTotals(), ScCellRangeObj::createFilterDescriptor(), ScCellRangeObj::createImportDescriptor(), ScCellRangeObj::createSortDescriptor(), ScCellRangeObj::createSubTotalDescriptor(), ScCellRangeObj::doImport(), ScDBDocFunc::DoImportUno(), Execute(), ScCellRangeObj::filter(), ScDBFunc::GetDBData(), ScViewFunc::PasteDataFormat(), ScDBDocFunc::Query(), ScCellRangeObj::removeSubTotals(), and ScCellRangeObj::sort().
|
inline |
Definition at line 373 of file docsh.hxx.
Referenced by ScServerObject::GetData().
|
static |
Definition at line 2872 of file docsh.cxx.
References pFilterDif.
Referenced by ScFilterOptionsObj::execute().
Reimplemented from SfxObjectShell.
Definition at line 217 of file docsh.cxx.
References m_pDocument.
|
inline |
Definition at line 221 of file docsh.hxx.
Referenced by ScNamedRangesObj::addNewByName(), ScNamedRangesObj::addNewFromTitles(), ScTableSheetObj::addRanges(), ScVbaRange::AutoFill(), ScCellRangeObj::autoFormat(), ScViewFunc::AutoFormat(), ScOptSolverDlg::CallSolver(), ScViewFunc::ChangeIndent(), ScTableSheetObj::clearArrows(), ScViewFunc::ConvertFormulaToValue(), ScTableSheetsObj::copyByName(), ScTableSheetObj::copyRange(), ScViewFunc::CreateNames(), ScViewFunc::DeleteCells(), ScViewFunc::DeleteContents(), ScViewFunc::DeletePageBreak(), ScViewFunc::DeleteTable(), ScViewFunc::DetectiveAddError(), ScViewFunc::DetectiveAddPred(), ScViewFunc::DetectiveAddSucc(), ScViewFunc::DetectiveDelAll(), ScViewFunc::DetectiveDelPred(), ScViewFunc::DetectiveDelSucc(), ScViewFunc::DetectiveMarkInvalid(), ScViewFunc::DetectiveMarkPred(), ScViewFunc::DetectiveMarkSucc(), ScViewFunc::DetectiveRefresh(), ScPosWnd::DoEnter(), DoHardRecalc(), ScTransferObj::DragFinished(), ScGridWindow::DropTransferObj(), ScViewFunc::EnterMatrix(), ScCellShell::ExecuteEdit(), ScTabViewShell::ExecuteTable(), ScCellRangeObj::fillAuto(), ScViewFunc::FillAuto(), ScCellRangeObj::fillSeries(), ScViewFunc::FillSeries(), ScViewFunc::FillSimple(), oox::xls::Comment::finalizeImport(), ScRandomNumberGeneratorDialog::GenerateNumbers(), ScViewData::GetDocFunc(), ScTableSheetObj::hideDependents(), ScTableSheetObj::hidePrecedents(), ScCellObj::InputEnglishString(), ScViewFunc::InsertAreaLink(), ScAreaLinksObj::insertAtPosition(), ScTableColumnsObj::insertByIndex(), ScTableRowsObj::insertByIndex(), ScTableSheetsObj::insertByName(), ScTableSheetObj::insertCells(), ScViewFunc::InsertCells(), ScViewFunc::InsertCurrentTime(), ScViewFunc::InsertNameList(), ScAnnotationsObj::insertNew(), ScDrawPagesObj::insertNewByIndex(), ScTableSheetsObj::insertNewByName(), ScViewFunc::InsertPageBreak(), ScViewFunc::InsertTable(), ScCellRangeObj::merge(), ScViewFunc::MergeCells(), MergeDocument(), ScAreaLinkObj::Modify_Impl(), ScNamedRangeObj::Modify_Impl(), ScGridWindow::MouseButtonUp(), ScPreview::MouseButtonUp(), ScViewFunc::MoveBlockTo(), ScTableSheetObj::moveRange(), ScCondFormatDlg::OkPressed(), ScNamedRangesObj::outputList(), ScViewFunc::PasteFromClip(), sc::SparklineDataRangeDialog::perform(), sc::SparklineDialog::perform(), ScSamplingDialog::PerformPeriodicSampling(), ScSamplingDialog::PerformRandomSampling(), ScSamplingDialog::PerformRandomSamplingKeepOrder(), ScTableSheetObj::protect(), ScModelObj::protect(), ScViewFunc::ProtectDoc(), ScViewFunc::ProtectSheet(), ScUndoDragDrop::Redo(), ScModelObj::refreshArrows(), ScDrawPagesObj::remove(), ScAnnotationsObj::removeByIndex(), ScTableColumnsObj::removeByIndex(), ScTableRowsObj::removeByIndex(), ScScenariosObj::removeByName(), ScNamedRangesObj::removeByName(), ScTableSheetsObj::removeByName(), ScViewFunc::RemoveMerge(), ScTableSheetObj::removeRange(), ScViewFunc::RenameTable(), ScTableSheetsObj::replaceByName(), ScViewFunc::ReplaceNote(), ScCellRangeObj::SetArrayFormula_Impl(), ScCellRangeObj::setArrayTokens(), ScVbaRange::setColumnWidth(), ScAccessibleCellBase::setCurrentValue(), SetDocumentModified(), ScVbaRange::setFormulaArray(), ScCellObj::setFormulaString(), ScAnnotationObj::setIsVisible(), ScTableSheetObj::setName(), ScViewFunc::SetNoteText(), ScTableSheetObj::SetOnePropertyValue(), ScTableColumnObj::SetOnePropertyValue(), ScTableRowObj::SetOnePropertyValue(), ScTableColumnsObj::setPropertyValue(), ScTableRowsObj::setPropertyValue(), ScVbaRange::setRowHeight(), ScCellObj::SetString_Impl(), ScViewFunc::SetTabBgColor(), ScCellRangeObj::setTableOperation(), ScCellObj::setTokens(), ScCellObj::SetValue_Impl(), ScTableSheetObj::showDependents(), ScTableSheetObj::showErrors(), ScTableSheetObj::showInvalid(), ScViewFunc::ShowNote(), ScTableSheetObj::showPrecedents(), ScDBDocFunc::Sort(), ScViewFunc::TabOp(), ScViewFunc::TransliterateText(), ScTableSheetObj::unprotect(), ScModelObj::unprotect(), ScViewFunc::Unprotect(), ScCellTextData::UpdateData(), AddressWalkerWriter::writeBoldString(), AddressWalkerWriter::writeFormula(), AddressWalkerWriter::writeFormulas(), AddressWalkerWriter::writeMatrixFormula(), AddressWalkerWriter::writeString(), and AddressWalkerWriter::writeValue().
void ScDocShell::GetDocStat | ( | ScDocStat & | rDocStat | ) |
Definition at line 3082 of file docsh.cxx.
References GetPrinter(), i, m_pDocument, ScDocStat::nPageCount, and ScDocStat::nTableCount.
Referenced by ScDocStatPage::ScDocStatPage().
|
inline |
|
inline |
Definition at line 219 of file docsh.hxx.
Referenced by ScTabViewShell::ActivateObject(), ScNamedRangesObj::addActionLock(), ScDBDocFunc::AddDBRange(), ScDDELinksObj::addDDELink(), ScLabelRangesObj::addNew(), ScChartsObj::addNewByName(), ScScenariosObj::addNewByName(), ScNamedRangesObj::addNewByName(), sc::TablePivotCharts::addNewByName(), ScTableSheetObj::addRanges(), ScVbaRange::Address(), ScViewFunc::AdjustBlockHeight(), ScBlockUndo::AdjustHeight(), ScDocFunc::AdjustRowHeight(), ScViewFunc::AdjustRowHeight(), ScCellsEnumeration::Advance_Impl(), ScViewFunc::AppendTable(), ScTableSheetObj::apply(), sc::ThemeColorChanger::apply(), ScDocFunc::ApplyAttributes(), ScHelperFunctions::ApplyBorder(), ScViewFunc::ApplySelectionPattern(), ScDocFunc::ApplyStyle(), ScVbaRange::AutoFilter(), ScDocFunc::AutoFormat(), ScOutlineDocFunc::AutoOutline(), ScDBFuncUndo::BeginRedo(), ScBlockUndo::BeginUndo(), ScMultiBlockUndo::BeginUndo(), ScDBFuncUndo::BeginUndo(), ScMoveUndo::BeginUndo(), ScSimpleUndo::BroadcastChanges(), ScPreview::CalcPages(), ScUndoSelectionAttr::ChangeEditData(), ScViewFunc::ChangeIndent(), ScDocFunc::ChangeIndent(), ScVbaTextBoxShape::characters(), sc::tools::ChartIterator::ChartIterator(), ScCellsEnumeration::CheckPos_Impl(), ScServerObject::Clear(), ScDocFunc::ClearItems(), ScAreaLink::Closed(), ScCellCursorObj::collapseToCurrentArray(), ScCellCursorObj::collapseToCurrentRegion(), ScCellCursorObj::collapseToMergedArea(), ScTabViewShell::ConnectObject(), ScModelObj::consolidate(), ScTabViewShell::Construct(), ScPreviewShell::Construct(), ScDocFunc::ConvertFormulaToValue(), ScTableSheetsObj::copyByName(), ScTpLayoutOptions::Create(), ScCondFormatsObj::createByRange(), ScSelectionTransferObj::CreateCellData(), ScModelObj::createConsolidationDescriptor(), ScTableSheetObj::createCursor(), ScCondFormatObj::createEntry(), ScCellRangeObj::createFilterDescriptorByObject(), ScModule::CreateItemSet(), ScDocFunc::CreateNames(), ScDocFunc::CreateOneName(), ScDBDocFunc::CreatePivotTable(), ScVbaWorksheet::createSheetCopyInNewDoc(), ScAreaLink::DataChanged(), ScDBDocFunc::DataPilotUpdate(), sc::DataStream::Decode(), ScDocFunc::DeleteCell(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteContents(), ScDBDocFunc::DeleteDBRange(), ScViewFunc::DeleteMulti(), ScDBFunc::DeletePivotTable(), ScDocFunc::DeleteSparkline(), ScDocFunc::DeleteSparklineGroup(), ScDocFunc::DeleteTable(), ScViewFunc::DeleteTable(), ScViewFunc::DeleteTables(), ScDocFunc::DetectiveAddError(), ScDocFunc::DetectiveAddPred(), ScDocFunc::DetectiveAddSucc(), ScDocFunc::DetectiveDelAll(), ScDocFunc::DetectiveDelPred(), ScDocFunc::DetectiveDelSucc(), ScDocFunc::DetectiveMarkInvalid(), ScViewFunc::DetectiveMarkPred(), ScDocFunc::DetectiveRefresh(), ScViewFunc::DoAutoAttributes(), ScUndoDeleteMulti::DoChange(), ScUndoImportTab::DoChange(), ScUndoPageBreak::DoChange(), ScUndoRemoveLink::DoChange(), ScUndoLayoutRTL::DoChange(), ScUndoShowHideTab::DoChange(), ScUndoPaste::DoChange(), ScUndoPrintZoom::DoChange(), ScUndoRangeNames::DoChange(), ScUndoAutoFilter::DoChange(), ScUndoPrintRange::DoChange(), ScUndoMerge::DoChange(), ScUndoMoveTab::DoChange(), ScUndoThesaurus::DoChange(), ScUndoTabColor::DoChange(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoCut::DoChange(), ScUndoDeleteContents::DoChange(), ScUndoFillTable::DoChange(), ScUndoSelectionAttr::DoChange(), ScUndoSelectionStyle::DoChange(), ScUndoDataForm::DoChange(), ScUndoUpdateAreaLink::DoChange(), sc::UndoSetCells::DoChange(), ScUndoConditionalFormatList::DoChange(), ScUndoCursorAttr::DoChange(), ScUndoAllRangeNames::DoChange(), ScUndoModifyStyle::DoChange(), ScUndoConditionalFormat::DoChange(), ScUndoRefConversion::DoChange(), ScUndoConversion::DoChange(), ScUndoListNames::DoChange(), ScUndoRenameTab::DoChange(), ScTabView::DoChartSelection(), ScTabView::DoDPFieldPopup(), ScTabControl::DoDrag(), ScPosWnd::DoEnter(), ScDBDocFunc::DoImport(), ScUndoReplaceNote::DoInsertNote(), ScPreview::DoPrint(), ScUndoDocProtect::DoProtect(), ScUndoTabProtect::DoProtect(), ScUndoReplaceNote::DoRemoveNote(), ScViewFunc::DoSheetConversion(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScViewFunc::DoThesaurus(), ScUndoDragDrop::DoUndo(), ScPreview::DrawInvert(), ScViewFunc::EditNote(), ScModelObj::enableAutomaticCalculation(), ScBlockUndo::EndUndo(), ScMultiBlockUndo::EndUndo(), ScDBFuncUndo::EndUndo(), ScMoveUndo::EndUndo(), ScViewFunc::EnterData(), ScDocFunc::EnterMatrix(), ScDrawShell::ExecDrawFunc(), ScTabViewShell::ExecDrawIns(), ScTabViewShell::ExecStyle(), sc::UndoFormulaToValue::Execute(), sc::UndoSort::Execute(), ScModule::Execute(), Execute(), ScPreviewShell::Execute(), ScFormatShell::ExecuteStyle(), ScTabViewShell::ExecuteTable(), XclExpXmlStream::exportDocument(), ScCellRangeObj::fillAuto(), ScViewFunc::FillAuto(), ScDocFunc::FillAuto(), ScPreviewShell::FillFieldData(), ScTabViewShell::FillFieldData(), ScModelObj::FillRenderMarkData(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), ScViewFunc::FillSimple(), ScViewFunc::FillTab(), ScCellRangeObj::filter(), ScRedComDialog::FindNext(), ScRedComDialog::FindPrev(), ScInputHandler::FormulaPreview(), FuInsertChart::FuInsertChart(), ScAnnotationsObj::GetAddressByIndex_Impl(), sc::tools::getAllPivotChartsConnectedTo(), ScDBFunc::GetAnonymousDBData(), ScCellRangeObj::getArrayFormula(), ScCellRangeObj::getArrayTokens(), ScSheetEventsObj::getByName(), ScUnnamedDatabaseRangesObj::getByTable(), ScAnnotationEditSource::GetCaptionObj(), ScCellRangeObj::getCellRangeByName(), ScTableSheetsObj::getCellRangesByName(), ScVbaRange::getCellRangesForAddress(), ScCellShell::GetCellState(), GetChangeAction(), ScCellShell::GetClipState(), ScInputHandler::GetColData(), ScTableSheetObj::getColumnPageBreaks(), ScVbaRange::getColumnWidth(), ScCellObj::GetContentType_Impl(), ScCondFormatsObj::getCoreObject(), ScCellFormatsObj::getCount(), ScChartsObj::getCount(), ScDataPilotTablesObj::getCount(), ScDatabaseRangesObj::getCount(), ScDrawPagesObj::getCount(), ScTableSheetsObj::getCount(), ScAnnotationsObj::getCount(), ScScenariosObj::getCount(), ScSheetLinksObj::getCount(), ScAreaLinksObj::getCount(), ScDDELinksObj::getCount(), ScLabelRangesObj::getCount(), ScStyleFamilyObj::getCount(), ScServerObject::GetData(), ScLabelRangeObj::GetData_Impl(), ScChartObj::GetData_Impl(), ScModelObj::getDataArea(), ScCellRangeObj::getDataArray(), ScDBFunc::GetDBData(), ScDatabaseRangeObj::GetDBData_Impl(), ScCellShell::GetDBState(), getDefaultCharWidth(), ScPrintFuncCache::GetDisplayStart(), ScDocumentLoader::GetDocument(), ScPreviewShell::GetDocument(), ScModelObj::GetDocument(), getDocumentFromRange(), ScModelObj::getDocumentSize(), ScGridWindow::GetEditUrl(), ScChartsObj::getElementNames(), ScDataPilotTablesObj::getElementNames(), ScDatabaseRangesObj::getElementNames(), ScTableSheetsObj::getElementNames(), ScScenariosObj::getElementNames(), ScSheetLinksObj::getElementNames(), ScDDELinksObj::getElementNames(), ScStyleFamilyObj::getElementNames(), ScCellObj::getError(), ScChartObj::getFastPropertyValue(), ScPreview::GetFirstPage(), ScModelObj::GetFormatter(), ScCellRangeObj::getFormulaArray(), ScInputHandler::GetFormulaData(), ScExternalRefManager::getInMemorySrcDocument(), ScCellRangeObj::getIsMerged(), ScTableSheetObj::getIsScenario(), ScSheetLinkObj::GetLink_Impl(), ScTableSheetObj::getLinkMode(), ScTableSheetObj::getLinkSheetName(), GetLinkUpdateModeState(), ScTableSheetObj::getLinkUrl(), ScPreview::GetLocationData(), ScTableSheetObj::getName(), ScUndoRenameObject::GetObject(), ScDataPilotTablesObj::GetObjectByIndex_Impl(), ScSheetLinksObj::GetObjectByIndex_Impl(), ScDDELinksObj::GetObjectByIndex_Impl(), ScStyleFamilyObj::GetObjectByIndex_Impl(), ScGlobalNamedRangesObj::GetObjectByIndex_Impl(), ScLocalNamedRangesObj::GetObjectByIndex_Impl(), ScDatabaseRangesObj::GetObjectByIndex_Impl(), ScLabelRangesObj::GetObjectByIndex_Impl(), ScCellFormatsObj::GetObjectByIndex_Impl(), ScChartsObj::GetObjectByIndex_Impl(), ScSheetLinksObj::GetObjectByName_Impl(), ScTableSheetsObj::GetObjectByName_Impl(), ScStyleFamilyObj::GetObjectByName_Impl(), ScDDELinksObj::GetObjectByName_Impl(), ScTableColumnsObj::GetObjectByName_Impl(), ScCellRangeObj::GetOnePropertyValue(), ScTableSheetObj::GetOnePropertyValue(), ScTableColumnObj::GetOnePropertyValue(), ScTableRowObj::GetOnePropertyValue(), ScViewFunc::GetOptimalColWidth(), ScPreview::GetOptimalZoom(), ScCellObj::GetOutputString_Impl(), ScPreviewShell::GetPageSize(), ScModelObj::getParts(), ScModelObj::getPostIts(), ScModelObj::getPostItsPos(), ScTableSheetObj::getPrintAreas(), ScTableSheetObj::getPrintTitleColumns(), ScTableSheetObj::getPrintTitleRows(), ScDocDefaultsObj::getPropertyDefault(), ScAddressConversionObj::getPropertyValue(), ScDocumentConfiguration::getPropertyValue(), ScDocDefaultsObj::getPropertyValue(), ScModelObj::getPropertyValue(), ScTableColumnsObj::getPropertyValue(), ScTableRowsObj::getPropertyValue(), ScStyleObj::getPropertyValue_Impl(), ScNamedRangeObj::GetRangeData_Impl(), ScGlobalNamedRangesObj::GetRangeName_Impl(), ScLocalNamedRangesObj::GetRangeName_Impl(), ScTableSheetObj::getRanges(), ScInputHandler::GetReferenceMark(), ScNamedRangeObj::getReferencePosition(), ScModelObj::getRenderer(), ScModelObj::getRendererCount(), ScDDELinkObj::getResults(), ScCellObj::GetResultType_Impl(), ScVbaRange::getRowHeight(), ScTableSheetObj::getRowPageBreaks(), ScTableSheetObj::getScenarioComment(), ScScenariosObj::GetScenarioIndex_Impl(), getScRangeListForAddress(), ScModelObj::getSdrModelFromUnoModel(), ScTabViewObj::getSelection(), ScContentTree::GetSourceDocument(), ScTransferObj::GetSourceDocument(), sc::DataStreamDlg::GetStartRange(), ScModule::GetState(), GetState(), ScPivotShell::GetState(), ScPreviewShell::GetState(), ScStyleObj::GetStyle_Impl(), ScNamedRangeObj::GetTab_Impl(), ScLocalNamedRangesObj::GetTab_Impl(), ScPrintFuncCache::GetTabForPage(), ScCellTextData::GetTextForwarder(), ScAnnotationEditSource::GetTextForwarder(), ScAccessibleCellTextData::GetTextForwarder(), ScAccessiblePreviewHeaderCellTextData::GetTextForwarder(), ScAccessibleNoteTextData::GetTextForwarder(), ScTableSheetObj::getTitleColumns(), ScTableSheetObj::getTitleRows(), ScCellObj::getTokens(), ScNamedRangeObj::getTokens(), ScModelObj::getTrackedChanges(), ScCellObj::getType(), ScCellObj::GetValue_Impl(), ScModelObj::getViewData(), ScCellCursorObj::gotoEnd(), ScCellCursorObj::gotoEndOfUsedArea(), ScCellCursorObj::gotoNext(), ScCellCursorObj::gotoPrevious(), ScCellCursorObj::gotoStart(), ScCellCursorObj::gotoStartOfUsedArea(), ScModelObj::HandleCalculateEvents(), ScViewFunc::HasBookmarkAtCursor(), ScDataPilotTablesObj::hasByName(), ScDatabaseRangesObj::hasByName(), ScTableSheetsObj::hasByName(), ScTableColumnsObj::hasByName(), ScSheetLinksObj::hasByName(), ScDDELinksObj::hasByName(), ScStyleFamilyObj::hasByName(), ScUnnamedDatabaseRangesObj::hasByTable(), ScModelObj::HasChangesListeners(), ScDBFunc::HideAutoFilter(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScViewFunc::HideTable(), IMPL_LINK(), IMPL_LINK_NOARG(), ScInputHandler::ImplCreateEditEngine(), ScAnnotationObj::ImplGetNote(), ScDocFunc::ImportNote(), ScTableSheetsObj::importSheet(), ScViewFunc::ImportTables(), ScSpellDialogChildWindow::Init(), ScUndoChartData::Init(), sc::DataStreamDlg::Init(), ScStyleObj::InitDoc(), ScMoveTableDlg::InitDocListBox(), ScDrawTransferObj::InitDocShell(), ScTransferObj::InitDocShell(), ScTextWnd::InitEditEngine(), oox::xls::WorkbookGlobals::initialize(), ScTableSheetObj::InitInsertSheet(), ScPrintFuncCache::InitLocations(), ScInputHandler::InitRangeFinder(), ScCellObj::InputEnglishString(), ScDocFunc::InsertAreaLink(), ScTableColumnsObj::insertByIndex(), ScTableRowsObj::insertByIndex(), ScTableSheetsObj::insertByName(), ScStyleFamilyObj::insertByName(), ScDocFunc::InsertCells(), ScViewFunc::InsertCurrentTime(), ScViewFunc::InsertName(), ScDocFunc::InsertNameList(), ScDrawPagesObj::insertNewByIndex(), ScDocFunc::InsertPageBreak(), ScDocFunc::InsertTable(), ScViewFunc::InsertTableLink(), ScViewFunc::InsertTables(), ScNamedRangesObj::isActionLocked(), ScModelObj::isAutomaticCalculationEnabled(), ScTableSheetObj::isProtected(), ScModelObj::isProtected(), ScDocDefaultsObj::ItemsChanged(), lcl_CallActivate(), lcl_collectAllPredOrSuccRanges(), lcl_CreatePivotName(), lcl_DoDragCells(), lcl_DoDragObject(), lcl_FillRangeFromName(), lcl_FindRangeByName(), lcl_FindRangeOrEntry(), lcl_GetAreaLink(), lcl_GetDBData_Impl(), lcl_GetDPObject(), lcl_GetForbidden(), lcl_GetOptimalColWidth(), lcl_PaintAbove(), lcl_PaintOneRange(), lcl_PaintRefChanged(), lcl_PaintWidthHeight(), lcl_PutDataArray(), lcl_PutFormulaArray(), lcl_sendLOKDocumentBackground(), ScTableSheetObj::link(), ScExternalRefManager::loadSrcDocument(), LoadStylesArgs(), ScNamedRangesObj::lock(), ScServiceProvider::MakeInstance(), ScOutlineDocFunc::MakeOutline(), ScViewFunc::MarkAndJumpToRanges(), MaxDocRange(), ScViewFunc::MergeCells(), ScDocFunc::MergeCells(), MergeDocument(), MergeSharedDocument(), ScAreaLinkObj::Modify_Impl(), ScNamedRangeObj::Modify_Impl(), ScLabelRangeObj::Modify_Impl(), ScDBDocFunc::ModifyAllDBData(), ScDocFunc::ModifyAllRangeNames(), ScViewFunc::ModifyCellSize(), ScDBDocFunc::ModifyDBData(), ScModule::ModifyOptions(), ScPreview::MouseButtonUp(), ScPreview::MouseMove(), ScTabViewObj::MousePressed(), ScTabViewObj::MouseReleased(), ScDocFunc::MoveBlock(), ScViewFunc::MoveBlockTo(), ScTableSheetsObj::moveByName(), ScViewFunc::MoveTable(), ScCellsObj::Notify(), ScCellsEnumeration::Notify(), ScModelObj::Notify(), Notify(), ScPreviewShell::Notify(), ScInputHandler::NotifyChange(), ScModelObj::NotifyChanges(), ScDocFunc::NotifyDrawUndo(), ScForbiddenCharsObj::onChange(), ScGridWindow::PagebreakMove(), ScUndoDragDrop::PaintArea(), ScUndoUtil::PaintMore(), ScModelObj::paintTile(), ScFormulaParserObj::parseFormula(), ScAddressConversionObj::ParseUIString(), ScViewFunc::PasteRTF(), ScModelObj::postMouseEvent(), ScTableSheetObj::PrintAreaUndo_Impl(), ScFormulaParserObj::printFormula(), ScTableSheetObj::protect(), ScModelObj::protect(), ScDocFunc::Protect(), ScDocFunc::ProtectDocument(), ScDocFunc::ProtectSheet(), ScViewFunc::ProtectSheet(), ScDocFunc::PutData(), ScDBFunc::Query(), ScDBDocFunc::Query(), ScPreview::RecalcPages(), ScUndoAddRangeData::Redo(), sc::UndoDeleteSparkline::Redo(), sc::UndoDeleteSparklineGroup::Redo(), sc::UndoGroupSparklines::Redo(), sc::UndoInsertSparkline::Redo(), sc::UndoThemeChange::Redo(), sc::UndoUngroupSparklines::Redo(), ScUndoInsertCells::Redo(), ScUndoDeleteCells::Redo(), ScUndoDeleteMulti::Redo(), ScUndoCut::Redo(), ScUndoPaste::Redo(), ScUndoDragDrop::Redo(), ScUndoWidthOrHeight::Redo(), ScUndoAutoFill::Redo(), ScUndoAutoFormat::Redo(), ScUndoReplace::Redo(), ScUndoRefreshLink::Redo(), ScUndoEnterMatrix::Redo(), ScUndoInsertAreaLink::Redo(), ScUndoRemoveAreaLink::Redo(), ScUndoUpdateAreaLink::Redo(), ScUndoIndent::Redo(), ScUndoTransliterate::Redo(), ScUndoClearItems::Redo(), ScUndoRemoveBreaks::Redo(), ScUndoRemoveMerge::Redo(), ScUndoBorder::Redo(), ScUndoEnterData::Redo(), ScUndoEnterValue::Redo(), ScUndoShowHideNote::Redo(), ScUndoDetective::Redo(), ScUndoMakeOutline::Redo(), ScUndoDBData::Redo(), ScUndoImportData::Redo(), ScUndoDataPilot::Redo(), ScUndoChartData::Redo(), ScUndoDataForm::Redo(), ScUndoApplyPageStyle::Redo(), ScUndoDeleteTab::Redo(), ScUndoCopyTab::Redo(), ScUndoImportTab::Redo(), ScUndoScenarioFlags::Redo(), ScDDELinkObj::refresh(), ScAreaLink::Refresh(), ScTableLink::Refresh(), ScDataPilotTableObj::Refreshed_Impl(), ScDBDocFunc::RefreshPivotTableGroups(), ScDBDocFunc::RefreshPivotTables(), ScExternalRefManager::refreshSrcDocument(), ScRedComDialog::ReInit(), ScNamedRangesObj::removeActionLock(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScAnnotationsObj::removeByIndex(), ScAreaLinksObj::removeByIndex(), ScLabelRangesObj::removeByIndex(), ScTableColumnsObj::removeByIndex(), ScTableRowsObj::removeByIndex(), ScChartsObj::removeByName(), ScTableSheetsObj::removeByName(), ScStyleFamilyObj::removeByName(), sc::TablePivotCharts::removeByName(), ScViewFunc::RemoveManualBreaks(), ScOutlineDocFunc::RemoveOutline(), ScDocFunc::RemovePageBreak(), ScDBDocFunc::RemovePivotTable(), ScDBDocFunc::RenameDBRange(), XclExpXmlStream::renameTab(), ScDocFunc::RenameTable(), ScModelObj::render(), ScUndoSelectionStyle::Repeat(), ScUndoEnterMatrix::Repeat(), ScDBDocFunc::RepeatDB(), ScTableSheetsObj::replaceByName(), ScSheetEventsObj::replaceByName(), ScDocFunc::ReplaceConditionalFormat(), ScDocFunc::ReplaceNote(), ScNamedRangesObj::resetActionLocks(), ScDocFunc::ResizeMatrix(), XclExpXmlStream::restoreTabNames(), ScAccessibleHeaderTextData::ScAccessibleHeaderTextData(), ScAccessibleNoteTextData::ScAccessibleNoteTextData(), ScAddressConversionObj::ScAddressConversionObj(), ScAnnotationEditSource::ScAnnotationEditSource(), ScAreaLink::ScAreaLink(), ScAreaLinkObj::ScAreaLinkObj(), ScAreaLinksObj::ScAreaLinksObj(), ScBlockUndo::ScBlockUndo(), ScCellFieldsObj::ScCellFieldsObj(), ScCellFormatsEnumeration::ScCellFormatsEnumeration(), ScCellFormatsObj::ScCellFormatsObj(), ScCellsEnumeration::ScCellsEnumeration(), ScCellsObj::ScCellsObj(), ScCellTextData::ScCellTextData(), ScChartObj::ScChartObj(), ScCondFormatsObj::ScCondFormatsObj(), ScDatabaseRangeObj::ScDatabaseRangeObj(), ScDatabaseRangesObj::ScDatabaseRangesObj(), ScDataPilotDescriptor::ScDataPilotDescriptor(), ScDataPilotDescriptorBase::ScDataPilotDescriptorBase(), ScDataPilotTablesObj::ScDataPilotTablesObj(), ScDDELinkObj::ScDDELinkObj(), ScDDELinksObj::ScDDELinksObj(), ScDocShellModificator::ScDocShellModificator(), ScDocumentConfiguration::ScDocumentConfiguration(), ScDocumentLoader::ScDocumentLoader(), ScDrawDefaultsObj::ScDrawDefaultsObj(), ScDrawPagesObj::ScDrawPagesObj(), ScDrawTransferObj::ScDrawTransferObj(), ScFilterDescriptorBase::ScFilterDescriptorBase(), ScForbiddenCharsObj::ScForbiddenCharsObj(), ScLabelRangeObj::ScLabelRangeObj(), ScLabelRangesObj::ScLabelRangesObj(), ScLinkTargetTypeObj::ScLinkTargetTypeObj(), ScModelObj::ScModelObj(), ScMoveUndo::ScMoveUndo(), ScMultiBlockUndo::ScMultiBlockUndo(), ScNamedRangeObj::ScNamedRangeObj(), ScNamedRangesObj::ScNamedRangesObj(), ScNamePasteDlg::ScNamePasteDlg(), ScPrintAreasDlg::ScPrintAreasDlg(), ScPrintFuncCache::ScPrintFuncCache(), ScScenariosObj::ScScenariosObj(), ScServerObject::ScServerObject(), ScSheetLinksObj::ScSheetLinksObj(), ScStyleFamiliesObj::ScStyleFamiliesObj(), ScStyleFamilyObj::ScStyleFamilyObj(), ScStyleObj::ScStyleObj(), ScTableColumnsObj::ScTableColumnsObj(), ScTableSheetsObj::ScTableSheetsObj(), ScUndoCopyTab::ScUndoCopyTab(), ScUndoCursorAttr::ScUndoCursorAttr(), ScUndoDataForm::ScUndoDataForm(), ScUndoDeleteCells::ScUndoDeleteCells(), ScUndoDeleteContents::ScUndoDeleteContents(), ScUndoDragDrop::ScUndoDragDrop(), ScUndoImportTab::ScUndoImportTab(), ScUndoInsertCells::ScUndoInsertCells(), ScUndoInsertTab::ScUndoInsertTab(), ScUndoInsertTables::ScUndoInsertTables(), ScUndoMakeScenario::ScUndoMakeScenario(), ScUndoPaste::ScUndoPaste(), ScUndoQuery::ScUndoQuery(), ScUndoRemoveLink::ScUndoRemoveLink(), ScUndoSelectionAttr::ScUndoSelectionAttr(), ScUndoWidthOrHeight::ScUndoWidthOrHeight(), ScUniqueCellFormatsEnumeration::ScUniqueCellFormatsEnumeration(), ScUniqueCellFormatsObj::ScUniqueCellFormatsObj(), ScUnnamedDatabaseRangesObj::ScUnnamedDatabaseRangesObj(), ScVbaEventsHelper::ScVbaEventsHelper(), ScViewFunc::SearchAndReplace(), ScModelObj::seekGoal(), ScRedComDialog::SelectCell(), ScTabViewObj::SelectionChanged(), ScOutlineDocFunc::SelectLevel(), sc::DataStream::Set(), ScNamedRangesObj::setActionLocks(), ScStyleObj::setAllPropertiesToDefault(), ScCellRangeObj::setArrayTokens(), ScVbaWorksheet::setAutoFilterMode(), ScUnnamedDatabaseRangesObj::setByTable(), ScDocFunc::SetCellText(), ScExternalSheetCacheObj::setCellValue(), SetChangeComment(), ScUndoInsertCells::SetChangeTrack(), ScUndoDeleteCells::SetChangeTrack(), ScUndoDeleteMulti::SetChangeTrack(), ScUndoCut::SetChangeTrack(), ScUndoPaste::SetChangeTrack(), ScUndoDragDrop::SetChangeTrack(), ScUndoDeleteContents::SetChangeTrack(), ScUndoFillTable::SetChangeTrack(), ScUndoAutoFill::SetChangeTrack(), ScUndoReplace::SetChangeTrack(), ScUndoConversion::SetChangeTrack(), ScUndoRefConversion::SetChangeTrack(), ScUndoEnterMatrix::SetChangeTrack(), ScUndoEnterData::SetChangeTrack(), ScUndoEnterValue::SetChangeTrack(), ScUndoSetCell::SetChangeTrack(), ScUndoInsertTab::SetChangeTrack(), ScUndoInsertTables::SetChangeTrack(), ScUndoDeleteTab::SetChangeTrack(), ScUndoThesaurus::SetChangeTrack(), ScDocFunc::SetConditionalFormatList(), ScVbaName::setContent(), ScDocShellModificator::SetDocumentModified(), ScTabViewShell::SetDrawTextUndo(), ScDocFunc::SetEditCell(), ScTableSheetObj::setExternalName(), ScChartObj::setFastPropertyValue_NoBroadcast(), ScSheetLinkObj::setFileName(), ScFilterDescriptorBase::setFilterFields(), ScFilterDescriptorBase::setFilterFields2(), ScFilterDescriptorBase::setFilterFields3(), ScCellRangeObj::setFormulaArray(), ScDocFunc::SetFormulaCell(), ScDocFunc::SetFormulaCells(), ScCellObj::setFormulaResult(), ScCellObj::setFormulaString(), ScDocFunc::SetLayoutRTL(), ScStyleObj::setName(), ScDocFunc::SetNewRangeNames(), ScDocFunc::SetNormalString(), ScDocFunc::SetNoteText(), ScTableSheetObj::SetOnePropertyValue(), ScTableRowObj::SetOnePropertyValue(), ScStyleObj::setParentStyle(), ScTableSheetObj::setPrintAreas(), ScViewFunc::SetPrintRanges(), ScTableSheetObj::setPrintTitleColumns(), ScTableSheetObj::setPrintTitleRows(), ScDocDefaultsObj::setPropertyToDefault(), ScDocumentConfiguration::setPropertyValue(), ScDataPilotDescriptorBase::setPropertyValue(), ScDatabaseRangeObj::setPropertyValue(), ScDocDefaultsObj::setPropertyValue(), ScModelObj::setPropertyValue(), ScTableRowsObj::setPropertyValue(), ScFormulaParserObj::setPropertyValue(), ScConditionEntryObj::setPropertyValue(), ScStyleObj::setPropertyValue_Impl(), ScDDELinkObj::setResults(), ScTableSheetObj::setScenarioComment(), ScVbaApplication::setScreenUpdating(), ScDataPilotDescriptorBase::setSourceRange(), ScDocFunc::SetStringCell(), ScDocFunc::SetStringOrEditCell(), ScViewFunc::SetStyleSheetToMarked(), ScDocFunc::SetTabBgColor(), ScDocFunc::SetTableVisible(), ScTableSheetObj::setTitleColumns(), ScTableSheetObj::setTitleRows(), ScCellObj::setTokens(), ScNamedRangeObj::setTokens(), ooo::vba::excel::setUpDocumentModules(), ScUndoSetCell::SetValue(), ScDocFunc::SetValueCell(), ScDocFunc::SetValueCells(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ScInputHandler::ShowArgumentsTip(), ScOutlineDocFunc::ShowMarkedOutlines(), ScDocFunc::ShowNote(), ScOutlineDocFunc::ShowOutline(), ScViewFunc::ShowTable(), ScDBDocFunc::Sort(), ScInputHandler::StartTable(), ScDocFunc::TabOp(), ScPreview::TestLastPage(), TransferTab(), ScDocFunc::TransliterateText(), ScDBFunc::UISort(), ScUndoAddRangeData::Undo(), sc::UndoDeleteSparkline::Undo(), sc::UndoDeleteSparklineGroup::Undo(), sc::UndoGroupSparklines::Undo(), sc::UndoInsertSparkline::Undo(), sc::UndoThemeChange::Undo(), sc::UndoUngroupSparklines::Undo(), ScUndoInsertCells::Undo(), ScUndoDeleteCells::Undo(), ScUndoDeleteMulti::Undo(), ScUndoDragDrop::Undo(), ScUndoWidthOrHeight::Undo(), ScUndoAutoFill::Undo(), ScUndoAutoFormat::Undo(), ScUndoReplace::Undo(), ScUndoTabOp::Undo(), ScUndoConversion::Undo(), ScUndoRefConversion::Undo(), ScUndoUseScenario::Undo(), ScUndoRefreshLink::Undo(), ScUndoEnterMatrix::Undo(), ScUndoInsertAreaLink::Undo(), ScUndoRemoveAreaLink::Undo(), ScUndoUpdateAreaLink::Undo(), ScUndoIndent::Undo(), ScUndoTransliterate::Undo(), ScUndoClearItems::Undo(), ScUndoRemoveBreaks::Undo(), ScUndoRemoveMerge::Undo(), ScUndoBorder::Undo(), ScUndoEnterData::Undo(), ScUndoEnterValue::Undo(), ScUndoSetCell::Undo(), ScUndoThesaurus::Undo(), ScUndoReplaceNote::Undo(), ScUndoShowHideNote::Undo(), ScUndoDetective::Undo(), ScUndoDoOutline::Undo(), ScUndoMakeOutline::Undo(), ScUndoOutlineLevel::Undo(), ScUndoOutlineBlock::Undo(), ScUndoRemoveAllOutlines::Undo(), ScUndoAutoOutline::Undo(), ScUndoSubTotals::Undo(), ScUndoQuery::Undo(), ScUndoDBData::Undo(), ScUndoImportData::Undo(), ScUndoRepeatDB::Undo(), ScUndoDataPilot::Undo(), ScUndoConsolidate::Undo(), ScUndoChartData::Undo(), ScUndoApplyPageStyle::Undo(), ScUndoInsertTab::Undo(), ScUndoInsertTables::Undo(), ScUndoDeleteTab::Undo(), ScUndoCopyTab::Undo(), ScUndoMakeScenario::Undo(), ScUndoImportTab::Undo(), ScUndoScenarioFlags::Undo(), ScMoveUndo::UndoRef(), ScNamedRangesObj::unlock(), ScDocFunc::UnmergeCells(), ScViewFunc::Unprotect(), ScDocFunc::Unprotect(), ScChartObj::Update_Impl(), ScInputHandler::UpdateAdjust(), ScPreview::UpdateDrawView(), ScDBDocFunc::UpdateImport(), ScTabView::UpdatePageBreakData(), ScDBDocFunc::UpdatePivotTable(), ScLinkedAreaDlg::UpdateSourceRanges(), XclExpXmlStream::validateTabNames(), AddressWalkerWriter::writeFormulas(), ScAccessibleHeaderTextData::~ScAccessibleHeaderTextData(), ScAccessibleNoteTextData::~ScAccessibleNoteTextData(), ScAddressConversionObj::~ScAddressConversionObj(), ScAnnotationEditSource::~ScAnnotationEditSource(), ScAnnotationObj::~ScAnnotationObj(), ScAnnotationsObj::~ScAnnotationsObj(), ScAreaLinkObj::~ScAreaLinkObj(), ScAreaLinksObj::~ScAreaLinksObj(), ScCellFieldsObj::~ScCellFieldsObj(), ScCellFormatsEnumeration::~ScCellFormatsEnumeration(), ScCellFormatsObj::~ScCellFormatsObj(), ScCellsEnumeration::~ScCellsEnumeration(), ScCellsObj::~ScCellsObj(), ScCellTextData::~ScCellTextData(), ScChartObj::~ScChartObj(), ScChartsObj::~ScChartsObj(), ScCondFormatsObj::~ScCondFormatsObj(), ScDatabaseRangeObj::~ScDatabaseRangeObj(), ScDatabaseRangesObj::~ScDatabaseRangesObj(), ScDataPilotDescriptorBase::~ScDataPilotDescriptorBase(), ScDataPilotTablesObj::~ScDataPilotTablesObj(), ScDDELinkObj::~ScDDELinkObj(), ScDDELinksObj::~ScDDELinksObj(), ScDocDefaultsObj::~ScDocDefaultsObj(), ScDocShellModificator::~ScDocShellModificator(), ScDocumentConfiguration::~ScDocumentConfiguration(), ScDrawDefaultsObj::~ScDrawDefaultsObj(), ScDrawPagesObj::~ScDrawPagesObj(), ScFilterDescriptorBase::~ScFilterDescriptorBase(), ScForbiddenCharsObj::~ScForbiddenCharsObj(), ScFormulaParserObj::~ScFormulaParserObj(), ScLabelRangeObj::~ScLabelRangeObj(), ScLabelRangesObj::~ScLabelRangesObj(), ScLinkTargetTypeObj::~ScLinkTargetTypeObj(), ScLinkTargetTypesObj::~ScLinkTargetTypesObj(), ScModelObj::~ScModelObj(), ScNamedRangeObj::~ScNamedRangeObj(), ScNamedRangesObj::~ScNamedRangesObj(), ScPreviewShell::~ScPreviewShell(), ScScenariosObj::~ScScenariosObj(), ScSheetEventsObj::~ScSheetEventsObj(), ScSheetLinkObj::~ScSheetLinkObj(), ScSheetLinksObj::~ScSheetLinksObj(), ScStyleFamiliesObj::~ScStyleFamiliesObj(), ScStyleFamilyObj::~ScStyleFamilyObj(), ScStyleObj::~ScStyleObj(), ScTableColumnsObj::~ScTableColumnsObj(), ScTableRowsObj::~ScTableRowsObj(), ScTableSheetsObj::~ScTableSheetsObj(), ScUndoCursorAttr::~ScUndoCursorAttr(), ScUndoSelectionAttr::~ScUndoSelectionAttr(), ScUniqueCellFormatsEnumeration::~ScUniqueCellFormatsEnumeration(), ScUniqueCellFormatsObj::~ScUniqueCellFormatsObj(), ScUnnamedDatabaseRangesObj::~ScUnnamedDatabaseRangesObj(), sc::TablePivotChart::~TablePivotChart(), and sc::TablePivotCharts::~TablePivotCharts().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 446 of file docsh3.cxx.
References m_pDocument.
ScFormatSaveData * ScDocShell::GetFormatSaveData | ( | ) |
Definition at line 3128 of file docsh.cxx.
References m_pFormatSaveData.
Referenced by ScModelObj::GetFormatSaveData().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 266 of file docsh.cxx.
References SfxObjectShell::GetHiddenInformationState(), m_pDocument, and nState.
|
static |
Definition at line 2847 of file docsh.cxx.
References pFilterHtml.
Referenced by ScFilterOptionsObj::execute().
ScLkUpdMode ScDocShell::GetLinkUpdateModeState | ( | ) | const |
Definition at line 137 of file docsh4.cxx.
References GetDocument(), ScAppOptions::GetLinkMode(), ScDocument::GetLinkMode(), SfxObjectShell::GetMedium(), SfxShell::GetName(), SfxObjectShell::GetSharedFileURL(), SfxObjectShell::IsDocShared(), SvtSecurityOptions::isTrustedLocationUriForUpdatingLinks(), LM_ALWAYS, LM_NEVER, LM_ON_DEMAND, LM_UNKNOWN, m_nCanUpdate, and SC_MOD.
Referenced by Execute(), and SetInitialLinkUpdate().
|
inline |
Definition at line 339 of file docsh.hxx.
Referenced by ScModelObj::isActionLocked(), and ScModelObj::resetActionLocks().
|
static |
Definition at line 2862 of file docsh.cxx.
References pFilterLotus.
Referenced by ScFilterOptionsObj::execute().
|
inline |
Definition at line 432 of file docsh.hxx.
References SfxObjectShell::GetModel().
Referenced by ScVbaRange::Activate(), ScChartsObj::addNewByName(), sc::TablePivotCharts::addNewByName(), ScViewFunc::ApplySelectionPattern(), ScOptSolverDlg::CallSolver(), CompareDocument(), ScViewFunc::DeleteContents(), ScTabViewShell::ExecStyle(), Execute(), ScVbaRange::ExportAsFixedFormat(), ScViewFunc::FillAuto(), ScVbaChartObjects::getChartObjectNames(), getModelFromXIf(), ScVbaRange::getPageBreak(), getScRangeListForAddress(), ScVbaRange::getStyle(), ooo::vba::excel::GetUnnamedDataBaseRanges(), ScVbaRange::getWorksheet(), ScVbaRange::GoalSeek(), ScXMLImportWrapper::Import(), LoadXML(), ScServiceProvider::MakeInstance(), FuSelection::MouseButtonUp(), Notify(), HelperNotifyChanges::NotifyIfChangesListeners(), ScViewFunc::PasteDraw(), ScViewFunc::PasteFromClip(), ScVbaRange::PasteSpecial(), PostPaint(), ScViewFunc::PostPasteFromClip(), ScVbaRange::PrintOut(), ScTabViewShell::ScTabViewShell(), ScVbaRange::Select(), ScTabView::SetCursor(), ScVbaRange::setPageBreak(), ooo::vba::excel::setUpDocumentModules(), ScViewFunc::SetWidthOrHeight(), ScTabView::TabChanged(), and ScShareDocumentDlg::UpdateView().
std::unique_ptr< ScDBData > ScDocShell::GetOldAutoDBRange | ( | ) |
Definition at line 364 of file docsh5.cxx.
References m_pOldAutoDBRange.
Referenced by ScDBFuncUndo::ScDBFuncUndo().
|
inline |
Definition at line 358 of file docsh.hxx.
Referenced by ScDrawView::CalcNormScale(), ScViewData::CalcPPT(), ScTabView::CalcZoom(), ConvertFrom(), ScPreview::DoPrint(), ScPreview::DragMove(), ScPreview::GetOptimalZoom(), ScPrintFunc::InitModes(), ScViewFunc::ModifyCellSize(), ScPreview::MouseButtonDown(), ScPreview::MouseButtonUp(), ScPreview::MouseMove(), ScViewData::ReadExtOptions(), ScSizeDeviceProvider::ScSizeDeviceProvider(), ScPreview::SetZoom(), and ScViewData::WriteExtOptions().
|
static |
Definition at line 2842 of file docsh.cxx.
References pFilterSc50.
Referenced by ScDocumentLoader::GetFilterName().
void ScDocShell::GetPageOnFromPageStyleSet | ( | const SfxItemSet * | pStyleSet, |
SCTAB | nCurTab, | ||
bool & | rbHeader, | ||
bool & | rbFooter | ||
) |
Definition at line 2375 of file docsh4.cxx.
References ATTR_PAGE_FOOTERSET(), ATTR_PAGE_HEADERSET(), ATTR_PAGE_ON(), SfxItemSet::Get(), SfxStyleSheetBase::GetItemSet(), and m_pDocument.
Referenced by ExecutePageStyle(), and GetStatePageStyle().
SfxPrinter * ScDocShell::GetPrinter | ( | bool | bCreateIfNotExist = true | ) |
Definition at line 451 of file docsh3.cxx.
References m_pDocument.
Referenced by AdjustPrintZoom(), ScUndoPrintZoom::DoChange(), ScUndoPrintRange::DoChange(), ScPreviewShell::Execute(), ScTableSheetObj::getColumnPageBreaks(), GetDocStat(), ScPreviewShell::GetPrinter(), ScTabViewShell::GetPrinter(), ScDocumentConfiguration::getPropertyValue(), ScStyleObj::getPropertyValue_Impl(), ScModelObj::getRenderer(), ScTableSheetObj::getRowPageBreaks(), NotifyStyle(), PageStyleModified(), ScTableSheetObj::PrintAreaUndo_Impl(), ScUndoApplyPageStyle::Redo(), ScPrintFuncCache::ScPrintFuncCache(), ScSizeDeviceProvider::ScSizeDeviceProvider(), ScTableSheetObj::SetOnePropertyValue(), ScViewFunc::SetPrintRanges(), SetPrintZoom(), ScDocumentConfiguration::setPropertyValue(), ScStyleObj::setPropertyValue_Impl(), ScUndoApplyPageStyle::Undo(), and ScTabView::UpdatePageBreakData().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 3406 of file docsh.cxx.
References ScChangeTrack::GetProtection(), ScChangeTrack::IsProtected(), and m_pDocument.
OutputDevice * ScDocShell::GetRefDevice | ( | ) |
Definition at line 466 of file docsh3.cxx.
References m_pDocument.
Referenced by CalcOutputFactor(), ScCellTextData::GetTextForwarder(), ScAccessiblePreviewHeaderCellTextData::GetTextForwarder(), ScAccessibleNoteTextData::GetTextForwarder(), and UpdateFontList().
|
private |
Definition at line 254 of file docsh.cxx.
References GetBestViewShell(), ScMarkData::GetFirstSelected(), ScViewData::GetMarkData(), and ScTabView::GetViewData().
Referenced by ConvertTo(), and DBaseExport().
ScSheetSaveData * ScDocShell::GetSheetSaveData | ( | ) |
Definition at line 3120 of file docsh.cxx.
References m_pSheetSaveData.
Referenced by ScModelObj::GetSheetSaveData().
|
static |
Definition at line 2653 of file docsh4.cxx.
References SfxObjectShell::GetFirst(), and SfxObjectShell::GetNext().
Referenced by ScTabViewShell::ExecuteTable(), and ScViewFunc::MoveTable().
void ScDocShell::GetState | ( | SfxItemSet & | rSet | ) |
Definition at line 2076 of file docsh4.cxx.
References bVisible, SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), LanguageTag::getBcp47(), GetBestViewShell(), GetDocument(), ScDocument::GetLanguage(), SvtLanguageTable::GetLanguageString(), SfxObjectShell::GetObjectShell(), GetViewBindings(), comphelper::LibreOfficeKit::isActive(), SfxObjectShell::IsDocShared(), SfxObjectShell::isExportLocked(), ScChangeTrack::IsProtected(), SfxObjectShell::IsReadOnly(), LANGUAGE_NONE, m_pDocument, m_pImpl, SfxWhichIter::NextWhich(), ScDocument::OFF, SfxItemSet::Put(), rSet, sfx2::SfxNotebookBar::StateMethod(), and u.
void ScDocShell::GetStatePageStyle | ( | SfxItemSet & | rSet, |
SCTAB | nCurTab | ||
) |
Definition at line 2039 of file docsh4.cxx.
References aStr, SfxItemSet::DisableItem(), SfxStyleSheetBasePool::Find(), SfxWhichIter::FirstWhich(), SfxStyleSheetBase::GetItemSet(), GetPageOnFromPageStyleSet(), m_bFooterOn, m_bHeaderOn, m_pDocument, SfxWhichIter::NextWhich(), SfxItemSet::Put(), and rSet.
Referenced by ScPreviewShell::GetState(), and ScTabViewShell::GetState().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 194 of file docsh6.cxx.
References m_pDocument.
Referenced by LoadStyles(), and LoadStylesArgs().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 222 of file docsh.cxx.
References GetBestViewShell(), SdrPageView::GetPage(), ScTabView::GetScDrawView(), SdrPage::getSdrPageProperties(), SdrPaintView::GetSdrPageView(), SdrPageProperties::GetTheme(), ScViewData::GetView(), and ScTabView::GetViewData().
|
overridevirtual |
Reimplemented from SfxShell.
Definition at line 2968 of file docsh.cxx.
References m_pDocument.
Referenced by ScDBDocFunc::AddDBRange(), ScNameDefDlg::AddPushed(), ScViewFunc::AppendTable(), sc::ThemeColorChanger::apply(), ScDocFunc::ApplyAttributes(), ScDBFunc::ApplyAutoFilter(), ScHelperFunctions::ApplyBorder(), ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScDocFunc::ApplyStyle(), ScDocFunc::AutoFormat(), ScOutlineDocFunc::AutoOutline(), ScStatisticsInputOutputDialog::CalculateInputAndWriteToOutput(), ScStatisticsTwoVariableDialog::CalculateInputAndWriteToOutput(), ScDocFunc::ChangeIndent(), ScDocFunc::ChangeSparkline(), ScDocFunc::ChangeSparklineGroupAttributes(), ScDocFunc::ClearItems(), ScAreaLink::Closed(), ScTabViewShell::Construct(), ScDocFunc::ConvertFormulaToValue(), ConvertFrom(), ScDBDocFunc::CreatePivotTable(), ScViewFunc::CutToClip(), ScViewFunc::DataFormPutData(), ScDBDocFunc::DataPilotUpdate(), ScDocFunc::DeleteCell(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteContents(), ScDBDocFunc::DeleteDBRange(), ScDrawView::DeleteMarked(), ScViewFunc::DeleteMulti(), ScDocFunc::DeleteSparkline(), ScDocFunc::DeleteSparklineGroup(), ScDocFunc::DeleteTable(), ScDocFunc::DetectiveAddError(), ScDocFunc::DetectiveAddPred(), ScDocFunc::DetectiveAddSucc(), ScDocFunc::DetectiveDelAll(), ScDocFunc::DetectiveDelPred(), ScDocFunc::DetectiveDelSucc(), ScDocFunc::DetectiveMarkInvalid(), ScDocFunc::DetectiveRefresh(), DoConsolidate(), ScDBDocFunc::DoImport(), ScViewFunc::DoRefConversion(), ScViewFunc::DoSheetConversion(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScViewFunc::DoThesaurus(), ScGridWindow::DropTransferObj(), ScDocFunc::EndListAction(), ScImportExport::EndPaste(), ScViewFunc::EnterData(), ScDocFunc::EnterListAction(), ScDocFunc::EnterMatrix(), ScViewFunc::EnterValue(), ScDrawShell::ExecDrawFunc(), ScTabViewShell::ExecStyle(), Execute(), ScCellShell::ExecuteDB(), ScCellShell::ExecuteEdit(), ExecutePageStyle(), ScTabViewShell::ExecuteTable(), ScDocFunc::FillAuto(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), ScViewFunc::FillTab(), ScDrawView::FitToCellSize(), FuInsertChart::FuInsertChart(), ScRandomNumberGeneratorDialog::GenerateNumbers(), GetDBData(), ScDocFunc::GroupSparklines(), ScDBFunc::HideAutoFilter(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScViewFunc::HideTable(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), ScDocFunc::InsertAreaLink(), ScDocFunc::InsertCells(), ScViewFunc::InsertCurrentTime(), ScDocFunc::InsertNameList(), ScDocFunc::InsertPageBreak(), ScDocFunc::InsertSparklines(), ScDocFunc::InsertTable(), ScViewFunc::InsertTables(), lcl_PutDataArray(), lcl_PutFormulaArray(), Load(), ScOutlineDocFunc::MakeOutline(), ScDBFunc::MakePivotTable(), MakeScenario(), ScDocFunc::MergeCells(), ScDBDocFunc::ModifyAllDBData(), ScDocFunc::ModifyAllRangeNames(), ScDBDocFunc::ModifyDBData(), ModifyScenario(), ScGridWindow::MouseButtonUp(), ScPreview::MouseButtonUp(), ScDocFunc::MoveBlock(), ScViewFunc::MoveBlockTo(), ScViewFunc::MoveTable(), MoveTable(), Notify(), ScDocFunc::NotifyDrawUndo(), ScGridWindow::PagebreakMove(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), ScViewFunc::PasteRTF(), ScSamplingDialog::PerformSampling(), ScTableSheetObj::PrintAreaUndo_Impl(), ScDocFunc::ProtectDocument(), ScDocFunc::ProtectSheet(), ScViewFunc::ProtectSheet(), ScDBDocFunc::Query(), ScAreaLink::Refresh(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScViewFunc::RemoveManualBreaks(), ScOutlineDocFunc::RemoveOutline(), ScDocFunc::RemovePageBreak(), ScDBDocFunc::RemovePivotTable(), ScDBDocFunc::RenameDBRange(), ScDocFunc::RenameTable(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ScDocFunc::ReplaceConditionalFormat(), ScDocFunc::ReplaceNote(), ScSpellDialogChildWindow::Reset(), ScDocFunc::ResizeMatrix(), ScViewFunc::SearchAndReplace(), ScOutlineDocFunc::SelectLevel(), ScDocFunc::SetConditionalFormatList(), ScTabViewShell::SetDrawTextUndo(), ScDocFunc::SetEditCell(), ScDocFunc::SetFormulaCell(), ScDocFunc::SetFormulaCells(), ScDocFunc::SetLayoutRTL(), ScDrawView::SetMarkedOriginalSize(), ScDocFunc::SetNewRangeNames(), ScDocFunc::SetNormalString(), ScViewFunc::SetPrintRanges(), SetPrintZoom(), ScModelObj::setPropertyValue(), ScDocFunc::SetStringCell(), ScViewFunc::SetStyleSheetToMarked(), ScDocFunc::SetTabBgColor(), ScDocFunc::SetTableVisible(), ScDocFunc::SetValueCell(), ScDocFunc::SetValueCells(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ScDBFunc::ShowDataPilotSourceData(), ScOutlineDocFunc::ShowMarkedOutlines(), ScDocFunc::ShowNote(), ScOutlineDocFunc::ShowOutline(), ScViewFunc::ShowTable(), ScDBDocFunc::Sort(), FuText::StopEditMode(), ScDocFunc::TabOp(), ScDBFunc::ToggleAutoFilter(), ScDocFunc::TransliterateText(), ScDocFunc::UngroupSparklines(), ScDocFunc::UnmergeCells(), ScViewFunc::Unprotect(), ScChartObj::Update_Impl(), ScDetectiveFunc::UpdateAllComments(), ScDBDocFunc::UpdatePivotTable(), and UseScenario().
SfxBindings * ScDocShell::GetViewBindings | ( | ) |
Definition at line 2642 of file docsh4.cxx.
References GetBestViewShell(), SfxViewFrame::GetBindings(), and SfxViewShell::GetViewFrame().
Referenced by ScOutlineDocFunc::AutoOutline(), ScDocFunc::ChangeIndent(), ScDocFunc::DeleteTable(), ScDocFunc::DetectiveAddError(), ScDocFunc::DetectiveAddPred(), ScDocFunc::DetectiveAddSucc(), ScDocFunc::DetectiveDelAll(), ScDocFunc::DetectiveDelPred(), ScDocFunc::DetectiveDelSucc(), Execute(), ExecutePageStyle(), ScTabViewShell::ExecuteSave(), GetState(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScDocFunc::InsertAreaLink(), ScDocFunc::InsertPageBreak(), ScTableSheetObj::link(), ScOutlineDocFunc::MakeOutline(), ScDocFunc::MergeCells(), ScDBFunc::ModifiedAutoFilter(), ModifyScenario(), Notify(), NotifyStyle(), PageStyleModified(), ScTableSheetObj::PrintAreaUndo_Impl(), ScOutlineDocFunc::RemoveAllOutlines(), ScStyleFamilyObj::removeByName(), ScOutlineDocFunc::RemoveOutline(), ScDocFunc::RemovePageBreak(), ScOutlineDocFunc::SelectLevel(), SetChangeRecording(), SetDrawModified(), ScDocFunc::SetLayoutRTL(), ScStyleObj::setName(), ScTableSheetObj::SetOnePropertyValue(), SetPrintZoom(), ScModelObj::setPropertyValue(), ScOutlineDocFunc::ShowMarkedOutlines(), and ScOutlineDocFunc::ShowOutline().
|
static |
Definition at line 2607 of file docsh4.cxx.
References SfxViewShell::Current(), and ScTabView::GetViewData().
Referenced by ScExternalRefLink::DataChanged(), ScUndoConversion::DoChange(), Execute(), XclExpXmlStream::exportDocument(), ScModelObj::getCellCursor(), GetCurTab(), ScModelObj::getDataArea(), ScModelObj::getDocumentSize(), ScModelObj::getPart(), ScModelObj::getPartHash(), ScModelObj::getPartInfo(), ScModelObj::getPartName(), ScModelObj::getPointer(), ScModelObj::getPostIts(), ScModelObj::getPostItsPos(), ScModelObj::getRowColumnHeaders(), ScModelObj::getSelection(), ScModelObj::getSheetGeometryData(), ScDocument::GetTiledRenderingArea(), ScModelObj::getViewRenderState(), ScFormulaReferenceHelper::HideReference(), sc::DataStream::ImportData(), ScFormulaReferenceHelper::Init(), ScModelObj::isMimeTypeSupported(), lcl_SelectAll(), LOKCommentNotify(), sc::DataStream::MakeToolbarVisible(), MergeSharedDocument(), Notify(), ScExternalRefManager::refreshAllRefCells(), ScModelObj::resetSelection(), ScInsertCellDlg::ScInsertCellDlg(), ScNamePasteDlg::ScNamePasteDlg(), ScRedComDialog::SelectCell(), ScModelObj::setClientVisibleArea(), ScModelObj::setClientZoom(), ScModelObj::setClipboard(), ScModelObj::setOutlineState(), ScModelObj::setPart(), ScModelObj::setTextSelection(), ScFormulaReferenceHelper::ShowFormulaReference(), ScDocFunc::ShowNote(), and ScFormulaReferenceHelper::ShowSimpleReference().
const tools::Rectangle & SfxObjectShell::GetVisArea | ( | ) | const |
Referenced by Draw().
|
virtual |
Reimplemented from SfxObjectShell.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 2222 of file docsh4.cxx.
References ASPECT_CONTENT, ASPECT_THUMBNAIL, SfxObjectShell::GetCreateMode(), SfxObjectShell::GetVisArea(), Size::Height(), m_pDocument, ScDrawLayer::MirrorRectRTL(), tools::Rectangle::SetBottom(), tools::Rectangle::SetRight(), SnapVisArea(), and Size::Width().
|
static |
Definition at line 2852 of file docsh.cxx.
References pFilterHtmlWebQ.
Referenced by ScFilterOptionsObj::execute(), and ScAreaLink::Refresh().
|
static |
Definition at line 2877 of file docsh.cxx.
References pFilterDBase, pFilterDif, pFilterEx4Temp, pFilterExcel4, pFilterHtml, pFilterLotus, pFilterRtf, pFilterSylk, and SC_TEXT_CSV_FILTER_NAME.
Referenced by ScTableLink::Refresh().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 3341 of file docsh.cxx.
References ScChangeTrack::IsProtected(), and m_pDocument.
Referenced by ScModelObj::getPropertyValue(), and ScModelObj::setPropertyValue().
|
staticprivate |
SfxInterface initializer.
|
private |
Definition at line 94 of file docsh2.cxx.
References LanguageTag::convertToLanguageType(), SdrModel::GetBitmapList(), SvxAsianConfig::GetCharDistanceCompression(), SdrModel::GetColorList(), SdrModel::GetDashList(), SdrModel::GetGradientList(), SdrModel::GetHatchList(), SdrModel::GetLineEndList(), SdrModel::GetPatternList(), comphelper::getProcessComponentContext(), SvxAsianConfig::GetStartEndCharLocales(), SvxAsianConfig::GetStartEndChars(), XColorList::GetStdColorList(), utl::ConfigManager::IsFuzzing(), SvxAsianConfig::IsKerningWesternTextOnly(), m_pDocFunc, m_pDocument, SvxForbiddenCharactersTable::makeForbiddenCharactersTable(), ScDocFunc::NotifyDrawUndo(), SfxShell::PutItem(), SdrModel::SetNotifyUndoActionHdl(), and UpdateFontList().
Referenced by ConvertFrom(), InitNew(), Load(), LoadFrom(), and MakeDrawLayer().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 41 of file docsh2.cxx.
References aURL, CalcOutputFactor(), o3tl::convert(), ScFormatFilter::Get(), ScFormatFilterPlugin::GetOrcusFilters(), ScOrcusFilters::importODS_Styles(), InitItems(), SfxObjectShell::InitNew(), InitOptions(), m_pDocument, o3tl::mm100, ScGlobal::nStdRowHeight, OLE_STD_CELLS_X, OLE_STD_CELLS_Y, SetVisAreaOrSize(), STD_COL_WIDTH, and o3tl::twip.
|
private |
Definition at line 403 of file docsh3.cxx.
References ScModule::GetDocOptions(), ScModule::GetFormulaOptions(), ScModule::GetSpellSettings(), ScModule::GetViewOptions(), utl::ConfigManager::IsFuzzing(), m_pDocument, SC_MOD, ScDocOptions::SetAutoSpell(), ScDocOptions::SetDate(), SetFormulaOptions(), ScDocOptions::SetStdPrecision(), ScDocOptions::SetYear2000(), and SvNumberFormatter::UNLIMITED_PRECISION.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 3335 of file docsh.cxx.
References m_pDocument.
Referenced by ScModelObj::getPropertyValue(), and SetChangeRecording().
|
staticprivate |
Definition at line 205 of file docsh8.cxx.
References INetURLObject::GetMainURL(), comphelper::getProcessComponentContext(), ucbhelper::Content::isDocument(), INetURLObject::NONE, and TOOLS_WARN_EXCEPTION.
Referenced by ConvertTo().
|
inline |
Definition at line 381 of file docsh.hxx.
Referenced by ScDocShellModificator::~ScDocShellModificator().
bool ScDocShell::IsEditable | ( | ) | const |
Definition at line 96 of file docsh5.cxx.
References SfxObjectShell::IsReadOnly(), and m_pDocument.
Referenced by ScDocFunc::SetWidthOrHeight().
|
inline |
Definition at line 351 of file docsh.hxx.
Referenced by ScTabViewShell::Construct(), and ScModelObj::getPropertyValue().
|
inline |
Definition at line 354 of file docsh.hxx.
Referenced by SetDocumentModified().
bool ScDocShell::IsOle | ( | ) | const |
Definition at line 147 of file docsh6.cxx.
References SfxObjectShell::GetCreateMode().
Referenced by ScTabViewShell::GetDialogParent(), and ScViewData::IsOle().
|
inline |
Definition at line 326 of file docsh.hxx.
Referenced by ScSimpleUndo::IsPaintLocked(), and ScUndoUtil::MarkSimpleBlock().
|
inline |
Definition at line 384 of file docsh.hxx.
Referenced by ScTabViewShell::Construct().
|
staticprivate |
Definition at line 186 of file docsh8.cxx.
References ucbhelper::Content::executeCommand(), INetURLObject::GetMainURL(), comphelper::getProcessComponentContext(), and INetURLObject::NONE.
Referenced by ConvertTo(), DBaseExport(), and MoveFile().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 606 of file docsh.cxx.
References aURL, CalcOutputFactor(), SfxUndoManager::Clear(), SfxObjectShell::FinishedLoading(), ScFormatFilter::Get(), SfxMedium::GetError(), ScFormatFilterPlugin::GetOrcusFilters(), GetUndoManager(), ScOrcusFilters::importODS_Styles(), InitItems(), InitOptions(), SfxObjectShell::IsOwnStorageFormat(), SfxObjectShell::Load(), LoadXML(), m_bIsEmpty, m_pDocument, SfxMedium::SetError(), SfxObjectShell::SetError(), SetInitialLinkUpdate(), and SVSTREAM_FILEFORMAT_ERROR.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1697 of file docsh.cxx.
References SfxObjectShell::FinishedLoading(), ScFormatFilter::Get(), SfxMedium::GetFilter(), ScFormatFilterPlugin::GetOrcusFilters(), ScOrcusFilters::importCSV(), ScOrcusFilters::importGnumeric(), ScOrcusFilters::importODS(), ScOrcusFilters::importXLSX(), and m_pDocument.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1119 of file docsh.cxx.
References GetActiveDialogParent(), InitItems(), SfxObjectShell::LoadFrom(), LoadXML(), m_pDocument, and SetInitialLinkUpdate().
|
private |
References SFX_DECL_INTERFACE.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 229 of file docsh6.cxx.
References GetStyleSheetPool(), Grid, lcl_AdjustPool(), Left, SfxObjectShell::LoadStyles(), m_pDocument, MAXTAB, PostPaint(), and UpdateAllRowHeights().
void ScDocShell::LoadStylesArgs | ( | ScDocShell & | rSource, |
bool | bReplace, | ||
bool | bCellStyles, | ||
bool | bPageStyles | ||
) |
Definition at line 245 of file docsh6.cxx.
References aName, SfxStyleSheetBasePool::Find(), GetDocument(), SfxStyleSheetBase::GetFamily(), SfxStyleSheetBase::GetItemSet(), SfxStyleSheetBase::GetMask(), SfxStyleSheetBase::GetName(), ScDocument::GetStyleSheetPool(), GetStyleSheetPool(), Grid, i, lcl_AdjustPool(), Left, m_pDocument, ScStyleSheetPool::Make(), MAXTAB, PostPaint(), SfxItemSet::PutExtended(), and UpdateAllRowHeights().
Referenced by ScStyleFamiliesObj::loadStylesFromDocShell().
|
private |
Definition at line 507 of file docsh.cxx.
References AfterXMLLoading(), All, BCA_BRDCST_ALWAYS, BeforeXMLLoading(), comphelper::ConfigurationChanges::create(), DoHardRecalc(), ERRCODE_NONE, GetActiveDialogParent(), SfxObjectShell::GetCreateMode(), SfxBaseModel::getDocumentProperties(), ScXMLImportWrapper::GetImportPostProcessData(), GetModel(), utl::ConfigManager::getProductName(), ScXMLImportWrapper::Import(), m_pDocument, RECALC_ALWAYS, RECALC_ASK, RECALC_NEVER, RET_YES, SC_MOD, ScResId(), SfxMedium::SetError(), ScFormulaOptions::SetODFRecalcOptions(), and Styles.
Referenced by ConvertFrom(), Load(), and LoadFrom().
void ScDocShell::LockDocument | ( | ) |
Definition at line 327 of file docsh3.cxx.
References LockDocument_Impl(), LockPaint_Impl(), and m_nDocumentLock.
Referenced by ScModelObj::addActionLock().
|
private |
Definition at line 278 of file docsh3.cxx.
References m_nDocumentLock, m_pDocument, and SdrModel::setLock().
Referenced by LockDocument(), and SetLockCount().
void ScDocShell::LockPaint | ( | ) |
Definition at line 317 of file docsh3.cxx.
References LockPaint_Impl().
Referenced by ScOptSolverDlg::CallSolver(), ScTabViewShell::ExecuteUndo(), ScModelObj::lockControllers(), MergeDocument(), and ScVbaRange::visitArray().
|
private |
Definition at line 234 of file docsh3.cxx.
References m_pPaintLockData.
Referenced by LockDocument(), and LockPaint().
|
static |
Definition at line 2539 of file docsh4.cxx.
References Add, ScAddress::Col(), ScViewData::GetActivePart(), ScViewData::GetActiveWin(), ScPostIt::GetAuthor(), ScPostIt::GetDate(), SfxViewShell::GetDocId(), SfxViewShell::GetFirst(), ScPostIt::GetId(), ScViewData::GetMergeSizePixel(), ScViewData::GetMergeSizePrintTwips(), SfxViewShell::GetNext(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScViewData::GetPrintTwipsPos(), ScViewData::GetScrPos(), ScPostIt::GetText(), GetViewData(), ScViewData::GetViewShell(), Point::getX(), Point::getY(), comphelper::LibreOfficeKit::isActive(), comphelper::LibreOfficeKit::isCompatFlagSet(), ScDocument::IsDocVisible(), comphelper::LibreOfficeKit::isTiledAnnotations(), SfxViewShell::libreOfficeKitViewCallback(), Modify, nType, Remove, ScAddress::Row(), stringstream, ScAddress::Tab(), and tools::Rectangle::toString().
Referenced by ScColumn::CopyOneCellFromClip(), ScUndoReplaceNote::DoInsertNote(), ScUndoReplaceNote::DoRemoveNote(), and ScDocFunc::ReplaceNote().
ScDrawLayer * ScDocShell::MakeDrawLayer | ( | ) |
Definition at line 169 of file docsh2.cxx.
References InitItems(), m_nDocumentLock, m_pDocument, and SdrModel::setLock().
Referenced by ScChartsObj::addNewByName(), sc::TablePivotCharts::addNewByName(), sc::ThemeColorChanger::apply(), ConvertFrom(), ScDocFunc::DetectiveAddError(), ScDocFunc::DetectiveAddPred(), ScDocFunc::DetectiveAddSucc(), ScDocFunc::DetectiveMarkInvalid(), ScDocFunc::DetectiveRefresh(), ScViewFunc::EditNote(), ScTabViewShell::Execute(), ScTableSheetObj::getDrawPage(), ScDrawPagesObj::GetObjectByIndex_Impl(), ScImportExport::HTML2Doc(), ScViewFunc::ImportTables(), ScTransferObj::InitDocShell(), ScTabView::MakeDrawLayer(), ScServiceProvider::MakeInstance(), ScViewFunc::MoveTable(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), ScPreviewShell::ReadUserDataSequence(), ScTabViewShell::SetCurSubShell(), and ScModelObj::setPropertyValue().
SCTAB ScDocShell::MakeScenario | ( | SCTAB | nTab, |
const OUString & | rName, | ||
const OUString & | rComment, | ||
const Color & | rColor, | ||
ScScenarioFlags | nFlags, | ||
ScMarkData & | rMark, | ||
bool | bRecord = true |
||
) |
test for filter / buttons / merging
Definition at line 793 of file docsh5.cxx.
References SfxUndoManager::AddUndoAction(), CopyAll, ScPatternAttr::GetItemSet(), GetUndoManager(), Grid, ScMarkData::IsMultiMarked(), m_pDocument, ScMarkData::MarkToMulti(), NONE, PostPaint(), PostPaintExtras(), SfxItemSet::Put(), SC_TAB_INSERTED, Scenario, ScMarkData::SelectOneTable(), ScDocShellModificator::SetDocumentModified(), SfxGetpApp(), and ShowFrame.
Referenced by ScScenariosObj::addNewByName(), ScViewFunc::MakeScenario(), and ScUndoMakeScenario::Redo().
void ScDocShell::MergeDocument | ( | ScDocument & | rOtherDoc, |
bool | bShared = false , |
||
bool | bCheckDuplicates = false , |
||
sal_uLong | nOffset = 0 , |
||
ScChangeActionMergeMap * | pMergeMap = nullptr , |
||
bool | bInverseMap = false |
||
) |
functions to the DocShell
nothing to do - error notification?
Inquiry if the documents where equal before the change tracking !!!
nothing to do - error notification?
does it need to be determined yet if really deleted in this document?
??? revert deletion action ??? ??? save action somewhere else ???
Take over date/author/comment of the source action!
what happens at actions, which were accepted in this document??? error notification or what??? or execute reject change normally
Test if it was at the very bottom in the document, then automatic row insert ???
this one is bungled now
Definition at line 765 of file docsh3.cxx.
References ScRange::aEnd, aName, ScChangeTrack::AppendDeleteRange(), ScChangeTrack::AppendInsert(), ScChangeTrack::AppendMove(), ScRange::aStart, CELLTYPE_FORMULA, ScChangeTrack::Clear(), ScAddress::Col(), Cols, ScDocFunc::DeleteCells(), ScDocFunc::DeleteTable(), ScViewFunc::EnterData(), ScDocFunc::EnterMatrix(), eType, Formula, ScChangeTrack::GetAction(), ScChangeTrack::GetActionMax(), ScChangeAction::GetActionNumber(), GetBestViewShell(), ScChangeAction::GetBigRange(), ScDocument::GetChangeTrack(), ScChangeAction::GetComment(), ScChangeAction::GetDateTimeUTC(), GetDocFunc(), GetDocument(), ScChangeTrack::GetFirst(), ScCellValue::getFormula(), ScChangeActionMove::GetFromRange(), ScChangeTrack::GetLast(), ScViewData::GetMarkData(), ScFormulaCell::GetMatColsRows(), ScFormulaCell::GetMatrixFlag(), ScChangeAction::GetNext(), ScChangeActionDel::GetOverAllRange(), ScChangeAction::GetRejectAction(), ScChangeAction::GetState(), ScCellValue::getType(), ScChangeAction::GetType(), ScChangeAction::GetUser(), ScChangeTrack::GetUser(), ScTabView::GetViewData(), formula::FormulaGrammar::GRAM_DEFAULT, INS_INSCOLS_BEFORE, INS_INSROWS_BEFORE, ScDocFunc::InsertCells(), ScDocFunc::InsertTable(), ScChangeAction::IsDeletedIn(), ScChangeAction::IsRejected(), ScChangeActionDel::IsTabDeleteCol(), ScChangeTrack::IsTimeNanoSeconds(), ScChangeActionDel::IsTopDelete(), ScChangeAction::IsVirgin(), lcl_Equal(), lcl_FindAction(), LockPaint(), m_pDocument, ScBigRange::MakeRange(), ScChangeTrack::MergeActionState(), ScChangeTrack::MergeIgnore(), ScChangeTrack::MergeOwn(), ScChangeTrack::MergePrepare(), ScDocFunc::MoveBlock(), NONE, PostPaintGridAll(), Reference, ScChangeTrack::Reject(), ScChangeAction::RemoveAllDeletedIn(), ScAddress::Row(), Rows, SAL_WARN, SC_CAS_VIRGIN, SC_CAT_CONTENT, SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_DELETE_TABS, SC_CAT_INSERT_COLS, SC_CAT_INSERT_ROWS, SC_CAT_INSERT_TABS, SC_CAT_MOVE, ScMarkData::SelectOneTable(), ScAddress::SetCol(), ScChangeAction::SetComment(), ScChangeTrack::SetFixDateTimeUTC(), ScAddress::SetRow(), ScChangeViewSettings::SetShowChanges(), ScProgress::SetStateCountDown(), ScChangeTrack::SetUseFixDateTime(), ScChangeTrack::SetUser(), ScAddress::Tab(), and UnlockPaint().
Referenced by Execute(), and MergeSharedDocument().
bool ScDocShell::MergeSharedDocument | ( | ScDocShell * | pSharedDocShell | ) |
Definition at line 1134 of file docsh3.cxx.
References ScChangeTrack::Clone(), Application::CreateMessageDialog(), ScConflictsFinder::Find(), ScChangeTrack::GetAction(), ScChangeTrack::GetActionMax(), ScChangeAction::GetActionNumber(), GetActiveDialogParent(), ScDocument::GetChangeTrack(), GetDocument(), ScChangeTrack::GetFirst(), ScChangeTrack::GetLast(), ScChangeAction::GetNext(), ScChangeAction::GetPrev(), GetViewData(), ScConflictsResolver::HandleAction(), ScChangeTrack::IsTimeNanoSeconds(), lcl_Equal(), m_pDocument, MergeDocument(), nIndex, PostPaintExtras(), PostPaintGridAll(), ScChangeTrack::Reject(), RET_CANCEL, RET_YES, weld::DialogController::run(), SC_TAB_APPEND, ScResId(), ScChangeViewSettings::SetHasActionRange(), ScChangeViewSettings::SetShowAccepted(), ScChangeViewSettings::SetShowChanges(), ScChangeViewSettings::SetTheActionRange(), ScConflictsListHelper::TransformConflictsList(), and ScChangeTrack::Undo().
Referenced by Notify().
void ScDocShell::ModifyScenario | ( | SCTAB | nTab, |
const OUString & | rName, | ||
const OUString & | rComment, | ||
const Color & | rColor, | ||
ScScenarioFlags | nFlags | ||
) |
Definition at line 763 of file docsh5.cxx.
References SfxUndoManager::AddUndoAction(), GetUndoManager(), GetViewBindings(), SfxBindings::Invalidate(), m_pDocument, PostPaintGridAll(), ScDocShellModificator::SetDocumentModified(), and SfxGetpApp().
Referenced by Execute(), ScTableSheetObj::SetOnePropertyValue(), and ScTableSheetObj::setScenarioComment().
|
staticprivate |
Definition at line 142 of file docsh8.cxx.
References aName, ucbhelper::Content::executeCommand(), ucbhelper::Content::getCommands(), INetURLObject::GetMainURL(), INetURLObject::getName(), comphelper::getProcessComponentContext(), INetURLObject::GetProtocol(), KillFile(), INetURLObject::NONE, INetURLObject::removeSegment(), and INetURLObject::setFinalSlash().
Referenced by ConvertTo().
EndDrawUndo?
allow only for api calls?
Definition at line 910 of file docsh5.cxx.
References SfxUndoManager::AddUndoAction(), SfxObjectShell::GetBasicContainer(), GetUndoManager(), m_pDocument, PostPaintExtras(), PostPaintGridAll(), SC_TAB_APPEND, SC_TAB_COPIED, SC_TAB_MOVED, ScResId(), ScDocShellModificator::SetDocumentModified(), SfxGetpApp(), and VBA_InsertModule().
Referenced by ScTableSheetsObj::copyByName(), ScGridWindow::DropTransferObj(), ScTableSheetsObj::moveByName(), and ScViewFunc::MoveTable().
|
overrideprivatevirtual |
direct call for AutoStyles
Reimplemented from SfxListener.
Definition at line 680 of file docsh.cxx.
References aData, SfxUndoManager::Clear(), ScDocument::ClosingClipboardSource(), Application::CreateMessageDialog(), ERRCODE_IO_ABORT, ERRCODE_IO_GENERAL, SfxBindings::ExecuteSynchron(), GetActiveDialogParent(), SfxObjectShell::GetBasicContainer(), ScModule::GetClipDoc(), SfxFrame::GetController(), GetDocument(), SfxEventHint::GetEventId(), SfxViewFrame::GetFrame(), SfxHint::GetId(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), svt::GenDocumentLockFile::GetLockData(), SfxObjectShell::GetMedium(), GetModel(), SfxShell::GetName(), SfxBaseModel::GetObjectShell(), comphelper::getProcessComponentContext(), SfxObjectShell::GetSharedFileURL(), ScAppOptions::GetShowSharedDocumentWarning(), GetStandardText(), ScTablesHint::GetTab1(), ScTablesHint::GetTablesHintId(), GetUndoManager(), SfxUnoAnyItem::GetValue(), CntUnencodedStringItem::GetValue(), ScViewData::GetView(), GetViewBindings(), GetViewData(), SfxViewShell::GetViewFrame(), ScViewData::GetViewShell(), ErrorHandler::HandleError(), svt::ShareControlFile::HasOwnEntry(), SfxObjectShell::HasSharedXMLFlagSet(), comphelper::LibreOfficeKit::isActive(), SfxObjectShell::IsDocShared(), SfxObjectShell::IsReadOnly(), LoadSharedDocument(), m_pAutoStyleList, m_pDocument, m_pSheetSaveData, m_xVBAListener, comphelper::makePropertyValue(), MergeSharedDocument(), mxAutomationWorkbookObject, NotifyStyle(), pValues, RET_CANCEL, RET_NO, RET_RETRY, SC_MOD, SC_TAB_INSERTED, ScResId(), SfxObjectShell::SetError(), SfxObjectShell::SetReadOnlyUI(), ScChangeViewSettings::SetShowAccepted(), ScChangeViewSettings::SetShowChanges(), ScAppOptions::SetShowSharedDocumentWarning(), SfxGetpApp(), ScChangeViewSettings::ShowChanges(), SfxBaseModel::storeToURL(), SfxObjectShell::SwitchToShared(), TOOLS_WARN_EXCEPTION, ScTabView::UpdateLayerLocks(), UseSheetSaveEntries(), xController, xFactory, and xModel.
void ScDocShell::NotifyStyle | ( | const SfxStyleSheetHint & | rHint | ) |
Definition at line 1592 of file docsh4.cxx.
References SfxStyleSheetBase::GetFamily(), SfxHint::GetId(), SfxStyleSheetBase::GetName(), GetPrinter(), SfxStyleSheetHint::GetStyleSheet(), GetViewBindings(), i, SfxBindings::Invalidate(), m_pDocument, nId, ScConditionalFormatList::RenameCellStyle(), ScDocShellModificator::SetDocumentModified(), and ScPrintFunc::UpdatePages().
Referenced by Notify().
void ScDocShell::PageStyleModified | ( | std::u16string_view | rStyleName, |
bool | bApi | ||
) |
cope without CountPages
Definition at line 1778 of file docsh4.cxx.
References Application::CreateMessageDialog(), GetActiveDialogParent(), GetPrinter(), GetViewBindings(), SfxBindings::Invalidate(), m_pDocument, MAXTAB, ScResId(), ScDocShellModificator::SetDocumentModified(), ScPrintFunc::UpdatePages(), and ValidTab().
Referenced by ScUndoModifyStyle::DoChange(), ExecutePageStyle(), ScStyleFamilyObj::removeByName(), ScStyleObj::setAllPropertiesToDefault(), ScStyleObj::setParentStyle(), and ScStyleObj::setPropertyValue_Impl().
void ScDocShell::PostDataChanged | ( | ) |
notify navigator directly!
Definition at line 93 of file docsh3.cxx.
References m_pDocument, and SfxGetpApp().
Referenced by ScDocFunc::ConvertFormulaToValue(), ScUndoDeleteMulti::DoChange(), ScUndoEnterData::DoChange(), ScUndoCopyTab::DoChange(), ScUndoPaste::DoChange(), ScUndoMoveTab::DoChange(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoCut::DoChange(), ScUndoFillTable::DoChange(), ScUndoDataForm::DoChange(), ScUndoUpdateAreaLink::DoChange(), ScUndoConditionalFormatList::DoChange(), ScUndoConditionalFormat::DoChange(), ScUndoRefConversion::DoChange(), ScUndoListNames::DoChange(), ScUndoRenameTab::DoChange(), DoRecalc(), sc::UndoFormulaToValue::Execute(), sc::UndoSort::Execute(), Execute(), ScViewFunc::FillTab(), ScUndoAutoFill::Redo(), ScUndoImportData::Redo(), SetDocumentModified(), ScImportExport::Text2Doc(), ScUndoAutoFill::Undo(), ScUndoTabOp::Undo(), ScUndoUseScenario::Undo(), ScUndoEnterMatrix::Undo(), ScUndoSubTotals::Undo(), ScUndoQuery::Undo(), ScUndoImportData::Undo(), ScUndoRepeatDB::Undo(), ScUndoDataPilot::Undo(), and ScUndoMakeScenario::Undo().
void ScDocShell::PostEditView | ( | ScEditEngineDefaulter * | pEditEngine, |
const ScAddress & | rCursorPos | ||
) |
Definition at line 79 of file docsh3.cxx.
References ScTabViewShell::GetActiveViewShell(), ScViewData::GetDocShell(), ScTabView::GetViewData(), and ScTabViewShell::Notify().
Referenced by ScInputHandler::InputChanged(), ScInputHandler::InputCommand(), ScInputHandler::KeyInput(), and ScInputHandler::SetMode().
void ScDocShell::PostPaint | ( | const ScRangeList & | rRanges, |
PaintPartFlags | nPart, | ||
sal_uInt16 | nExtFlags = 0 |
||
) |
nExtFlags ???
check for hidden columns/rows!
Definition at line 109 of file docsh3.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScRangeList::Combine(), Extras, GetModel(), i, comphelper::LibreOfficeKit::isActive(), Left, m_pDocument, m_pPaintLockData, n, NONE, SfxLokHelper::notifyDocumentSizeChangedAllViews(), ScRangeList::push_back(), RightOrCenter, Rotate, ScAddress::Row(), SC_PF_LINES, SC_PF_TESTMERGE, SC_PF_WHOLEROWS, ScRangeList::size(), ScAddress::Tab(), and Top.
void ScDocShell::PostPaint | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCTAB | nStartTab, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nEndTab, | ||
PaintPartFlags | nPart, | ||
sal_uInt16 | nExtFlags = 0 |
||
) |
Definition at line 101 of file docsh3.cxx.
References PostPaint().
Referenced by ScLabelRangesObj::addNew(), ScViewFunc::AdjustBlockHeight(), ScBlockUndo::AdjustHeight(), ScDocFunc::AdjustRowHeight(), ScViewFunc::AdjustRowHeight(), AdjustRowHeight(), ScDocFunc::ApplyAttributes(), ScDBFunc::ApplyAutoFilter(), ScHelperFunctions::ApplyBorder(), ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScDocFunc::ApplyStyle(), ScDocFunc::AutoFormat(), ScOutlineDocFunc::AutoOutline(), ScStatisticsInputOutputDialog::CalculateInputAndWriteToOutput(), ScStatisticsTwoVariableDialog::CalculateInputAndWriteToOutput(), CancelAutoDBRange(), ScDocFunc::ChangeIndent(), ScDocFunc::ClearItems(), ScViewFunc::ConvertFormulaToValue(), ScDocFunc::ConvertFormulaToValue(), ScViewFunc::CutToClip(), ScViewFunc::DataFormPutData(), DBAreaDeleted(), ScDocFunc::DeleteCell(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteContents(), ScViewFunc::DeleteMulti(), DoAutoStyle(), ScUndoDeleteMulti::DoChange(), ScUndoImportTab::DoChange(), ScUndoPaste::DoChange(), ScUndoAutoFilter::DoChange(), ScUndoPrintRange::DoChange(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoCut::DoChange(), ScUndoDeleteContents::DoChange(), ScUndoFillTable::DoChange(), ScUndoSelectionAttr::DoChange(), ScUndoSelectionStyle::DoChange(), ScUndoDataForm::DoChange(), ScUndoUpdateAreaLink::DoChange(), ScUndoCursorAttr::DoChange(), ScUndoModifyStyle::DoChange(), ScUndoConditionalFormat::DoChange(), ScUndoRefConversion::DoChange(), ScUndoListNames::DoChange(), DoConsolidate(), ScDBDocFunc::DoImport(), ScViewFunc::DoRefConversion(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScImportExport::EndPaste(), ScDBFuncUndo::EndUndo(), ScDocFunc::EnterMatrix(), sc::UndoFormulaToValue::Execute(), sc::UndoSort::Execute(), ScRandomNumberGeneratorDialog::GenerateNumbers(), ScViewData::GetPosFromPixel(), ScDBFunc::HideAutoFilter(), ScOutlineDocFunc::HideMarkedOutlines(), ScViewFunc::HideTable(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), ScDocFunc::InsertCells(), ScDocFunc::InsertNameList(), ScDocFunc::InsertPageBreak(), ScDocDefaultsObj::ItemsChanged(), lcl_PaintAbove(), lcl_PaintOneRange(), lcl_PaintWidthHeight(), lcl_PostRepaintCondFormat(), lcl_PutDataArray(), lcl_PutFormulaArray(), LoadStyles(), LoadStylesArgs(), ScOutlineDocFunc::MakeOutline(), MakeScenario(), ScDocFunc::MergeCells(), ScLabelRangeObj::Modify_Impl(), ScDBDocFunc::ModifyAllDBData(), ScDocFunc::MoveBlock(), ScViewFunc::MoveTable(), ScUndoDragDrop::PaintArea(), ScUndoUtil::PaintMore(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), ScSamplingDialog::PerformSampling(), PostPaint(), PostPaintCell(), PostPaintExtras(), PostPaintGridAll(), ScDBDocFunc::Query(), sc::UndoGroupSparklines::Redo(), sc::UndoInsertSparkline::Redo(), sc::UndoUngroupSparklines::Redo(), ScUndoWidthOrHeight::Redo(), ScUndoAutoFill::Redo(), ScUndoAutoFormat::Redo(), ScUndoIndent::Redo(), ScUndoTransliterate::Redo(), ScUndoClearItems::Redo(), ScUndoRemoveBreaks::Redo(), ScUndoBorder::Redo(), ScUndoMakeOutline::Redo(), ScUndoImportData::Redo(), ScAreaLink::Refresh(), ReloadTabLinks(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScLabelRangesObj::removeByIndex(), ScStyleFamilyObj::removeByName(), ScViewFunc::RemoveManualBreaks(), ScOutlineDocFunc::RemoveOutline(), ScDocFunc::RemovePageBreak(), ScDBDocFunc::RemovePivotTable(), ScViewFunc::RemoveStyleSheetInUse(), ScModelObj::RepaintRange(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ScDocFunc::ReplaceConditionalFormat(), ScViewFunc::SearchAndReplace(), ScStyleObj::setAllPropertiesToDefault(), ScVbaWorksheet::setAutoFilterMode(), ScDocFunc::SetFormulaCells(), ScDocFunc::SetLayoutRTL(), ScStyleObj::setParentStyle(), SetPrinter(), ScDocumentConfiguration::setPropertyValue(), ScDatabaseRangeObj::setPropertyValue(), ScStyleObj::setPropertyValue_Impl(), ScViewFunc::SetSelectionFrameLines(), ScViewFunc::SetStyleSheetToMarked(), ScDocFunc::SetTableVisible(), ScDocFunc::SetValueCells(), SetVisAreaOrSize(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::SetWidthOrHeight(), ScOutlineDocFunc::ShowMarkedOutlines(), ScViewFunc::ShowTable(), ScDBDocFunc::Sort(), ScDocFunc::TransliterateText(), sc::UndoGroupSparklines::Undo(), sc::UndoInsertSparkline::Undo(), sc::UndoUngroupSparklines::Undo(), ScUndoWidthOrHeight::Undo(), ScUndoAutoFill::Undo(), ScUndoAutoFormat::Undo(), ScUndoTabOp::Undo(), ScUndoUseScenario::Undo(), ScUndoEnterMatrix::Undo(), ScUndoIndent::Undo(), ScUndoTransliterate::Undo(), ScUndoClearItems::Undo(), ScUndoRemoveBreaks::Undo(), ScUndoBorder::Undo(), ScUndoDoOutline::Undo(), ScUndoMakeOutline::Undo(), ScUndoOutlineLevel::Undo(), ScUndoOutlineBlock::Undo(), ScUndoRemoveAllOutlines::Undo(), ScUndoAutoOutline::Undo(), ScUndoSubTotals::Undo(), ScUndoQuery::Undo(), ScUndoImportData::Undo(), ScUndoRepeatDB::Undo(), ScUndoDataPilot::Undo(), ScUndoConsolidate::Undo(), ScUndoDeleteTab::Undo(), ScUndoMakeScenario::Undo(), UnlockPaint_Impl(), ScDocFunc::UnmergeCells(), ScPrintFunc::UpdatePages(), ScViewFunc::UpdateSelectionArea(), ScViewFunc::UpdateStyleSheetInUse(), UseScenario(), and sc::ScDBDataManager::WriteToDoc().
void ScDocShell::PostPaintCell | ( | const ScAddress & | rPos | ) |
Definition at line 193 of file docsh3.cxx.
References ScAddress::Col(), PostPaintCell(), ScAddress::Row(), and ScAddress::Tab().
Definition at line 188 of file docsh3.cxx.
References Grid, PostPaint(), and SC_PF_TESTMERGE.
Referenced by ScDrawView::DeleteMarked(), ScUndoThesaurus::DoChange(), ScViewFunc::EnterData(), ScViewFunc::EnterValue(), Execute(), ScConversionEngineBase::FindNextConversionCell(), PostPaintCell(), sc::UndoDeleteSparkline::Redo(), sc::UndoEditSparkline::Redo(), ScUndoEnterData::Redo(), ScUndoEnterValue::Redo(), ScUndoSetCell::Redo(), ScUndoReplaceNote::Redo(), ScDocFunc::ReplaceNote(), ScDocFunc::SetEditCell(), ScDocFunc::SetFormulaCell(), ScDocFunc::SetNormalString(), ScDocFunc::SetNoteText(), ScDocFunc::SetStringCell(), ScViewFunc::SetStyleSheetToMarked(), ScDocFunc::SetValueCell(), sc::UndoDeleteSparkline::Undo(), sc::UndoEditSparkline::Undo(), ScUndoEnterData::Undo(), ScUndoEnterValue::Undo(), ScUndoSetCell::Undo(), and ScUndoReplaceNote::Undo().
void ScDocShell::PostPaintExtras | ( | ) |
Definition at line 198 of file docsh3.cxx.
References Extras, m_pDocument, MAXTAB, and PostPaint().
Referenced by ScViewFunc::AppendTable(), ScDocFunc::DeleteTable(), ScViewFunc::DeleteTables(), ScTabView::DeselectAllTables(), ScUndoCopyTab::DoChange(), ScUndoMoveTab::DoChange(), ScUndoTabColor::DoChange(), ScUndoRenameTab::DoChange(), Execute(), ScTabViewShell::Execute(), FuInsertChart::FuInsertChart(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), ScDocFunc::InsertTable(), ScViewFunc::InsertTables(), ScDBFunc::MakePivotTable(), MakeScenario(), MergeSharedDocument(), ScViewFunc::MoveTable(), MoveTable(), ScUndoRefreshLink::Redo(), ScDocFunc::RenameTable(), ScTabView::SelectAllTables(), ScDocFunc::SetTabBgColor(), TransferTab(), and ScUndoRefreshLink::Undo().
void ScDocShell::PostPaintGridAll | ( | ) |
Definition at line 183 of file docsh3.cxx.
References Grid, m_pDocument, MAXTAB, and PostPaint().
Referenced by CompareDocument(), ScDBDocFunc::CreatePivotTable(), ScDBDocFunc::DataPilotUpdate(), ScUndoCopyTab::DoChange(), ScUndoMoveTab::DoChange(), sc::UndoSetCells::DoChange(), ScUndoConditionalFormatList::DoChange(), ScUndoConversion::DoChange(), ScUndoRenameTab::DoChange(), DoHardRecalc(), ScUndoDocProtect::DoProtect(), ScUndoTabProtect::DoProtect(), DoRecalc(), ScViewFunc::DoSheetConversion(), ScViewFunc::DoThesaurus(), ScTabViewShell::ExecStyle(), Execute(), ScTabViewShell::Execute(), ScDocFunc::FillAuto(), ScRedlineOptionsTabPage::FillItemSet(), ScDocFunc::FillSeries(), ScDocFunc::FillSimple(), ScViewFunc::FillTab(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), MergeDocument(), MergeSharedDocument(), ScModule::ModifyOptions(), ModifyScenario(), ScViewFunc::MoveTable(), MoveTable(), ScForbiddenCharsObj::onChange(), ScDocFunc::ProtectDocument(), ScDocFunc::ProtectSheet(), sc::UndoDeleteSparklineGroup::Redo(), sc::UndoEditSparklneGroup::Redo(), ScUndoReplace::Redo(), ScUndoRefreshLink::Redo(), ScUndoScenarioFlags::Redo(), ScDBDocFunc::RemovePivotTable(), ScSpellDialogChildWindow::Reset(), ScViewFunc::SearchAndReplace(), ScTabViewObj::select(), SetChangeRecording(), ScDocFunc::SetConditionalFormatList(), ScDocFunc::TabOp(), TransferTab(), sc::UndoDeleteSparklineGroup::Undo(), sc::UndoEditSparklneGroup::Undo(), ScUndoReplace::Undo(), ScUndoRefreshLink::Undo(), ScUndoScenarioFlags::Undo(), and ScDBDocFunc::UpdatePivotTable().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 2789 of file docsh.cxx.
References DoEnterHandler(), ErrorMessage(), SfxViewFrame::GetFirst(), SfxShell::GetViewShell(), SfxViewShell::GetWindow(), vcl::Window::GrabFocus(), SfxObjectShell::IsInPrepareClose(), m_pDocument, p, SfxObjectShell::PrepareClose(), and SC_MOD.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 2752 of file docsh.cxx.
References m_pDocument.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 309 of file docsh6.cxx.
References m_pDocument, and sfx2::LinkManager::ReconnectDdeLink().
void ScDocShell::RefreshPivotTables | ( | const ScRange & | rSource | ) |
Definition at line 482 of file docsh5.cxx.
References ScDPCollection::GetCount(), ScDPObject::GetSheetDesc(), ScSheetSourceDesc::GetSourceRange(), i, ScRange::Intersects(), m_pDocument, n, and ScDBDocFunc::UpdatePivotTable().
Referenced by Execute(), ScCellShell::ExecuteDB(), and ScDBDocFunc::UpdateImport().
void ScDocShell::RegisterAutomationWorkbookObject | ( | css::uno::Reference< ooo::vba::excel::XWorkbook > const & | xWorkbook | ) |
Definition at line 3418 of file docsh.cxx.
References mxAutomationWorkbookObject.
void ScDocShell::ReloadAllLinks | ( | ) |
Definition at line 178 of file docsh4.cxx.
References AllowLinkUpdate(), GetActiveDialogParent(), m_pDocument, and ReloadTabLinks().
Referenced by Execute().
void ScDocShell::ReloadTabLinks | ( | ) |
Definition at line 386 of file docsh6.cxx.
References sfx2::LinkManager::GetLinks(), Grid, i, Left, m_pDocument, MAXTAB, nCount, PostPaint(), SetDocumentModified(), and Top.
Referenced by ReloadAllLinks().
|
private |
Definition at line 162 of file docsh2.cxx.
References m_pDocument, and FmFormModel::SetObjectShell().
Referenced by ~ScDocShell().
|
static |
Definition at line 3155 of file docsh.cxx.
References eType, ScOptionsUtil::KEY_DEFAULT, and ScOptionsUtil::KEY_OOO_LEGACY.
Referenced by ScModule::ModifyOptions().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1775 of file docsh.cxx.
References SfxViewFrame::GetFirst(), SfxObjectShell::GetMedium(), m_pDocument, SfxObjectShell::Save(), and SaveXML().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1818 of file docsh.cxx.
References ERRCODE_SFX_WRONGPASSWORD, ScTabViewShell::ExecuteRetypePassDlg(), SfxMedium::GetArgs(), GetBestViewShell(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), m_pDocument, ScPassHashHelper::needsPassHashRegen(), PASSHASH_SHA1, PASSHASH_SHA256, PASSHASH_XL, utl::MediaDescriptor::PROP_AUTOSAVEEVENT, SAL_WARN, SfxObjectShell::SaveAs(), SaveXML(), SfxMedium::SetError(), and URIHelper::simpleNormalizedMakeRelative().
|
private |
Definition at line 590 of file docsh.cxx.
References ScXMLImportWrapper::Export(), SfxObjectShell::GetCreateMode(), and m_pDocument.
Referenced by ConvertTo(), Save(), and SaveAs().
|
inline |
Definition at line 389 of file docsh.hxx.
Referenced by ScDocument::CopyAdjustRangeName(), ScTable::CopyToTable(), and ScTable::UndoToTable().
void ScDocShell::SetChangeComment | ( | ScChangeAction * | pAction, |
const OUString & | rComment | ||
) |
Undo ???
Definition at line 620 of file docsh3.cxx.
References Change, ScChangeAction::GetActionNumber(), ScDocument::GetChangeTrack(), GetDocument(), ScChangeTrack::NotifyModified(), ScChangeAction::SetComment(), and SetDocumentModified().
Referenced by ScRedComDialog::Execute(), and ScTabViewShell::Execute().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 3350 of file docsh.cxx.
References GetViewBindings(), SfxBindings::InvalidateAll(), IsChangeRecording(), m_pDocument, PostPaintGridAll(), ScChangeViewSettings::SetShowChanges(), and UpdateAcceptChangesDialog().
Referenced by ScModelObj::setPropertyValue(), and SetProtectionPassword().
|
inline |
Definition at line 224 of file docsh.hxx.
Referenced by ooo::vba::excel::implnCopy(), and ooo::vba::excel::implnCut().
void ScDocShell::SetDocumentModified | ( | ) |
Definition at line 2982 of file docsh.cxx.
References BCA_BRDCST_ALWAYS, ScDetOpList::Count(), ScDocFunc::DetectiveRefresh(), GetDocFunc(), ScDetOpList::HasAddError(), IsInUndo(), m_bAreasChangedNeedBroadcast, m_pDocument, m_pPaintLockData, PostDataChanged(), SC_MOD, SetDocumentModifiedPending(), SetDrawModified(), and SfxGetpApp().
Referenced by ScLabelRangesObj::addNew(), ScNameDefDlg::AddPushed(), ScViewFunc::AppendTable(), ScHelperFunctions::ApplyBorder(), ScOutlineDocFunc::AutoOutline(), CompareDocument(), ScViewFunc::DeleteTables(), ScUndoLayoutRTL::DoChange(), ScUndoShowHideTab::DoChange(), ScViewFunc::DoRefConversion(), ScViewFunc::DoSheetConversion(), ScViewFunc::DoThesaurus(), ScModelObj::enableAutomaticCalculation(), ScImportExport::EndPaste(), ScSimpleUndo::EndRedo(), ScSimpleUndo::EndUndo(), ScTabViewShell::ExecStyle(), ScModule::Execute(), Execute(), ScTabViewShell::Execute(), ScDrawShell::ExecuteHLink(), ExecutePageStyle(), ScTabViewShell::ExecuteSave(), ScTabView::FreezeSplitters(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScViewFunc::HideTable(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), ScTabViewShell::InnerResizePixel(), ScStyleFamilyObj::insertByName(), ScViewFunc::InsertTables(), lcl_PutDataArray(), lcl_PutFormulaArray(), ScStyleFamiliesObj::loadStylesFromDocShell(), ScOutlineDocFunc::MakeOutline(), ScLabelRangeObj::Modify_Impl(), ScModule::ModifyOptions(), ScViewFunc::MoveTable(), ScForbiddenCharsObj::onChange(), ScGridWindow::PagebreakMove(), ScTableSheetObj::PrintAreaUndo_Impl(), sc::CSVDataProvider::Refresh(), sc::DataStream::Refresh(), ReloadTabLinks(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScLabelRangesObj::removeByIndex(), ScStyleFamilyObj::removeByName(), ScViewFunc::RemoveManualBreaks(), ScOutlineDocFunc::RemoveOutline(), ScTabView::RemoveSplit(), ScSheetEventsObj::replaceByName(), ScSpellDialogChildWindow::Reset(), sc::SolverSettings::SaveSolverSettings(), ScViewFunc::SearchAndReplace(), ScOutlineDocFunc::SelectLevel(), ScStyleObj::setAllPropertiesToDefault(), SetChangeComment(), ScDocShellModificator::SetDocumentModified(), ScDataPilotTableObj::setName(), ScTableSheetObj::SetOnePropertyValue(), ScStyleObj::setParentStyle(), ScViewFunc::SetPrintRanges(), ScDocumentConfiguration::setPropertyValue(), ScModelObj::setPropertyValue(), ScTabViewObj::setPropertyValue(), ScStyleObj::setPropertyValue_Impl(), SetProtectionPassword(), ScViewFunc::SetSelectionFrameLines(), ScDataPilotTableObj::setTag(), ScOutlineDocFunc::ShowMarkedOutlines(), ScDocFunc::ShowNote(), ScOutlineDocFunc::ShowOutline(), ScViewFunc::ShowTable(), UnlockPaint_Impl(), ScTabView::UpdateRef(), and ScDocShellModificator::~ScDocShellModificator().
|
inline |
Definition at line 379 of file docsh.hxx.
Referenced by SetDocumentModified().
void ScDocShell::SetDrawModified | ( | ) |
SetDrawModified - without Formula update.
Drawing also needs to be updated for the normal SetDocumentModified e.g.: when deleting tables etc.
Definition at line 3046 of file docsh.cxx.
References GetViewBindings(), SfxBindings::Invalidate(), SfxObjectShell::IsModified(), m_pDocument, SC_MOD, SetModified(), and SfxGetpApp().
Referenced by sc::ThemeColorChanger::apply(), ScDocFunc::DetectiveRefresh(), ScDrawShell::ExecDrawFunc(), ScTabViewShell::ExecImageMap(), ScDocFunc::NotifyDrawUndo(), ScClient::ObjectAreaChanged(), ScUndoDraw::Redo(), ScDrawView::SetCellAnchored(), SetDocumentModified(), ScDrawView::SetMarkedOriginalSize(), ScDrawView::SetMarkedToLayer(), ScDrawView::SetPageAnchored(), ScUndoDraw::Undo(), and ScClient::ViewChanged().
void ScDocShell::SetEmpty | ( | bool | bSet | ) |
Definition at line 89 of file docsh2.cxx.
References m_bIsEmpty.
Referenced by ScTabViewShell::Construct(), oox::xls::WorkbookGlobals::finalize(), and ScModelObj::setPropertyValue().
void ScDocShell::SetFormulaOptions | ( | const ScFormulaOptions & | rOpt, |
bool | bForLoading = false |
||
) |
Definition at line 419 of file docsh6.cxx.
References ScFormulaOptions::GetCalcConfig(), ScFormulaOptions::GetFormulaSepArg(), ScFormulaOptions::GetFormulaSepArrayCol(), ScFormulaOptions::GetFormulaSepArrayRow(), ScFormulaOptions::GetFormulaSyntax(), ScCompiler::GetOpCodeMap(), ScFormulaOptions::GetUseEnglishFuncName(), m_pDocument, ScGlobal::ResetFunctionList(), formula::FormulaCompiler::ResetNativeSymbols(), SC_MOD, ScInterpreter::SetGlobalConfig(), formula::FormulaCompiler::SetNativeSymbols(), and formula::FormulaCompiler::UpdateSeparatorsNative().
Referenced by CheckConfigOptions(), InitOptions(), and ScModule::ModifyOptions().
void ScDocShell::SetInitialLinkUpdate | ( | const SfxMedium * | pMedium | ) |
Definition at line 118 of file docsh4.cxx.
References SfxObjectShell::getEmbeddedObjectContainer(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), GetLinkUpdateModeState(), comphelper::EmbeddedObjectContainer::getUserAllowsLinkUpdate(), CntUInt16Item::GetValue(), LM_ALWAYS, m_nCanUpdate, and comphelper::EmbeddedObjectContainer::setUserAllowsLinkUpdate().
Referenced by ConvertFrom(), oox::xls::ExcelFilter::importDocument(), Load(), and LoadFrom().
void ScDocShell::SetInplace | ( | bool | bInplace | ) |
Definition at line 346 of file docsh3.cxx.
References CalcOutputFactor(), and m_bIsInplace.
Referenced by ScTabViewShell::Construct().
void ScDocShell::SetInUndo | ( | bool | bSet | ) |
Definition at line 3077 of file docsh.cxx.
References m_bIsInUndo.
Referenced by ScSimpleUndo::BeginRedo(), ScSimpleUndo::BeginUndo(), ScUndoLayoutRTL::DoChange(), ScSimpleUndo::EndRedo(), ScSimpleUndo::EndUndo(), ScUndoInsertTab::Redo(), ScUndoInsertTables::Redo(), ScUndoDeleteTab::Redo(), ScUndoMakeScenario::Redo(), ScUndoInsertTab::Undo(), ScUndoInsertTables::Undo(), and ScUndoMakeScenario::Undo().
void ScDocShell::SetLockCount | ( | sal_uInt16 | nNew | ) |
Definition at line 300 of file docsh3.cxx.
References LockDocument_Impl(), m_pPaintLockData, UnlockDocument_Impl(), and UnlockPaint_Impl().
Referenced by ScModelObj::resetActionLocks(), and ScModelObj::setActionLocks().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 2973 of file docsh.cxx.
References SfxObjectShell::IsEnableSetModified(), and SfxObjectShell::SetModified().
Referenced by ScTabViewShell::ExecDrawIns(), ScCellShell::Execute(), IMPL_LINK(), ScInputHandler::KeyInput(), ScPreview::MouseButtonUp(), and SetDrawModified().
sal_uInt16 ScDocShell::SetPrinter | ( | VclPtr< SfxPrinter > const & | pNewPrinter, |
SfxPrinterChangeFlags | nDiffFlags = SFX_PRINTER_ALL |
||
) |
from new printer ???
Definition at line 471 of file docsh3.cxx.
References All, ATTR_PAGE(), ATTR_PAGE_SIZE(), CalcOutputFactor(), SfxStyleSheetBasePool::Find(), SfxItemSet::Get(), GetCurTab(), SfxViewFrame::GetFirst(), ScModule::GetInputHdl(), SfxStyleSheetBase::GetItemSet(), SfxViewFrame::GetNext(), SvxPaperInfo::GetPaperSize(), SfxShell::GetViewShell(), Size::Height(), SvxPageItem::IsLandscape(), m_pDocument, MAXTAB, PostPaint(), SfxItemSet::Put(), rSet, SC_MOD, SvxPageItem::SetLandscape(), SFX_PRINTERROR_BUSY, UpdateFontList(), ScInputHandler::UpdateRefDevice(), and Size::Width().
Referenced by ScPreviewShell::SetPrinter(), ScTabViewShell::SetPrinter(), and ScDocumentConfiguration::setPropertyValue().
void ScDocShell::SetPrintZoom | ( | SCTAB | nTab, |
sal_uInt16 | nScale, | ||
sal_uInt16 | nPages | ||
) |
Definition at line 1666 of file docsh4.cxx.
References SfxUndoManager::AddUndoAction(), ATTR_PAGE_SCALE(), ATTR_PAGE_SCALETOPAGES(), SfxStyleSheetBasePool::Find(), SfxItemSet::Get(), SfxStyleSheetBase::GetItemSet(), GetPrinter(), GetUndoManager(), GetViewBindings(), SfxBindings::Invalidate(), m_pDocument, SfxItemSet::Put(), rSet, ScDocShellModificator::SetDocumentModified(), and ScPrintFunc::UpdatePages().
Referenced by AdjustPrintZoom(), ScUndoPrintZoom::Repeat(), and ScViewFunc::SetPrintZoom().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 3377 of file docsh.cxx.
References SvPasswordHelper::GetHashPassword(), ScChangeTrack::IsProtected(), m_pDocument, SetChangeRecording(), SetDocumentModified(), ScChangeTrack::SetProtection(), and UpdateAcceptChangesDialog().
|
inline |
Definition at line 386 of file docsh.hxx.
Referenced by ScTabViewShell::Construct().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 57 of file docsh6.cxx.
References SetVisAreaOrSize().
Referenced by ScDrawTransferObj::InitDocShell(), and ScTransferObj::InitDocShell().
void ScDocShell::SetVisAreaOrSize | ( | const tools::Rectangle & | rVisArea | ) |
Definition at line 73 of file docsh6.cxx.
References ScTabViewShell::GetActiveViewShell(), ScViewData::GetDocShell(), ScTabView::GetViewData(), Grid, lcl_SetTopRight(), tools::Rectangle::Left(), m_bIsInplace, m_pDocument, MAXTAB, PostPaint(), tools::Rectangle::Right(), tools::Rectangle::SetPos(), SfxObjectShell::SetVisArea(), Point::setX(), SnapVisArea(), tools::Rectangle::Top(), and ScTabViewShell::UpdateOleZoom().
Referenced by InitNew(), SetVisArea(), and UpdateOle().
ScDocShell::SFX_DECL_OBJECTFACTORY | ( | ) |
void ScDocShell::SnapVisArea | ( | tools::Rectangle & | rRect | ) | const |
Definition at line 2348 of file docsh4.cxx.
References tools::Rectangle::Bottom(), tools::Rectangle::Left(), m_pDocument, ScDrawLayer::MirrorRectRTL(), tools::Rectangle::Right(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), and tools::Rectangle::Top().
Referenced by Draw(), GetVisArea(), ScTabViewShell::QueryObjAreaPixel(), SetVisAreaOrSize(), and UpdateOle().
|
overridevirtual |
sal_uLong ScDocShell::TransferTab | ( | ScDocShell & | rSrcDocShell, |
SCTAB | nSrcPos, | ||
SCTAB | nDestPos, | ||
bool | bInsertNew, | ||
bool | bNotifyAndPaint | ||
) |
Definition at line 863 of file docsh5.cxx.
References bVisible, GetDocument(), ScDocument::GetScenarioData(), ScDocument::GetTabProtection(), ScDocument::IsActiveScenario(), ScDocument::IsScenario(), ScDocument::IsTabProtected(), ScDocument::IsVisible(), m_pDocument, ScClipParam::maRanges, PostPaintExtras(), PostPaintGridAll(), ScRangeList::push_back(), SC_TAB_INSERTED, and ScDocument::SetClipParam().
Referenced by ScVbaWorksheet::createSheetCopy(), ScTableSheetsObj::importSheet(), ScViewFunc::ImportTables(), and ScViewFunc::MoveTable().
void ScDocShell::UnlockDocument | ( | ) |
Definition at line 333 of file docsh3.cxx.
References m_nDocumentLock, UnlockDocument_Impl(), and UnlockPaint_Impl().
Referenced by ScModelObj::removeActionLock().
|
private |
Definition at line 289 of file docsh3.cxx.
References m_nDocumentLock, m_pDocument, and SdrModel::setLock().
Referenced by SetLockCount(), and UnlockDocument().
void ScDocShell::UnlockPaint | ( | ) |
Definition at line 322 of file docsh3.cxx.
References UnlockPaint_Impl().
Referenced by ScOptSolverDlg::CallSolver(), ScTabViewShell::ExecuteUndo(), MergeDocument(), ScModelObj::unlockControllers(), and ScVbaRange::visitArray().
|
private |
nExtFlags ???
Definition at line 241 of file docsh3.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), i, tools::SvRef< typename T >::is(), m_pPaintLockData, nCount, PostPaint(), ScAddress::Row(), SetDocumentModified(), and ScAddress::Tab().
Referenced by SetLockCount(), UnlockDocument(), and UnlockPaint().
void ScDocShell::UpdateAllRowHeights | ( | const bool | bOnlyUsedRows | ) |
Definition at line 433 of file docsh5.cxx.
References ScSizeDeviceProvider::GetDevice(), ScSizeDeviceProvider::GetPPTX(), ScSizeDeviceProvider::GetPPTY(), m_pDocument, and ScDocRowHeightUpdater::update().
void ScDocShell::UpdateAllRowHeights | ( | const ScMarkData * | pTabMark = nullptr | ) |
Definition at line 423 of file docsh5.cxx.
References ScSizeDeviceProvider::GetDevice(), ScSizeDeviceProvider::GetPPTX(), ScSizeDeviceProvider::GetPPTY(), and m_pDocument.
Referenced by oox::xls::WorkbookGlobals::finalize(), LoadStyles(), LoadStylesArgs(), ScVbaApplication::setScreenUpdating(), ScModelObj::UpdateAllRowHeights(), and UpdatePendingRowHeights().
void ScDocShell::UpdateFontList | ( | ) |
Definition at line 456 of file docsh3.cxx.
References CalcOutputFactor(), GetRefDevice(), m_pImpl, and SfxShell::PutItem().
Referenced by ScGridWindow::DataChanged(), ScPreview::DataChanged(), InitItems(), and SetPrinter().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 318 of file docsh6.cxx.
References sfx2::ClientFile, sfx2::LinkManager::GetLinks(), i, sfx2::LinkManager::InsertFileLink(), m_pDocument, nCount, pLink, and sfx2::LinkManager::Remove().
Referenced by AfterXMLLoading(), ScDocFunc::DeleteTable(), ScUndoRemoveLink::DoChange(), ScTableSheetObj::link(), ScSheetLinkObj::setFileName(), and ScUndoDeleteTab::Undo().
void ScDocShell::UpdateOle | ( | const ScViewData & | rViewData, |
bool | bSnapSize = false |
||
) |
Definition at line 152 of file docsh6.cxx.
References SfxObjectShell::GetCreateMode(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScViewData::GetTabNo(), SfxObjectShell::GetVisArea(), lcl_SetTopRight(), m_pDocument, SC_SPLIT_BOTTOM, SC_SPLIT_LEFT, tools::Rectangle::SetPos(), SetVisAreaOrSize(), SnapVisArea(), tools::Rectangle::TopLeft(), and tools::Rectangle::TopRight().
Referenced by ScViewFunc::AdjustBlockHeight(), ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScViewFunc::AutoFormat(), ScViewFunc::ChangeIndent(), ScViewFunc::CutToClip(), ScViewFunc::DataFormPutData(), ScTabViewShell::Deactivate(), ScViewFunc::DeleteCells(), ScViewFunc::DeleteContents(), ScViewFunc::DoRefConversion(), ScGridWindow::DropTransferObj(), ScViewFunc::EnterData(), ScViewFunc::EnterMatrix(), ScViewFunc::EnterValue(), ScViewFunc::FillAuto(), ScViewFunc::FillSeries(), ScViewFunc::FillSimple(), ScDrawTransferObj::InitDocShell(), ScTransferObj::InitDocShell(), ScViewFunc::InsertCells(), ScViewFunc::InsertNameList(), ScViewFunc::MergeCells(), ScGridWindow::MouseButtonUp(), ScViewFunc::MoveBlockTo(), ScViewFunc::PasteRTF(), ScViewFunc::PostPasteFromClip(), ScViewFunc::RemoveMerge(), ScViewFunc::SetSelectionFrameLines(), ScViewFunc::SetWidthOrHeight(), and ScTabView::UpdateRef().
void ScDocShell::UpdatePaintExt | ( | sal_uInt16 & | rExtFlags, |
const ScRange & | rRange | ||
) |
Definition at line 203 of file docsh3.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), Conditional, Lines, m_pDocument, RightOrCenter, Rotate, SC_PF_LINES, SC_PF_WHOLEROWS, and Shadow.
void ScDocShell::UpdatePaintExt | ( | sal_uInt16 & | rExtFlags, |
SCCOL | nStartCol, | ||
SCROW | nStartRow, | ||
SCTAB | nStartTab, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nEndTab | ||
) |
Definition at line 228 of file docsh3.cxx.
References UpdatePaintExt().
Referenced by ScDocFunc::ApplyAttributes(), ScViewFunc::ApplyPatternLines(), ScViewFunc::CutToClip(), ScViewFunc::DataFormPutData(), ScDocFunc::DeleteCell(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteContents(), ScUndoPaste::DoChange(), ScUndoCut::DoChange(), ScUndoDeleteContents::DoChange(), ScUndoSelectionAttr::DoChange(), ScUndoSelectionStyle::DoChange(), ScUndoDataForm::DoChange(), ScUndoDragDrop::DoUndo(), ScDocFunc::InsertCells(), ScDocFunc::MoveBlock(), ScViewFunc::PasteFromClip(), ScUndoDragDrop::Redo(), ScUndoAutoFill::Undo(), ScUndoTabOp::Undo(), and UpdatePaintExt().
void ScDocShell::UpdatePendingRowHeights | ( | SCTAB | nUpdateTab, |
bool | bBefore = false |
||
) |
Definition at line 442 of file docsh5.cxx.
References AdjustRowHeight(), ScMarkData::GetSelectCount(), ScMarkData::GetTableSelect(), m_pDocument, ScMarkData::SelectTable(), and UpdateAllRowHeights().
Referenced by ScPreview::CalcPages(), ScPrintFunc::Construct(), ScTabViewShell::Notify(), ScPrintFuncCache::ScPrintFuncCache(), and ScTabView::SetTabNo().
void ScDocShell::UseScenario | ( | SCTAB | nTab, |
const OUString & | rName, | ||
bool | bRecord = true |
||
) |
only if there are visible frames?
Definition at line 669 of file docsh5.cxx.
References SfxUndoManager::AddUndoAction(), ScRange::aEnd, ALL, ScRange::aStart, ScAddress::Col(), Application::CreateMessageDialog(), GetActiveDialogParent(), ScMarkData::GetMultiMarkArea(), GetUndoManager(), Grid, i, m_pDocument, MAXTAB, PostPaint(), ScAddress::Row(), SCDOCMODE_UNDO, ScResId(), SCTAB_MAX, ScDocShellModificator::SetDocumentModified(), TwoWay, and ValidTab().
Referenced by ScTableSheetObj::apply(), ScUndoUseScenario::Redo(), and ScViewFunc::UseScenario().
|
private |
Definition at line 3269 of file docsh.cxx.
References m_pDocument, and m_pSheetSaveData.
Referenced by Notify().
|
private |
Definition at line 97 of file docsh.hxx.
Referenced by SetDocumentModified().
|
private |
Definition at line 91 of file docsh.hxx.
Referenced by ExecutePageStyle(), and GetStatePageStyle().
|
private |
Definition at line 90 of file docsh.hxx.
Referenced by ExecutePageStyle(), and GetStatePageStyle().
|
private |
Definition at line 93 of file docsh.hxx.
Referenced by AfterXMLLoading(), ConvertFrom(), Load(), and SetEmpty().
|
private |
Definition at line 92 of file docsh.hxx.
Referenced by CalcOutputFactor(), ScDocShell(), SetInplace(), and SetVisAreaOrSize().
|
private |
Definition at line 94 of file docsh.hxx.
Referenced by SetInUndo().
|
private |
Definition at line 99 of file docsh.hxx.
Referenced by Execute(), GetLinkUpdateModeState(), and SetInitialLinkUpdate().
|
private |
Definition at line 98 of file docsh.hxx.
Referenced by LockDocument(), LockDocument_Impl(), MakeDrawLayer(), UnlockDocument(), and UnlockDocument_Impl().
|
private |
Definition at line 86 of file docsh.hxx.
Referenced by CalcOutputFactor().
|
private |
Definition at line 103 of file docsh.hxx.
Referenced by ConvertTo(), Notify(), ScDocShell::PrepareSaveGuard::PrepareSaveGuard(), and ~ScDocShell().
|
private |
Definition at line 88 of file docsh.hxx.
Referenced by InitItems(), ScDocShell(), and ~ScDocShell().
|
private |
Definition at line 82 of file docsh.hxx.
Referenced by AdjustPrintZoom(), AdjustRowHeight(), AfterXMLLoading(), AllowLinkUpdate(), AsciiSave(), BeforeXMLLoading(), CalcOutputFactor(), CancelAutoDBRange(), CompareDocument(), ConvertFrom(), ConvertTo(), DBAreaDeleted(), DBaseExport(), DBaseImport(), DdeCreateLinkSource(), DoAutoStyle(), DoConsolidate(), DoHardRecalc(), DoRecalc(), Draw(), Execute(), ExecuteChangeProtectionDialog(), ExecutePageStyle(), GetAnonymousDBData(), GetDBData(), GetDocColors(), GetDocStat(), GetDocumentPrinter(), GetHiddenInformationState(), GetPageOnFromPageStyleSet(), GetPrinter(), GetProtectionHash(), GetRefDevice(), GetState(), GetStatePageStyle(), GetStyleSheetPool(), GetUndoManager(), GetVisArea(), HasChangeRecordProtection(), InitItems(), InitNew(), InitOptions(), IsChangeRecording(), IsEditable(), Load(), LoadExternal(), LoadFrom(), LoadStyles(), LoadStylesArgs(), LoadXML(), LockDocument_Impl(), MakeDrawLayer(), MakeScenario(), MergeDocument(), MergeSharedDocument(), ModifyScenario(), MoveTable(), Notify(), NotifyStyle(), PageStyleModified(), PostDataChanged(), PostPaint(), PostPaintExtras(), PostPaintGridAll(), PrepareClose(), ScDocShell::PrepareSaveGuard::PrepareSaveGuard(), QuerySlotExecutable(), ReconnectDdeLink(), RefreshPivotTables(), ReloadAllLinks(), ReloadTabLinks(), ResetDrawObjectShell(), Save(), SaveAs(), SaveXML(), ScDocShell(), SetChangeRecording(), SetDocumentModified(), SetDrawModified(), SetFormulaOptions(), SetPrinter(), SetPrintZoom(), SetProtectionPassword(), SetVisAreaOrSize(), SnapVisArea(), TransferTab(), UnlockDocument_Impl(), UpdateAllRowHeights(), UpdateLinks(), UpdateOle(), UpdatePaintExt(), UpdatePendingRowHeights(), UseScenario(), UseSheetSaveEntries(), and ~ScDocShell().
|
private |
Definition at line 106 of file docsh.hxx.
Referenced by GetFormatSaveData(), and ~ScDocShell().
|
private |
Definition at line 87 of file docsh.hxx.
Referenced by Execute(), GetState(), UpdateFontList(), and ~ScDocShell().
|
private |
Definition at line 108 of file docsh.hxx.
Referenced by AfterXMLLoading(), BeforeXMLLoading(), and ~ScDocShell().
|
private |
Definition at line 101 of file docsh.hxx.
Referenced by CancelAutoDBRange(), GetDBData(), GetOldAutoDBRange(), and ~ScDocShell().
|
private |
Definition at line 104 of file docsh.hxx.
Referenced by LockPaint_Impl(), PostPaint(), SetDocumentModified(), SetLockCount(), UnlockPaint_Impl(), and ~ScDocShell().
|
private |
Definition at line 105 of file docsh.hxx.
Referenced by GetSheetSaveData(), Notify(), UseSheetSaveEntries(), and ~ScDocShell().
|
private |
|
private |
|
private |
Definition at line 110 of file docsh.hxx.
Referenced by Notify(), and RegisterAutomationWorkbookObject().