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) | |
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 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) 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) |
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 (const char *pGlobStrId) |
bool | IsEditable () const |
bool | AdjustRowHeight (SCROW nStartRow, SCROW nEndRow, SCTAB nTab) |
merge with docfunc More... | |
void | UpdateAllRowHeights (const ScMarkData *pTabMark=nullptr) |
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 | 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_LINK (DialogClosedHdl, sfx2::FileDialogHelper *, void) | |
DECL_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_LINK (RefreshDBDataHdl, Timer *, void) | |
void | BeforeXMLLoading () |
void | AfterXMLLoading (bool bRet) |
virtual HiddenInformation | GetHiddenInformationState (HiddenInformation nStates) override |
const ScOptSolverSave * | GetSolverSaveData () const |
void | SetSolverSaveData (std::unique_ptr< ScOptSolverSave > pData) |
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 | SetIsInUcalc () |
void | RegisterAutomationWorkbookObject (css::uno::Reference< ooo::vba::excel::XWorkbook > const &xWorkbook) |
![]() | |
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 (SfxMedium *pMedium=nullptr) |
bool | DoLoad (SfxMedium *pMedium) |
bool | DoLoadExternal (SfxMedium *pMed) |
bool | DoSave () |
bool | DoSaveAs (SfxMedium &rNewStor) |
bool | DoSaveObjectAs (SfxMedium &rNewStor, bool bCommit) |
bool | LoadOwnFormat (SfxMedium &pMedium) |
virtual bool | SaveAsOwnFormat (SfxMedium &pMedium) |
virtual bool | SaveCompleted (const css::uno::Reference< css::embed::XStorage > &xStorage) |
bool | SwitchPersistence (const css::uno::Reference< css::embed::XStorage > &xStorage) |
bool | IsConfigOptionsChecked () const |
void | SetConfigOptionsChecked (bool bChecked) |
void | SaveChildren (bool bObjectsOnly=false) |
bool | SaveAsChildren (SfxMedium &rMedium) |
bool | SwitchChildrenPersistance (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) |
void | RecheckSignature (bool bAlsoRecheckScriptingSignature) |
void | AfterSigning (bool bSignSuccess, bool bSignScriptingContent) |
bool | HasValidSignatures () const |
SignatureState | GetDocumentSignatureState () |
void | 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) |
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 () |
void | SignScriptingContent (weld::Window *pDialogParent) |
DECL_LINK (SignDocumentHandler, weld::Button &, void) | |
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, const OUString &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) |
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 |
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 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 |
virtual sfx::AccessibilityIssueCollection | runAccessibilityCheck () |
virtual SfxObjectShell * | GetObjectShell () override |
css::uno::Reference< css::frame::XModel > | GetModel () const |
void | SetBaseModel (SfxBaseModel *pModel) |
css::uno::Reference< css::frame::XModel > | 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 |
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 OutputDevice * | GetDocumentRefDev () |
virtual void | OnDocumentPrinterChanged (Printer *pNewPrinter) |
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) |
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) |
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 (const OUString &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 |
virtual std::unique_ptr< LockAllViewsGuard > | LockAllViews () |
![]() | |
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) |
void | SetUndoManager (SfxUndoManager *pNewUndoMgr) |
SfxRepeatTarget * | GetRepeatTarget () const |
void | SetRepeatTarget (SfxRepeatTarget *pTarget) |
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 |
void | SetDisableFlags (SfxDisableFlags nFlags) |
SfxDisableFlags | GetDisableFlags () const |
virtual std::unique_ptr< 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) |
![]() | |
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 |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
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 const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () |
static OUString | CreateShellID (const SfxObjectShell *pShell) |
static SfxObjectShell * | GetFirst (const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true) |
static SfxObjectShell * | GetNext (const SfxObjectShell &rPrev, const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true) |
static 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 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... | |
Additional Inherited Members | |
![]() | |
SfxObjectShell (SfxObjectCreateMode) | |
SfxObjectShell (SfxModelFlags) | |
virtual | ~SfxObjectShell () override |
void | ModifyChanged () |
virtual bool | Close () override |
virtual void | DoFlushDocInfo () |
void | AddToRecentlyUsedList () |
![]() | |
SfxShell () | |
SfxShell (SfxViewShell *pViewSh) | |
void | SetViewShell_Impl (SfxViewShell *pView) |
SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
![]() | |
static void | HandleOpenXmlFilterSettings (SfxRequest &) |
|
explicitdelete |
Referenced by Execute().
|
explicit |
Definition at line 2734 of file docsh.cxx.
References ScModelObj::CreateAndSet(), CreateDocFunc(), document, SfxObjectShell::GetCreateMode(), ScDocument::GetDBCollection(), SfxShell::GetPool(), ScDocument::GetStyleSheetPool(), LINK, m_aDocument, m_bIsInplace, m_pDocFunc, SC_MOD, SfxShell::SetPool(), ScDBCollection::SetRefreshHandler(), and SfxListener::StartListening().
|
overridevirtual |
Definition at line 2772 of file docsh.cxx.
References SfxListener::EndListening(), SfxApplication::GetDdeService(), ScDocument::GetStyleSheetPool(), m_aDocument, m_pAutoStyleList, m_pDocFunc, m_pFormatSaveData, m_pImpl, m_pModificator, m_pOldAutoDBRange, m_pPaintLockData, m_pSheetSaveData, m_pSolverSaveData, ScDocument::mpUndoManager, SfxApplication::RemoveDdeTopic(), ResetDrawObjectShell(), and SfxGetpApp().
bool ScDocShell::AdjustPrintZoom | ( | const ScRange & | rRange | ) |
Definition at line 1641 of file docsh4.cxx.
References ScRange::aEnd, ScRange::aStart, ATTR_PAGE_HEADERS(), ATTR_PAGE_SCALE(), ATTR_PAGE_SCALETOPAGES(), ScAddress::Col(), SfxStyleSheetBasePool::Find(), SfxItemSet::Get(), ScDocument::GetColWidth(), SfxStyleSheetBase::GetItemSet(), ScDocument::GetPageStyle(), GetPrinter(), ScDocument::GetRepeatColRange(), ScDocument::GetRepeatRowRange(), ScDocument::GetRowHeight(), ScPrintFunc::GetScaleData(), ScDocument::GetStyleSheetPool(), Size::Height(), i, m_aDocument, PRINT_HEADER_HEIGHT, PRINT_HEADER_WIDTH, ScAddress::Row(), SetPrintZoom(), ScAddress::Tab(), Size::Width(), and ZOOM_MIN.
Referenced by ScGridWindow::PagebreakMove().
merge with docfunc
Definition at line 404 of file docsh5.cxx.
References ScSizeDeviceProvider::GetDevice(), ScSizeDeviceProvider::GetPPTX(), ScSizeDeviceProvider::GetPPTY(), Grid, Left, m_aDocument, ScDocument::MaxCol(), ScDocument::MaxRow(), PostPaint(), ScDocument::SetDrawPageSize(), and ScDocument::SetOptimalHeight().
Referenced by ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoEnterData::DoChange(), ScUndoUpdateAreaLink::DoChange(), ScImportExport::EndPaste(), ScImportExport::ExtText2Doc(), lcl_PutDataArray(), lcl_PutFormulaArray(), ScAreaLink::Refresh(), ScDocumentConfiguration::setPropertyValue(), ScDBDocFunc::Sort(), and UpdatePendingRowHeights().
void ScDocShell::AfterXMLLoading | ( | bool | bRet | ) |
Definition at line 266 of file docsh.cxx.
References aName, ScDPCollection::CreateNewName(), ScDPCollection::GetCount(), ScGlobal::GetDocTabName(), ScDPObject::GetName(), i, nIndex, ScDocument::OFF, SC_COMPILER_FILE_TAB_SEP, ScDPObject::SetName(), ScDocument::TEMPORARY, ScGlobal::UnicodeStrChr(), and ScChartListenerCollection::UpdateDirtyCharts().
Referenced by ScModelObj::AfterXMLLoading().
void ScDocShell::AllowLinkUpdate | ( | ) |
Definition at line 113 of file docsh4.cxx.
References SfxObjectShell::getEmbeddedObjectContainer(), m_aDocument, ScDocument::SetLinkFormulaNeedingCheck(), and comphelper::EmbeddedObjectContainer::setUserAllowsLinkUpdate().
Referenced by ScTabViewShell::Construct(), and ReloadAllLinks().
void ScDocShell::AsciiSave | ( | SvStream & | rStream, |
const ScImportOptions & | rOpt | ||
) |
Definition at line 1929 of file docsh.cxx.
References ATTR_HOR_JUSTIFY(), ATTR_PROTECTION(), ScImportOptions::bFixedWidth, ScImportOptions::bSaveAsShown, ScImportOptions::bSaveFormulas, ScImportOptions::bSaveNumberAsSuch, cDelim, CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_NONE, CELLTYPE_STRING, CELLTYPE_VALUE, ScImportOptions::eCharSet, endlub(), eType, ScDocument::GetAttr(), ScDocument::GetCellArea(), ScDocument::GetEditEngine(), SvStream::GetEndian(), ScFormulaCell::GetErrCode(), ScGlobal::GetErrorString(), ScDocument::GetFormatTable(), ScFormulaCell::GetFormula(), ScProtectionAttr::GetHideCell(), ScProtectionAttr::GetHideFormula(), ScCellFormat::GetInputString(), ScHorizontalCellIterator::GetNext(), ScDocument::GetNumberFormat(), GetSaveTab(), SvStream::GetStreamCharSet(), svl::SharedString::getString(), ScCellFormat::GetString(), ScFormulaCell::GetString(), EditEngine::GetText(), ScDocument::IsTabProtected(), SvNumberFormatter::IsTextFormat(), ScFormulaCell::IsValue(), m_aDocument, ScRefCellValue::meType, ScRefCellValue::mpEditText, ScRefCellValue::mpFormula, ScRefCellValue::mpString, ScImportOptions::nFieldSepCode, ScImportOptions::nTextSepCode, OUStringToOString(), ScResId(), SvStream::SetEndian(), ScProgress::SetStateOnPercent(), SvStream::SetStreamCharSet(), EditEngine::SetText(), SvStream::StartWritingUnicodeText(), write_uInt16s_FromOUString(), SvStream::WriteBytes(), SvStream::WriteUnicodeOrByteText(), and SvStream::WriteUniOrByteChar().
Referenced by ConvertTo().
void ScDocShell::BeforeXMLLoading | ( | ) |
Definition at line 251 of file docsh.cxx.
Referenced by ScModelObj::BeforeXMLLoading().
void ScDocShell::CalcOutputFactor | ( | ) |
Definition at line 354 of file docsh3.cxx.
References ATTR_PATTERN(), o3tl::convert(), Application::GetDefaultDevice(), SfxItemPool::GetDefaultItem(), OutputDevice::GetFont(), ScPatternAttr::GetFont(), OutputDevice::GetMapMode(), ScDocument::GetPool(), GetRefDevice(), OutputDevice::GetTextWidth(), m_aDocument, m_bIsInplace, m_nPrtToScreenFactor, o3tl::mm100, ScGlobal::nScreenPPTX, OutputDevice::PixelToLogic(), SC_AUTOCOL_BLACK, SC_MOD, OutputDevice::SetFont(), OutputDevice::SetMapMode(), o3tl::twip, and Width.
Referenced by ScModelObj::initializeForTiledRendering(), SetInplace(), SetPrinter(), and UpdateFontList().
void ScDocShell::CancelAutoDBRange | ( | ) |
Definition at line 368 of file docsh5.cxx.
References ScDocument::ApplyFlagsTab(), Auto, DBAreaDeleted(), ScDocument::GetAnonymousDBData(), ScDBData::GetArea(), GetCurTab(), Grid, m_aDocument, 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::getLocaleDataPtr(), 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::CompareDocument(), ScDocument::EndChangeTracking(), ScDocument::GetChangeTrack(), ScDocument::GetDocumentShell(), ScChangeTrack::GetFirst(), SfxObjectShell::GetMedium(), SfxObjectShell::GetModel(), SfxMedium::GetName(), ScChangeTrack::GetUser(), m_aDocument, PostPaintGridAll(), SetDocumentModified(), ScChangeTrack::SetUser(), and ScDocument::StartChangeTracking().
Referenced by Execute().
|
overridevirtual |
Call CreateFileStream directly, if available
In the filter
For all imports?
Reimplemented from SfxObjectShell.
Definition at line 1137 of file docsh.cxx.
References ScRange::aEnd, ScRange::aStart, EIF_AUTO, EIF_BIFF5, EIF_BIFF8, EIF_BIFF_LE4, ERRCODE_NONE, ScFormatFilter::Get(), SfxMedium::GetBaseURL(), ScAsciiOptions::GetCharSet(), ScGlobal::GetCharsetString(), ScGlobal::GetCharsetValue(), ScSizeDeviceProvider::GetDevice(), GetError(), SfxMedium::GetFilter(), SfxMedium::GetInStream(), SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), SfxMedium::GetName(), ScFormatFilterPlugin::GetOrcusFilters(), SfxMedium::GetPhysicalName(), ScSizeDeviceProvider::GetPPTX(), ScSizeDeviceProvider::GetPPTY(), comphelper::getProcessComponentContext(), CntUInt16Item::GetValue(), GetValue, ScOrcusFilters::importExcel2003XML(), ScOrcusFilters::importGnumeric(), ScImportExport::ImportStream(), ScImportExport::IsOverflowCell(), ScImportExport::IsOverflowCol(), ScImportExport::IsOverflowRow(), SfxMedium::IsStorage(), ErrCode::IsWarning(), LANGUAGE_SYSTEM, lcl_parseHtmlFilterOption(), ScGlobal::nLastColWidthExtra, nPPTX, nPPTY, ScGlobal::nScreenPPTX, ScGlobal::nScreenPPTY, pFilterAscii, pFilterDBase, pFilterDif, pFilterEx4Temp, pFilterEx5Temp, pFilterEx95Temp, pFilterEx97Temp, pFilterExcel4, pFilterExcel5, pFilterExcel95, pFilterExcel97, pFilterHtml, pFilterHtmlWebQ, pFilterLotus, pFilterQPro6, pFilterRtf, pFilterSylk, pFilterXML, ScAsciiOptions::ReadFromString(), SAL_WARN, 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_RANGE_OVERFLOW, SCWARN_IMPORT_ROW_OVERFLOW, SvStream::Seek(), ScAsciiOptions::SetCharSet(), ScAddress::SetCol(), SetError(), ScImportExport::SetExtOptions(), ScAsciiOptions::SetFieldSeps(), ScMarkData::SetMarkArea(), ScAddress::SetRow(), SvStream::SetStreamCharSet(), ScAsciiOptions::SetTextSep(), and ScDocRowHeightUpdater::update().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 2309 of file docsh.cxx.
References AsciiSave(), ScImportOptions::BuildString(), SfxItemSet::ClearItem(), SfxMedium::CloseOutStream(), DBaseExport(), ERRCODE_ABORT, ERRCODE_NONE, ExpBiff5, ExpBiff8, ScImportExport::ExportStream(), ScFormatFilter::Get(), GetActiveDialogParent(), SfxMedium::GetBaseURL(), GetBestViewShell(), ScDocument::GetCellArea(), ScGlobal::GetCharsetString(), ScGlobal::GetCharsetValue(), SfxObjectShell::GetCreateMode(), SfxMedium::GetError(), SfxObjectShell::GetError(), ScDocument::GetExtDocOptions(), SfxMedium::GetFilter(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), SfxMedium::GetName(), ScImportExport::GetNonConvertibleChars(), SfxMedium::GetOutStream(), SfxMedium::GetPhysicalName(), ScDocument::GetRefreshTimerControlAddress(), ScDocument::GetTableCount(), CntUnencodedStringItem::GetValue(), GetValue, IsDocument(), ErrCode::IsWarning(), KillFile(), m_aDocument, m_pAutoStyleList, MoveFile(), ScPassHashHelper::needsPassHashRegen(), PASSHASH_XL, pFilterAscii, pFilterDBase, pFilterDif, pFilterEx5Temp, pFilterEx95Temp, pFilterEx97Temp, pFilterExcel5, pFilterExcel95, pFilterExcel97, pFilterHtml, pFilterSylk, pFilterXML, SaveXML(), SCERR_EXPORT_DATA, SCERR_IMPORT_NI, ScFormatFilterPlugin::ScExportDif(), ScFormatFilterPlugin::ScExportExcel5(), SCWARN_EXPORT_ASCII, SCWARN_EXPORT_NONCONVERTIBLE_CHARS, SfxMedium::SetError(), SfxObjectShell::SetError(), ScDocument::SetExtDocOptions(), INetURLObject::setExtension(), ScImportExport::SetFilterOptions(), ScImportExport::SetFormulas(), ScImportExport::SetStreamPath(), SfxObjectShell::SetVisArea(), INetURLObject::Unambiguous, and ScWarnPassword::WarningOnPassword().
|
private |
Definition at line 2729 of file docsh.cxx.
Referenced by ScDocShell().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 2933 of file docsh.cxx.
References ScAbstractDialogFactory::Create(), SfxObjectShell::Current(), ScAbstractDialogFactory::GetTabPageCreatorFunc(), and ScResId().
Definition at line 103 of file docsh5.cxx.
References Auto, ScDocument::BroadcastUno(), Grid, m_aDocument, PostPaint(), and ScDocument::RemoveFlagsTab().
Referenced by ScDBFuncUndo::BeginRedo(), CancelAutoDBRange(), ScDBFuncUndo::EndUndo(), GetDBData(), and ScDBDocFunc::ModifyAllDBData().
|
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(), SvxTextEncodingTable::GetTextString(), Date::GetUNODate(), ScRefCellValue::isEmpty(), KillFile(), ScRefCellValue::meType, 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, void(), and xFactory.
Referenced by ConvertTo().
|
private |
Definition at line 272 of file docsh8.cxx.
References SvDbaseConverter::ConvertPrecisionToDbase(), condformat::entry::DATE, ERRCODE_IO_GENERAL, ERRCODE_NONE, comphelper::getProcessServiceFactory(), i, 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, void(), xFactory, and xRow.
|
override |
Definition at line 2445 of file docsh4.cxx.
References ScRangeData::AbsArea, ScRangeData::AbsPos, ScRange::aStart, formula::FormulaGrammar::CONV_OOO, ScRangeName::findByUpperName(), ScGlobal::getCharClassPtr(), ScDocument::GetRangeName(), ScRangeData::GetSymbol(), ScRangeData::HasType(), m_aDocument, ScAddress::Parse(), ScRange::Parse(), pData, ScRangeData::RefArea, and VALID.
ScDocShell::DECL_LINK | ( | DialogClosedHdl | , |
sfx2::FileDialogHelper * | , | ||
void | |||
) |
ScDocShell::DECL_LINK | ( | ReloadAllLinksHdl | , |
weld::Button & | , | ||
void | |||
) |
Definition at line 1511 of file docsh4.cxx.
References ScRange::aEnd, ScDocument::ApplyStyleAreaTab(), ScRange::aStart, ScAddress::Col(), ScDocument::ExtendMerge(), SfxStyleSheetBasePool::Find(), ScStyleSheetPool::FindCaseIns(), ScDocument::GetStyleSheetPool(), Grid, m_aDocument, PostPaint(), ScAddress::Row(), ScResId(), and ScAddress::Tab().
Referenced by ScAutoStyleList::ExecuteAllNow(), and ScAutoStyleList::ExecuteEntries().
void ScDocShell::DoConsolidate | ( | const ScConsolidateParam & | rParam, |
bool | bRecord = true |
||
) |
Definition at line 501 of file docsh5.cxx.
References aData, ScConsData::AddData(), ScConsData::AddFields(), ScConsData::AddName(), SfxUndoManager::AddUndoAction(), ScRange::aEnd, ALL, ScConsolidateParam::bByCol, ScConsolidateParam::bByRow, ScConsolidateParam::bReferenceData, ScAddress::Col(), CONTENTS, ScDocument::CopyToDocument(), Application::CreateMessageDialog(), ScDocument::DeleteAreaTab(), ScConsData::DoneFields(), ScConsolidateParam::eFunction, FORMULA, GetActiveDialogParent(), ScDBData::GetArea(), ScDocument::GetDBAtCursor(), ScConsData::GetInsertCount(), ScDocument::GetOutlineTable(), ScConsData::GetSize(), ScDocument::GetTableCount(), GetUndoManager(), Grid, lcl_GetAreaName(), Left, m_aDocument, ScDocument::MaxCol(), ScDocument::MaxRow(), ScConsolidateParam::nCol, ScArea::nColEnd, ScArea::nColStart, ScConsolidateParam::nDataAreaCount, NONE, nPos, ScConsolidateParam::nRow, ScArea::nRowEnd, ScArea::nRowStart, ScArea::nTab, ScConsolidateParam::nTab, ScConsData::OutputToDocument(), ScConsolidateParam::pDataAreas, PostPaint(), ScAddress::Row(), SCDOCMODE_UNDO, ScResId(), ScDBData::SetArea(), ScDocShellModificator::SetDocumentModified(), ScConsData::SetFlags(), ScDBData::SetHeader(), ScConsData::SetSize(), Size, and TOP_LEFT.
Referenced by ScDBFunc::Consolidate(), ScModelObj::consolidate(), and ScUndoConsolidate::Redo().
|
private |
Definition at line 205 of file docsh.cxx.
References ScTabViewShell::GetActiveViewShell(), ScViewData::GetDocShell(), ScTabView::GetViewData(), and SC_MOD.
Referenced by PrepareClose().
void ScDocShell::DoHardRecalc | ( | ) |
Definition at line 1473 of file docsh4.cxx.
References ScDocument::BroadcastUno(), ScDocument::CalcAll(), CALCULATE, count(), ScDocFunc::DetectiveRefresh(), end, GetActiveDialogParent(), GetBestViewShell(), GetDocFunc(), ScDocument::GetTableCount(), ScDocument::HasAnySheetEventScript(), m_aDocument, PostPaintGridAll(), SAL_INFO, ScDocument::SetCalcNotification(), ScDocument::SetStreamValid(), ScDBFunc::UpdateCharts(), ScTabViewShell::UpdateInputHandler(), and ScTabView::UpdateInputLine().
Referenced by ScModelObj::calculateAll(), Execute(), oox::xls::WorkbookFragment::recalcFormulaCells(), sc::DataStream::Refresh(), and ScModelObj::setPropertyValue().
void ScDocShell::DoRecalc | ( | bool | bApi | ) |
Definition at line 1427 of file docsh4.cxx.
References ScDocument::BroadcastUno(), ScDocument::CalcFormulaTree(), ScInputHandler::FormulaPreview(), GetActiveDialogParent(), GetBestViewShell(), ScDocument::GetChartListenerCollection(), ScInputHandler::GetCursorPos(), ScDocument::GetFormulaCell(), ScChartListenerCollection::hasListeners(), ScInputHandler::IsFormulaMode(), ScInputHandler::IsInputMode(), m_aDocument, PostDataChanged(), PostPaintGridAll(), SC_MOD, ScFormulaCell::SetDirty(), ScDBFunc::UpdateCharts(), ScTabViewShell::UpdateInputHandler(), and ScTabView::UpdateInputLine().
Referenced by ScModelObj::calculate(), and Execute().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 2578 of file docsh.cxx.
References SfxObjectShell::DoSaveCompleted().
|
overridevirtual |
Implements SfxObjectShell.
Definition at line 2129 of file docsh4.cxx.
References ASPECT_THUMBNAIL, ScPrintFunc::DrawToDev(), OutputDevice::GetLayoutMode(), ScDocument::GetPosLeft(), ScDocument::GetPosTop(), SfxObjectShell::GetVisArea(), ScDocument::GetVisibleTab(), ScDocument::HasTable(), m_aDocument, OutputDevice::SetLayoutMode(), ScViewData::SetScreen(), ScViewData::SetTabNo(), SfxObjectShell::SetVisArea(), and SnapVisArea().
|
private |
Referenced by Execute().
void ScDocShell::ErrorMessage | ( | const char * | pGlobStrId | ) |
StopMarking at the (active) view?
Definition at line 70 of file docsh5.cxx.
References Application::CreateMessageDialog(), GetActiveDialogParent(), weld::Widget::grab_focus(), weld::Widget::has_focus(), SfxObjectShell::IsReadOnly(), and ScResId().
Referenced by ScDBDocFunc::CreatePivotTable(), ScDBDocFunc::DoSubTotals(), ScOutlineDocFunc::MakeOutline(), PrepareClose(), ScDBDocFunc::Query(), ScOutlineDocFunc::RemoveOutline(), ScDBDocFunc::RepeatDB(), and ScDBDocFunc::Sort().
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 188 of file docsh4.cxx.
References aData, SfxUndoManager::AddUndoAction(), ScRange::aEnd, aName, SfxViewFrame::AppendInfoBar(), SfxRequest::AppendItem(), aProperties, ScRange::aStart, ScDocument::CalcAll(), SfxUndoManager::Clear(), tools::SvRef< 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(), DoHardRecalc(), SfxObjectShell::DoLoad(), SfxRequest::Done(), DoRecalc(), EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), EE_TEXTPOS_ALL, ScRangeList::empty(), EnableSharedSettings(), ScDocument::EndChangeTracking(), SfxUndoManager::EnterListAction(), ERRCODE_BASIC_BAD_PARAMETER, ERRCODE_BASIC_NO_ACTIVE_OBJECT, ERRCODE_BASIC_NO_OBJECT, ERRCTX_SFX_OPENDOC, sfx2::SfxNotebookBar::ExecMethod(), VclAbstractDialog::Execute(), ScTabViewShell::Execute(), ExecuteChangeProtectionDialog(), SfxDispatcher::ExecuteList(), SfxBindings::ExecuteSynchron(), ScDBCollection::NamedDBs::findByUpperName(), ScRangeList::front(), ScChangeTrack::GetActionMax(), GetActiveDialogParent(), ScViewData::GetActivePart(), ScTabViewShell::GetActiveViewShell(), ScDocument::GetAddressConvention(), ScDBData::GetArea(), SfxRequest::GetArg(), SfxRequest::GetArgs(), ScDocument::GetAutoCalc(), GetBestViewShell(), ScDocument::GetChangeTrack(), ScDocument::GetChangeViewSettings(), ScGlobal::getCharClassPtr(), SvxColorListItem::GetColorList(), ScDocument::GetDBCollection(), GetDBData(), ScTabViewShell::GetDialogParent(), ScViewData::GetDispatcher(), ScDocument::GetDocOptions(), GetDocument(), EditView::GetEditEngine(), ScViewData::GetEditView(), ScModelObj::GetEmbeddedObject(), SfxObjectShell::getEmbeddedObjectContainer(), EditEngine::GetEmptyItemSet(), ScDocumentLoader::GetFilterName(), ScTabViewShell::GetFormShell(), SfxShell::GetFrame(), SfxViewShell::GetFrameWeld(), ScDBData::GetImportParam(), SfxShell::GetItem(), SfxItemSet::GetItemState(), ScDocument::GetLanguage(), SvtLanguageTable::GetLanguageType(), GetLinkUpdateModeState(), svt::DocumentLockFile::GetLockData(), SfxMedium::GetName(), ScDBData::GetName(), ScDBCollection::getNamedDBs(), SfxShell::GetPool(), ScDocument::GetScenarioData(), SvtLanguageOptions::GetScriptTypeOfLanguage(), EditView::GetSelection(), SfxObjectShell::GetSharedFileURL(), SfxRequest::GetSlot(), ScModule::GetSpellSettings(), ScDocument::GetTable(), ScDocument::GetTableCount(), ScViewData::GetTabNo(), GetUndoManager(), SfxBoolItem::GetValue(), CntUnencodedStringItem::GetValue(), SfxInt16Item::GetValue(), GetValue, ScViewData::GetView(), GetViewBindings(), ScTabView::GetViewData(), 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(), ScDocument::IsBlockEditable(), SfxObjectShell::IsDocShared(), ScChangeTrack::IsProtected(), ScDocument::IsScenario(), ScShareDocumentDlg::IsShareDocumentChecked(), ScDBData::IsStripData(), ScDocument::IsTabProtected(), ScDocument::IsUndoEnabled(), Keep, LANGUAGE_DONTKNOW, LANGUAGE_NONE, SfxUndoManager::LeaveListAction(), ScDocument::LimitChartArea(), LINK, LM_ALWAYS, LM_NEVER, LM_ON_DEMAND, LoadSharedDocument(), m_aDocument, m_nCanUpdate, m_pImpl, ScTabView::MarkRange(), sfx2::DocumentInserter::Merge, MergeDocument(), mode, ModifyScenario(), ESelection::nEndPos, nPos, ESelection::nStartPos, nVersion, ScRangeList::Parse(), 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(), EditView::SetAttribs(), ScDocument::SetAutoCalc(), ScDocument::SetChangeViewSettings(), ScDocument::SetDocOptions(), SetDocumentModified(), SbxBase::SetError(), ScChangeViewSettings::SetHasActionRange(), ScDBData::SetImportParam(), ScDocument::SetLanguage(), SfxRequest::SetReturnValue(), EditView::SetSelection(), ScChangeViewSettings::SetShowAccepted(), ScChangeViewSettings::SetShowChanges(), ScDocument::SetString(), ScTabView::SetTabNo(), ScChangeViewSettings::SetTheActionRange(), comphelper::EmbeddedObjectContainer::setUserAllowsLinkUpdate(), FmFormShell::SetY2KState(), ScDocOptions::SetYear2000(), SfxGetpApp(), ScChangeViewSettings::ShowChanges(), SfxViewFrame::ShowChildWindow(), EditView::SpellIgnoreWord(), ScDocument::StartChangeTracking(), SfxObjectShell::SwitchToShared(), ScAddress::Tab(), TOOLS_WARN_EXCEPTION, u, UpdateAcceptChangesDialog(), ScDocument::UpdateChartArea(), ScDBDocFunc::UpdateImport(), ScTabView::UpdateLayerLocks(), ScInputHandler::UpdateSpellSettings(), VALID, ScDocument::ValidCol(), ScDocument::ValidRow(), ValidTab(), xModel, and ZERO.
void ScDocShell::ExecuteChangeCommentDialog | ( | ScChangeAction * | pAction, |
weld::Window * | pParent, | ||
bool | bPrevNext = true |
||
) |
Definition at line 637 of file docsh3.cxx.
References ScChangeAction::GetComment(), LocaleDataWrapper::getDate(), ScChangeAction::GetDateTime(), ScGlobal::getLocaleDataPtr(), SfxShell::GetPool(), LocaleDataWrapper::getTime(), and ScChangeAction::GetUser().
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 1364 of file docsh4.cxx.
References SvPasswordHelper::CompareHashPassword(), Application::CreateMessageDialog(), GetActiveDialogParent(), ScDocument::GetChangeTrack(), SvPasswordHelper::GetHashPassword(), SfxPasswordDialog::GetPassword(), ScChangeTrack::GetProtection(), SfxShell::GetStaticInterface(), HID_CHG_PROTECT, ScChangeTrack::IsProtected(), m_aDocument, 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 1762 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(), ScDocument::GetPageStyle(), SfxRequest::GetSlot(), ScDocument::GetStyleSheetPool(), GetUndoManager(), GetViewBindings(), SfxViewShell::GetViewFrame(), SfxRequest::Ignore(), ScStyleSaveData::InitFromStyle(), SfxBindings::Invalidate(), ScDocument::IsUndoEnabled(), m_aDocument, m_bFooterOn, m_bHeaderOn, SfxItemSet::MergeRange(), ScDocument::ModifyStyleSheet(), PageStyleModified(), ScDocument::RenamePageStyleInUse(), RET_OK, SetDocumentModified(), XATTR_FILL_FIRST(), and XATTR_FILL_LAST().
Referenced by ScPreviewShell::Execute().
|
overridevirtual |
Implements SfxObjectShell.
Definition at line 176 of file docsh.cxx.
References ScResId(), SO3_SC_CLASSID_60, SOFFICE_FILEFORMAT_60, and SOFFICE_FILEFORMAT_8.
|
static |
Definition at line 2950 of file docsh.cxx.
References ScTabViewShell::GetActiveViewShell(), Application::GetDefDialogParent(), ScTabViewShell::GetDialogParent(), and vcl::Window::GetFrameWeld().
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(), oox::xls::ExcelFilter::importDocument(), ScDocFunc::InsertCells(), ScDocFunc::InsertTable(), MergeSharedDocument(), ScModule::ModifyOptions(), Notify(), ScExternalRefManager::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 343 of file docsh5.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScDBCollection::getAnonDBs(), ScDBCollection::AnonDBs::getByRange(), ScDocument::GetDBCollection(), ScDocument::HasColHeader(), ScDBData::HasHeader(), m_aDocument, pData, ScAddress::Row(), ScDBData::SetHeader(), and ScAddress::Tab().
Referenced by ScDBFunc::GetAnonymousDBData().
|
static |
Definition at line 2693 of file docsh.cxx.
References pFilterAscii.
Referenced by ScFilterOptionsObj::execute().
ScTabViewShell * ScDocShell::GetBestViewShell | ( | bool | bOnlyVisible = true | ) |
Definition at line 2565 of file docsh4.cxx.
References ScTabViewShell::GetActiveViewShell(), ScViewData::GetDocShell(), SfxViewFrame::GetFirst(), ScTabView::GetViewData(), SfxShell::GetViewShell(), and p.
Referenced by CheckConfigOptions(), ConvertTo(), DoHardRecalc(), DoRecalc(), Execute(), ooo::vba::excel::getBestViewShell(), ScModelObj::getDocWindow(), ScModule::GetState(), GetState(), GetViewBindings(), ScOutlineDocFunc::HideOutline(), ScDataPilotTableObj::insertDrillDownSheet(), lcl_SelectAll(), MergeDocument(), ScViewFunc::MoveTable(), ScModelObj::paintTile(), ScModelObj::postMouseEvent(), ScDBDocFunc::Query(), SaveAs(), ScOutlineDocFunc::SelectLevel(), ScModelObj::setGraphicSelection(), 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 571 of file docsh3.cxx.
References ScRange::aEnd, ScBigRange::aStart, ScRange::aStart, ScAddress::Col(), eType, ScChangeAction::GetBigRange(), ScDocument::GetChangeTrack(), GetDocument(), ScChangeTrack::GetFirst(), ScChangeAction::GetNext(), ScChangeAction::GetType(), ScRange::In(), 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(), ScBigAddress::Tab(), and ScAddress::Tab().
Referenced by ScTabViewShell::GetState().
|
inline |
Definition at line 220 of file docsh.hxx.
Referenced by ooo::vba::excel::implnPasteSpecial(), and ScVbaRange::Insert().
|
static |
this must be made non-static and use a ViewShell from this document!
Definition at line 2556 of file docsh4.cxx.
References ScViewData::GetTabNo(), and GetViewData().
Referenced by ScPreview::CalcPages(), CancelAutoDBRange(), ScUndoMerge::DoChange(), ScModelObj::FillRenderMarkData(), getScRangeListForAddress(), ScServerObject::ScServerObject(), ScUndoRemoveMerge::SetCurTab(), and SetPrinter().
|
static |
Definition at line 2703 of file docsh.cxx.
References pFilterDBase.
Referenced by ScFilterOptionsObj::execute().
ScDBData * ScDocShell::GetDBData | ( | const ScRange & | rMarked, |
ScGetDBMode | eMode, | ||
ScGetDBSelection | eSel | ||
) |
(UNDO ???)
Definition at line 114 of file docsh5.cxx.
References SfxUndoManager::AddUndoAction(), ScRange::aEnd, assert(), ScRange::aStart, ScAddress::Col(), ScDocument::CompileHybridFormula(), DBAreaDeleted(), ScDBCollection::NamedDBs::findByUpperName(), ForceMark, ScDocument::GetAnonymousDBData(), ScDBData::GetArea(), ScGlobal::getCharClassPtr(), ScDocument::GetDataArea(), ScDocument::GetDBAtArea(), ScDocument::GetDBCollection(), ScDBCollection::GetDBNearCursor(), ScDBData::GetName(), ScDBCollection::getNamedDBs(), ScDBData::GetTab(), GetUndoManager(), ScDBData::HasAutoFilter(), ScDocument::HasColHeader(), ScDBData::HasHeader(), ScDBCollection::NamedDBs::insert(), m_aDocument, m_pOldAutoDBRange, nCount, pData, ScDocument::PreprocessDBDataUpdate(), ScAddress::Row(), RowDown, SC_DB_AUTOFILTER, SC_DB_IMPORT, SC_DB_MAKE, SC_DB_OLD, ScResId(), ScDocument::SetAnonymousDBData(), ScDBData::SetArea(), ScDBData::SetAutoFilter(), ScDBData::SetByRow(), ScDBData::SetHeader(), ScDBData::SetQueryParam(), ScDBData::SetSortParam(), ScDBData::SetSubTotalParam(), SfxGetpApp(), STR_DB_LOCAL_NONAME, ScAddress::Tab(), and void().
Referenced by ScCellRangeObj::applySubTotals(), ScCellRangeObj::createFilterDescriptor(), ScCellRangeObj::createImportDescriptor(), ScCellRangeObj::createSortDescriptor(), ScCellRangeObj::createSubTotalDescriptor(), ScCellRangeObj::doImport(), Execute(), ScCellRangeObj::filter(), ScDBFunc::GetDBData(), ScViewFunc::PasteDataFormat(), ScDBDocFunc::Query(), ScCellRangeObj::removeSubTotals(), and ScCellRangeObj::sort().
|
inline |
Definition at line 368 of file docsh.hxx.
Referenced by ScServerObject::GetData().
|
static |
Definition at line 2708 of file docsh.cxx.
References pFilterDif.
Referenced by ScFilterOptionsObj::execute().
Reimplemented from SfxObjectShell.
|
inline |
Definition at line 218 of file docsh.hxx.
Referenced by ScNamedRangesObj::addNewByName(), ScNamedRangesObj::addNewFromTitles(), ScTableSheetObj::addRanges(), ScVbaRange::AutoFill(), ScViewFunc::AutoFormat(), ScCellRangeObj::autoFormat(), ScViewFunc::ChangeIndent(), ScTableSheetObj::clearArrows(), ScCellRangesBase::clearContents(), ScViewFunc::ConvertFormulaToValue(), ScTableSheetsObj::copyByName(), ScTableSheetObj::copyRange(), ScViewFunc::CreateNames(), ScCellRangesBase::decrementIndent(), ScViewFunc::DeleteCells(), ScViewFunc::DeleteContents(), 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(), ScViewFunc::FillAuto(), ScCellRangeObj::fillAuto(), ScViewFunc::FillSeries(), ScCellRangeObj::fillSeries(), ScViewFunc::FillSimple(), oox::xls::Comment::finalizeImport(), ScRandomNumberGeneratorDialog::GenerateNumbers(), ScViewData::GetDocFunc(), ScTableSheetObj::hideDependents(), ScTableSheetObj::hidePrecedents(), ScCellRangesBase::incrementIndent(), ScCellObj::InputEnglishString(), ScViewFunc::InsertAreaLink(), ScAreaLinksObj::insertAtPosition(), ScTableColumnsObj::insertByIndex(), ScTableRowsObj::insertByIndex(), ScTableSheetsObj::insertByName(), ScViewFunc::InsertCells(), ScTableSheetObj::insertCells(), ScViewFunc::InsertCurrentTime(), ScViewFunc::InsertNameList(), ScAnnotationsObj::insertNew(), ScDrawPagesObj::insertNewByIndex(), ScTableSheetsObj::insertNewByName(), ScCellRangeObj::merge(), ScViewFunc::MergeCells(), MergeDocument(), ScNamedRangeObj::Modify_Impl(), ScAreaLinkObj::Modify_Impl(), ScPreview::MouseButtonUp(), ScGridWindow::MouseButtonUp(), ScViewFunc::MoveBlockTo(), ScTableSheetObj::moveRange(), ScCondFormatDlg::OkPressed(), ScNamedRangesObj::outputList(), ScViewFunc::PasteFromClip(), ScSamplingDialog::PerformPeriodicSampling(), ScSamplingDialog::PerformRandomSampling(), ScSamplingDialog::PerformRandomSamplingKeepOrder(), ScModelObj::protect(), ScTableSheetObj::protect(), ScViewFunc::ProtectDoc(), ScViewFunc::ProtectSheet(), ScUndoDragDrop::Redo(), ScModelObj::refreshArrows(), ScDrawPagesObj::remove(), ScTableColumnsObj::removeByIndex(), ScTableRowsObj::removeByIndex(), ScAnnotationsObj::removeByIndex(), ScNamedRangesObj::removeByName(), ScTableSheetsObj::removeByName(), ScScenariosObj::removeByName(), ScViewFunc::RemoveMerge(), ScTableSheetObj::removeRange(), ScTableSheetsObj::replaceByName(), ScViewFunc::ReplaceNote(), ScCellRangeObj::SetArrayFormula_Impl(), ScCellRangeObj::setArrayTokens(), ScVbaRange::setColumnWidth(), ScAccessibleCellBase::setCurrentValue(), SetDocumentModified(), ScVbaRange::setFormulaArray(), ScCellObj::setFormulaString(), ScTableSheetObj::setName(), ScViewFunc::SetNoteText(), ScCellRangesBase::SetOnePropertyValue(), ScTableSheetObj::SetOnePropertyValue(), ScTableColumnObj::SetOnePropertyValue(), ScTableRowObj::SetOnePropertyValue(), ScCellRangesBase::setPropertyToDefault(), ScTableColumnsObj::setPropertyValue(), ScTableRowsObj::setPropertyValue(), ScCellRangesBase::setPropertyValues(), ScCellRangesBase::setPropertyValuesTolerant(), ScVbaRange::setRowHeight(), ScCellObj::SetString_Impl(), ScCellRangeObj::setTableOperation(), ScCellObj::setTokens(), ScCellObj::SetValue_Impl(), ScTableSheetObj::showDependents(), ScTableSheetObj::showErrors(), ScTableSheetObj::showInvalid(), ScViewFunc::ShowNote(), ScTableSheetObj::showPrecedents(), ScDBDocFunc::Sort(), ScViewFunc::TabOp(), ScViewFunc::Unprotect(), ScModelObj::unprotect(), ScTableSheetObj::unprotect(), ScCellTextData::UpdateData(), AddressWalkerWriter::writeBoldString(), AddressWalkerWriter::writeFormula(), AddressWalkerWriter::writeFormulas(), AddressWalkerWriter::writeMatrixFormula(), AddressWalkerWriter::writeString(), and AddressWalkerWriter::writeValue().
Definition at line 2920 of file docsh.cxx.
References ScDocument::GetDocStat(), GetPrinter(), i, m_aDocument, ScDocStat::nPageCount, and ScDocStat::nTableCount.
Referenced by ScDocStatPage::ScDocStatPage().
|
inline |
Definition at line 216 of file docsh.hxx.
Referenced by ScNamedRangesObj::addActionLock(), ScCellRangesBase::addChartDataChangeEventListener(), ScDBDocFunc::AddDBRange(), ScDDELinksObj::addDDELink(), ScCellRangesBase::addModifyListener(), ScLabelRangesObj::addNew(), ScNamedRangesObj::addNewByName(), ScScenariosObj::addNewByName(), ScTableSheetObj::addRanges(), ScVbaRange::Address(), ScViewFunc::AdjustBlockHeight(), ScBlockUndo::AdjustHeight(), ScViewFunc::AdjustRowHeight(), ScCellsEnumeration::Advance_Impl(), ScViewFunc::AppendTable(), ScTableSheetObj::apply(), ScHelperFunctions::ApplyBorder(), ScViewFunc::ApplySelectionPattern(), ScVbaRange::AutoFilter(), ScOutlineDocFunc::AutoOutline(), ScDBFuncUndo::BeginRedo(), ScBlockUndo::BeginUndo(), ScMultiBlockUndo::BeginUndo(), ScDBFuncUndo::BeginUndo(), ScMoveUndo::BeginUndo(), ScSimpleUndo::BroadcastChanges(), ScPreview::CalcPages(), ScVbaWorksheet::Cells(), ScUndoSelectionAttr::ChangeEditData(), ScViewFunc::ChangeIndent(), ScVbaTextBoxShape::characters(), sc::tools::ChartIterator::ChartIterator(), ScCellsEnumeration::CheckPos_Impl(), ScServerObject::Clear(), ScAreaLink::Closed(), ScCellCursorObj::collapseToCurrentArray(), ScCellCursorObj::collapseToCurrentRegion(), ScCellCursorObj::collapseToMergedArea(), ScCellCursorObj::collapseToSize(), ScCellRangesBase::computeFunction(), ScModelObj::consolidate(), ScTabViewShell::Construct(), ScTableSheetsObj::copyByName(), ScTpLayoutOptions::Create(), ScCondFormatsObj::createByRange(), ScSelectionTransferObj::CreateCellData(), ScModelObj::createConsolidationDescriptor(), ScTableSheetObj::createCursor(), ScCondFormatObj::createEntry(), ScCellRangeObj::createFilterDescriptorByObject(), ScModule::CreateItemSet(), ScCellRangesBase::CreateMemChart_Impl(), ScDBDocFunc::CreatePivotTable(), ScAreaLink::DataChanged(), ScDBDocFunc::DataPilotUpdate(), sc::DataStream::Decode(), ScDBDocFunc::DeleteDBRange(), ScViewFunc::DeleteMulti(), ScDBFunc::DeletePivotTable(), ScViewFunc::DeleteTable(), ScViewFunc::DeleteTables(), ScViewFunc::DetectiveMarkPred(), ScViewFunc::DoAutoAttributes(), ScUndoAllRangeNames::DoChange(), ScUndoModifyStyle::DoChange(), ScUndoCursorAttr::DoChange(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoDeleteMulti::DoChange(), ScUndoRenameTab::DoChange(), ScUndoCut::DoChange(), ScUndoMoveTab::DoChange(), ScUndoPageBreak::DoChange(), ScUndoPrintZoom::DoChange(), ScUndoPaste::DoChange(), ScUndoTabColor::DoChange(), ScUndoThesaurus::DoChange(), ScUndoAutoFilter::DoChange(), ScUndoImportTab::DoChange(), ScUndoDeleteContents::DoChange(), ScUndoRemoveLink::DoChange(), ScUndoFillTable::DoChange(), ScUndoShowHideTab::DoChange(), ScUndoRangeNames::DoChange(), sc::UndoSetCells::DoChange(), ScUndoSelectionAttr::DoChange(), ScUndoPrintRange::DoChange(), ScUndoDataForm::DoChange(), ScUndoMerge::DoChange(), ScUndoLayoutRTL::DoChange(), ScUndoConversion::DoChange(), ScUndoRefConversion::DoChange(), ScUndoListNames::DoChange(), ScUndoConditionalFormat::DoChange(), ScUndoConditionalFormatList::DoChange(), ScUndoSelectionStyle::DoChange(), ScUndoUpdateAreaLink::DoChange(), ScDrawView::DoCopy(), ScTabControl::DoDrag(), ScPosWnd::DoEnter(), 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(), ScDrawShell::ExecDrawFunc(), ScTabViewShell::ExecDrawIns(), sc::UndoFormulaToValue::Execute(), sc::UndoSort::Execute(), ScPreviewShell::Execute(), ScModule::Execute(), Execute(), ScFormatShell::ExecuteStyle(), ScTabViewShell::ExecuteTable(), XclExpXmlStream::exportDocument(), ScViewFunc::FillAuto(), ScCellRangeObj::fillAuto(), ScPreviewShell::FillFieldData(), ScTabViewShell::FillFieldData(), ScModelObj::FillRenderMarkData(), ScViewFunc::FillSimple(), ScViewFunc::FillTab(), ScCellRangeObj::filter(), ScCellRangesBase::Find_Impl(), ScCellRangesBase::findAll(), ScRedComDialog::FindNext(), ScRedComDialog::FindPrev(), ScCellRangesBase::ForceChartListener_Impl(), ScInputHandler::FormulaPreview(), FuInsertChart::FuInsertChart(), ScAnnotationsObj::GetAddressByIndex_Impl(), sc::tools::getAllPivotChartsConnectedTo(), ScDBFunc::GetAnonymousDBData(), ScCellRangeObj::getArrayFormula(), ScCellRangeObj::getArrayTokens(), ScVbaWorksheet::getAutoFilterMode(), 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(), ScDataPilotTablesObj::getCount(), ScStyleFamilyObj::getCount(), ScSheetLinksObj::getCount(), ScAreaLinksObj::getCount(), ScLabelRangesObj::getCount(), ScDDELinksObj::getCount(), ScDrawPagesObj::getCount(), ScTableSheetsObj::getCount(), ScDatabaseRangesObj::getCount(), ScAnnotationsObj::getCount(), ScScenariosObj::getCount(), ScCellFormatsObj::getCount(), ScCellRangesBase::GetCurrentAttrsDeep(), ScCellRangesBase::GetCurrentAttrsFlat(), ScServerObject::GetData(), ScChartObj::GetData_Impl(), ScLabelRangeObj::GetData_Impl(), ScCellRangeObj::getDataArray(), ScDBFunc::GetDBData(), ScDatabaseRangeObj::GetDBData_Impl(), ScCellShell::GetDBState(), getDefaultCharWidth(), ScPrintFuncCache::GetDisplayStart(), ScDocumentLoader::GetDocument(), ScPreviewShell::GetDocument(), ScModelObj::GetDocument(), ScCellRangesBase::GetDocument(), getDocumentFromRange(), ScModelObj::getDocumentSize(), ScGridWindow::GetEditUrl(), ScDataPilotTablesObj::getElementNames(), ScStyleFamilyObj::getElementNames(), ScSheetLinksObj::getElementNames(), ScDDELinksObj::getElementNames(), ScCellRangesObj::getElementNames(), ScTableSheetsObj::getElementNames(), ScDatabaseRangesObj::getElementNames(), ScScenariosObj::getElementNames(), ScVbaWorksheet::getEnableSelection(), ScCellObj::getError(), ScChartObj::getFastPropertyValue(), ScPreview::GetFirstPage(), ScModelObj::GetFormatter(), ScCellRangeObj::getFormulaArray(), ScInputHandler::GetFormulaData(), ScExternalRefManager::getInMemorySrcDocument(), ScCellRangeObj::getIsMerged(), ScTableSheetObj::getIsScenario(), ScCellRangesBase::GetLimitedChartRanges_Impl(), ScTableSheetObj::getLinkMode(), ScTableSheetObj::getLinkSheetName(), GetLinkUpdateModeState(), ScTableSheetObj::getLinkUrl(), ScPreview::GetLocationData(), ScTableSheetObj::getName(), ScUndoRenameObject::GetObject(), ScDataPilotTablesObj::GetObjectByIndex_Impl(), ScStyleFamilyObj::GetObjectByIndex_Impl(), ScSheetLinksObj::GetObjectByIndex_Impl(), ScGlobalNamedRangesObj::GetObjectByIndex_Impl(), ScLocalNamedRangesObj::GetObjectByIndex_Impl(), ScLabelRangesObj::GetObjectByIndex_Impl(), ScDDELinksObj::GetObjectByIndex_Impl(), ScDatabaseRangesObj::GetObjectByIndex_Impl(), ScCellFormatsObj::GetObjectByIndex_Impl(), ScStyleFamilyObj::GetObjectByName_Impl(), ScSheetLinksObj::GetObjectByName_Impl(), ScDDELinksObj::GetObjectByName_Impl(), ScTableSheetsObj::GetObjectByName_Impl(), ScTableColumnsObj::GetObjectByName_Impl(), ScCellRangesBase::GetOnePropertyState(), ScCellRangesBase::GetOnePropertyValue(), ScCellRangeObj::GetOnePropertyValue(), ScTableSheetObj::GetOnePropertyValue(), ScTableColumnObj::GetOnePropertyValue(), ScTableRowObj::GetOnePropertyValue(), ScViewFunc::GetOptimalColWidth(), ScPreview::GetOptimalZoom(), ScCellObj::GetOutputString_Impl(), ScPreviewShell::GetPageSize(), ScModelObj::getParts(), ScModelObj::getPostIts(), ScModelObj::getPostItsPos(), ScVbaWorkbook::getPrecisionAsDisplayed(), ScVbaPageSetup::getPrintArea(), ScTableSheetObj::getPrintAreas(), ScTableSheetObj::getPrintTitleColumns(), ScTableSheetObj::getPrintTitleRows(), ScDocDefaultsObj::getPropertyDefault(), ScCellRangesBase::getPropertyDefault(), ScDocumentConfiguration::getPropertyValue(), ScDocDefaultsObj::getPropertyValue(), ScAddressConversionObj::getPropertyValue(), ScModelObj::getPropertyValue(), ScTableColumnsObj::getPropertyValue(), ScTableRowsObj::getPropertyValue(), ScStyleObj::getPropertyValue_Impl(), ScVbaWorksheet::getProtectDrawingObjects(), ScCellRangesObj::getRangeAddressesAsString(), 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(), ScTabViewObj::getSelection(), ScTransferObj::GetSourceDocument(), ScContentTree::GetSourceDocument(), sc::DataStreamDlg::GetStartRange(), ScPivotShell::GetState(), ScPreviewShell::GetState(), ScModule::GetState(), GetState(), ScStyleObj::GetStyle_Impl(), ScNamedRangeObj::GetTab_Impl(), ScLocalNamedRangesObj::GetTab_Impl(), ScPrintFuncCache::GetTabForPage(), ScAccessibleCellTextData::GetTextForwarder(), ScAnnotationEditSource::GetTextForwarder(), ScAccessiblePreviewHeaderCellTextData::GetTextForwarder(), ScAccessibleNoteTextData::GetTextForwarder(), ScCellTextData::GetTextForwarder(), ScTableSheetObj::getTitleColumns(), ScTableSheetObj::getTitleRows(), ScNamedRangeObj::getTokens(), ScCellObj::getTokens(), ScModelObj::getTrackedChanges(), ScCellObj::getType(), ScCellObj::GetValue_Impl(), ScModelObj::getViewData(), ScCellCursorObj::gotoEnd(), ScCellCursorObj::gotoEndOfUsedArea(), ScCellCursorObj::gotoNext(), ScCellCursorObj::gotoOffset(), ScCellCursorObj::gotoPrevious(), ScCellCursorObj::gotoStart(), ScCellCursorObj::gotoStartOfUsedArea(), ScModelObj::HandleCalculateEvents(), ScDataPilotTablesObj::hasByName(), ScStyleFamilyObj::hasByName(), ScSheetLinksObj::hasByName(), ScDDELinksObj::hasByName(), ScTableSheetsObj::hasByName(), ScDatabaseRangesObj::hasByName(), ScTableColumnsObj::hasByName(), ScUnnamedDatabaseRangesObj::hasByTable(), ScModelObj::HasChangesListeners(), ScDBFunc::HideAutoFilter(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScViewFunc::HideTable(), IMPL_LINK(), IMPL_LINK_NOARG(), ScInputHandler::ImplCreateEditEngine(), ScTableSheetsObj::importSheet(), ScViewFunc::ImportTables(), sc::DataStreamDlg::Init(), ScSpellDialogChildWindow::Init(), ScUndoChartData::Init(), ScStyleObj::InitDoc(), ScMoveTableDlg::InitDocListBox(), ScTransferObj::InitDocShell(), ScDrawTransferObj::InitDocShell(), ScTextWnd::InitEditEngine(), oox::xls::WorkbookGlobals::initialize(), ScCellRangesBase::InitInsertRange(), ScTableSheetObj::InitInsertSheet(), ScPrintFuncCache::InitLocations(), ScInputHandler::InitRangeFinder(), ScCellObj::InputEnglishString(), ScTableColumnsObj::insertByIndex(), ScTableRowsObj::insertByIndex(), ScStyleFamilyObj::insertByName(), ScTableSheetsObj::insertByName(), ScViewFunc::InsertCurrentTime(), ScViewFunc::InsertName(), ScDrawPagesObj::insertNewByIndex(), ScViewFunc::InsertTableLink(), ScViewFunc::InsertTables(), ScNamedRangesObj::isActionLocked(), ScModelObj::isAutomaticCalculationEnabled(), ScModelObj::isProtected(), ScTableSheetObj::isProtected(), ScGridWindow::IsSpellErrorAtPos(), 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(), ScTableSheetObj::link(), ScExternalRefManager::loadSrcDocument(), LoadStylesArgs(), ScNamedRangesObj::lock(), ScServiceProvider::MakeInstance(), ScOutlineDocFunc::MakeOutline(), ScViewFunc::MarkAndJumpToRanges(), MaxDocRange(), ScViewFunc::MergeCells(), MergeSharedDocument(), ScNamedRangeObj::Modify_Impl(), ScAreaLinkObj::Modify_Impl(), ScLabelRangeObj::Modify_Impl(), ScDBDocFunc::ModifyAllDBData(), ScViewFunc::ModifyCellSize(), ScDBDocFunc::ModifyDBData(), ScModule::ModifyOptions(), ScPreview::MouseButtonUp(), ScPreview::MouseMove(), ScTabViewObj::MousePressed(), ScTabViewObj::MouseReleased(), ScViewFunc::MoveBlockTo(), ScTableSheetsObj::moveByName(), ScViewFunc::MoveTable(), ScPreviewShell::Notify(), ScModelObj::Notify(), ScCellRangesBase::Notify(), ScDataPilotTableObj::Notify(), ScCellsObj::Notify(), ScCellsEnumeration::Notify(), ScInputHandler::NotifyChange(), ScModelObj::NotifyChanges(), ScForbiddenCharsObj::onChange(), ScGridWindow::PagebreakMove(), ScUndoDragDrop::PaintArea(), ScUndoUtil::PaintMore(), ScFormulaParserObj::parseFormula(), ScAddressConversionObj::ParseUIString(), ScViewFunc::PasteDataFormat(), ScViewFunc::PasteRTF(), ScTableSheetObj::PrintAreaUndo_Impl(), ScFormulaParserObj::printFormula(), ScModelObj::protect(), ScTableSheetObj::protect(), ScViewFunc::ProtectSheet(), ScDBFunc::Query(), ScDBDocFunc::Query(), ScCellRangesBase::queryContentCells(), ScCellRangesBase::queryDependents(), ScCellRangesBase::QueryDifferences_Impl(), ScCellRangesBase::queryEmptyCells(), ScCellRangesBase::queryFormulaCells(), ScCellRangesBase::queryPrecedents(), ScCellRangesBase::queryVisibleCells(), ScPreview::RecalcPages(), ScUndoInsertCells::Redo(), ScUndoAddRangeData::Redo(), ScUndoMakeOutline::Redo(), ScUndoApplyPageStyle::Redo(), ScUndoDeleteCells::Redo(), ScUndoEnterData::Redo(), ScUndoDeleteTab::Redo(), ScUndoDeleteMulti::Redo(), ScUndoEnterValue::Redo(), ScUndoCut::Redo(), ScUndoCopyTab::Redo(), ScUndoPaste::Redo(), ScUndoDragDrop::Redo(), ScUndoImportTab::Redo(), ScUndoDBData::Redo(), ScUndoShowHideNote::Redo(), ScUndoImportData::Redo(), ScUndoDetective::Redo(), ScUndoDataPilot::Redo(), ScUndoWidthOrHeight::Redo(), ScUndoChartData::Redo(), ScUndoAutoFill::Redo(), ScUndoScenarioFlags::Redo(), ScUndoDataForm::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(), ScCellRangesBase::RefChanged(), ScAreaLink::Refresh(), ScTableLink::Refresh(), ScDDELinkObj::refresh(), ScDataPilotTableObj::Refreshed_Impl(), ScDBDocFunc::RefreshPivotTableGroups(), ScDBDocFunc::RefreshPivotTables(), ScExternalRefManager::refreshSrcDocument(), ScRedComDialog::ReInit(), ScNamedRangesObj::removeActionLock(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScAreaLinksObj::removeByIndex(), ScLabelRangesObj::removeByIndex(), ScTableColumnsObj::removeByIndex(), ScTableRowsObj::removeByIndex(), ScAnnotationsObj::removeByIndex(), ScStyleFamilyObj::removeByName(), ScCellRangesObj::removeByName(), ScTableSheetsObj::removeByName(), ScCellRangesBase::removeChartDataChangeEventListener(), ScViewFunc::RemoveManualBreaks(), ScOutlineDocFunc::RemoveOutline(), ScDBDocFunc::RemovePivotTable(), ScDBDocFunc::RenameDBRange(), XclExpXmlStream::renameTab(), ScModelObj::render(), ScUndoSelectionStyle::Repeat(), ScUndoEnterMatrix::Repeat(), ScDBDocFunc::RepeatDB(), ScCellRangesBase::replaceAll(), ScSheetEventsObj::replaceByName(), ScTableSheetsObj::replaceByName(), ScNamedRangesObj::resetActionLocks(), XclExpXmlStream::restoreTabNames(), ScAccessibleHeaderTextData::ScAccessibleHeaderTextData(), ScAccessibleNoteTextData::ScAccessibleNoteTextData(), ScAddressConversionObj::ScAddressConversionObj(), ScAnnotationEditSource::ScAnnotationEditSource(), ScAreaLink::ScAreaLink(), ScAreaLinkObj::ScAreaLinkObj(), ScAreaLinksObj::ScAreaLinksObj(), ScBlockUndo::ScBlockUndo(), ScCellFieldsObj::ScCellFieldsObj(), ScCellFormatsEnumeration::ScCellFormatsEnumeration(), ScCellFormatsObj::ScCellFormatsObj(), ScCellRangesBase::ScCellRangesBase(), 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(), ScExternalSheetCacheObj::setCellValue(), SetChangeComment(), ScUndoInsertTab::SetChangeTrack(), ScUndoInsertCells::SetChangeTrack(), ScUndoInsertTables::SetChangeTrack(), ScUndoDeleteCells::SetChangeTrack(), ScUndoEnterData::SetChangeTrack(), ScUndoDeleteTab::SetChangeTrack(), ScUndoDeleteMulti::SetChangeTrack(), ScUndoEnterValue::SetChangeTrack(), ScUndoSetCell::SetChangeTrack(), ScUndoCut::SetChangeTrack(), ScUndoPaste::SetChangeTrack(), ScUndoThesaurus::SetChangeTrack(), ScUndoDragDrop::SetChangeTrack(), ScUndoDeleteContents::SetChangeTrack(), ScUndoFillTable::SetChangeTrack(), ScUndoAutoFill::SetChangeTrack(), ScUndoReplace::SetChangeTrack(), ScUndoConversion::SetChangeTrack(), ScUndoRefConversion::SetChangeTrack(), ScUndoEnterMatrix::SetChangeTrack(), ScCellRangesBase::setColumnDescriptions(), ScVbaName::setContent(), ScCellRangesBase::setData(), ScDocShellModificator::SetDocumentModified(), ScTabViewShell::SetDrawTextUndo(), ScVbaWorksheet::setEnableSelection(), ScTableSheetObj::setExternalName(), ScChartObj::setFastPropertyValue_NoBroadcast(), ScFilterDescriptorBase::setFilterFields(), ScFilterDescriptorBase::setFilterFields2(), ScFilterDescriptorBase::setFilterFields3(), ScCellRangeObj::setFormulaArray(), ScCellObj::setFormulaResult(), ScCellObj::setFormulaString(), ScStyleObj::setName(), ScCellRangesBase::SetOnePropertyValue(), ScTableSheetObj::SetOnePropertyValue(), ScTableRowObj::SetOnePropertyValue(), ScStyleObj::setParentStyle(), ScVbaWorkbook::setPrecisionAsDisplayed(), ScTableSheetObj::setPrintAreas(), ScViewFunc::SetPrintRanges(), ScTableSheetObj::setPrintTitleColumns(), ScTableSheetObj::setPrintTitleRows(), ScDocDefaultsObj::setPropertyToDefault(), ScDocumentConfiguration::setPropertyValue(), ScDocDefaultsObj::setPropertyValue(), ScFormulaParserObj::setPropertyValue(), ScConditionEntryObj::setPropertyValue(), ScDataPilotDescriptorBase::setPropertyValue(), ScModelObj::setPropertyValue(), ScDatabaseRangeObj::setPropertyValue(), ScTableRowsObj::setPropertyValue(), ScStyleObj::setPropertyValue_Impl(), ScCellRangesBase::setPropertyValues(), ScCellRangesBase::setPropertyValuesTolerant(), ScDDELinkObj::setResults(), ScCellRangesBase::setRowDescriptions(), ScTableSheetObj::setScenarioComment(), ScVbaApplication::setScreenUpdating(), ScDataPilotDescriptorBase::setSourceRange(), ScViewFunc::SetStyleSheetToMarked(), ScTableSheetObj::setTitleColumns(), ScTableSheetObj::setTitleRows(), ScNamedRangeObj::setTokens(), ScCellObj::setTokens(), ooo::vba::excel::setUpDocumentModules(), ScUndoSetCell::SetValue(), ScViewFunc::SetWidthOrHeight(), ScInputHandler::ShowArgumentsTip(), ScOutlineDocFunc::ShowMarkedOutlines(), ScOutlineDocFunc::ShowOutline(), ScViewFunc::ShowTable(), ScDBDocFunc::Sort(), ScInputHandler::StartTable(), TestImportXLS(), ScPreview::TestLastPage(), TransferTab(), ScDBFunc::UISort(), ScUndoDoOutline::Undo(), ScUndoInsertTab::Undo(), ScUndoInsertCells::Undo(), ScUndoAddRangeData::Undo(), ScUndoInsertTables::Undo(), ScUndoMakeOutline::Undo(), ScUndoApplyPageStyle::Undo(), ScUndoDeleteCells::Undo(), ScUndoEnterData::Undo(), ScUndoOutlineLevel::Undo(), ScUndoDeleteTab::Undo(), ScUndoDeleteMulti::Undo(), ScUndoEnterValue::Undo(), ScUndoOutlineBlock::Undo(), ScUndoSetCell::Undo(), ScUndoRemoveAllOutlines::Undo(), ScUndoAutoOutline::Undo(), ScUndoCopyTab::Undo(), ScUndoSubTotals::Undo(), ScUndoThesaurus::Undo(), ScUndoQuery::Undo(), ScUndoDragDrop::Undo(), ScUndoMakeScenario::Undo(), ScUndoReplaceNote::Undo(), ScUndoImportTab::Undo(), ScUndoDBData::Undo(), ScUndoShowHideNote::Undo(), ScUndoImportData::Undo(), ScUndoDetective::Undo(), ScUndoRepeatDB::Undo(), ScUndoDataPilot::Undo(), ScUndoConsolidate::Undo(), ScUndoWidthOrHeight::Undo(), ScUndoChartData::Undo(), ScUndoAutoFill::Undo(), ScUndoScenarioFlags::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(), ScMoveUndo::UndoRef(), ScNamedRangesObj::unlock(), ScViewFunc::Unprotect(), ScChartObj::Update_Impl(), ScInputHandler::UpdateAdjust(), ScPreview::UpdateDrawView(), ScDBDocFunc::UpdateImport(), ScTabView::UpdatePageBreakData(), ScDBDocFunc::UpdatePivotTable(), ScLinkedAreaDlg::UpdateSourceRanges(), XclExpXmlStream::validateTabNames(), ScVbaApplication::Volatile(), AddressWalkerWriter::writeFormulas(), ScAccessibleHeaderTextData::~ScAccessibleHeaderTextData(), ScAccessibleNoteTextData::~ScAccessibleNoteTextData(), ScAddressConversionObj::~ScAddressConversionObj(), ScAnnotationEditSource::~ScAnnotationEditSource(), ScAnnotationsObj::~ScAnnotationsObj(), ScAreaLinkObj::~ScAreaLinkObj(), ScAreaLinksObj::~ScAreaLinksObj(), ScCellFieldsObj::~ScCellFieldsObj(), ScCellFormatsEnumeration::~ScCellFormatsEnumeration(), ScCellFormatsObj::~ScCellFormatsObj(), ScCellRangesBase::~ScCellRangesBase(), ScCellsEnumeration::~ScCellsEnumeration(), ScCellsObj::~ScCellsObj(), ScCellTextData::~ScCellTextData(), ScChartObj::~ScChartObj(), 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(), ScSheetLinksObj::~ScSheetLinksObj(), ScStyleFamiliesObj::~ScStyleFamiliesObj(), ScStyleFamilyObj::~ScStyleFamilyObj(), ScStyleObj::~ScStyleObj(), ScTableColumnsObj::~ScTableColumnsObj(), ScTableRowsObj::~ScTableRowsObj(), ScTableSheetsObj::~ScTableSheetsObj(), ScUndoCursorAttr::~ScUndoCursorAttr(), ScUndoSelectionAttr::~ScUndoSelectionAttr(), ScUniqueCellFormatsEnumeration::~ScUniqueCellFormatsEnumeration(), ScUniqueCellFormatsObj::~ScUniqueCellFormatsObj(), and ScUnnamedDatabaseRangesObj::~ScUnnamedDatabaseRangesObj().
|
inline |
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 445 of file docsh3.cxx.
References ScDocument::GetPrinter(), and m_aDocument.
ScFormatSaveData * ScDocShell::GetFormatSaveData | ( | ) |
Definition at line 2972 of file docsh.cxx.
References m_pFormatSaveData.
Referenced by ScModelObj::GetFormatSaveData().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 224 of file docsh.cxx.
References SfxObjectShell::GetHiddenInformationState(), and nState.
|
static |
Definition at line 2683 of file docsh.cxx.
References pFilterHtml.
Referenced by ScFilterOptionsObj::execute().
ScLkUpdMode ScDocShell::GetLinkUpdateModeState | ( | ) | const |
Definition at line 153 of file docsh4.cxx.
References GetDocument(), ScAppOptions::GetLinkMode(), ScDocument::GetLinkMode(), SfxObjectShell::GetMedium(), SfxShell::GetName(), SfxObjectShell::GetSharedFileURL(), SfxObjectShell::IsDocShared(), LM_ALWAYS, LM_NEVER, LM_ON_DEMAND, LM_UNKNOWN, m_nCanUpdate, and SC_MOD.
Referenced by Execute().
|
inline |
Definition at line 334 of file docsh.hxx.
Referenced by ScModelObj::isActionLocked(), and ScModelObj::resetActionLocks().
|
static |
Definition at line 2698 of file docsh.cxx.
References pFilterLotus.
Referenced by ScFilterOptionsObj::execute().
std::unique_ptr< ScDBData > ScDocShell::GetOldAutoDBRange | ( | ) |
Definition at line 363 of file docsh5.cxx.
References m_pOldAutoDBRange.
Referenced by ScDBFuncUndo::ScDBFuncUndo().
|
inline |
Definition at line 353 of file docsh.hxx.
Referenced by ScViewData::CalcPPT(), ScTabView::CalcZoom(), 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 2678 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 2317 of file docsh4.cxx.
References ATTR_PAGE_FOOTERSET(), ATTR_PAGE_HEADERSET(), ATTR_PAGE_ON(), SfxItemSet::Get(), SfxStyleSheetBase::GetItemSet(), ScDocument::GetPageStyle(), ScDocument::GetStyleSheetPool(), and m_aDocument.
Referenced by ExecutePageStyle(), and GetStatePageStyle().
SfxPrinter * ScDocShell::GetPrinter | ( | bool | bCreateIfNotExist = true | ) |
Definition at line 450 of file docsh3.cxx.
References ScDocument::GetPrinter(), and m_aDocument.
Referenced by AdjustPrintZoom(), ScUndoPrintZoom::DoChange(), ScUndoPrintRange::DoChange(), ScPreviewShell::Execute(), ScTableSheetObj::getColumnPageBreaks(), GetDocStat(), ScPreviewShell::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 3250 of file docsh.cxx.
References ScDocument::GetChangeTrack(), ScChangeTrack::GetProtection(), ScChangeTrack::IsProtected(), and m_aDocument.
OutputDevice * ScDocShell::GetRefDevice | ( | ) |
Definition at line 465 of file docsh3.cxx.
References ScDocument::GetRefDevice(), and m_aDocument.
Referenced by CalcOutputFactor(), ScAccessiblePreviewHeaderCellTextData::GetTextForwarder(), ScAccessibleNoteTextData::GetTextForwarder(), ScCellTextData::GetTextForwarder(), and UpdateFontList().
|
private |
Definition at line 212 of file docsh.cxx.
References ScMarkData::GetFirstSelected(), ScViewData::GetMarkData(), and ScTabView::GetViewData().
Referenced by AsciiSave().
ScSheetSaveData * ScDocShell::GetSheetSaveData | ( | ) |
Definition at line 2964 of file docsh.cxx.
References m_pSheetSaveData.
Referenced by ScModelObj::GetSheetSaveData().
|
static |
Definition at line 2595 of file docsh4.cxx.
References SfxObjectShell::GetFirst(), and SfxObjectShell::GetNext().
Referenced by ScTabViewShell::ExecuteTable(), and ScViewFunc::MoveTable().
|
inline |
Definition at line 410 of file docsh.hxx.
Referenced by ScOptSolverDlg::Init().
void ScDocShell::GetState | ( | SfxItemSet & | rSet | ) |
Definition at line 2018 of file docsh4.cxx.
References bVisible, SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), ScDocument::GetAutoCalc(), LanguageTag::getBcp47(), GetBestViewShell(), ScDocument::GetChangeTrack(), ScDocument::GetDocOptions(), GetDocument(), ScDocument::GetHardRecalcState(), ScDocument::GetLanguage(), SvtLanguageTable::GetLanguageString(), SfxObjectShell::GetObjectShell(), ScDocument::GetTableCount(), GetViewBindings(), ScDocOptions::GetYear2000(), comphelper::LibreOfficeKit::isActive(), SfxObjectShell::IsDocShared(), SfxObjectShell::isExportLocked(), ScChangeTrack::IsProtected(), SfxObjectShell::IsReadOnly(), LANGUAGE_NONE, m_aDocument, m_pImpl, SfxWhichIter::NextWhich(), ScDocument::OFF, SfxItemSet::Put(), sfx2::SfxNotebookBar::StateMethod(), and u.
void ScDocShell::GetStatePageStyle | ( | SfxItemSet & | rSet, |
SCTAB | nCurTab | ||
) |
Definition at line 1981 of file docsh4.cxx.
References aStr, SfxItemSet::DisableItem(), SfxStyleSheetBasePool::Find(), SfxWhichIter::FirstWhich(), SfxStyleSheetBase::GetItemSet(), GetPageOnFromPageStyleSet(), ScDocument::GetPageStyle(), ScDocument::GetStyleSheetPool(), m_aDocument, m_bFooterOn, m_bHeaderOn, SfxWhichIter::NextWhich(), and SfxItemSet::Put().
Referenced by ScPreviewShell::GetState().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 194 of file docsh6.cxx.
References ScDocument::GetStyleSheetPool(), and m_aDocument.
Referenced by LoadStyles(), and LoadStylesArgs().
|
overridevirtual |
Reimplemented from SfxShell.
Definition at line 2806 of file docsh.cxx.
References ScDocument::GetUndoManager(), and m_aDocument.
Referenced by ScDBDocFunc::AddDBRange(), ScNameDefDlg::AddPushed(), ScViewFunc::AppendTable(), ScHelperFunctions::ApplyBorder(), ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScOutlineDocFunc::AutoOutline(), ScStatisticsTwoVariableDialog::CalculateInputAndWriteToOutput(), ScStatisticsInputOutputDialog::CalculateInputAndWriteToOutput(), ScAreaLink::Closed(), ScTabViewShell::Construct(), ScDBDocFunc::CreatePivotTable(), ScViewFunc::CutToClip(), ScViewFunc::DataFormPutData(), ScDBDocFunc::DataPilotUpdate(), ScDBDocFunc::DeleteDBRange(), ScDrawView::DeleteMarked(), ScViewFunc::DeleteMulti(), DoConsolidate(), ScViewFunc::DoRefConversion(), ScViewFunc::DoSheetConversion(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScGridWindow::DropTransferObj(), ScImportExport::EndPaste(), ScViewFunc::EnterData(), ScViewFunc::EnterValue(), ScDrawShell::ExecDrawFunc(), Execute(), ScCellShell::ExecuteDB(), ScCellShell::ExecuteEdit(), ExecutePageStyle(), ScFormatShell::ExecuteStyle(), ScTabViewShell::ExecuteTable(), ScViewFunc::FillTab(), ScDrawView::FitToCellSize(), FuInsertChart::FuInsertChart(), ScRandomNumberGeneratorDialog::GenerateNumbers(), GetDBData(), ScDBFunc::HideAutoFilter(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScViewFunc::HideTable(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), ScViewFunc::InsertCurrentTime(), ScViewFunc::InsertTables(), lcl_PutDataArray(), lcl_PutFormulaArray(), ScOutlineDocFunc::MakeOutline(), ScDBFunc::MakePivotTable(), MakeScenario(), ScDBDocFunc::ModifyAllDBData(), ScDBDocFunc::ModifyDBData(), ModifyScenario(), ScPreview::MouseButtonUp(), ScGridWindow::MouseButtonUp(), ScViewFunc::MoveBlockTo(), ScViewFunc::MoveTable(), MoveTable(), ScGridWindow::PagebreakMove(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), ScViewFunc::PasteRTF(), ScSamplingDialog::PerformSampling(), ScTableSheetObj::PrintAreaUndo_Impl(), ScViewFunc::ProtectSheet(), ScDBDocFunc::Query(), ScAreaLink::Refresh(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScViewFunc::RemoveManualBreaks(), ScOutlineDocFunc::RemoveOutline(), ScDBDocFunc::RemovePivotTable(), ScDBDocFunc::RenameDBRange(), ScDBDocFunc::RepeatDB(), ScCellRangesBase::replaceAll(), ScSpellDialogChildWindow::Reset(), ScOutlineDocFunc::SelectLevel(), ScTabViewShell::SetDrawTextUndo(), ScDrawView::SetMarkedOriginalSize(), ScViewFunc::SetPrintRanges(), SetPrintZoom(), ScModelObj::setPropertyValue(), ScViewFunc::SetStyleSheetToMarked(), ScViewFunc::SetWidthOrHeight(), ScOutlineDocFunc::ShowMarkedOutlines(), ScOutlineDocFunc::ShowOutline(), ScViewFunc::ShowTable(), ScDBDocFunc::Sort(), FuText::StopEditMode(), ScDBFunc::ToggleAutoFilter(), ScViewFunc::Unprotect(), ScChartObj::Update_Impl(), ScDBDocFunc::UpdatePivotTable(), and UseScenario().
SfxBindings * ScDocShell::GetViewBindings | ( | ) |
Definition at line 2584 of file docsh4.cxx.
References GetBestViewShell(), SfxViewFrame::GetBindings(), and SfxViewShell::GetViewFrame().
Referenced by ScOutlineDocFunc::AutoOutline(), Execute(), ExecutePageStyle(), GetState(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScTableSheetObj::link(), ScOutlineDocFunc::MakeOutline(), ModifyScenario(), NotifyStyle(), PageStyleModified(), ScTableSheetObj::PrintAreaUndo_Impl(), ScOutlineDocFunc::RemoveAllOutlines(), ScStyleFamilyObj::removeByName(), ScOutlineDocFunc::RemoveOutline(), ScOutlineDocFunc::SelectLevel(), SetChangeRecording(), SetDrawModified(), ScStyleObj::setName(), ScTableSheetObj::SetOnePropertyValue(), SetPrintZoom(), ScModelObj::setPropertyValue(), ScOutlineDocFunc::ShowMarkedOutlines(), and ScOutlineDocFunc::ShowOutline().
|
static |
Definition at line 2549 of file docsh4.cxx.
References SfxViewShell::Current(), and ScTabView::GetViewData().
Referenced by ScExternalRefLink::DataChanged(), ScInputHandler::DeleteRangeFinder(), ScUndoConversion::DoChange(), Execute(), XclExpXmlStream::exportDocument(), ScModelObj::getCellCursor(), GetCurTab(), ScModelObj::getDocumentSize(), ScModelObj::getPart(), ScModelObj::getPartHash(), ScModelObj::getPartInfo(), ScModelObj::getPartName(), ScModelObj::getPointer(), ScModelObj::getPostIts(), ScModelObj::getPostItsPos(), ScViewPaneBase::getReferredCells(), ScModelObj::getRowColumnHeaders(), ScModelObj::getSelection(), ScModelObj::getSheetGeometryData(), ScDocument::GetTiledRenderingArea(), ScFormulaReferenceHelper::HideReference(), sc::DataStream::ImportData(), ScFormulaReferenceHelper::Init(), ScInputHandler::InitRangeFinder(), ScModelObj::isMimeTypeSupported(), lcl_SelectAll(), LOKCommentNotify(), sc::DataStream::MakeToolbarVisible(), MergeSharedDocument(), ScExternalRefManager::refreshAllRefCells(), ScModelObj::resetSelection(), ScNamePasteDlg::ScNamePasteDlg(), ScRedComDialog::SelectCell(), ScModelObj::setClientVisibleArea(), ScModelObj::setClientZoom(), ScModelObj::setClipboard(), ScModelObj::setOutlineState(), ScModelObj::setPart(), ScModelObj::setTextSelection(), ScFormulaReferenceHelper::ShowFormulaReference(), ScDocFunc::ShowNote(), and ScFormulaReferenceHelper::ShowSimpleReference().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 2164 of file docsh4.cxx.
References ASPECT_CONTENT, ASPECT_THUMBNAIL, SfxObjectShell::GetCreateMode(), ScDocument::GetDataStart(), ScDocument::GetMMRect(), ScDocument::GetPageSize(), ScDocument::GetPrintArea(), SfxObjectShell::GetVisArea(), ScDocument::GetVisibleTab(), ScDocument::HasTable(), Size::Height(), ScDocument::IsNegativePage(), m_aDocument, ScDrawLayer::MirrorRectRTL(), tools::Rectangle::SetBottom(), tools::Rectangle::SetRight(), ScDocument::SetVisibleTab(), SnapVisArea(), and Size::Width().
|
static |
Definition at line 2688 of file docsh.cxx.
References pFilterHtmlWebQ.
Referenced by ScFilterOptionsObj::execute(), and ScAreaLink::Refresh().
|
static |
Definition at line 2713 of file docsh.cxx.
References pFilterAscii, pFilterDBase, pFilterDif, pFilterEx4Temp, pFilterExcel4, pFilterHtml, pFilterLotus, pFilterRtf, and pFilterSylk.
Referenced by ScTableLink::Refresh().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 3185 of file docsh.cxx.
References ScDocument::GetChangeTrack(), ScChangeTrack::IsProtected(), and m_aDocument.
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(), SvxForbiddenCharactersTable::makeForbiddenCharactersTable(), ScDocFunc::NotifyDrawUndo(), and SdrModel::SetNotifyUndoActionHdl().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 41 of file docsh2.cxx.
References aURL, o3tl::convert(), ScFormatFilter::Get(), ScFormatFilterPlugin::GetOrcusFilters(), ScOrcusFilters::importODS_Styles(), SfxObjectShell::InitNew(), o3tl::mm100, ScGlobal::nStdRowHeight, OLE_STD_CELLS_X, OLE_STD_CELLS_Y, Point, STD_COL_WIDTH, and o3tl::twip.
|
private |
Definition at line 402 of file docsh3.cxx.
References ScModule::GetDocOptions(), ScModule::GetFormulaOptions(), ScModule::GetSpellSettings(), ScModule::GetViewOptions(), utl::ConfigManager::IsFuzzing(), m_aDocument, SC_MOD, ScDocOptions::SetAutoSpell(), ScDocOptions::SetDate(), ScDocument::SetDocOptions(), SetFormulaOptions(), ScDocument::SetLanguage(), ScDocOptions::SetStdPrecision(), ScDocument::SetViewOptions(), ScDocOptions::SetYear2000(), and SvNumberFormatter::UNLIMITED_PRECISION.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 3179 of file docsh.cxx.
References ScDocument::GetChangeTrack(), and m_aDocument.
Referenced by ScModelObj::getPropertyValue(), and SetChangeRecording().
|
staticprivate |
Definition at line 203 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 376 of file docsh.hxx.
Referenced by ScDocShellModificator::~ScDocShellModificator().
bool ScDocShell::IsEditable | ( | ) | const |
Definition at line 95 of file docsh5.cxx.
References ScDocument::IsChangeReadOnlyEnabled(), ScDocument::IsImportingXML(), SfxObjectShell::IsReadOnly(), and m_aDocument.
Referenced by ScCellRangesBase::replaceAll().
|
inline |
Definition at line 346 of file docsh.hxx.
Referenced by ScTabViewShell::Construct(), and ScModelObj::getPropertyValue().
|
inline |
Definition at line 349 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 321 of file docsh.hxx.
Referenced by ScSimpleUndo::IsPaintLocked(), and ScUndoUtil::MarkSimpleBlock().
|
inline |
Definition at line 379 of file docsh.hxx.
Referenced by ScTabViewShell::Construct().
|
staticprivate |
Definition at line 184 of file docsh8.cxx.
References ucbhelper::Content::executeCommand(), INetURLObject::GetMainURL(), comphelper::getProcessComponentContext(), and INetURLObject::NONE.
Referenced by ConvertTo().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 565 of file docsh.cxx.
References aURL, ScFormatFilter::Get(), SfxMedium::GetError(), SfxMedium::GetItemSet(), ScFormatFilterPlugin::GetOrcusFilters(), comphelper::EmbeddedObjectContainer::getUserAllowsLinkUpdate(), CntUInt16Item::GetValue(), ScOrcusFilters::importODS_Styles(), LM_ALWAYS, SfxObjectShell::Load(), SetError(), SfxMedium::SetError(), comphelper::EmbeddedObjectContainer::setUserAllowsLinkUpdate(), and SVSTREAM_FILEFORMAT_ERROR.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1652 of file docsh.cxx.
References ScFormatFilter::Get(), SfxMedium::GetFilter(), ScFormatFilterPlugin::GetOrcusFilters(), ScOrcusFilters::importCSV(), ScOrcusFilters::importGnumeric(), ScOrcusFilters::importODS(), and ScOrcusFilters::importXLSX().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1082 of file docsh.cxx.
References SfxMedium::GetItemSet(), CntUInt16Item::GetValue(), and SfxObjectShell::LoadFrom().
|
private |
Referenced by Execute().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 230 of file docsh6.cxx.
References GetStyleSheetPool(), Grid, lcl_AdjustPool(), Left, SfxObjectShell::LoadStyles(), m_aDocument, ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, PostPaint(), ScDocument::StylesToNames(), UpdateAllRowHeights(), and ScDocument::UpdStlShtPtrsFrmNms().
void ScDocShell::LoadStylesArgs | ( | ScDocShell & | rSource, |
bool | bReplace, | ||
bool | bCellStyles, | ||
bool | bPageStyles | ||
) |
Definition at line 246 of file docsh6.cxx.
References aName, SfxStyleSheetBasePool::Find(), GetDocument(), SfxStyleSheetBase::GetFamily(), SfxStyleSheetBase::GetItemSet(), SfxStyleSheetBase::GetMask(), SfxStyleSheetBase::GetName(), GetStyleSheetPool(), ScDocument::GetStyleSheetPool(), Grid, i, lcl_AdjustPool(), Left, m_aDocument, ScStyleSheetPool::Make(), ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, PostPaint(), SfxItemSet::PutExtended(), and UpdateAllRowHeights().
Referenced by ScStyleFamiliesObj::loadStylesFromDocShell().
|
private |
Definition at line 464 of file docsh.cxx.
References All, BCA_BRDCST_ALWAYS, comphelper::ConfigurationChanges::create(), ERRCODE_NONE, ScXMLImportWrapper::GetImportPostProcessData(), comphelper::getProcessComponentContext(), utl::ConfigManager::getProductName(), ScXMLImportWrapper::Import(), RECALC_ALWAYS, RECALC_ASK, RECALC_NEVER, RET_YES, SC_MOD, ScResId(), SfxMedium::SetError(), ScFormulaOptions::SetODFRecalcOptions(), and Styles.
void ScDocShell::LockDocument | ( | ) |
Definition at line 326 of file docsh3.cxx.
References LockDocument_Impl(), LockPaint_Impl(), and m_nDocumentLock.
Referenced by ScModelObj::addActionLock().
|
private |
Definition at line 277 of file docsh3.cxx.
References ScDocument::GetDrawLayer(), m_aDocument, m_nDocumentLock, and SdrModel::setLock().
Referenced by LockDocument(), and SetLockCount().
void ScDocShell::LockPaint | ( | ) |
Definition at line 316 of file docsh3.cxx.
References LockPaint_Impl().
Referenced by ScTabViewShell::ExecuteUndo(), ScModelObj::lockControllers(), and MergeDocument().
|
private |
Definition at line 233 of file docsh3.cxx.
References m_pPaintLockData.
Referenced by LockDocument(), and LockPaint().
|
static |
Definition at line 2481 of file docsh4.cxx.
References Add, assert(), 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(), comphelper::LibreOfficeKit::isActive(), comphelper::LibreOfficeKit::isCompatFlagSet(), ScDocument::IsDocVisible(), comphelper::LibreOfficeKit::isTiledAnnotations(), SfxViewShell::libreOfficeKitViewCallback(), Modify, Point, Remove, ScAddress::Row(), ScAddress::Tab(), tools::Rectangle::toString(), and toString().
Referenced by ScUndoReplaceNote::DoInsertNote(), ScUndoReplaceNote::DoRemoveNote(), and ScDocFunc::ReplaceNote().
ScDrawLayer * ScDocShell::MakeDrawLayer | ( | ) |
Definition at line 169 of file docsh2.cxx.
References SdrModel::setLock().
Referenced by 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 784 of file docsh5.cxx.
References SfxUndoManager::AddUndoAction(), ScDocument::ApplyPatternAreaTab(), ScDocument::ApplySelectionPattern(), ScDocument::BeginDrawUndo(), CopyAll, ScDocument::CopyScenario(), ScDocument::CopyTab(), SfxSetItem::GetItemSet(), ScDocument::GetPool(), GetUndoManager(), Grid, ScMarkData::IsMultiMarked(), ScDocument::IsScenario(), m_aDocument, ScMarkData::MarkToMulti(), ScDocument::MaxCol(), ScDocument::MaxRow(), NONE, PostPaint(), PostPaintExtras(), SfxItemSet::Put(), ScDocument::RenameTab(), SC_TAB_INSERTED, Scenario, ScMarkData::SelectOneTable(), ScDocShellModificator::SetDocumentModified(), ScDocument::SetScenario(), ScDocument::SetScenarioData(), ScDocument::SetVisible(), 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 769 of file docsh3.cxx.
References ScRange::aEnd, aName, ScChangeTrack::AppendDeleteRange(), ScChangeTrack::AppendInsert(), ScChangeTrack::AppendMove(), ScRange::aStart, CELLTYPE_FORMULA, ScChangeTrack::Clear(), ScAddress::Col(), Cols, ScDocument::CreateValidTabName(), ScDocFunc::DeleteCells(), ScDocFunc::DeleteTable(), EMPTY_OUSTRING, ScViewFunc::EnterData(), ScDocFunc::EnterMatrix(), eType, Formula, ScChangeTrack::GetAction(), ScChangeTrack::GetActionMax(), ScChangeAction::GetActionNumber(), GetBestViewShell(), ScChangeAction::GetBigRange(), ScDocument::GetChangeTrack(), ScChangeAction::GetComment(), ScChangeAction::GetDateTimeUTC(), GetDocFunc(), ScChangeTrack::GetFirst(), ScChangeActionMove::GetFromRange(), ScChangeTrack::GetLast(), ScViewData::GetMarkData(), ScFormulaCell::GetMatColsRows(), ScFormulaCell::GetMatrixFlag(), ScChangeAction::GetNext(), ScChangeActionDel::GetOverAllRange(), ScChangeAction::GetRejectAction(), ScChangeAction::GetState(), 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_aDocument, ScBigRange::MakeRange(), ScChangeTrack::MergeActionState(), ScChangeTrack::MergeIgnore(), ScChangeTrack::MergeOwn(), ScChangeTrack::MergePrepare(), ScCellValue::meType, ScDocFunc::MoveBlock(), ScCellValue::mpFormula, 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(), ScDocument::SetChangeViewSettings(), ScAddress::SetCol(), ScChangeAction::SetComment(), ScChangeTrack::SetFixDateTimeUTC(), ScAddress::SetRow(), ScChangeViewSettings::SetShowChanges(), ScProgress::SetStateCountDown(), ScChangeTrack::SetUseFixDateTime(), ScChangeTrack::SetUser(), ScDocument::StartChangeTracking(), ScAddress::Tab(), UnlockPaint(), and void().
Referenced by Execute(), and MergeSharedDocument().
bool ScDocShell::MergeSharedDocument | ( | ScDocShell * | pSharedDocShell | ) |
Definition at line 1139 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(), ScDocument::GetTableCount(), GetViewData(), ScConflictsResolver::HandleAction(), ScChangeTrack::IsTimeNanoSeconds(), lcl_Equal(), m_aDocument, MergeDocument(), nIndex, PostPaintExtras(), PostPaintGridAll(), ScChangeTrack::Reject(), RET_CANCEL, RET_YES, weld::DialogController::run(), SC_TAB_APPEND, ScResId(), ScDocument::SetChangeViewSettings(), ScChangeViewSettings::SetHasActionRange(), ScChangeViewSettings::SetShowAccepted(), ScChangeViewSettings::SetShowChanges(), ScChangeViewSettings::SetTheActionRange(), ScConflictsListHelper::TransformConflictsList(), and ScChangeTrack::Undo().
void ScDocShell::ModifyScenario | ( | SCTAB | nTab, |
const OUString & | rName, | ||
const OUString & | rComment, | ||
const Color & | rColor, | ||
ScScenarioFlags | nFlags | ||
) |
Definition at line 754 of file docsh5.cxx.
References SfxUndoManager::AddUndoAction(), ScDocument::GetName(), ScDocument::GetScenarioData(), GetUndoManager(), GetViewBindings(), SfxBindings::Invalidate(), m_aDocument, PostPaintGridAll(), ScDocument::RenameTab(), ScDocShellModificator::SetDocumentModified(), ScDocument::SetScenarioData(), and SfxGetpApp().
Referenced by Execute(), ScTableSheetObj::SetOnePropertyValue(), and ScTableSheetObj::setScenarioComment().
|
staticprivate |
Definition at line 140 of file docsh8.cxx.
References aName, ucbhelper::Content::getCommands(), INetURLObject::GetMainURL(), INetURLObject::getName(), comphelper::getProcessComponentContext(), INetURLObject::GetProtocol(), KillFile(), com::sun::star::uno::makeAny(), INetURLObject::NONE, INetURLObject::removeSegment(), and INetURLObject::setFinalSlash().
Referenced by ConvertTo().
EndDrawUndo?
allow only for api calls?
Definition at line 901 of file docsh5.cxx.
References SfxUndoManager::AddUndoAction(), ScDocument::BeginDrawUndo(), ScDocument::CopyTab(), ScDocument::CopyTabProtection(), SfxObjectShell::GetBasicContainer(), ScDocument::GetChangeTrack(), ScDocument::GetCodeCount(), ScDocument::GetCodeName(), ScDocument::GetMaxTableNumber(), ScDocument::GetTableCount(), GetUndoManager(), ScDocument::IsInVBAMode(), ScDocument::IsTabProtected(), m_aDocument, ScDocument::MoveTab(), 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 651 of file docsh.cxx.
References aData, ScDocument::ClosingClipboardSource(), Application::CreateMessageDialog(), ERRCODE_IO_ABORT, ERRCODE_IO_GENERAL, SfxBindings::ExecuteSynchron(), GetActiveDialogParent(), ScModule::GetClipDoc(), SfxFrame::GetController(), SfxEventHint::GetEventId(), SfxViewFrame::GetFrame(), SfxHint::GetId(), svt::DocumentLockFile::GetLockData(), SfxShell::GetName(), SfxBaseModel::GetObjectShell(), comphelper::getProcessComponentContext(), ScAppOptions::GetShowSharedDocumentWarning(), GetStandardText(), ScTablesHint::GetTab1(), ScTablesHint::GetTablesHintId(), CntUnencodedStringItem::GetValue(), ScViewData::GetView(), SfxViewShell::GetViewFrame(), ErrorHandler::HandleError(), svt::ShareControlFile::HasOwnEntry(), SfxObjectShell::HasSharedXMLFlagSet(), IsReadOnly(), com::sun::star::uno::makeAny(), RET_CANCEL, RET_NO, RET_RETRY, SC_MOD, SC_TAB_INSERTED, ScResId(), SetError(), ScChangeViewSettings::SetShowAccepted(), ScChangeViewSettings::SetShowChanges(), ScAppOptions::SetShowSharedDocumentWarning(), SfxGetpApp(), ScChangeViewSettings::ShowChanges(), TOOLS_WARN_EXCEPTION, ScTabView::UpdateLayerLocks(), xController, xFactory, and xModel.
void ScDocShell::NotifyStyle | ( | const SfxStyleSheetHint & | rHint | ) |
Definition at line 1534 of file docsh4.cxx.
References ScDocument::GetCondFormList(), SfxStyleSheetBase::GetFamily(), SfxHint::GetId(), SfxStyleSheetBase::GetName(), ScDocument::GetPageStyle(), GetPrinter(), SfxStyleSheetHint::GetStyleSheet(), ScDocument::GetTableCount(), GetViewBindings(), i, SfxBindings::Invalidate(), m_aDocument, nId, ScDocument::PageStyleModified(), ScConditionalFormatList::RenameCellStyle(), ScDocument::RenamePageStyleInUse(), ScDocShellModificator::SetDocumentModified(), and ScPrintFunc::UpdatePages().
void ScDocShell::PageStyleModified | ( | std::u16string_view | rStyleName, |
bool | bApi | ||
) |
cope without CountPages
Definition at line 1720 of file docsh4.cxx.
References Application::CreateMessageDialog(), GetActiveDialogParent(), ScDocument::GetPageSize(), ScDocument::GetPageStyle(), GetPrinter(), ScDocument::GetTableCount(), GetViewBindings(), SfxBindings::Invalidate(), m_aDocument, MAXTAB, ScResId(), ScDocShellModificator::SetDocumentModified(), ScPrintFunc::UpdatePages(), ValidTab(), and Size::Width().
Referenced by ScUndoModifyStyle::DoChange(), ExecutePageStyle(), ScStyleFamilyObj::removeByName(), ScStyleObj::setAllPropertiesToDefault(), ScStyleObj::setParentStyle(), and ScStyleObj::setPropertyValue_Impl().
void ScDocShell::PostDataChanged | ( | ) |
notify navigator directly!
Definition at line 92 of file docsh3.cxx.
References m_aDocument, ScDocument::PrepareFormulaCalc(), and SfxGetpApp().
Referenced by ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoEnterData::DoChange(), ScUndoDeleteMulti::DoChange(), ScUndoRenameTab::DoChange(), ScUndoCut::DoChange(), ScUndoMoveTab::DoChange(), ScUndoCopyTab::DoChange(), ScUndoPaste::DoChange(), ScUndoFillTable::DoChange(), ScUndoDataForm::DoChange(), ScUndoRefConversion::DoChange(), ScUndoListNames::DoChange(), ScUndoConditionalFormat::DoChange(), ScUndoConditionalFormatList::DoChange(), ScUndoUpdateAreaLink::DoChange(), DoRecalc(), sc::UndoFormulaToValue::Execute(), sc::UndoSort::Execute(), Execute(), ScImportExport::ExtText2Doc(), ScViewFunc::FillTab(), ScUndoImportData::Redo(), ScUndoAutoFill::Redo(), SetDocumentModified(), ScImportExport::Text2Doc(), ScUndoSubTotals::Undo(), ScUndoQuery::Undo(), ScUndoMakeScenario::Undo(), ScUndoImportData::Undo(), ScUndoRepeatDB::Undo(), ScUndoDataPilot::Undo(), ScUndoAutoFill::Undo(), ScUndoTabOp::Undo(), ScUndoUseScenario::Undo(), and ScUndoEnterMatrix::Undo().
void ScDocShell::PostEditView | ( | ScEditEngineDefaulter * | pEditEngine, |
const ScAddress & | rCursorPos | ||
) |
Definition at line 78 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 | ( | SCCOL | nStartCol, |
SCROW | nStartRow, | ||
SCTAB | nStartTab, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nEndTab, | ||
PaintPartFlags | nPart, | ||
sal_uInt16 | nExtFlags = 0 |
||
) |
Definition at line 100 of file docsh3.cxx.
Referenced by ScLabelRangesObj::addNew(), ScViewFunc::AdjustBlockHeight(), ScBlockUndo::AdjustHeight(), ScViewFunc::AdjustRowHeight(), AdjustRowHeight(), ScHelperFunctions::ApplyBorder(), ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScOutlineDocFunc::AutoOutline(), ScStatisticsTwoVariableDialog::CalculateInputAndWriteToOutput(), ScStatisticsInputOutputDialog::CalculateInputAndWriteToOutput(), CancelAutoDBRange(), ScViewFunc::ConvertFormulaToValue(), ScViewFunc::CutToClip(), ScViewFunc::DataFormPutData(), DBAreaDeleted(), ScViewFunc::DeleteMulti(), DoAutoStyle(), ScUndoModifyStyle::DoChange(), ScUndoCursorAttr::DoChange(), ScUndoInsertCells::DoChange(), ScUndoDeleteCells::DoChange(), ScUndoDeleteMulti::DoChange(), ScUndoCut::DoChange(), ScUndoPaste::DoChange(), ScUndoAutoFilter::DoChange(), ScUndoImportTab::DoChange(), ScUndoDeleteContents::DoChange(), ScUndoFillTable::DoChange(), ScUndoSelectionAttr::DoChange(), ScUndoPrintRange::DoChange(), ScUndoDataForm::DoChange(), ScUndoRefConversion::DoChange(), ScUndoListNames::DoChange(), ScUndoConditionalFormat::DoChange(), ScUndoSelectionStyle::DoChange(), ScUndoUpdateAreaLink::DoChange(), DoConsolidate(), ScViewFunc::DoRefConversion(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScImportExport::EndPaste(), ScDBFuncUndo::EndUndo(), sc::UndoFormulaToValue::Execute(), sc::UndoSort::Execute(), ScRandomNumberGeneratorDialog::GenerateNumbers(), ScViewData::GetPosFromPixel(), ScDBFunc::HideAutoFilter(), ScOutlineDocFunc::HideMarkedOutlines(), ScViewFunc::HideTable(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), ScDocDefaultsObj::ItemsChanged(), lcl_PaintAbove(), lcl_PaintOneRange(), lcl_PaintWidthHeight(), lcl_PostRepaintCondFormat(), lcl_PutDataArray(), lcl_PutFormulaArray(), LoadStyles(), LoadStylesArgs(), ScOutlineDocFunc::MakeOutline(), MakeScenario(), ScLabelRangeObj::Modify_Impl(), ScDBDocFunc::ModifyAllDBData(), ScViewFunc::MoveTable(), ScUndoDragDrop::PaintArea(), ScCellRangesBase::PaintGridRanges_Impl(), ScUndoUtil::PaintMore(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScViewFunc::PasteMultiRangesFromClip(), ScSamplingDialog::PerformSampling(), PostPaintCell(), PostPaintExtras(), PostPaintGridAll(), ScDBDocFunc::Query(), ScUndoMakeOutline::Redo(), ScUndoImportData::Redo(), ScUndoWidthOrHeight::Redo(), ScUndoAutoFill::Redo(), ScUndoAutoFormat::Redo(), ScUndoIndent::Redo(), ScUndoTransliterate::Redo(), ScUndoClearItems::Redo(), ScUndoRemoveBreaks::Redo(), ScUndoBorder::Redo(), ScAreaLink::Refresh(), ReloadTabLinks(), ScTableSheetObj::removeAllManualPageBreaks(), ScOutlineDocFunc::RemoveAllOutlines(), ScLabelRangesObj::removeByIndex(), ScStyleFamilyObj::removeByName(), ScViewFunc::RemoveManualBreaks(), ScOutlineDocFunc::RemoveOutline(), ScDBDocFunc::RemovePivotTable(), ScViewFunc::RemoveStyleSheetInUse(), ScModelObj::RepaintRange(), ScDBDocFunc::RepeatDB(), ScViewFunc::SearchAndReplace(), ScStyleObj::setAllPropertiesToDefault(), ScVbaWorksheet::setAutoFilterMode(), ScCellRangesBase::SetOnePropertyValue(), ScStyleObj::setParentStyle(), SetPrinter(), ScDocumentConfiguration::setPropertyValue(), ScDatabaseRangeObj::setPropertyValue(), ScStyleObj::setPropertyValue_Impl(), ScViewFunc::SetSelectionFrameLines(), ScViewFunc::SetStyleSheetToMarked(), SetVisAreaOrSize(), ScViewFunc::SetWidthOrHeight(), ScOutlineDocFunc::ShowMarkedOutlines(), ScViewFunc::ShowTable(), ScDBDocFunc::Sort(), ScDBFunc::ToggleAutoFilter(), ScUndoDoOutline::Undo(), ScUndoMakeOutline::Undo(), ScUndoOutlineLevel::Undo(), ScUndoDeleteTab::Undo(), ScUndoOutlineBlock::Undo(), ScUndoRemoveAllOutlines::Undo(), ScUndoAutoOutline::Undo(), ScUndoSubTotals::Undo(), ScUndoQuery::Undo(), ScUndoMakeScenario::Undo(), ScUndoImportData::Undo(), ScUndoRepeatDB::Undo(), ScUndoDataPilot::Undo(), ScUndoConsolidate::Undo(), ScUndoWidthOrHeight::Undo(), ScUndoAutoFill::Undo(), ScUndoAutoFormat::Undo(), ScUndoTabOp::Undo(), ScUndoUseScenario::Undo(), ScUndoEnterMatrix::Undo(), ScUndoIndent::Undo(), ScUndoTransliterate::Undo(), ScUndoClearItems::Undo(), ScUndoRemoveBreaks::Undo(), ScUndoBorder::Undo(), UnlockPaint_Impl(), ScPrintFunc::UpdatePages(), ScViewFunc::UpdateSelectionArea(), ScViewFunc::UpdateStyleSheetInUse(), UseScenario(), and sc::ScDBDataManager::WriteToDoc().
void ScDocShell::PostPaint | ( | const ScRangeList & | rRanges, |
PaintPartFlags | nPart, | ||
sal_uInt16 | nExtFlags = 0 |
||
) |
nExtFlags ???
check for hidden columns/rows!
Definition at line 108 of file docsh3.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScRangeList::Combine(), ScDocument::ExtendMerge(), Extras, SfxObjectShell::GetModel(), ScDocument::HasAttrib(), i, comphelper::LibreOfficeKit::isActive(), Left, m_aDocument, m_pPaintLockData, ScDocument::MaxCol(), ScDocument::MaxRow(), n, NONE, SfxLokHelper::notifyDocumentSizeChangedAllViews(), ScRangeList::push_back(), RightOrCenter, Rotate, ScAddress::Row(), SC_PF_LINES, SC_PF_TESTMERGE, SC_PF_WHOLEROWS, ScRangeList::size(), ScAddress::Tab(), Top, ScDocument::ValidCol(), and ScDocument::ValidRow().
Definition at line 187 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(), ScUndoEnterData::Redo(), ScUndoEnterValue::Redo(), ScUndoSetCell::Redo(), ScUndoReplaceNote::Redo(), ScViewFunc::SetStyleSheetToMarked(), ScUndoEnterData::Undo(), ScUndoEnterValue::Undo(), ScUndoSetCell::Undo(), and ScUndoReplaceNote::Undo().
Definition at line 192 of file docsh3.cxx.
References ScAddress::Col(), PostPaintCell(), ScAddress::Row(), and ScAddress::Tab().
void ScDocShell::PostPaintExtras | ( | ) |
Definition at line 197 of file docsh3.cxx.
References Extras, m_aDocument, ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, and PostPaint().
Referenced by ScViewFunc::AppendTable(), ScViewFunc::DeleteTables(), ScTabView::DeselectAllTables(), ScUndoRenameTab::DoChange(), ScUndoMoveTab::DoChange(), ScUndoCopyTab::DoChange(), ScUndoTabColor::DoChange(), Execute(), ScTabViewShell::Execute(), FuInsertChart::FuInsertChart(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), ScViewFunc::InsertTables(), ScDBFunc::MakePivotTable(), MakeScenario(), MergeSharedDocument(), ScViewFunc::MoveTable(), MoveTable(), ScUndoRefreshLink::Redo(), ScTabView::SelectAllTables(), TransferTab(), and ScUndoRefreshLink::Undo().
void ScDocShell::PostPaintGridAll | ( | ) |
Definition at line 182 of file docsh3.cxx.
References Grid, m_aDocument, ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, and PostPaint().
Referenced by CompareDocument(), ScDBDocFunc::CreatePivotTable(), ScDBDocFunc::DataPilotUpdate(), ScUndoRenameTab::DoChange(), ScUndoMoveTab::DoChange(), ScUndoCopyTab::DoChange(), sc::UndoSetCells::DoChange(), ScUndoConversion::DoChange(), ScUndoConditionalFormatList::DoChange(), DoHardRecalc(), ScUndoDocProtect::DoProtect(), ScUndoTabProtect::DoProtect(), DoRecalc(), ScViewFunc::DoSheetConversion(), ScViewFunc::DoThesaurus(), Execute(), ScTabViewShell::Execute(), ScFormatShell::ExecuteStyle(), ScRedlineOptionsTabPage::FillItemSet(), ScViewFunc::FillTab(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), MergeDocument(), MergeSharedDocument(), ScModule::ModifyOptions(), ModifyScenario(), ScViewFunc::MoveTable(), MoveTable(), ScForbiddenCharsObj::onChange(), ScUndoScenarioFlags::Redo(), ScUndoReplace::Redo(), ScUndoRefreshLink::Redo(), ScDBDocFunc::RemovePivotTable(), ScCellRangesBase::replaceAll(), ScSpellDialogChildWindow::Reset(), ScViewFunc::SearchAndReplace(), ScTabViewObj::select(), SetChangeRecording(), TransferTab(), ScUndoScenarioFlags::Undo(), ScUndoReplace::Undo(), ScUndoRefreshLink::Undo(), and ScDBDocFunc::UpdatePivotTable().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 2625 of file docsh.cxx.
References DoEnterHandler(), ScDocument::EnableIdle(), ErrorMessage(), SfxViewFrame::GetFirst(), ScDocument::GetVbaEventProcessor(), SfxShell::GetViewShell(), SfxViewShell::GetWindow(), vcl::Window::GrabFocus(), ScDocument::IsInInterpreter(), ScDocument::IsInLinkUpdate(), SfxObjectShell::IsInPrepareClose(), m_aDocument, p, SfxObjectShell::PrepareClose(), and SC_MOD.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 2587 of file docsh.cxx.
References ScDocument::GetVbaEventProcessor(), and m_aDocument.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 310 of file docsh6.cxx.
References ScDocument::GetLinkManager(), m_aDocument, and sfx2::LinkManager::ReconnectDdeLink().
Definition at line 472 of file docsh5.cxx.
References ScDPCollection::GetCount(), ScDocument::GetDPCollection(), ScDPObject::GetSheetDesc(), ScSheetSourceDesc::GetSourceRange(), i, ScRange::Intersects(), m_aDocument, n, and ScDBDocFunc::UpdatePivotTable().
Referenced by Execute(), and ScDBDocFunc::UpdateImport().
void ScDocShell::RegisterAutomationWorkbookObject | ( | css::uno::Reference< ooo::vba::excel::XWorkbook > const & | xWorkbook | ) |
Definition at line 3267 of file docsh.cxx.
References mxAutomationWorkbookObject.
Referenced by ScVbaWorkbook::init().
void ScDocShell::ReloadAllLinks | ( | ) |
Definition at line 119 of file docsh4.cxx.
References AllowLinkUpdate(), GetActiveDialogParent(), ScDocument::GetDocLinkManager(), m_aDocument, ReloadTabLinks(), ScDocument::TrackFormulas(), ScDocument::UpdateAreaLinks(), sc::DocumentLinkManager::updateDdeOrOleOrWebServiceLinks(), and ScDocument::UpdateExternalRefLinks().
Referenced by Execute().
void ScDocShell::ReloadTabLinks | ( | ) |
Definition at line 387 of file docsh6.cxx.
References ScDocument::GetLinkManager(), sfx2::LinkManager::GetLinks(), Grid, i, Left, m_aDocument, ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, nCount, PostPaint(), SetDocumentModified(), and Top.
Referenced by ReloadAllLinks().
|
private |
Definition at line 162 of file docsh2.cxx.
References FmFormModel::SetObjectShell().
Referenced by ~ScDocShell().
|
static |
Definition at line 2999 of file docsh.cxx.
References ScOptionsUtil::KEY_DEFAULT, and ScOptionsUtil::KEY_OOO_LEGACY.
Referenced by ScModule::ModifyOptions().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1730 of file docsh.cxx.
References SfxViewFrame::GetFirst(), SfxObjectShell::GetMedium(), ScDocument::GetRefreshTimerControlAddress(), m_aDocument, SfxObjectShell::Save(), and SaveXML().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1773 of file docsh.cxx.
References ScTabViewShell::ExecuteRetypePassDlg(), GetBestViewShell(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), ScDocument::GetRefreshTimerControlAddress(), ScDocument::InvalidateStreamOnSave(), m_aDocument, ScPassHashHelper::needsPassHashRegen(), PASSHASH_SHA1, PASSHASH_SHA256, PASSHASH_XL, SfxObjectShell::SaveAs(), SaveXML(), and URIHelper::simpleNormalizedMakeRelative().
|
private |
Definition at line 549 of file docsh.cxx.
References ScXMLImportWrapper::Export().
Referenced by ConvertTo(), Save(), and SaveAs().
|
inline |
Definition at line 384 of file docsh.hxx.
Referenced by ScDocument::CopyAdjustRangeName(), and ScTable::UndoToTable().
void ScDocShell::SetChangeComment | ( | ScChangeAction * | pAction, |
const OUString & | rComment | ||
) |
Undo ???
Definition at line 619 of file docsh3.cxx.
References Change, ScChangeAction::GetActionNumber(), ScDocument::GetChangeTrack(), GetDocument(), ScChangeTrack::NotifyModified(), ScChangeAction::SetComment(), and SetDocumentModified().
Referenced by ScRedComDialog::Execute().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 3194 of file docsh.cxx.
References ScDocument::EndChangeTracking(), GetViewBindings(), SfxBindings::InvalidateAll(), IsChangeRecording(), m_aDocument, PostPaintGridAll(), ScDocument::SetChangeViewSettings(), ScChangeViewSettings::SetShowChanges(), ScDocument::StartChangeTracking(), and UpdateAcceptChangesDialog().
Referenced by ScModelObj::setPropertyValue(), and SetProtectionPassword().
|
inline |
Definition at line 221 of file docsh.hxx.
Referenced by ooo::vba::excel::implnCopy(), and ooo::vba::excel::implnCut().
void ScDocShell::SetDocumentModified | ( | ) |
Definition at line 2820 of file docsh.cxx.
References BCA_BRDCST_ALWAYS, ScDocument::Broadcast(), ScDocument::BroadcastUno(), ScDocument::CalcFormulaTree(), ScDetOpList::Count(), ScDocFunc::DetectiveRefresh(), ScDocument::GetAutoCalc(), ScDocument::GetDetOpList(), GetDocFunc(), ScDetOpList::HasAddError(), ScDocument::InvalidateLastTableOpParams(), ScDocument::InvalidateStyleSheetUsage(), ScDocument::InvalidateTableArea(), ScDocument::IsAutoCalcShellDisabled(), ScDocument::IsDetectiveDirty(), ScDocument::IsForcedFormulaPending(), IsInUndo(), m_aDocument, m_bAreasChangedNeedBroadcast, m_pPaintLockData, PostDataChanged(), ScDocument::RefreshDirtyTableColumnNames(), SC_MOD, ScDocument::SetDetectiveDirty(), SetDocumentModifiedPending(), SetDrawModified(), and SfxGetpApp().
Referenced by ScLabelRangesObj::addNew(), ScNameDefDlg::AddPushed(), ScViewFunc::AppendTable(), ScHelperFunctions::ApplyBorder(), ScOutlineDocFunc::AutoOutline(), CompareDocument(), ScViewFunc::DeleteTables(), ScUndoShowHideTab::DoChange(), ScUndoLayoutRTL::DoChange(), ScViewFunc::DoRefConversion(), ScViewFunc::DoSheetConversion(), ScViewFunc::DoThesaurus(), ScModelObj::enableAutomaticCalculation(), ScImportExport::EndPaste(), ScSimpleUndo::EndRedo(), ScSimpleUndo::EndUndo(), ScModule::Execute(), Execute(), ScTabViewShell::Execute(), ExecutePageStyle(), ScFormatShell::ExecuteStyle(), ScTabView::FreezeSplitters(), ScOutlineDocFunc::HideMarkedOutlines(), ScOutlineDocFunc::HideOutline(), ScViewFunc::HideTable(), IMPL_LINK(), IMPL_LINK_NOARG(), ScViewFunc::ImportTables(), 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(), ScCellRangesBase::replaceAll(), ScSheetEventsObj::replaceByName(), ScSpellDialogChildWindow::Reset(), ScViewFunc::SearchAndReplace(), ScOutlineDocFunc::SelectLevel(), ScStyleObj::setAllPropertiesToDefault(), SetChangeComment(), ScCellRangesBase::setColumnDescriptions(), ScCellRangesBase::setData(), ScDocShellModificator::SetDocumentModified(), ScDataPilotTableObj::setName(), ScCellRangesBase::SetOnePropertyValue(), ScTableSheetObj::SetOnePropertyValue(), ScStyleObj::setParentStyle(), ScViewFunc::SetPrintRanges(), ScDocumentConfiguration::setPropertyValue(), ScTabViewObj::setPropertyValue(), ScModelObj::setPropertyValue(), ScStyleObj::setPropertyValue_Impl(), SetProtectionPassword(), ScCellRangesBase::setRowDescriptions(), ScViewFunc::SetSelectionFrameLines(), ScDataPilotTableObj::setTag(), ScOutlineDocFunc::ShowMarkedOutlines(), ScOutlineDocFunc::ShowOutline(), ScViewFunc::ShowTable(), UnlockPaint_Impl(), ScTabView::UpdateRef(), and ScDocShellModificator::~ScDocShellModificator().
|
inline |
Definition at line 374 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 2884 of file docsh.cxx.
References GetViewBindings(), SfxBindings::Invalidate(), ScDocument::IsChartListenerCollectionNeedsUpdate(), SfxObjectShell::IsModified(), m_aDocument, SC_MOD, SetModified(), SfxGetpApp(), and ScDocument::UpdateChartListenerCollection().
Referenced by ScDrawShell::ExecDrawFunc(), ScTabViewShell::ExecImageMap(), ScClient::ObjectAreaChanged(), ScUndoDraw::Redo(), ScDrawView::SetCellAnchored(), SetDocumentModified(), ScDrawView::SetMarkedOriginalSize(), ScDrawView::SetPageAnchored(), ScUndoDraw::Undo(), and ScClient::ViewChanged().
void ScDocShell::SetEmpty | ( | bool | bSet | ) |
Definition at line 89 of file docsh2.cxx.
Referenced by ScTabViewShell::Construct(), oox::xls::WorkbookGlobals::finalize(), and ScModelObj::setPropertyValue().
void ScDocShell::SetFormulaOptions | ( | const ScFormulaOptions & | rOpt, |
bool | bForLoading = false |
||
) |
Definition at line 420 of file docsh6.cxx.
References ScFormulaOptions::GetCalcConfig(), ScFormulaOptions::GetFormulaSepArg(), ScFormulaOptions::GetFormulaSepArrayCol(), ScFormulaOptions::GetFormulaSepArrayRow(), ScFormulaOptions::GetFormulaSyntax(), formula::FormulaCompiler::GetOpCodeMap(), ScFormulaOptions::GetUseEnglishFuncName(), m_aDocument, ScGlobal::ResetFunctionList(), formula::FormulaCompiler::ResetNativeSymbols(), SC_MOD, ScDocument::SetCalcConfig(), ScInterpreter::SetGlobalConfig(), ScDocument::SetGrammar(), formula::FormulaCompiler::SetNativeSymbols(), and formula::FormulaCompiler::UpdateSeparatorsNative().
Referenced by CheckConfigOptions(), InitOptions(), and ScModule::ModifyOptions().
void ScDocShell::SetInplace | ( | bool | bInplace | ) |
Definition at line 345 of file docsh3.cxx.
References CalcOutputFactor(), and m_bIsInplace.
Referenced by ScTabViewShell::Construct().
void ScDocShell::SetInUndo | ( | bool | bSet | ) |
Definition at line 2915 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::SetIsInUcalc | ( | ) |
Definition at line 3262 of file docsh.cxx.
References m_bUcalcTest.
void ScDocShell::SetLockCount | ( | sal_uInt16 | nNew | ) |
Definition at line 299 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 2811 of file docsh.cxx.
References SfxObjectShell::IsEnableSetModified(), and SfxObjectShell::SetModified().
Referenced by ScTabViewShell::ExecDrawIns(), ScCellShell::Execute(), 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 470 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(), ScDocument::GetPageStyle(), SvxPaperInfo::GetPaperSize(), ScDocument::GetPrinter(), ScDocument::GetStyleSheetPool(), SfxShell::GetViewShell(), Size::Height(), SvxPageItem::IsLandscape(), m_aDocument, ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, PostPaint(), SfxItemSet::Put(), SC_MOD, SvxPageItem::SetLandscape(), ScDocument::SetPrinter(), ScDocument::SetPrintOptions(), SFX_PRINTERROR_BUSY, UpdateFontList(), ScInputHandler::UpdateRefDevice(), and Size::Width().
Referenced by ScPreviewShell::SetPrinter(), and ScDocumentConfiguration::setPropertyValue().
Definition at line 1608 of file docsh4.cxx.
References SfxUndoManager::AddUndoAction(), ATTR_PAGE_SCALE(), ATTR_PAGE_SCALETOPAGES(), SfxStyleSheetBasePool::Find(), SfxItemSet::Get(), SfxStyleSheetBase::GetItemSet(), ScDocument::GetPageStyle(), GetPrinter(), ScDocument::GetStyleSheetPool(), GetUndoManager(), GetViewBindings(), SfxBindings::Invalidate(), ScDocument::IsUndoEnabled(), m_aDocument, SfxItemSet::Put(), ScDocShellModificator::SetDocumentModified(), and ScPrintFunc::UpdatePages().
Referenced by AdjustPrintZoom(), ScUndoPrintZoom::Repeat(), and ScViewFunc::SetPrintZoom().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 3221 of file docsh.cxx.
References ScDocument::GetChangeTrack(), SvPasswordHelper::GetHashPassword(), ScChangeTrack::IsProtected(), m_aDocument, SetChangeRecording(), SetDocumentModified(), ScChangeTrack::SetProtection(), and UpdateAcceptChangesDialog().
void ScDocShell::SetSolverSaveData | ( | std::unique_ptr< ScOptSolverSave > | pData | ) |
Definition at line 2959 of file docsh.cxx.
References m_pSolverSaveData.
|
inline |
Definition at line 381 of file docsh.hxx.
Referenced by ScTabViewShell::Construct().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 57 of file docsh6.cxx.
References SetVisAreaOrSize().
Referenced by ScTransferObj::InitDocShell(), and ScDrawTransferObj::InitDocShell().
void ScDocShell::SetVisAreaOrSize | ( | const tools::Rectangle & | rVisArea | ) |
Definition at line 73 of file docsh6.cxx.
References ScTabViewShell::GetActiveViewShell(), ScViewData::GetDocShell(), ScDocument::GetEmbedded(), ScTabView::GetViewData(), ScDocument::GetVisibleTab(), Grid, ScDocument::IsEmbedded(), ScDocument::IsImportingXML(), ScDocument::IsNegativePage(), lcl_SetTopRight(), tools::Rectangle::Left(), m_aDocument, m_bIsInplace, ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, Point, PostPaint(), tools::Rectangle::Right(), ScDocument::SetEmbedded(), tools::Rectangle::SetPos(), SfxObjectShell::SetVisArea(), SnapVisArea(), tools::Rectangle::Top(), and ScTabViewShell::UpdateOleZoom().
Referenced by SetVisArea(), and UpdateOle().
ScDocShell::SFX_DECL_OBJECTFACTORY | ( | ) |
void ScDocShell::SnapVisArea | ( | tools::Rectangle & | rRect | ) | const |
Definition at line 2290 of file docsh4.cxx.
References tools::Rectangle::Bottom(), ScDocument::GetPosLeft(), ScDocument::GetPosTop(), ScDocument::GetVisibleTab(), ScDocument::IsNegativePage(), tools::Rectangle::Left(), m_aDocument, 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 854 of file docsh5.cxx.
References bVisible, GetDocument(), ScDocument::GetScenarioData(), ScDocument::GetTabProtection(), ScDocument::IsActiveScenario(), ScDocument::IsScenario(), ScDocument::IsTabProtected(), ScDocument::IsVisible(), m_aDocument, ScClipParam::maRanges, ScDocument::MaxCol(), ScDocument::MaxRow(), PostPaintExtras(), PostPaintGridAll(), ScRangeList::push_back(), SC_TAB_INSERTED, ScDocument::SetActiveScenario(), ScDocument::SetClipParam(), ScDocument::SetScenario(), ScDocument::SetScenarioData(), ScDocument::SetTabProtection(), ScDocument::SetVisible(), ScDocument::TransferDrawPage(), and ScDocument::TransferTab().
Referenced by ScVbaWorksheet::createSheetCopy(), ScTableSheetsObj::importSheet(), ScViewFunc::ImportTables(), and ScViewFunc::MoveTable().
void ScDocShell::UnlockDocument | ( | ) |
Definition at line 332 of file docsh3.cxx.
References m_nDocumentLock, UnlockDocument_Impl(), and UnlockPaint_Impl().
Referenced by ScModelObj::removeActionLock().
|
private |
Definition at line 288 of file docsh3.cxx.
References ScDocument::GetDrawLayer(), m_aDocument, m_nDocumentLock, and SdrModel::setLock().
Referenced by SetLockCount(), and UnlockDocument().
void ScDocShell::UnlockPaint | ( | ) |
Definition at line 321 of file docsh3.cxx.
References UnlockPaint_Impl().
Referenced by ScTabViewShell::ExecuteUndo(), MergeDocument(), and ScModelObj::unlockControllers().
|
private |
nExtFlags ???
Definition at line 240 of file docsh3.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), i, tools::SvRef< T >::is(), m_pPaintLockData, nCount, PostPaint(), ScAddress::Row(), SetDocumentModified(), ScRangeList::size(), and ScAddress::Tab().
Referenced by SetLockCount(), UnlockDocument(), and UnlockPaint().
void ScDocShell::UpdateAllRowHeights | ( | const ScMarkData * | pTabMark = nullptr | ) |
Definition at line 422 of file docsh5.cxx.
References ScSizeDeviceProvider::GetDevice(), ScSizeDeviceProvider::GetPPTX(), ScSizeDeviceProvider::GetPPTY(), m_aDocument, ScDocument::MaxRow(), and ScDocument::UpdateAllRowHeights().
Referenced by LoadStyles(), LoadStylesArgs(), ScVbaApplication::setScreenUpdating(), ScModelObj::UpdateAllRowHeights(), and UpdatePendingRowHeights().
void ScDocShell::UpdateFontList | ( | ) |
Definition at line 455 of file docsh3.cxx.
References CalcOutputFactor(), GetRefDevice(), m_pImpl, and SfxShell::PutItem().
Referenced by ScPreview::DataChanged(), ScGridWindow::DataChanged(), and SetPrinter().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 319 of file docsh6.cxx.
References sfx2::ClientFile, ScDocument::GetLinkDoc(), ScDocument::GetLinkFlt(), ScDocument::GetLinkManager(), ScDocument::GetLinkOpt(), ScDocument::GetLinkRefreshDelay(), sfx2::LinkManager::GetLinks(), ScDocument::GetTableCount(), i, sfx2::LinkManager::InsertFileLink(), ScDocument::IsLinked(), m_aDocument, nCount, pLink, sfx2::LinkManager::Remove(), ScTableLink::SetInCreate(), and sfx2::SvBaseLink::Update().
Referenced by ScUndoRemoveLink::DoChange(), ScTableSheetObj::link(), and ScUndoDeleteTab::Undo().
void ScDocShell::UpdateOle | ( | const ScViewData & | rViewData, |
bool | bSnapSize = false |
||
) |
Definition at line 152 of file docsh6.cxx.
References SfxObjectShell::GetCreateMode(), ScDocument::GetEmbeddedRect(), ScDocument::GetMMRect(), ScDocument::GetPosLeft(), ScDocument::GetPosTop(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScViewData::GetTabNo(), SfxObjectShell::GetVisArea(), ScDocument::GetVisibleTab(), ScDocument::IsEmbedded(), ScDocument::IsNegativePage(), lcl_SetTopRight(), m_aDocument, SC_SPLIT_BOTTOM, SC_SPLIT_LEFT, tools::Rectangle::SetPos(), ScDocument::SetPosLeft(), ScDocument::SetPosTop(), SetVisAreaOrSize(), ScDocument::SetVisibleTab(), SnapVisArea(), tools::Rectangle::TopLeft(), and tools::Rectangle::TopRight().
Referenced by ScViewFunc::AdjustBlockHeight(), ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScViewFunc::AutoFormat(), ScViewFunc::ChangeIndent(), ScViewFunc::CutToClip(), ScViewFunc::DataFormPutData(), ScViewFunc::DeleteCells(), ScViewFunc::DeleteContents(), ScViewFunc::DoRefConversion(), ScGridWindow::DropTransferObj(), ScViewFunc::EnterData(), ScViewFunc::EnterMatrix(), ScViewFunc::EnterValue(), ScViewFunc::FillAuto(), ScViewFunc::FillSeries(), ScViewFunc::FillSimple(), ScTransferObj::InitDocShell(), ScDrawTransferObj::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, |
SCCOL | nStartCol, | ||
SCROW | nStartRow, | ||
SCTAB | nStartTab, | ||
SCCOL | nEndCol, | ||
SCROW | nEndRow, | ||
SCTAB | nEndTab | ||
) |
Definition at line 227 of file docsh3.cxx.
Referenced by ScViewFunc::ApplyPatternLines(), ScViewFunc::CutToClip(), ScViewFunc::DataFormPutData(), ScUndoCut::DoChange(), ScUndoPaste::DoChange(), ScUndoDeleteContents::DoChange(), ScUndoSelectionAttr::DoChange(), ScUndoDataForm::DoChange(), ScUndoSelectionStyle::DoChange(), ScUndoDragDrop::DoUndo(), ScViewFunc::PasteFromClip(), ScUndoDragDrop::Redo(), ScUndoAutoFill::Undo(), and ScUndoTabOp::Undo().
Definition at line 202 of file docsh3.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), Conditional, ScDocument::HasAttrib(), Lines, m_aDocument, ScDocument::MaxCol(), RightOrCenter, Rotate, SC_PF_LINES, SC_PF_WHOLEROWS, and Shadow.
Definition at line 432 of file docsh5.cxx.
References AdjustRowHeight(), ScDocument::EnableUndo(), ScDocument::GetSheetLimits(), ScDocument::GetTableCount(), ScDocument::IsPendingRowHeights(), ScDocument::IsUndoEnabled(), ScDocument::LockStreamValid(), m_aDocument, ScDocument::MaxRow(), ScMarkData::SelectTable(), ScDocument::SetPendingRowHeights(), UpdateAllRowHeights(), and ScDocument::UpdatePageBreaks().
Referenced by ScPreview::CalcPages(), ScPrintFunc::Construct(), ScTabViewShell::Notify(), and ScPrintFuncCache::ScPrintFuncCache().
only if there are visible frames?
Definition at line 659 of file docsh5.cxx.
References SfxUndoManager::AddUndoAction(), ScRange::aEnd, ALL, ScRange::aStart, ScAddress::Col(), ScDocument::CopyScenario(), ScDocument::CopyToDocument(), Application::CreateMessageDialog(), GetActiveDialogParent(), ScDocument::GetName(), ScDocument::GetScenarioData(), ScDocument::GetSheetLimits(), ScDocument::GetTableCount(), GetUndoManager(), Grid, i, ScDocument::IsActiveScenario(), ScDocument::IsScenario(), m_aDocument, ScDocument::MarkScenario(), ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, PostPaint(), ScAddress::Row(), SCDOCMODE_UNDO, ScResId(), SCTAB_MAX, ScDocument::SetAllFormulasDirty(), ScDocShellModificator::SetDocumentModified(), ScDocument::TestCopyScenario(), TwoWay, and ValidTab().
Referenced by ScTableSheetObj::apply(), ScUndoUseScenario::Redo(), and ScViewFunc::UseScenario().
|
private |
Definition at line 3113 of file docsh.cxx.
References ScDocument::GetTableCount(), m_aDocument, m_pSheetSaveData, and ScDocument::SetStreamValid().
|
private |
Definition at line 80 of file docsh.hxx.
Referenced by AdjustPrintZoom(), AdjustRowHeight(), AllowLinkUpdate(), AsciiSave(), CalcOutputFactor(), CancelAutoDBRange(), CompareDocument(), ConvertTo(), DBAreaDeleted(), DdeCreateLinkSource(), DoAutoStyle(), DoConsolidate(), DoHardRecalc(), DoRecalc(), Draw(), Execute(), ExecuteChangeProtectionDialog(), ExecutePageStyle(), GetAnonymousDBData(), GetDBData(), GetDocStat(), GetDocumentPrinter(), GetPageOnFromPageStyleSet(), GetPrinter(), GetProtectionHash(), GetRefDevice(), GetState(), GetStatePageStyle(), GetStyleSheetPool(), GetUndoManager(), GetVisArea(), HasChangeRecordProtection(), InitOptions(), IsChangeRecording(), IsEditable(), LoadStyles(), LoadStylesArgs(), LockDocument_Impl(), MakeScenario(), MergeDocument(), MergeSharedDocument(), ModifyScenario(), MoveTable(), NotifyStyle(), PageStyleModified(), PostDataChanged(), PostPaint(), PostPaintExtras(), PostPaintGridAll(), PrepareClose(), ScDocShell::PrepareSaveGuard::PrepareSaveGuard(), QuerySlotExecutable(), ReconnectDdeLink(), RefreshPivotTables(), ReloadAllLinks(), ReloadTabLinks(), Save(), SaveAs(), 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 96 of file docsh.hxx.
Referenced by SetDocumentModified().
|
private |
Definition at line 89 of file docsh.hxx.
Referenced by ExecutePageStyle(), and GetStatePageStyle().
|
private |
Definition at line 88 of file docsh.hxx.
Referenced by ExecutePageStyle(), and GetStatePageStyle().
|
private |
Definition at line 90 of file docsh.hxx.
Referenced by CalcOutputFactor(), ScDocShell(), SetInplace(), and SetVisAreaOrSize().
|
private |
Definition at line 92 of file docsh.hxx.
Referenced by SetInUndo().
|
private |
Definition at line 95 of file docsh.hxx.
Referenced by SetIsInUcalc().
|
private |
Definition at line 98 of file docsh.hxx.
Referenced by Execute(), and GetLinkUpdateModeState().
|
private |
Definition at line 97 of file docsh.hxx.
Referenced by LockDocument(), LockDocument_Impl(), UnlockDocument(), and UnlockDocument_Impl().
|
private |
Definition at line 84 of file docsh.hxx.
Referenced by CalcOutputFactor().
|
private |
Definition at line 102 of file docsh.hxx.
Referenced by ConvertTo(), ScDocShell::PrepareSaveGuard::PrepareSaveGuard(), and ~ScDocShell().
|
private |
Definition at line 86 of file docsh.hxx.
Referenced by ScDocShell(), and ~ScDocShell().
|
private |
Definition at line 106 of file docsh.hxx.
Referenced by GetFormatSaveData(), and ~ScDocShell().
|
private |
Definition at line 85 of file docsh.hxx.
Referenced by Execute(), GetState(), UpdateFontList(), and ~ScDocShell().
|
private |
Definition at line 108 of file docsh.hxx.
Referenced by ~ScDocShell().
|
private |
Definition at line 100 of file docsh.hxx.
Referenced by CancelAutoDBRange(), GetDBData(), GetOldAutoDBRange(), and ~ScDocShell().
|
private |
Definition at line 103 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(), UseSheetSaveEntries(), and ~ScDocShell().
|
private |
Definition at line 104 of file docsh.hxx.
Referenced by SetSolverSaveData(), and ~ScDocShell().
|
private |
|
private |
|
private |
Definition at line 110 of file docsh.hxx.
Referenced by RegisterAutomationWorkbookObject().