LibreOffice Module sw (master) 1
|
#include <docsh.hxx>
Classes | |
class | LockAllViewsGuard_Impl |
Public Member Functions | |
SwDocShell (SfxObjectCreateMode eMode=SfxObjectCreateMode::EMBEDDED) | |
Doc is required for SO data exchange! More... | |
SwDocShell (SfxModelFlags i_nSfxCreationFlags) | |
SwDocShell (SwDoc &rDoc, SfxObjectCreateMode eMode) | |
virtual | ~SwDocShell () override |
DECL_DLLPRIVATE_LINK (Ole2ModifiedHdl, bool, void) | |
OLE 2.0-notification. More... | |
virtual void | SetVisArea (const tools::Rectangle &rRect) override |
OLE-stuff. More... | |
virtual tools::Rectangle | GetVisArea (sal_uInt16 nAspect) const override |
virtual Printer * | GetDocumentPrinter () override |
virtual OutputDevice * | GetDocumentRefDev () override |
virtual void | OnDocumentPrinterChanged (Printer *pNewPrinter) override |
virtual void | SetModified (bool=true) override |
void | Execute (SfxRequest &) |
Dispatcher. More... | |
void | ExecStyleSheet (SfxRequest &) |
void | GetState (SfxItemSet &) |
void | StateStyleSheet (SfxItemSet &, SwWrtShell *pSh=nullptr) |
SwDoc * | GetDoc () |
returns Doc. But be careful! More... | |
const SwDoc * | GetDoc () const |
IDocumentDeviceAccess & | getIDocumentDeviceAccess () |
IDocumentChartDataProviderAccess & | getIDocumentChartDataProviderAccess () |
void | UpdateFontList () |
void | UpdateChildWindows () |
virtual bool | Save () override |
global IO. More... | |
virtual SfxStyleSheetBasePool * | GetStyleSheetPool () override |
For Style PI. More... | |
virtual sfx2::StyleManager * | GetStyleManager () override |
void | SetView (SwView *pVw) |
Set View for actions via Shell. More... | |
const SwView * | GetView () const |
SwView * | GetView () |
SwWrtShell * | GetWrtShell () |
Access to the SwWrtShell belonging to SwView. More... | |
const SwWrtShell * | GetWrtShell () const |
SwEditShell * | GetEditShell () |
SwFEShell * | GetFEShell () |
For Core - it knows the DocShell but not the WrtShell! More... | |
const SwFEShell * | GetFEShell () const |
Reader * | StartConvertFrom (SfxMedium &rMedium, SwReaderPtr &rpRdr, SwCursorShell const *pCursorSh=nullptr, SwPaM *pPaM=nullptr) |
For inserting document. More... | |
virtual ::sfx2::SvLinkSource * | DdeCreateLinkSource (const OUString &rItem) override |
virtual void | ReconnectDdeLink (SfxObjectShell &rServer) override |
virtual void | FillClass (SvGlobalName *pClassName, SotClipboardFormatId *pClipFormat, OUString *pLongUserName, sal_Int32 nFileFormat, bool bTemplate=false) const override |
virtual std::set< Color > | GetDocColors () override |
virtual std::shared_ptr< model::ColorSet > | GetThemeColors () override |
sfx::AccessibilityIssueCollection | runAccessibilityCheck () override |
virtual void | LoadStyles (SfxObjectShell &rSource) override |
void | LoadStyles_ (SfxObjectShell &rSource, bool bPreserveCurrentDocument) |
void | FormatPage (weld::Window *pDialogParent, const OUString &rPage, const OUString &rPageId, SwWrtShell &rActShell, SfxRequest *pRequest=nullptr) |
Show page style format dialog. More... | |
void | LoadingFinished () |
linked graphics are now loaded on demand. More... | |
virtual void | CancelTransfers () override |
Cancel transfer (called from SFX). More... | |
void | ReloadFromHtml (const OUString &rStreamName, SwSrcView *pSrcView) |
Re-read Doc from Html-source. More... | |
sal_Int16 | GetUpdateDocMode () const |
void | ToggleLayoutMode (SwView *pView) |
ErrCode | LoadStylesFromFile (const OUString &rURL, SwgReaderOption &rOpt, bool bUnoCall) |
void | InvalidateModel () |
void | ReactivateModel () |
virtual css::uno::Sequence< OUString > | GetEventNames () override |
virtual HiddenInformation | GetHiddenInformationState (HiddenInformation nStates) override |
#i20883# Digital Signatures and Encryption More... | |
virtual void | UpdateLinks () override |
#i42634# Overwrites SfxObjectShell::UpdateLinks This new function is necessary to trigger update of links in docs read by the binary filter: More... | |
css::uno::Reference< css::frame::XController > | GetController () |
SfxInPlaceClient * | GetIPClient (const ::svt::EmbeddedObjectRef &xObjRef) |
SAL_DLLPRIVATE bool | IsTemplate () const |
SAL_DLLPRIVATE void | SetIsTemplate (bool bValue) |
virtual const ::sfx2::IXmlIdRegistry * | GetXmlIdRegistry () const override |
virtual bool | IsChangeRecording () const override |
passwword protection for Writer (derived from SfxObjectShell) see also: FN_REDLINE_ON, FN_REDLINE_ON More... | |
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 | RegisterAutomationDocumentEventsCaller (css::uno::Reference< ooo::vba::XSinkCaller > const &xCaller) |
void | CallAutomationDocumentEventSinks (const OUString &Method, css::uno::Sequence< css::uno::Any > &Arguments) |
void | RegisterAutomationDocumentObject (css::uno::Reference< ooo::vba::word::XDocument > const &xDocument) |
virtual std::unique_ptr< LockAllViewsGuard > | LockAllViews () override |
Public Member Functions inherited from SfxObjectShell | |
void | Stamp_SetPrintCancelState (bool bState) |
bool | Stamp_GetPrintCancelState () const |
virtual void | Invalidate (sal_uInt16 nId=0) override |
SfxModule * | GetModule () const |
virtual SfxObjectFactory & | GetFactory () const=0 |
SfxMedium * | GetMedium () const |
css::uno::Reference< css::document::XDocumentProperties > | getDocProperties () const |
void | UpdateDocInfoForSave () |
void | FlushDocInfo () |
bool | HasName () const |
OUString | GetAPIName () const |
void | SetReadOnly () |
bool | IsReadOnly () const |
bool | IsReadOnlyMedium () const |
bool | IsOriginallyReadOnlyMedium () const |
bool | IsOriginallyLoadedReadOnlyMedium () const |
void | SetReadOnlyUI (bool bReadOnly=true) |
bool | IsReadOnlyUI () const |
void | SetNoName () |
bool | IsInModalMode () const |
bool | IsInPrepareClose () const |
bool | AcceptStateUpdate () const |
bool | IsHelpDocument () const |
bool | IsDocShared () const |
OUString | GetSharedFileURL () const |
bool | SwitchToShared (bool bShared, bool bSave) |
SAL_DLLPRIVATE void | FreeSharedFile (const OUString &aTempFileURL) |
SAL_DLLPRIVATE void | DoNotCleanShareControlFile () |
void | SetSharedXMLFlag (bool bFlag) const |
bool | HasSharedXMLFlagSet () const |
SAL_DLLPRIVATE void | SetModalMode_Impl (bool bModal) |
SAL_DLLPRIVATE void | SetMacroMode_Impl (bool bModal=true) |
void | ResetError () |
ErrCode | GetError () const |
ErrCode | GetErrorCode () const |
void | SetError (ErrCode rErr) |
void | DoInitUnitTest () |
bool | DoInitNew () |
bool | DoLoad (SfxMedium *pMedium) |
bool | DoLoadExternal (SfxMedium *pMed) |
bool | DoSave () |
bool | DoSaveAs (SfxMedium &rNewStor) |
bool | DoSaveObjectAs (SfxMedium &rNewStor, bool bCommit) |
virtual bool | DoSaveCompleted (SfxMedium *pNewStor=nullptr, bool bRegisterRecent=true) |
virtual void | TerminateEditing () |
bool | LoadOwnFormat (SfxMedium &pMedium) |
virtual bool | SaveAsOwnFormat (SfxMedium &pMedium) |
virtual bool | ConvertFrom (SfxMedium &rMedium) |
virtual bool | ConvertTo (SfxMedium &rMedium) |
virtual bool | InitNew (const css::uno::Reference< css::embed::XStorage > &xStorage) |
virtual bool | Load (SfxMedium &rMedium) |
virtual bool | LoadFrom (SfxMedium &rMedium) |
virtual bool | Save () |
virtual bool | SaveAs (SfxMedium &rMedium) |
virtual bool | SaveCompleted (const css::uno::Reference< css::embed::XStorage > &xStorage) |
bool | SwitchPersistence (const css::uno::Reference< css::embed::XStorage > &xStorage) |
virtual void | UpdateLinks () |
virtual bool | LoadExternal (SfxMedium &rMedium) |
bool | IsConfigOptionsChecked () const |
void | SetConfigOptionsChecked (bool bChecked) |
virtual bool | QuerySlotExecutable (sal_uInt16 nSlotId) |
void | SaveChildren (bool bObjectsOnly=false) |
bool | SaveAsChildren (SfxMedium &rMedium) |
bool | SwitchChildrenPersistence (const css::uno::Reference< css::embed::XStorage > &xStorage, bool bForceNonModified=false) |
bool | SaveCompletedChildren () |
virtual bool | InsertGeneratedStream (SfxMedium &rMedium, css::uno::Reference< css::text::XTextRange > const &xInsertPosition) |
virtual bool | ImportFrom (SfxMedium &rMedium, css::uno::Reference< css::text::XTextRange > const &xInsertPosition) |
bool | ExportTo (SfxMedium &rMedium) |
bool | PrepareForSigning (weld::Window *pDialogParent) |
bool | CheckIsReadonly (bool bSignScriptingContent, weld::Window *pDialogParent=nullptr) |
void | RecheckSignature (bool bAlsoRecheckScriptingSignature) |
void | AfterSigning (bool bSignSuccess, bool bSignScriptingContent) |
bool | HasValidSignatures () const |
SignatureState | GetDocumentSignatureState () |
bool | SignDocumentContent (weld::Window *pDialogParent) |
css::uno::Sequence< css::security::DocumentSignatureInformation > | GetDocumentSignatureInformation (bool bScriptingContent, const css::uno::Reference< css::security::XDocumentDigitalSignatures > &xSigner=css::uno::Reference< css::security::XDocumentDigitalSignatures >()) |
bool | SignDocumentContentUsingCertificate (const css::uno::Reference< css::security::XCertificate > &xCertificate) |
bool | ResignDocument (css::uno::Sequence< css::security::DocumentSignatureInformation > &rSignaturesInfo) |
void | SignSignatureLine (weld::Window *pDialogParent, const OUString &aSignatureLineId, const css::uno::Reference< css::security::XCertificate > &xCert, const css::uno::Reference< css::graphic::XGraphic > &xValidGraphic, const css::uno::Reference< css::graphic::XGraphic > &xInvalidGraphic, const OUString &aComment) |
SignatureState | GetScriptingSignatureState () |
bool | SignScriptingContent (weld::Window *pDialogParent) |
DECL_DLLPRIVATE_LINK (SignDocumentHandler, weld::Button &, void) | |
virtual std::shared_ptr< SfxDocumentInfoDialog > | CreateDocumentInfoDialog (weld::Window *pParent, const SfxItemSet &rItemSet) |
ErrCode | CallBasic (std::u16string_view rMacro, std::u16string_view rBasicName, SbxArray *pArgs, SbxValue *pRet=nullptr) |
ErrCode | CallXScript (const OUString &rScriptURL, const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Any &aRet, css::uno::Sequence< sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam, bool bRaiseError=true, const css::uno::Any *aCaller=nullptr) |
bool | AdjustMacroMode () |
SvKeyValueIterator * | GetHeaderAttributes () |
void | ClearHeaderAttributesForSourceViewHack () |
void | SetHeaderAttributesForSourceViewHack () |
bool | IsQueryLoadTemplate () const |
bool | IsUseUserData () const |
bool | IsUseThumbnailSave () const |
bool | IsLoadReadonly () const |
bool | IsSaveVersionOnClose () const |
void | SetQueryLoadTemplate (bool b) |
void | SetUseUserData (bool bNew) |
void | SetUseThumbnailSave (bool _bNew) |
void | SetLoadReadonly (bool _bReadonly) |
void | SetSaveVersionOnClose (bool bSet) |
void | ResetFromTemplate (const OUString &rTemplateName, std::u16string_view rFileName) |
sal_uInt32 | GetModifyPasswordHash () const |
bool | SetModifyPasswordHash (sal_uInt32 nHash) |
void | SetMacroCallsSeenWhileLoading () |
bool | GetMacroCallsSeenWhileLoading () const |
const css::uno::Sequence< css::beans::PropertyValue > & | GetModifyPasswordInfo () const |
bool | SetModifyPasswordInfo (const css::uno::Sequence< css::beans::PropertyValue > &aInfo) |
virtual bool | PrepareClose (bool bUI=true) |
virtual HiddenInformation | GetHiddenInformationState (HiddenInformation nStates) |
sal_Int16 | QueryHiddenInformation (HiddenWarningFact eFact, weld::Window *pParent) |
bool | IsSecurityOptOpenReadOnly () const |
void | SetSecurityOptOpenReadOnly (bool bOpenReadOnly) |
Size | GetFirstPageSize () const |
bool | DoClose () |
std::shared_ptr< GDIMetaFile > | GetPreviewMetaFile (bool bFullContent=false) const |
BitmapEx | GetPreviewBitmap () const |
virtual void | CancelTransfers () |
bool | GenerateAndStoreThumbnail (bool bEncrypted, const css::uno::Reference< css::embed::XStorage > &xStor) |
bool | WriteThumbnail (bool bEncrypted, const css::uno::Reference< css::io::XStream > &xStream) |
bool | IsInGenerateAndStoreThumbnail () const |
bool | IsAvoidRecentDocs () const |
bool | IsRememberingSignature () const |
void | AvoidRecentDocs (bool bAvoid) |
bool | IsContinueImportOnFilterExceptions (std::u16string_view aErrMessage) |
bool | IsAbortingImport () const |
void | FinishedLoading (SfxLoadedFlags nWhich=SfxLoadedFlags::ALL) |
void | TemplateDisconnectionAfterLoad () |
void | SetLoading (SfxLoadedFlags nFlags) |
bool | IsLoading () const |
bool | IsLoadingFinished () const |
void | SetAutoLoad (const INetURLObject &, sal_uInt32 nTime, bool bReload) |
bool | IsAutoLoadLocked () const |
bool | IsPreview () const |
SfxObjectCreateMode | GetCreateMode () const |
SfxProgress * | GetProgress () const |
void | SetWaitCursor (bool bSet) const |
void | SetTitle (const OUString &rTitle) |
OUString | GetTitle (sal_uInt16 nMaxLen=0) const |
void | InvalidateName () |
virtual ::sfx2::SvLinkSource * | DdeCreateLinkSource (const OUString &rItem) |
virtual void | ReconnectDdeLink (SfxObjectShell &rServer) |
virtual SfxStyleSheetBasePool * | GetStyleSheetPool () |
virtual void | LoadStyles (SfxObjectShell &rSource) |
virtual sfx2::StyleManager * | GetStyleManager () |
void | SetAutoStyleFilterIndex (sal_uInt16 nSet) |
sal_uInt16 | GetAutoStyleFilterIndex () const |
bool | HasBasic () const |
BasicManager * | GetBasicManager () const |
css::uno::Reference< css::script::XLibraryContainer > | GetBasicContainer () |
css::uno::Reference< css::script::XLibraryContainer > | GetDialogContainer () |
StarBASIC * | GetBasic () const |
std::optional< NamedColor > | GetRecentColor (sal_uInt16 nSlotId) |
void | SetRecentColor (sal_uInt16 nSlotId, const NamedColor &rColor) |
virtual std::set< Color > | GetDocColors () |
virtual std::shared_ptr< model::ColorSet > | GetThemeColors () |
virtual sfx::AccessibilityIssueCollection | runAccessibilityCheck () |
virtual SfxObjectShell * | GetObjectShell () override |
css::uno::Reference< css::frame::XModel3 > | GetModel () const |
void | SetBaseModel (SfxBaseModel *pModel) |
css::uno::Reference< css::frame::XModel3 > | GetBaseModel () const |
virtual css::uno::Sequence< OUString > | GetEventNames () |
css::uno::Reference< css::awt::XWindow > | GetDialogParent (SfxMedium const *pMedium=nullptr) |
bool | IsInPlaceActive () const |
bool | IsUIActive () const |
bool | isEditDocLocked () const |
bool | isContentExtractionLocked () const |
bool | isExportLocked () const |
bool | isPrintLocked () const |
bool | isSaveLocked () const |
void | EnableSetModified (bool bEnable=true) |
bool | IsEnableSetModified () const |
virtual void | SetModified (bool bModified=true) |
bool | IsModified () const |
void | SetupStorage (const css::uno::Reference< css::embed::XStorage > &xStorage, sal_Int32 nVersion, bool bTemplate) const |
css::uno::Reference< css::embed::XStorage > const & | GetStorage () |
SvGlobalName const & | GetClassName () const |
virtual css::uno::Reference< css::task::XInteractionHandler > | getInteractionHandler () const override |
virtual css::uno::Reference< css::embed::XStorage > | getStorage () const override |
virtual comphelper::EmbeddedObjectContainer & | getEmbeddedObjectContainer () const override |
bool | isEnableSetModified () const override |
virtual OUString | getDocumentBaseURL () const override |
comphelper::EmbeddedObjectContainer & | GetEmbeddedObjectContainer () const |
void | ClearEmbeddedObjects () |
virtual Printer * | GetDocumentPrinter () |
virtual OutputDevice * | GetDocumentRefDev () |
virtual void | OnDocumentPrinterChanged (Printer *pNewPrinter) |
virtual tools::Rectangle | GetVisArea (sal_uInt16 nAspect) const |
virtual void | SetVisArea (const tools::Rectangle &rVisArea) |
const tools::Rectangle & | GetVisArea () const |
void | SetVisAreaSize (const Size &rVisSize) |
MapUnit | GetMapUnit () const |
void | SetMapUnit (MapUnit nMUnit) |
void | FillTransferableObjectDescriptor (TransferableObjectDescriptor &rDesc) const |
void | DoDraw (OutputDevice *, const Point &rObjPos, const Size &rSize, const JobSetup &rSetup, sal_uInt16 nAspect=ASPECT_CONTENT, bool bOutputForScreen=false) |
virtual void | Draw (OutputDevice *, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen)=0 |
virtual void | FillClass (SvGlobalName *pClassName, SotClipboardFormatId *pFormat, OUString *pFullTypeName, sal_Int32 nVersion, bool bTemplate=false) const=0 |
virtual bool | IsChangeRecording () const |
virtual bool | HasChangeRecordProtection () const |
virtual void | SetChangeRecording (bool bActivate, bool bLockAllViews=false) |
virtual void | SetProtectionPassword (const OUString &rPassword) |
virtual bool | GetProtectionHash (css::uno::Sequence< sal_Int8 > &rPasswordHash) |
void | AppendInfoBarWhenReady (const OUString &sId, const OUString &sPrimaryMessage, const OUString &sSecondaryMessage, InfobarType aInfobarType, bool bShowCloseButton=true) |
std::vector< InfobarData > & | getPendingInfobars () |
SAL_DLLPRIVATE bool | CreatePreview_Impl (bool bFullContent, VirtualDevice *pDevice, GDIMetaFile *pFile) const |
SAL_DLLPRIVATE bool | ConnectTmpStorage_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage, SfxMedium *pMedium) |
SAL_DLLPRIVATE bool | DisconnectStorage_Impl (SfxMedium &rSrcMedium, SfxMedium &rTargetMedium) |
SAL_DLLPRIVATE bool | PutURLContentsToVersionStream_Impl (const OUString &aURL, const css::uno::Reference< css::embed::XStorage > &xDocStorage, const OUString &aStreamName) |
SAL_DLLPRIVATE OUString | CreateTempCopyOfStorage_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage) |
SAL_DLLPRIVATE void | InitOwnModel_Impl () |
SAL_DLLPRIVATE void | BreakMacroSign_Impl (bool bBreakMacroSing) |
SAL_DLLPRIVATE void | CheckSecurityOnLoading_Impl () |
SAL_DLLPRIVATE void | CheckForBrokenDocSignatures_Impl () |
SAL_DLLPRIVATE void | CheckEncryption_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler) |
SAL_DLLPRIVATE void | SetModifyPasswordEntered (bool bEntered=true) |
SAL_DLLPRIVATE bool | IsModifyPasswordEntered () const |
SAL_DLLPRIVATE void | InitBasicManager_Impl () |
SAL_DLLPRIVATE SfxObjectShell_Impl * | Get_Impl () |
SAL_DLLPRIVATE const SfxObjectShell_Impl * | Get_Impl () const |
SAL_DLLPRIVATE void | SetCreateMode_Impl (SfxObjectCreateMode nMode) |
SAL_DLLPRIVATE void | DoDraw_Impl (OutputDevice *pDev, const Point &rViewPos, const Fraction &rScaleX, const Fraction &rScaleY, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen) |
SAL_DLLPRIVATE void | ExecFile_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | GetState_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | PrintExec_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | PrintState_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | ExecProps_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | StateProps_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | ExecView_Impl (SfxRequest &) |
SAL_DLLPRIVATE bool | ImportFromGeneratedStream_Impl (const css::uno::Reference< css::io::XStream > &xStream, const css::uno::Sequence< css::beans::PropertyValue > &aMediaDescr) |
SAL_DLLPRIVATE void | UpdateFromTemplate_Impl () |
SAL_DLLPRIVATE bool | CanReload_Impl () |
SAL_DLLPRIVATE void | SetNamedVisibility_Impl () |
SAL_DLLPRIVATE bool | DoSave_Impl (const SfxItemSet *pSet) |
SAL_DLLPRIVATE bool | Save_Impl (const SfxItemSet *pSet) |
SAL_DLLPRIVATE bool | PreDoSaveAs_Impl (const OUString &rFileName, const OUString &rFiltName, SfxItemSet const &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs) |
SAL_DLLPRIVATE bool | APISaveAs_Impl (std::u16string_view aFileName, SfxItemSet &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs) |
SAL_DLLPRIVATE bool | CommonSaveAs_Impl (const INetURLObject &aURL, const OUString &aFilterName, SfxItemSet &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs) |
SAL_DLLPRIVATE bool | GeneralInit_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage, bool bTypeMustBeSetAlready) |
SAL_DLLPRIVATE void | PrepareSecondTryLoad_Impl () |
SAL_DLLPRIVATE void | SetInitialized_Impl (const bool i_fromInitNew) |
SAL_DLLPRIVATE IndexBitSet & | GetNoSet_Impl () |
SAL_DLLPRIVATE void | SetProgress_Impl (SfxProgress *pProgress) |
SAL_DLLPRIVATE void | PostActivateEvent_Impl (SfxViewFrame const *) |
SAL_DLLPRIVATE void | SetActivateEvent_Impl (SfxEventHintId) |
SAL_DLLPRIVATE SignatureState | ImplGetSignatureState (bool bScriptingContent=false) |
SAL_DLLPRIVATE bool | QuerySaveSizeExceededModules_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler) |
SAL_DLLPRIVATE void | CheckOut () |
SAL_DLLPRIVATE void | CancelCheckOut () |
SAL_DLLPRIVATE void | CheckIn () |
SAL_DLLPRIVATE css::uno::Sequence< css::document::CmisVersion > | GetCmisVersions () const |
virtual const sfx2::IXmlIdRegistry * | GetXmlIdRegistry () const |
bool | IsSignPDF () const |
css::uno::Reference< css::security::XCertificate > | GetSignPDFCertificate () const |
css::uno::Sequence< css::beans::PropertyValue > | GetDocumentProtectionFromGrabBag () const |
virtual std::unique_ptr< LockAllViewsGuard > | LockAllViews () |
Public Member Functions inherited from SfxShell | |
virtual | ~SfxShell () override |
virtual SfxInterface * | GetInterface () const |
void | SetName (const OUString &rName) |
const OUString & | GetName () const |
SfxViewShell * | GetViewShell () const |
const SfxPoolItem * | GetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr) |
const SfxPoolItem * | ExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr) |
void | ExecuteSlot (SfxRequest &rReq, bool bAsync) |
SfxItemPool & | GetPool () const |
void | SetPool (SfxItemPool *pNewPool) |
virtual SfxUndoManager * | GetUndoManager () |
void | SetUndoManager (SfxUndoManager *pNewUndoMgr) |
SfxRepeatTarget * | GetRepeatTarget () const |
void | SetRepeatTarget (SfxRepeatTarget *pTarget) |
virtual void | Invalidate (sal_uInt16 nId=0) |
virtual bool | IsDesignMode () const |
bool | IsActive () const |
virtual void | Activate (bool bMDI) |
virtual void | Deactivate (bool bMDI) |
SfxDispatcher * | GetDispatcher () const |
SfxViewFrame * | GetFrame () const |
virtual bool | HasUIFeature (SfxShellFeature nFeature) const |
void | UIFeatureChanged () |
const SfxPoolItem * | GetItem (sal_uInt16 nSlotId) const |
const T * | GetItem (TypedWhichId< T > nWhich) const |
void | PutItem (const SfxPoolItem &rItem) |
void | SetVerbs (const css::uno::Sequence< css::embed::VerbDescriptor > &aVerbs) |
const css::uno::Sequence< css::embed::VerbDescriptor > & | GetVerbs () const |
void | VerbExec (SfxRequest &) |
SAL_DLLPRIVATE const SfxSlot * | GetVerbSlot_Impl (sal_uInt16 nId) const |
virtual SfxObjectShell * | GetObjectShell () |
void | SetDisableFlags (SfxDisableFlags nFlags) |
SfxDisableFlags | GetDisableFlags () const |
virtual std::optional< SfxItemSet > | CreateItemSet (sal_uInt16 nId) |
virtual void | ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet) |
void | SetContextName (const OUString &rsContextName) |
void | BroadcastContextForActivation (const bool bIsActivated) |
bool | SetContextBroadcasterEnabled (const bool bIsEnabled) |
SAL_DLLPRIVATE bool | CanExecuteSlot_Impl (const SfxSlot &rSlot) |
virtual bool | IsConditionalFastCall (const SfxRequest &rReq) |
SAL_DLLPRIVATE void | DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI) |
SAL_DLLPRIVATE void | DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI) |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Static Public Member Functions | |
static OUString | GetEventName (sal_Int32 nId) |
Static Public Member Functions inherited from SfxObjectShell | |
static const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () |
static OUString | CreateShellID (const SfxObjectShell *pShell) |
static SAL_WARN_UNUSED_RESULT SfxObjectShell * | GetFirst (const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true) |
static SAL_WARN_UNUSED_RESULT SfxObjectShell * | GetNext (const SfxObjectShell &rPrev, const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true) |
static SAL_WARN_UNUSED_RESULT SfxObjectShell * | Current () |
static css::uno::Reference< css::uno::XInterface > | GetCurrentComponent () |
static void | SetCurrentComponent (const css::uno::Reference< css::uno::XInterface > &_rxComponent) |
static ErrCode | CallXScript (const css::uno::Reference< css::uno::XInterface > &_rxScriptContext, const OUString &rScriptURL, const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Any &aRet, css::uno::Sequence< sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam, bool bRaiseError=true, const css::uno::Any *aCaller=nullptr) |
static bool | UnTrustedScript (const OUString &rScriptURL) |
static bool | isScriptAccessAllowed (const css::uno::Reference< css::uno::XInterface > &rScriptContext) |
static ErrCode | HandleFilter (SfxMedium *pMedium, SfxObjectShell const *pDoc) |
static void | ReconnectDdeLinks (SfxObjectShell &rServer) |
static SfxObjectShell * | CreateObject (const OUString &rServiceName, SfxObjectCreateMode=SfxObjectCreateMode::STANDARD) |
static SfxObjectShell * | CreateObjectByFactoryName (const OUString &rURL, SfxObjectCreateMode=SfxObjectCreateMode::STANDARD) |
static css::uno::Reference< css::lang::XComponent > | CreateAndLoadComponent (const SfxItemSet &rSet) |
static SfxObjectShell * | GetShellFromComponent (const css::uno::Reference< css::uno::XInterface > &xComp) |
static SfxObjectShell * | GetParentShell (const css::uno::Reference< css::uno::XInterface > &xChild) |
static OUString | GetServiceNameFromFactory (const OUString &rFact) |
static bool | CopyStoragesOfUnknownMediaType (const css::uno::Reference< css::embed::XStorage > &xSource, const css::uno::Reference< css::embed::XStorage > &xTarget, const css::uno::Sequence< OUString > &rExceptions=css::uno::Sequence< OUString >()) |
static bool | IsOwnStorageFormat (const SfxMedium &) |
static SAL_DLLPRIVATE bool | IsPackageStorageFormat_Impl (const SfxMedium &) |
static SAL_DLLPRIVATE bool | UseInteractionToHandleError (const css::uno::Reference< css::task::XInteractionHandler > &xHandler, ErrCode nError) |
static SAL_DLLPRIVATE void | StateView_Impl (SfxItemSet &) |
static SAL_DLLPRIVATE bool | QueryAllowExoticFormat_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler, const OUString &rURL, const OUString &rFilterUIName) |
Static Public Member Functions inherited from SfxShell | |
static SfxInterface * | GetStaticInterface () |
static void | EmptyExecStub (SfxShell *pShell, SfxRequest &) |
static void | EmptyStateStub (SfxShell *pShell, SfxItemSet &) |
static void | VerbState (SfxItemSet &) |
Protected Member Functions | |
virtual void | DoFlushDocInfo () override |
override to update text fields More... | |
Protected Member Functions inherited from SfxObjectShell | |
SfxObjectShell (SfxObjectCreateMode) | |
SfxObjectShell (SfxModelFlags) | |
virtual | ~SfxObjectShell () override |
void | ModifyChanged () |
virtual bool | Close () override |
virtual void | DoFlushDocInfo () |
void | AddToRecentlyUsedList () |
Protected Member Functions inherited from SfxShell | |
SfxShell () | |
SfxShell (SfxViewShell *pViewSh) | |
void | SetViewShell_Impl (SfxViewShell *pView) |
SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
Private Member Functions | |
SAL_DLLPRIVATE void | AddLink () |
Methods for access to doc. More... | |
SAL_DLLPRIVATE void | RemoveLink () |
virtual SAL_DLLPRIVATE void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
Catch hint for DocInfo. More... | |
virtual SAL_DLLPRIVATE bool | InitNew (const css::uno::Reference< css::embed::XStorage > &xStorage) override |
FileIO. More... | |
virtual SAL_DLLPRIVATE bool | Load (SfxMedium &rMedium) override |
virtual SAL_DLLPRIVATE bool | LoadFrom (SfxMedium &rMedium) override |
virtual SAL_DLLPRIVATE bool | ConvertFrom (SfxMedium &rMedium) override |
virtual SAL_DLLPRIVATE bool | ConvertTo (SfxMedium &rMedium) override |
virtual SAL_DLLPRIVATE bool | SaveAs (SfxMedium &rMedium) override |
virtual SAL_DLLPRIVATE bool | SaveCompleted (const css::uno::Reference< css::embed::XStorage > &xStorage) override |
virtual SAL_DLLPRIVATE bool | PrepareClose (bool bUI=true) override |
virtual SAL_DLLPRIVATE bool | InsertGeneratedStream (SfxMedium &rMedium, css::uno::Reference< css::text::XTextRange > const &xInsertPosition) override |
virtual SAL_DLLPRIVATE std::shared_ptr< SfxDocumentInfoDialog > | CreateDocumentInfoDialog (weld::Window *pParent, const SfxItemSet &rSet) override |
Make DocInfo known to the Doc. More... | |
virtual SAL_DLLPRIVATE void | Draw (OutputDevice *, const JobSetup &, sal_uInt16 nAspect, bool bOutputToWindow) override |
OLE-stuff. More... | |
SAL_DLLPRIVATE void | Edit (weld::Window *pDialogParent, const OUString &rName, const OUString &rParent, const SfxStyleFamily nFamily, SfxStyleSearchBits nMask, const bool bNew, const OUString &sPageId, SwWrtShell *pActShell, SfxRequest *pRequest=nullptr, sal_uInt16 nSlot=0) |
Methods for StyleSheets. More... | |
SAL_DLLPRIVATE void | Delete (const OUString &rName, SfxStyleFamily nFamily) |
SAL_DLLPRIVATE void | Hide (const OUString &rName, SfxStyleFamily nFamily, bool bHidden) |
SAL_DLLPRIVATE SfxStyleFamily | ApplyStyles (const OUString &rName, const SfxStyleFamily nFamily, SwWrtShell *pShell, sal_uInt16 nMode) |
SAL_DLLPRIVATE SfxStyleFamily | DoWaterCan (const OUString &rName, SfxStyleFamily nFamily) |
SAL_DLLPRIVATE void | UpdateStyle (const OUString &rName, SfxStyleFamily nFamily, SwWrtShell *pShell) |
SAL_DLLPRIVATE void | MakeByExample (const OUString &rName, SfxStyleFamily nFamily, SfxStyleSearchBits nMask, SwWrtShell *pShell) |
SAL_DLLPRIVATE void | SubInitNew () |
for InitNew and HtmlSourceMode. More... | |
SAL_DLLPRIVATE void | RemoveOLEObjects () |
SAL_DLLPRIVATE void | CalcLayoutForOLEObjects () |
SAL_DLLPRIVATE void | Init_Impl () |
virtual tools::Rectangle | GetVisArea (sal_uInt16 nAspect) const |
const tools::Rectangle & | GetVisArea () const |
Static Private Member Functions | |
static void | InitInterface_Impl () |
but we implement this ourselves. More... | |
Private Attributes | |
rtl::Reference< SwDoc > | m_xDoc |
Document. More... | |
rtl::Reference< SfxStyleSheetBasePool > | m_xBasePool |
Passing through for formats. More... | |
std::unique_ptr< FontList > | m_pFontList |
Current Fontlist. More... | |
bool | m_IsInUpdateFontList |
prevent nested calls of UpdateFontList More... | |
std::unique_ptr< sfx2::StyleManager > | m_pStyleManager |
SwView * | m_pView |
For "historical reasons" nothing can be done without the WrtShell. More... | |
SwWrtShell * | m_pWrtShell |
std::unique_ptr< comphelper::EmbeddedObjectContainer > | m_pOLEChildList |
sal_Int16 | m_nUpdateDocMode |
contains the css::document::UpdateDocMode More... | |
bool | m_IsATemplate |
prevent nested calls of UpdateFontList More... | |
bool | m_IsRemovedInvisibleContent |
whether SID_MAIL_PREPAREEXPORT removed content that SID_MAIL_EXPORT_FINISHED needs to restore More... | |
css::uno::Reference< ooo::vba::XSinkCaller > | mxAutomationDocumentEventsCaller |
css::uno::Reference< ooo::vba::word::XDocument > | mxAutomationDocumentObject |
Additional Inherited Members | |
Static Protected Member Functions inherited from SfxShell | |
static void | HandleOpenXmlFilterSettings (SfxRequest &) |
SwDocShell::SwDocShell | ( | SfxObjectCreateMode | eMode = SfxObjectCreateMode::EMBEDDED | ) |
Doc is required for SO data exchange!
Definition at line 318 of file docshini.cxx.
References eMode, and Init_Impl().
Referenced by Execute().
SwDocShell::SwDocShell | ( | SfxModelFlags | i_nSfxCreationFlags | ) |
Definition at line 332 of file docshini.cxx.
References Init_Impl().
SwDocShell::SwDocShell | ( | SwDoc & | rDoc, |
SfxObjectCreateMode | eMode | ||
) |
Definition at line 346 of file docshini.cxx.
References eMode, and Init_Impl().
|
overridevirtual |
Definition at line 361 of file docshini.cxx.
References SwChartDataProvider::dispose(), SfxListener::EndListening(), m_pFontList, m_pOLEChildList, m_xDoc, and RemoveLink().
|
private |
Methods for access to doc.
Definition at line 396 of file docshini.cxx.
References SfxObjectShell::GetBaseModel(), SwDocFac::GetDoc(), HTML_MODE, LINK, m_xDoc, and SfxShell::SetPool().
Referenced by ConvertFrom(), InitNew(), Load(), LoadFrom(), and ReloadFromHtml().
|
private |
Definition at line 1159 of file docst.cxx.
References a, SfxViewFrame::Current(), DEFAULT, DONTREPLACE, SwEditShell::EndAllAction(), FN_NUM_BULLET_OFF, SwPostItMgr::GetActiveSidebarWin(), SwDocStyleSheet::GetCharFormat(), SwDocStyleSheet::GetCollection(), SwNumRule::GetDefaultListId(), GetDoc(), SwDocStyleSheet::GetFrameFormat(), SfxStyleSheetBase::GetName(), SwNumRule::GetName(), SwPageDesc::GetName(), SwDocStyleSheet::GetNumRule(), sw::annotation::SwAnnotationWin::GetOutlinerView(), SwDocStyleSheet::GetPageDesc(), SwViewShell::GetPostItMgr(), GetWrtShell(), SwPostItMgr::HasActiveSidebarWin(), SwFEShell::IsFrameSelected(), KEY_SHIFT, m_xBasePool, SAL_WARN_IF, SwEditShell::SetAttrItem(), SwEditShell::SetCurNumRule(), SwFEShell::SetFrameFormat(), SwWrtShell::SetPageStyle(), OutlinerView::SetStyleSheet(), SwFEShell::SetTableStyle(), SwEditShell::SetTextFormatColl(), SwEditShell::StartAllAction(), and SwResId().
Referenced by ExecStyleSheet().
|
private |
Definition at line 1253 of file docsh.cxx.
References SwEditShell::CalcLayout(), SwIterator< TElementType, TSource, eMode >::First(), SfxObjectShell::getEmbeddedObjectContainer(), SfxViewShell::GetIPClient(), SwNode::GetOLENode(), SwOLENode::IsOLESizeInvalid(), m_pView, m_pWrtShell, m_xDoc, SwIterator< TElementType, TSource, eMode >::Next(), and comphelper::EmbeddedObjectContainer::setUserAllowsLinkUpdate().
Referenced by ConvertTo(), Save(), and SaveAs().
void SwDocShell::CallAutomationDocumentEventSinks | ( | const OUString & | Method, |
css::uno::Sequence< css::uno::Any > & | Arguments | ||
) |
Definition at line 1420 of file docsh.cxx.
References Method, and mxAutomationDocumentEventsCaller.
Referenced by SwXTextDocument::close().
|
overridevirtual |
Cancel transfer (called from SFX).
Reimplemented from SfxObjectShell.
Definition at line 1211 of file docsh.cxx.
References SfxObjectShell::CancelTransfers(), and m_xDoc.
|
overrideprivatevirtual |
Reimplemented from SfxObjectShell.
Definition at line 197 of file docsh.cxx.
References AddLink(), SfxObjectShell::GetCreateMode(), SfxViewFrame::GetFirst(), Reader::getSotStorageRef(), HTML_MODE, InitDrawModelAndDocShell(), ErrCode::IsError(), LoadingFinished(), m_xBasePool, m_xDoc, RemoveLink(), SfxObjectShell::SetError(), Reader::setSotStorageRef(), StartConvertFrom(), SW_MOD, and UpdateFontList().
|
overrideprivatevirtual |
Reimplemented from SfxObjectShell.
Definition at line 573 of file docsh.cxx.
References docfunc::AllDrawObjsOnPage(), Any, CalcLayoutForOLEObjects(), SfxMedium::CloseOutStream(), Application::CreateMessageDialog(), SwCursorShell::DeleteCurrent, DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE, SwEditShell::EndAllAction(), SwCursorShell::EndAllTableBoxEdit(), ERRCODE_NONE, FILTER_TEXT_DLG, FILTER_XML, FILTER_XMLV, FILTER_XMLVW, SvtFilterOptions::Get(), sw::proofreadingiterator::get(), IDocumentSettingAccess::get(), SfxMedium::GetBaseURL(), SfxObjectShell::GetBasicContainer(), SfxObjectShell::GetCreateMode(), GetDoc(), SwView::GetEditWin(), SfxMedium::GetFilter(), SotExchange::GetFormatMimeType(), SwDoc::getIDocumentSettingAccess(), SfxItemSet::GetItemIfSet(), SfxMedium::GetItemSet(), SfxMedium::GetName(), SfxMedium::GetOutStream(), SwView::GetPostItMgr(), SfxMedium::GetStorage(), SfxBoolItem::GetValue(), SwReaderWriter::GetWriter(), GLOBAL_DOCUMENT, GLOBAL_DOCUMENT_SAVE_LINKS, SwPostItMgr::HasActiveSidebarWin(), SfxObjectShell::HasBasic(), HTML_MODE, tools::SvRef< typename T >::is(), ErrCode::IsError(), Application::IsHeadlessModeEnabled(), SvtFilterOptions::IsLoadWordBasicStorage(), SfxMedium::IsSkipImages(), SfxMedium::IsStorage(), SwViewShell::IsViewLocked(), lcl_GetSourceView(), SwViewShell::LockView(), m_pView, m_pWrtShell, m_xDoc, SwWrtShell::Pop(), SwCursorShell::Push(), SwAsciiOptions::ReadUserData(), SaveAs(), SwSrcView::SaveContentTo(), SaveOrDelMSVBAStorage(), IDocumentSettingAccess::set(), SfxObjectShell::SetError(), SwEditShell::StartAllAction(), SwEditWin::StopQuickHelp(), SW_MOD, SwResId(), SwPostItMgr::UpdateDataOnActiveSidebarWin(), WARN_SWG_HTML_NO_MACROS, and SwWriter::Write().
|
overrideprivatevirtual |
Make DocInfo known to the Doc.
Reimplemented from SfxObjectShell.
Definition at line 134 of file docsh2.cxx.
References SwAbstractDialogFactory::Create(), SfxObjectShell::Current(), SfxViewShell::Current(), SwAbstractDialogFactory::GetTabPageCreatorFunc(), rSet, and SwResId().
|
override |
Definition at line 1397 of file docsh2.cxx.
References m_xDoc.
SwDocShell::DECL_DLLPRIVATE_LINK | ( | Ole2ModifiedHdl | , |
bool | , | ||
void | |||
) |
OLE 2.0-notification.
|
private |
Definition at line 1129 of file docst.cxx.
References SwEditShell::EndAllAction(), GetWrtShell(), m_xBasePool, and SwEditShell::StartAllAction().
Referenced by ExecStyleSheet().
|
overrideprotectedvirtual |
override to update text fields
Reimplemented from SfxObjectShell.
Definition at line 188 of file docsh2.cxx.
References SwEditShell::EndAllAction(), SfxObjectShell::IsEnableSetModified(), SwViewShell::IsViewLocked(), SwViewShell::LockView(), m_pWrtShell, m_xDoc, and SwEditShell::StartAllAction().
|
private |
Definition at line 1244 of file docst.cxx.
References SwApplyTemplate::aColl, SwApplyTemplate::eType, SwEditWin::GetApplyTemplate(), SwDocStyleSheet::GetCharFormat(), SwDocStyleSheet::GetCollection(), SwView::GetEditWin(), SwDocStyleSheet::GetFrameFormat(), SwDocStyleSheet::GetNumRule(), SwDocStyleSheet::GetPageDesc(), GetWrtShell(), m_pView, m_xBasePool, SwApplyTemplate::pCharFormat, SwApplyTemplate::pFrameFormat, SwApplyTemplate::pNumRule, SwApplyTemplate::pPageDesc, SwApplyTemplate::pTextColl, SAL_WARN_IF, and SwEditWin::SetApplyTemplate().
Referenced by ExecStyleSheet().
|
overrideprivatevirtual |
OLE-stuff.
Implements SfxObjectShell.
Definition at line 847 of file docsh.cxx.
References ASPECT_CONTENT, ASPECT_THUMBNAIL, SfxObjectShell::EnableSetModified(), JobSetup::GetPrinterName(), GetVisArea(), SfxObjectShell::IsEnableSetModified(), m_xDoc, OutputDevice::Pop(), SwViewShell::PrtOle2(), OutputDevice::Push(), OutputDevice::SetBackground(), OutputDevice::SetFillColor(), OutputDevice::SetLineColor(), and SW_MOD.
|
private |
Methods for StyleSheets.
nSlot | Only used for nFamily == SfxStyleFamily::Page. Identifies optional Slot by which the edit is triggered. Used to activate certain dialog pane |
Definition at line 779 of file docst.cxx.
References SwRewriter::AddRule(), ChrFmt, ConvertAttrCharToGen(), SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateTemplateDialog(), EMPTY, SwEditShell::EndUndo(), SwEditShell::FindCharFormatByName(), SwDoc::FindFrameFormatByName(), SwEditShell::FindTextFormatCollByName(), FN_KEEP_ASPECT_RATIO, FrmFmt, VclPtr< class reference_type >::get(), IDocumentSettingAccess::get(), SdrModel::GetBitmapList(), SwDocStyleSheet::GetCharFormat(), SwEditShell::GetCharFormatFromPool(), SwDocStyleSheet::GetCollection(), SdrModel::GetColorList(), SwEditShell::GetCurCharFormat(), SwEditShell::GetCurTextFormatColl(), GetDfltMetric(), GetDoc(), SwViewShell::GetDoc(), IDocumentDrawModelAccess::GetDrawModel(), SwDocStyleSheet::GetFrameFormat(), SwEditShell::GetFrameFormatFromPool(), SfxViewShell::GetFrameWeld(), SdrModel::GetGradientList(), SdrModel::GetHatchList(), GetHtmlMode(), SwViewShell::getIDocumentDeviceAccess(), SwDoc::getIDocumentDrawModelAccess(), SwDoc::getIDocumentSettingAccess(), SfxItemSet::GetItemIfSet(), SwEditShell::GetLastUndoInfo(), SwFormat::GetName(), SdrModel::GetPatternList(), SwStyleNameMapper::GetPoolIdFromUIName(), IDocumentDeviceAccess::getPrinter(), SwEditShell::GetTextCollFromPool(), GetView(), SwViewShell::GetViewOptions(), GetWrtShell(), GUTTER_AT_TOP, HTMLMODE_ON, if(), SfxRequest::Ignore(), SwViewShell::InitPrt(), SfxRequest::IsAPI(), SwViewOption::IsKeepRatio(), SfxStyleSheetBase::IsUsed(), SfxStyleSheetBase::IsUserDefined(), LINK, m_pWrtShell, m_xBasePool, m_xDoc, nId, SwDocStyleSheet::PresetParent(), SfxItemSet::Put(), SfxShell::PutItem(), RET_OK, rSet, SAL_WARN, SAL_WARN_IF, SwFormat::SetDerivedFrom(), SwEditShell::StartUndo(), SW_MOD, SwResId(), SwToSfxPageDescAttr(), TxtColl, and UndoArg1.
Referenced by ExecStyleSheet(), and FormatPage().
void SwDocShell::ExecStyleSheet | ( | SfxRequest & | rReq | ) |
Definition at line 309 of file docst.cxx.
References SfxRequest::AppendItem(), ApplyStyles(), aUIName, SfxItemSet::Count(), Delete(), SfxRequest::Done(), DoWaterCan(), Edit(), SfxDispatcher::Execute(), FN_PARAM_WRTSHELL, SfxStyleDialogController::GenerateUnusedName(), SwPostItMgr::GetActiveSidebarWin(), SfxRequest::GetArg(), SfxRequest::GetArgs(), SfxViewFrame::GetBindings(), SwEditShell::GetCurCharFormat(), SwEditShell::GetCurTextFormatColl(), SwUnoCursorHelper::GetCurTextFormatColl(), SfxViewFrame::GetDispatcher(), SfxRequest::GetFrameWeld(), GetFrameWeld(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SfxObjectShell::GetModel(), SfxRequest::GetModifier(), SfxNewStyleDlg::GetName(), SwFormat::GetName(), sw::annotation::SwAnnotationWin::GetOutlinerView(), SwViewShell::GetPostItMgr(), SwFEShell::GetSelectedFrameFormat(), SfxRequest::GetSlot(), GetStyleSheetPool(), CntUInt16Item::GetValue(), CntUnencodedStringItem::GetValue(), GetValue, GetView(), SfxViewShell::GetViewFrame(), GetWrtShell(), Hide(), SfxBindings::InvalidateAll(), SfxRequest::IsAPI(), m_pWrtShell, m_xBasePool, MakeByExample(), pChar, PostIt, RET_OK, SAL_WARN_IF, SfxRequest::SetReturnValue(), sName, UpdateStyle(), and xModel.
Referenced by SwBaseShell::Execute().
void SwDocShell::Execute | ( | SfxRequest & | rReq | ) |
Dispatcher.
false, true, true is on the save side but a probably overdone
Definition at line 397 of file docsh2.cxx.
References IDocumentRedlineAccess::AcceptAllRedline(), aName, Any, SfxFrame::Appear(), SfxRequest::AppendItem(), SwEditShell::ApplyAdvancedClassification(), SwEditShell::ApplyParagraphClassification(), aSeq, SvxSwAutoFormatFlags::bAutoCmpltCollectWords, SwAutoCompleteWord::CheckChangedList(), SwModule::CheckSpellChanges(), sfx2::SfxNotebookBar::CloseMethod(), SwEditShell::CollectAdvancedClassification(), SwEditShell::CollectParagraphClassification(), ColorTransparency, SfxEventConfiguration::ConfigureEvent(), SfxAbstractDialogFactory::Create(), SwAbstractDialogFactory::Create(), VclPtr< class reference_type >::Create(), SfxAbstractDialogFactory::CreateAutoCorrTabDialog(), Application::CreateBuilder(), Application::CreateMessageDialog(), editeng::SortedAutoCompleteStrings::createNonOwningCopy(), SwAbstractDialogFactory::CreateSwInsertAbstractDlg(), SfxObjectShell::Current(), SfxViewShell::Current(), VclPtr< class reference_type >::disposeAndClear(), SfxObjectShell::DoInitNew(), SfxRequest::Done(), SwRedlineTable::empty(), utl::TempFileNamed::EnableKillingFile(), SfxObjectShell::EnableSetModified(), SwEditShell::EndAllAction(), ERRCODE_NONE, eType, Exception, sfx2::SfxNotebookBar::ExecMethod(), SfxDispatcher::Execute(), SfxDispatcher::ExecuteList(), SwNode::FindTableNode(), SfxFilterMatcherIter::First(), FN_ABSTRACT_NEWDOC, FN_ABSTRACT_STARIMPRESS, FN_NEW_GLOBAL_DOC, FN_NEW_HTML_DOC, FN_OPEN_FILE, FN_OUTLINE_TO_CLIPBOARD, FN_OUTLINE_TO_IMPRESS, FN_PRINT_LAYOUT, FN_REDLINE_ACCEPT_ALL, FN_REDLINE_REJECT_ALL, FN_REDLINE_SHOW, SvxAutoCorrCfg::Get(), SwSmartTagMgr::Get(), sw::proofreadingiterator::get(), SfxRequest::GetArg(), SfxRequest::GetArgs(), SwDoc::GetAutoCompleteWords(), SvxAutoCorrCfg::GetAutoCorrect(), SfxViewFrame::GetBindings(), SvxColorListItem::GetColorList(), IDocumentLayoutAccess::GetCurrentViewShell(), SfxViewFrame::GetDispatcher(), SfxShell::GetDispatcher(), GetDoc(), SwView::GetDocShell(), SfxObjectShell::GetError(), GlobalEventConfig::GetEventName(), SfxObjectShell::GetFactory(), SfxObjectFactory::GetFactoryName(), SfxMedium::GetFilter(), SwIoSystem::GetFilterOfFormat(), SfxViewShell::GetFirst(), SfxViewFrame::GetFirst(), SfxObjectShell::GetFirst(), SwView::GetFormShell(), SfxViewFrame::GetFrame(), SfxViewFrame::GetFrameWeld(), GetFrameWeld(), SwDoc::getIDocumentDeviceAccess(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentState(), SfxShell::GetItem(), SfxItemSet::GetItem(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SwViewShell::GetLayout(), SfxObjectShell::GetMedium(), SwFormat::GetName(), SfxObjectShell::GetNext(), SfxViewFrame::GetNext(), SfxViewShell::GetNext(), SwPosition::GetNode(), SfxViewShell::GetObjectShell(), SwPaM::GetPoint(), SfxShell::GetPool(), IDocumentDeviceAccess::getPrinter(), IDocumentRedlineAccess::GetRedlineTable(), GetRTFWriter(), SfxRequest::GetSlot(), SvxAutoCorrect::GetSwFlags(), SwTableNode::GetTable(), SfxNewFileDialog::GetTemplateFileName(), SfxNewFileDialog::GetTemplateFlags(), SfxObjectShell::GetTitle(), SwRangeRedline::GetType(), utl::TempFileNamed::GetURL(), CntInt32Item::GetValue(), CntUnencodedStringItem::GetValue(), SfxBoolItem::GetValue(), GetValue, GetView(), SfxViewShell::GetViewFrame(), SfxShell::GetViewShell(), SwAutoCompleteWord::GetWordList(), SvtPathOptions::GetWorkPath(), GetWrtShell(), SwView::GetWrtShell(), ErrorHandler::HandleError(), SwTable::HasDeletedRowOrCell(), SfxObjectShell::HasName(), SwSrcView::HasSourceSaved(), HID_SEND_HTML_CTRL_CHECKBOX_AUTOEXTENSION, HID_SEND_HTML_CTRL_CONTROL_FILEVIEW, HID_SEND_HTML_CTRL_EDIT_FILEURL, HID_SEND_HTML_CTRL_LISTBOX_FILTER, HID_SEND_HTML_CTRL_LISTBOX_TEMPLATE, HID_SEND_HTML_CTRL_PUSHBUTTON_CANCEL, HID_SEND_HTML_CTRL_PUSHBUTTON_OK, HID_SEND_MASTER_CTRL_CHECKBOX_AUTOEXTENSION, HID_SEND_MASTER_CTRL_CONTROL_FILEVIEW, HID_SEND_MASTER_CTRL_EDIT_FILEURL, HID_SEND_MASTER_CTRL_LISTBOX_FILTER, HID_SEND_MASTER_CTRL_LISTBOX_TEMPLATE, HID_SEND_MASTER_CTRL_PUSHBUTTON_CANCEL, HID_SEND_MASTER_CTRL_PUSHBUTTON_OK, i, SfxRequest::Ignore(), ErrCode::IgnoreWarning(), SfxBindings::Invalidate(), SwDoc::InvalidateAutoCompleteFlag(), SfxRequest::IsAPI(), SwTextFormatColl::IsAtDocNodeSet(), SwFormat::IsDefault(), SfxObjectShell::IsEnableSetModified(), SwRootFrame::IsHideRedlines(), SwAutoCompleteWord::IsLockWordLstLocked(), SfxObjectShell::IsModified(), SwSrcView::IsModified(), SfxViewFrame::LoadDocument(), LoadStylesFromFile(), m_IsRemovedInvisibleContent, SvxSwAutoFormatFlags::m_pAutoCompleteList, m_pWrtShell, m_xDoc, comphelper::makePropertyValue(), MAXLEVEL, n, SvxSwAutoFormatFlags::nAutoCmpltListLen, SvxSwAutoFormatFlags::nAutoCmpltWordLen, SfxFilterMatcherIter::Next(), SvLockBytesStat::nSize, PrepareClose(), SvxSwAutoFormatFlags::pSmartTagMgr, SfxItemSet::Put(), SvLockBytes::ReadAt(), ReloadFromHtml(), RET_OK, RET_TEMPLATE_LOAD, RET_YES, weld::DialogController::runAsync(), SAL_WARN, SwSrcView::SaveContent(), SvStream::Seek(), SfxWatermarkItem::SetAngle(), SwEditShell::SetAutoFormatFlags(), SvStream::SetBufferSize(), SwEditShell::SetClassification(), SfxWatermarkItem::SetColor(), SfxObjectShell::SetError(), SfxWatermarkItem::SetFont(), SwgReaderOption::SetFrameFormats(), SwAutoCompleteWord::SetLockWordLstLocked(), SwAutoCompleteWord::SetMaxCount(), SwgReaderOption::SetMerge(), SwAutoCompleteWord::SetMinWordLen(), IDocumentState::SetModified(), SwEditShell::SetNewDoc(), SwgReaderOption::SetNumRules(), SwgReaderOption::SetPageDescs(), IDocumentDeviceAccess::setPrinter(), SfxRequest::SetReturnValue(), SfxBindings::SetState(), SfxNewFileDialog::SetTemplateFlags(), SfxWatermarkItem::SetText(), SwgReaderOption::SetTextFormats(), SfxObjectShell::SetTitle(), SfxWatermarkItem::SetTransparency(), SwEditShell::SetWatermark(), FmFormShell::SetY2KState(), SFX_INTERFACE_NONE, SfxGetpApp(), SfxViewFrame::Show(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwRedlineTable::size(), STARBASIC, SwEditShell::StartAllAction(), SvLockBytes::Stat(), STREAM_SEEK_TO_BEGIN, STREAM_SEEK_TO_END, SfxClassificationHelper::stringToPolicyType(), SwDocShell(), SwResId(), o3tl::toInt32(), u, SwWriter::Write(), and SvStream::WriteChar().
Referenced by SwBaseShell::Execute(), and SwXTextDocument::setPropertyValue().
|
overridevirtual |
Implements SfxObjectShell.
Reimplemented in SwGlobalDocShell, and SwWebDocShell.
Definition at line 1411 of file docsh2.cxx.
References lcl_processCompatibleSfxHint(), m_xDoc, nVersion, SO3_SW_CLASSID_60, SOFFICE_FILEFORMAT_60, SOFFICE_FILEFORMAT_8, and SwResId().
void SwDocShell::FormatPage | ( | weld::Window * | pDialogParent, |
const OUString & | rPage, | ||
const OUString & | rPageId, | ||
SwWrtShell & | rActShell, | ||
SfxRequest * | pRequest = nullptr |
||
) |
Show page style format dialog.
nSlot | Identifies slot by which the dialog is triggered. Used to activate certain dialog pane |
Definition at line 1681 of file docst.cxx.
References Edit().
Referenced by SwBaseShell::ExecDlg(), SwHeaderFooterWin::ExecuteCommand(), and IMPL_LINK_NOARG().
uno::Reference< frame::XController > SwDocShell::GetController | ( | ) |
Definition at line 1291 of file docsh.cxx.
References SfxViewShell::GetController(), and GetView().
Referenced by SwTextFrame::SmartTagScan().
|
inline |
returns Doc. But be careful!
Definition at line 204 of file docsh.hxx.
Referenced by SwXDocumentSettings::_preGetValues(), SwXDocumentSettings::_preSetValues(), sw::sidebar::A11yCheckIssuesPanel::A11yCheckIssuesPanel(), SwVbaRevision::Accept(), SwPostItMgr::AddPostIts(), sw::ThemeColorChanger::apply(), ApplyStyles(), SwXTextView::BuildTmpSelectionDoc(), SwEditWin::Command(), SwHHCWrapper::Convert(), SdrHHCWrapper::ConvertNextDocument(), ConvertTo(), SwXTextDocument::create(), SwXTextDocument::createClone(), SwXAutoStyleFamily::createEnumeration(), SwEnvFormatPage::Edit(), Edit(), Execute(), SwView::Execute(), SwFrameShell::Execute(), SwSrcView::Execute(), SwTextShell::Execute(), SwGrfShell::Execute(), SwView::ExecViewOptions(), SwDocInfoField::ExpandImpl(), DocxExportFilter::exportDocument(), FillCharStyleListBox(), sw::IndexingExportFilter::filter(), RtfExportFilter::filter(), SwXTextDocument::FindAny(), SwXTextDocument::findFirst(), SwXTextDocument::findNext(), SwSpellDialogChildWindow::FindNextDrawTextError_Impl(), SwXTextDocument::getBodyText(), SwXTextDocument::getBookmarks(), SwXTextCellStyle::GetBoxAutoFormat(), SwXNumberingRules::getByIndex(), SwXLinkNameAccessWrapper::getByName(), SwXTextDocument::getContentControls(), SwXTextDocument::getDocumentIndexes(), SwXTextDocument::getDocumentLanguages(), SwXTextDocument::getDrawPage(), SwXLinkNameAccessWrapper::getElementNames(), SwXTextDocument::getEmbeddedObjects(), SwXTextViewCursor::getEnd(), SwXTextDocument::getEndnotes(), SwXTextDocument::getEndnoteSettings(), SwXTextDocument::getFlatParagraphIterator(), SwXTextDocument::getFootnotes(), SwXTextDocument::getFootnoteSettings(), SwXTextDocument::getGraphicObjects(), GetHiddenInformationState(), SwXTextDocument::getLineNumberingProperties(), SwXNumberingRules::getName(), SwXTextCellStyle::getName(), SwXTextDocument::GetNumberFormatter(), SwXNumberingRules::GetNumberingRuleByIndex(), SwXTextDocument::getNumberingRules(), SwVbaFind::GetOrCreateFind(), ooo::vba::word::getPageCount(), SwXTextDocument::getPagePrintSettings(), SwSrcView::GetPrinter(), SwXTextDocument::GetPropertyHelper(), SwXNumberingRules::getPropertyValue(), SwXTextCellStyle::getPropertyValue(), SwXTextDocument::getPropertyValue(), SwXTextDocument::getRedlines(), SwXTextDocument::getReferenceMarks(), SwXTextDocument::GetRenderDoc(), SwXTextDocument::getRenderer(), SwXTextDocument::getSdrModelFromUnoModel(), SwXTextDocument::getSearchResultRectangles(), SwXTextViewCursor::getStart(), GetState(), SwXTextTableStyle::GetTableAutoFormat(), Reader::GetTemplateDoc(), SwXTextViewCursor::getText(), SwXTextDocument::getTextFieldMasters(), SwXTextDocument::getTextFields(), SwXTextDocument::getTextFrames(), SwXTextDocument::getTextSections(), SwXTextDocument::getTextTables(), SwXTextDocument::getTrackedChanges(), SwXTextView::getTransferableForTextRange(), SwXTextDocument::getXForms(), SwXTextViewCursor::gotoRange(), SwVbaInformationHelper::handleWdVerticalPositionRelativeToPage(), SwXLinkNameAccessWrapper::hasByName(), sw::sidebar::IMPL_LINK(), IMPL_LINK_NOARG(), sw::annotation::SwAnnotationWin::InitAnswer(), sw::annotation::SwAnnotationWin::InitControls(), SwVbaDocument::Initialize(), InitNew(), SwXMLImport::initXForms(), SwView::InsertGraphicDlg(), SwView::InsertMedium(), SwXAutoStyleFamily::insertStyle(), SwXTextTableStyle::isInUse(), SwXTextTableStyle::isUserDefined(), SwXTextCellStyle::isUserDefined(), SwEditWin::KeyInput(), sw::sidebarwindows::SidebarTextControl::KeyInput(), lcl_Execute(), lcl_getContentControl(), lcl_getFieldmark(), lcl_GetPrintUIOptions(), lcl_GetState(), SwSrcView::Load(), WW8Glossary::Load(), SwXTextDocument::lockControllers(), MakeByExample(), SwVbaFormField::Next(), SwModule::Notify(), SwView::Notify(), OnDocumentPrinterChanged(), SwXTextDocument::paintTile(), SwXTextDocument::postMouseEvent(), SwVbaFormField::Previous(), SwXTextDocument::printPages(), SwVbaFormField::Range(), SwView::ReadUserDataSequence(), SwVbaRevision::Reject(), ReloadFromHtml(), SwXTextDocument::replaceAll(), SwXNumberingRules::replaceByIndex(), SwXTextTableStyle::replaceByName(), SwEditWin::RequestHelp(), SwEndNoteOptionPage::Reset(), SaveAs(), SdrHHCWrapper::SdrHHCWrapper(), SwXTextView::select(), SwView::SelectShell(), SwWebView::SelectShell(), SwDBManager::setEmbeddedName(), SwXTextCellStyle::setName(), SwXNumberingRules::SetNumberingRuleByIndex(), SwXTextDocument::setPagePrintSettings(), SwSrcView::SetPrinter(), SwXNumberingRules::SetPropertiesToNumFormat(), SwXNumberingRules::setPropertyValue(), SwXTextCellStyle::setPropertyValue(), SwXTextDocument::setPropertyValue(), SwXTextView::setRubyList(), SwAsciiFilterDlg::SwAsciiFilterDlg(), SwPagePreview::SwPagePreview(), SwView::SwView(), SwXAutoStyleFamily::SwXAutoStyleFamily(), SwXDocumentSettings::SwXDocumentSettings(), SwXMLTextBlocks::SwXMLTextBlocks(), SwXNumberingRules::SwXNumberingRules(), ToggleLayoutMode(), sw::annotation::SwAnnotationWin::UpdateData(), UpdateLinks(), SwXTextDocument::updateLinks(), sw::sidebar::UpdateTree(), sw::sidebar::WriterInspectorTextPanel::WriterInspectorTextPanel(), SwView::WriteUserDataSequence(), and SwHHCWrapper::~SwHHCWrapper().
|
overridevirtual |
|
overridevirtual |
SwEditShell * SwDocShell::GetEditShell | ( | ) |
Definition at line 1218 of file docsh.cxx.
References m_pWrtShell.
Referenced by LockAllViews(), and SwAutoCorrect::PutText().
|
static |
Definition at line 1327 of file docsh.cxx.
References nIndex, s_EventNames, and s_nEvents().
Referenced by SwXMailMerge::execute(), GetEventNames(), IMPL_LINK_NOARG(), SwView::StateStatusLine(), and SwLayIdle::SwLayIdle().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1311 of file docsh.cxx.
References GetEventName(), and SfxObjectShell::GetEventNames().
SwFEShell * SwDocShell::GetFEShell | ( | ) |
For Core - it knows the DocShell but not the WrtShell!
Definition at line 1223 of file docsh.cxx.
References m_pWrtShell.
Referenced by IMPL_LINK_NOARG(), SwTable::InsertCol(), SwTable::InsertRow_(), SwXTextTable::setPropertyValue(), SwVbaSelection::SplitTable(), SwDocStatPage::SwDocStatPage(), SwUndoTableNdsChg::UndoImpl(), and UpdateStyle().
|
overridevirtual |
#i20883# Digital Signatures and Encryption
Reimplemented from SfxObjectShell.
Definition at line 956 of file docsh.cxx.
References GetDoc(), SfxObjectShell::GetHiddenInformationState(), GetWrtShell(), nState, and Postit.
IDocumentChartDataProviderAccess & SwDocShell::getIDocumentChartDataProviderAccess | ( | ) |
Definition at line 706 of file docshini.cxx.
References m_xDoc.
Referenced by SwXTextDocument::create(), and SwInsertChart::SwInsertChart().
IDocumentDeviceAccess & SwDocShell::getIDocumentDeviceAccess | ( | ) |
Definition at line 701 of file docshini.cxx.
References m_xDoc.
Referenced by SwModule::InsertLab(), SwSrcView::SetPrinter(), and ToggleLayoutMode().
SfxInPlaceClient * SwDocShell::GetIPClient | ( | const ::svt::EmbeddedObjectRef & | xObjRef | ) |
Definition at line 1690 of file docsh2.cxx.
References SfxViewShell::FindIPClient(), SwView::GetEditWin(), SwWrtShell::GetView(), and GetWrtShell().
Referenced by SwXTextEmbeddedObject::getExtendedControlOverEmbeddedObject().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1397 of file docsh.cxx.
References SwViewShell::getIDocumentRedlineAccess(), SfxItemSet::GetItemIfSet(), SfxShell::GetPool(), IDocumentRedlineAccess::GetRedlinePassword(), SfxBoolItem::GetValue(), and m_pWrtShell.
void SwDocShell::GetState | ( | SfxItemSet & | rSet | ) |
Definition at line 976 of file docsh.cxx.
References BROWSE_MODE, bVisible, SfxViewShell::Current(), SfxItemSet::DisableItem(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SfxWhichIter::FirstWhich(), FN_ABSTRACT_NEWDOC, FN_ABSTRACT_STARIMPRESS, FN_NEW_GLOBAL_DOC, FN_NEW_HTML_DOC, FN_OPEN_FILE, FN_OUTLINE_TO_CLIPBOARD, FN_OUTLINE_TO_IMPRESS, FN_PRINT_LAYOUT, FN_REDLINE_ACCEPT_ALL, FN_REDLINE_REJECT_ALL, sw::proofreadingiterator::get(), IDocumentSettingAccess::get(), SfxViewFrame::GetBindings(), GetDoc(), SfxViewFrame::GetFirst(), GetHtmlMode(), SwDoc::getIDocumentSettingAccess(), sfx2::LinkManager::GetLinks(), SfxViewFrame::GetNext(), SwDoc::GetNodes(), SfxObjectShell::GetObjectShell(), SwNodes::GetOutLineNds(), GetView(), SfxViewShell::GetViewFrame(), SfxShell::GetViewShell(), SvNumberFormatter::GetYear2000(), HasChangeRecordProtection(), comphelper::LibreOfficeKit::isActive(), SfxObjectShell::isExportLocked(), SvtModuleOptions::IsImpress(), SfxObjectShell::IsInPlaceActive(), m_pFontList, m_xDoc, SfxWhichIter::NextWhich(), SfxItemSet::Put(), rSet, SfxBoolItem::SetValue(), sfx2::SfxNotebookBar::StateMethod(), and u.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1157 of file docsh.cxx.
References m_pStyleManager.
|
overridevirtual |
For Style PI.
Reimplemented from SfxObjectShell.
Definition at line 1152 of file docsh.cxx.
References m_xBasePool.
Referenced by sw::ThemeColorChanger::apply(), SwDoc::BroadcastStyleOperation(), SwTextAPIEditSource::EnsureOutliner(), ExecStyleSheet(), FillCharStyleListBox(), sw::annotation::SwAnnotationWin::InitControls(), lcl_GetCharFormat(), lcl_getDocStyleSheet(), lcl_GetFrameFormat(), lcl_setCharStyle(), lcl_setDropcapCharStyle(), SwEditWin::MouseButtonUp(), SwParaDlg::PageCreated(), SwTemplateDlgController::PageCreated(), SwXNumberingRules::replaceByIndex(), SwEndNoteOptionPage::Reset(), SwCondCollPage::Reset(), SwCondCollPage::SelectHdl(), SwUnoCursorHelper::setNumberingProperty(), SwXNumberingRules::SetPropertiesToNumFormat(), SwXTextDefaults::setPropertyValue(), SwInsertDBColAutoPilot::SwInsertDBColAutoPilot(), and SwPostItMgr::SwPostItMgr().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1614 of file docst.cxx.
References SdrPage::getSdrPageProperties(), SdrPageProperties::GetTheme(), and m_xDoc.
|
inline |
Definition at line 288 of file docsh.hxx.
Referenced by sw::DocumentLinksAdministrationManager::UpdateLinks().
|
inline |
Definition at line 221 of file docsh.hxx.
Referenced by Edit(), SwTextShell::ExecMoveMisc(), ExecStyleSheet(), Execute(), SwXTextDocument::executeContentControlEvent(), SwXTextDocument::executeFromFieldEvent(), GetController(), SwXTextDocument::getDocWindow(), SwViewShell::GetFirstLastVisPageNumbers(), sw::UndoManager::GetFirstRedoInfo(), GetFrameWeld(), sw::UndoManager::GetLastUndoInfo(), SwXTextDocument::getPart(), SwViewShell::GetPostItMgr(), SwXTextDocument::getPostIts(), SwXTextDocument::GetRenderDoc(), SwXTextDocument::getRulerState(), SwXTextDocument::getSelection(), GetState(), ooo::vba::word::getView(), SwXTextDocument::getViewRenderState(), sw::AccessibilityIssue::gotoIssue(), sw::IMPL_LINK(), SwXTextDocument::initializeForTiledRendering(), OutHTML_SwFormatField(), SwTemplateDlgController::PageCreated(), SwXTextDocument::paintTile(), SwXTextDocument::postMouseEvent(), SwDBManager::RegisterConnection(), ReloadFromHtml(), sw::UndoManager::Repeat(), SwDBManager::RevokeLastRegistrations(), sw::DocumentDrawModelManager::Search(), SwXTextDocument::setClientVisibleArea(), SwXTextDocument::setClientZoom(), SwXTextDocument::setClipboard(), SwXTextDocument::setGraphicSelection(), SwXTextDocument::setTextSelection(), sw::UndoManager::StartUndo(), UpdateChildWindows(), sw::SwDocIdle::UpdateMinPeriod(), and SwViewGlueDocShell::~SwViewGlueDocShell().
|
private |
Referenced by Draw().
|
privatevirtual |
Reimplemented from SfxObjectShell.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 912 of file docsh.cxx.
References ASPECT_THUMBNAIL, SwContentNode::FindPageFrameRect(), tools::Rectangle::GetHeight(), SfxObjectShell::GetVisArea(), tools::Rectangle::GetWidth(), SwRect::IsEmpty(), m_xDoc, tools::Rectangle::SetSize(), and SwRect::SVRect().
Referenced by SwXMLExport::GetViewSettings(), SwXMLImport::SetViewSettings(), and SwView::SwView().
|
inline |
Access to the SwWrtShell belonging to SwView.
Definition at line 225 of file docsh.hxx.
Referenced by SwXTextDocument::addPasteEventListener(), SwDoc::AppendDoc(), ApplyStyles(), Delete(), DoWaterCan(), Edit(), ExecStyleSheet(), Execute(), SwXTextDocument::executeContentControlEvent(), SwXTextDocument::executeFromFieldEvent(), SwRedlineOptionsTabPage::FillItemSet(), sw::FindTextImpl(), SwXLinkNameAccessWrapper::getByName(), SwXTextDocument::getDocumentLanguages(), SwXTextDocument::getDocumentSize(), GetHiddenInformationState(), GetIPClient(), SwVisibleCursor::getLOKPayload(), SwXTextDocument::getPartPageRectangles(), SwXTextDocument::getParts(), SwXTextDocument::getPointer(), SwXTextDocument::getSelection(), sw::AccessibilityIssue::gotoIssue(), sw::annotation::SwAnnotationWin::GotoPos(), SwCursorShell::HasHiddenSections(), SwCursorShell::HasReadonlySel(), Hide(), IMPL_LINK_NOARG(), SwXTextDocument::initializeForTiledRendering(), SwModule::InsertEnv(), SwTextContentControl::Invalidate(), SwXTextDocument::isMimeTypeSupported(), SwEditWin::KeyInput(), lcl_CreateOutlineString(), lcl_GetPrintUIOptions(), MakeByExample(), sw::GraphicSizeCheckGUIEntry::markObject(), SwModule::Notify(), SwXTextDocument::paintTile(), SwXTextDocument::postMouseEvent(), sw::AccessibilityIssue::quickFixIssue(), SwXTextDocument::refresh(), SwXTextDocument::removePasteEventListener(), SwXTextDocument::resetSelection(), sw::GraphicSizeCheckGUIEntry::runProperties(), SwGlosDocShell::Save(), SwWebGlosDocShell::Save(), sw::DocumentDrawModelManager::Search(), SwCursorShell::SelNextRedline(), SwCursorShell::SelPrevRedline(), SwXTextDocument::setClientVisibleArea(), SwXTextDocument::setClientZoom(), SwXTextDocument::setGraphicSelection(), SwXTextDocument::setPart(), StateStyleSheet(), sw::annotation::SwAnnotationWin::SwitchToFieldPos(), SwPagePreview::SwPagePreview(), UpdateStyle(), SwShellCursor::UpDown(), and sw::sidebar::WriterInspectorTextPanel::WriterInspectorTextPanel().
|
inline |
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1348 of file docsh.cxx.
References SwViewShell::getIDocumentRedlineAccess(), IDocumentRedlineAccess::GetRedlinePassword(), and m_pWrtShell.
Referenced by GetState().
|
private |
Definition at line 1143 of file docst.cxx.
References SwEditShell::EndAllAction(), GetWrtShell(), m_xBasePool, and SwEditShell::StartAllAction().
Referenced by ExecStyleSheet().
|
private |
Definition at line 382 of file docshini.cxx.
References SfxShell::GetPool(), SfxObjectShell::SetAutoStyleFilterIndex(), SfxObjectShell::SetBaseModel(), SfxObjectShell::SetMapUnit(), SfxShell::SetPool(), SfxListener::StartListening(), and SW_MOD.
Referenced by SwDocShell().
|
staticprivate |
but we implement this ourselves.
SfxInterface initializer.
|
overrideprivatevirtual |
FileIO.
Reimplemented from SfxObjectShell.
Definition at line 90 of file docshini.cxx.
References AddLink(), LanguageTag::convertToLanguageType(), FONT_CAPTION, FONT_CAPTION_CJK, FONT_CAPTION_CTL, FONT_INDEX, FONT_INDEX_CJK, FONT_INDEX_CTL, FONT_LIST, FONT_LIST_CJK, FONT_LIST_CTL, FONT_OUTLINE, FONT_OUTLINE_CJK, FONT_OUTLINE_CTL, FONT_STANDARD, FONT_STANDARD_CJK, FONT_STANDARD_CTL, FOOTNOTE_IN_COLUMN_TO_PAGEEND, sw::proofreadingiterator::get(), GetAppLanguage(), SwFormat::GetAttrSet(), SvxAsianConfig::GetCharDistanceCompression(), vcl::Font::GetCharSet(), SfxObjectShell::GetCreateMode(), OutputDevice::GetDefaultFont(), GetDefaultFrameDirection(), SwStdFontConfig::GetDefaultHeightFor(), GetDoc(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), SwStdFontConfig::GetFontFor(), SwStdFontConfig::GetFontHeight(), SwFormat::GetFormatAttr(), SvxFontHeightItem::GetHeight(), SwDoc::getIDocumentSettingAccess(), SfxItemSet::GetItemState(), SvxLanguageItem::GetLanguage(), LanguageTag::getLanguageType(), SfxObjectShell::GetMapUnit(), vcl::Font::GetPitch(), Application::GetSettings(), SvxAsianConfig::GetStartEndCharLocales(), SvxAsianConfig::GetStartEndChars(), AllSettings::GetUILanguageTag(), GLOBAL_DOCUMENT, i, SfxObjectShell::InitNew(), SwTransferable::InitOle(), SwStdFontConfig::IsFontDefault(), utl::ConfigManager::IsFuzzing(), SvxAsianConfig::IsKerningWesternTextOnly(), MsLangId::isKorean(), KERN_ASIAN_PUNCTUATION, m_xDoc, MATH_BASELINE_ALIGNMENT, RES_CHRATR_AUTOKERN(), RES_CHRATR_CJK_FONT(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CTL_FONT(), RES_CHRATR_CTL_FONTSIZE(), RES_CHRATR_CTL_LANGUAGE(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_LANGUAGE(), RES_COLLAPSING_BORDERS(), RES_PARATR_ADJUST(), RES_POOLCOLL_HEADLINE_BASE, RES_POOLCOLL_LABEL, RES_POOLCOLL_NUMBER_BULLET_BASE, RES_POOLCOLL_REGISTER_BASE, RES_POOLCOLL_STANDARD, SwTextFormatColl::ResetFormatAttr(), IDocumentSettingAccess::set(), SwTextFormatColl::SetFormatAttr(), SvxFontHeightItem::SetHeight(), SetHTMLTemplate(), SubInitNew(), and SW_MOD.
|
overrideprivatevirtual |
Reimplemented from SfxObjectShell.
Definition at line 121 of file docsh.cxx.
References ERRCODE_NONE, and sw::XTextRangeToSwPaM().
void SwDocShell::InvalidateModel | ( | ) |
Definition at line 447 of file docshini.cxx.
References SfxObjectShell::GetBaseModel(), and SfxObjectShell::Invalidate().
Referenced by SwXMLTextBlocks::ClearDoc().
|
overridevirtual |
passwword protection for Writer (derived from SfxObjectShell) see also: FN_REDLINE_ON, FN_REDLINE_ON
Reimplemented from SfxObjectShell.
Definition at line 1341 of file docsh.cxx.
References SwEditShell::GetRedlineFlags(), m_pWrtShell, and On.
Referenced by SwTextNode::AddToList(), SwFEShell::DeleteRow(), and SwView::GetState().
|
inline |
Definition at line 310 of file docsh.hxx.
Referenced by SwXTextDocument::getPropertyValue().
|
overrideprivatevirtual |
Reimplemented from SfxObjectShell.
Definition at line 461 of file docshini.cxx.
References AddLink(), ERR_SWG_READ_ERROR, SfxObjectShell::GetCreateMode(), SfxObjectShell::getEmbeddedObjectContainer(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), CntUInt16Item::GetValue(), GLOBAL_DOCUMENT, HTML_MODE, InitDrawModelAndDocShell(), SwTransferable::InitOle(), ErrCode::IsError(), SfxObjectShell::IsOwnStorageFormat(), SfxObjectShell::Load(), LoadingFinished(), m_nUpdateDocMode, m_xBasePool, m_xDoc, SwReader::Read(), ReadXML, RemoveLink(), SAL_INFO, SdrModel::SetCompatibilityFlag(), SfxObjectShell::SetError(), Reader::SetOrganizerMode(), comphelper::EmbeddedObjectContainer::setUserAllowsLinkUpdate(), SW_MOD, and UpdateFontList().
|
overrideprivatevirtual |
Reimplemented from SfxObjectShell.
Definition at line 577 of file docshini.cxx.
References AddLink(), ERR_SWG_READ_ERROR, SfxObjectShell::GetCreateMode(), SfxMedium::GetStorage(), ErrCode::IsError(), SfxObjectShell::LoadFrom(), m_xBasePool, m_xDoc, SwReader::Read(), ReadXML, RemoveLink(), SfxObjectShell::SetError(), and Reader::SetOrganizerMode().
void SwDocShell::LoadingFinished | ( | ) |
linked graphics are now loaded on demand.
Thus, loading of linked graphics no longer needed and necessary for the load of document being finished.
Definition at line 1183 of file docsh.cxx.
References SfxObjectShell::FinishedLoading(), SfxViewFrame::GetFirst(), SfxShell::GetViewShell(), and m_xDoc.
Referenced by ConvertFrom(), and Load().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1625 of file docst.cxx.
References LoadStyles_().
void SwDocShell::LoadStyles_ | ( | SfxObjectShell & | rSource, |
bool | bPreserveCurrentDocument | ||
) |
Definition at line 1635 of file docst.cxx.
References SwEditShell::EndAllAction(), g_bNoInterrupt, SfxObjectShell::LoadStyles(), m_pView, m_pWrtShell, m_xDoc, and SwEditShell::StartAllAction().
Referenced by LoadStyles().
ErrCode SwDocShell::LoadStylesFromFile | ( | const OUString & | rURL, |
SwgReaderOption & | rOpt, | ||
bool | bUnoCall | ||
) |
Definition at line 1607 of file docsh2.cxx.
References SfxFilterMatcher::DetectFilter(), SwEditShell::EndAllAction(), ERRCODE_NONE, SwCursorShell::GetCursor(), SwgReaderOption::GetInputStream(), Reader::GetReaderOpt(), SfxMedium::GetStorage(), SwgReaderOption::IsFrameFormats(), SwgReaderOption::IsMerge(), SwgReaderOption::IsNumRules(), SwgReaderOption::IsPageDescs(), SfxMedium::IsStorage(), SwgReaderOption::IsTextFormats(), m_pWrtShell, m_xDoc, ReadXML, SwgReaderOption::SetFrameFormats(), SwgReaderOption::SetMerge(), SwgReaderOption::SetNumRules(), SwgReaderOption::SetPageDescs(), SfxMedium::setStreamToLoadFrom(), SwgReaderOption::SetTextFormats(), and SwEditShell::StartAllAction().
Referenced by Execute(), IMPL_LINK_NOARG(), and SwXStyleFamilies::loadStylesFromURL().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 366 of file docsh.cxx.
References GetEditShell().
Referenced by sw::DocumentStatisticsManager::IncrementalDocStatCalculate(), SwXTextDocument::render(), SetChangeRecording(), and SwDropCapsPict::UpdatePaintSettings().
|
private |
Definition at line 1404 of file docst.cxx.
References aFrameFormatSetRange, SwEditShell::ChgNumRuleFormats(), SfxItemSet::ClearItem(), COLL_DOC_BITS, COLL_EXTRA_BITS, COLL_HTML_BITS, COLL_LISTS_BITS, COLL_REGISTER_BITS, COLL_TEXT_BITS, SwDoc::CopyPageDesc(), SwEditShell::EndAllAction(), SwEditShell::FillByEx(), SwDocStyleSheet::GetCharFormat(), SwDocStyleSheet::GetCollection(), SwEditShell::GetCurCharFormat(), SwFEShell::GetCurPageDesc(), SwEditShell::GetCurTextFormatColl(), GetDoc(), SwViewShell::GetDoc(), SwFEShell::GetFlyFrameAttr(), SwDocStyleSheet::GetFrameFormat(), SwDoc::getIDocumentListsAccess(), SwDoc::GetIDocumentUndoRedo(), SwNumRule::GetName(), SwDocStyleSheet::GetNumRule(), SwEditShell::GetNumRuleAtCurrCursorPos(), SwDocStyleSheet::GetPageDesc(), SwFEShell::GetPageDesc(), SfxShell::GetPool(), SwFormat::GetPoolFormatId(), SwPageDesc::GetPoolFormatId(), SwPageDesc::GetPoolHelpId(), SwPageDesc::GetPoolHlpFileId(), SwFEShell::GetSelectedFrameFormat(), SwFEShell::GetTableAutoFormat(), SwDocStyleSheet::GetTableFormat(), GetWrtShell(), SwFormat::IsDefault(), SwFEShell::IsFrameSelected(), m_xBasePool, m_xDoc, nId, pChar, SwEditShell::ReplaceNumRule(), RES_ANCHOR(), SwEditShell::SetAttrItem(), SwFormat::SetDerivedFrom(), SwFormat::SetFormatAttr(), SwFEShell::SetFrameFormat(), SwNumRule::SetName(), SwPageDesc::SetPoolFormatId(), SwFormat::SetPoolFormatId(), SwPageDesc::SetPoolHelpId(), SwPageDesc::SetPoolHlpFileId(), SwFEShell::SetTableStyle(), SwEditShell::SetTextFormatColl(), and SwEditShell::StartAllAction().
Referenced by ExecStyleSheet().
|
overrideprivatevirtual |
Catch hint for DocInfo.
Reimplemented from SfxListener.
Definition at line 236 of file docsh2.cxx.
References aDocument, SfxObjectShell::EnableSetModified(), SwEditShell::EndAllAction(), Filename, SfxHint::GetId(), SfxObjectShell::GetMedium(), SfxObjectShell::IsEnableSetModified(), SwViewShell::IsViewLocked(), lcl_processCompatibleSfxHint(), SwViewShell::LockView(), m_pWrtShell, m_xDoc, mxAutomationDocumentObject, SwEditShell::StartAllAction(), and SW_MOD.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 947 of file docsh.cxx.
References GetDoc(), SwDoc::getIDocumentDeviceAccess(), Printer::GetJobSetup(), IDocumentDeviceAccess::setJobsetup(), and IDocumentDeviceAccess::setPrinter().
|
overrideprivatevirtual |
Reimplemented from SfxObjectShell.
Definition at line 353 of file docsh2.cxx.
References aDocument, SfxListener::EndListening(), SfxObjectShell::IsInPrepareClose(), m_xDoc, mxAutomationDocumentObject, SfxObjectShell::PrepareClose(), and SW_MOD.
Referenced by Execute().
void SwDocShell::ReactivateModel | ( | ) |
Definition at line 453 of file docshini.cxx.
References SfxObjectShell::GetBaseModel().
Referenced by SwXMLTextBlocks::ClearDoc().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1402 of file docsh2.cxx.
References m_xDoc, and sfx2::LinkManager::ReconnectDdeLink().
void SwDocShell::RegisterAutomationDocumentEventsCaller | ( | css::uno::Reference< ooo::vba::XSinkCaller > const & | xCaller | ) |
Definition at line 1415 of file docsh.cxx.
References mxAutomationDocumentEventsCaller.
Referenced by SwVbaDocument::AddSink().
void SwDocShell::RegisterAutomationDocumentObject | ( | css::uno::Reference< ooo::vba::word::XDocument > const & | xDocument | ) |
Definition at line 1426 of file docsh.cxx.
References mxAutomationDocumentObject.
Referenced by SwVbaDocument::Initialize().
void SwDocShell::ReloadFromHtml | ( | const OUString & | rStreamName, |
SwSrcView * | pSrcView | ||
) |
Re-read Doc from Html-source.
Definition at line 1502 of file docsh2.cxx.
References AddLink(), Any, BROWSE_MODE, StarBASIC::Clear(), SfxObjectShell::ClearHeaderAttributesForSourceViewHack(), SfxViewShell::Current(), SfxDispatcher::Execute(), SfxDispatcher::ExecuteList(), sw::proofreadingiterator::get(), SfxObjectShell::GetBaseModel(), SfxApplication::GetBasicManager(), SfxObjectShell::GetBasicManager(), SfxViewFrame::GetDispatcher(), GetDoc(), SwViewShell::GetLayout(), BasicManager::GetLib(), BasicManager::GetLibCount(), SfxObjectShell::GetMedium(), SfxObjectShell::GetModel(), SfxMedium::GetName(), SbxVariable::GetName(), SfxShell::GetPool(), GetView(), SfxViewShell::GetViewFrame(), SwView::GetWrtShell(), SfxObjectShell::HasBasic(), SwViewShell::InvalidateLayout(), SfxObjectShell::IsModified(), SfxObjectShell::IsReadOnly(), m_xDoc, ReadHTML, BasicManager::RemoveLib(), RemoveLink(), SfxObjectShell::SetHeaderAttributesForSourceViewHack(), SetHTMLTemplate(), SetModified(), SfxShell::SetPool(), SubInitNew(), and UpdateFontList().
Referenced by Execute().
|
private |
Definition at line 430 of file docshini.cxx.
References sw::proofreadingiterator::dispose(), SfxObjectShell::GetBaseModel(), SfxObjectShell::Invalidate(), m_xBasePool, and m_xDoc.
Referenced by ConvertFrom(), Load(), LoadFrom(), ReloadFromHtml(), and ~SwDocShell().
|
private |
Definition at line 1228 of file docsh.cxx.
References SwIterator< TElementType, TSource, eMode >::First(), SwOLEObj::GetCurrentPersistName(), SfxObjectShell::GetEmbeddedObjectContainer(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwOLENode::IsInGlobalDocSection(), SwOLENode::IsOLEObjectDeleted(), m_pOLEChildList, m_xDoc, comphelper::EmbeddedObjectContainer::MoveEmbeddedObject(), and SwIterator< TElementType, TSource, eMode >::Next().
Referenced by SaveAs().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1598 of file docst.cxx.
References sw::AccessibilityCheck::check(), sfx::AccessibilityCheck::getIssueCollection(), and m_xDoc.
|
overridevirtual |
global IO.
Reimplemented from SfxObjectShell.
Reimplemented in SwGlosDocShell, and SwWebGlosDocShell.
Definition at line 259 of file docsh.cxx.
References docfunc::AllDrawObjsOnPage(), CalcLayoutForOLEObjects(), DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE, SwCursorShell::EndAllTableBoxEdit(), ERR_SWG_WRITE_ERROR, ERRCODE_NONE, SvtFilterOptions::Get(), SfxViewFrame::GetBindings(), SfxObjectShell::GetCreateMode(), SwView::GetEditWin(), SfxObjectShell::GetMedium(), GetSaveWarningOfMSVBAStorage(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), GetXMLWriter(), ErrCode::IsError(), SwViewShell::IsViewLocked(), SwViewShell::LockView(), m_pView, m_pWrtShell, m_xDoc, SfxObjectShell::Save(), SfxObjectShell::SetError(), SfxBindings::SetState(), SwEditWin::StopQuickHelp(), SW_MOD, and SwWriter::Write().
Referenced by lcl_Execute().
|
overrideprivatevirtual |
Reimplemented from SfxObjectShell.
Definition at line 372 of file docsh.cxx.
References INetURLObject::All, docfunc::AllDrawObjsOnPage(), aURL, CalcLayoutForOLEObjects(), SwEditShell::ClassifyDocPerHighestParagraphClass(), DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE, SfxObjectShell::DoClose(), INetURLObject::encode(), SwCursorShell::EndAllTableBoxEdit(), ERR_SWG_WRITE_ERROR, ERRCODE_NONE, FILTER_WW8, SvtFilterOptions::Get(), sw::proofreadingiterator::get(), SfxMedium::GetArgs(), SfxMedium::GetBaseURL(), SfxObjectShell::GetCreateMode(), GetDoc(), SwView::GetEditWin(), SwDBManager::getEmbeddedName(), SfxMedium::GetFilter(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SfxObjectShell::GetMedium(), SfxObjectShell::GetModel(), SfxMedium::GetName(), SfxMedium::GetOutputStorage(), SwView::GetPostItMgr(), comphelper::getProcessComponentContext(), GetSaveWarningOfMSVBAStorage(), SfxMedium::GetURLObject(), SotStorage::GetVersion(), GetXMLWriter(), GLOBAL_DOCUMENT, GLOBAL_DOCUMENT_SAVE_LINKS, SwPostItMgr::HasActiveSidebarWin(), ErrCode::IsError(), SwViewShell::IsViewLocked(), SwViewShell::LockView(), m_pView, m_pWrtShell, m_xDoc, INetURLObject::NONE, INetURLObject::PART_FPATH, RemoveOLEObjects(), SfxObjectShell::SaveAs(), SfxObjectShell::SetError(), SfxObjectShell::SetupStorage(), SwEditWin::StopQuickHelp(), SwDBManager::StoreEmbeddedDataSource(), SW_MOD, SwPostItMgr::UpdateDataOnActiveSidebarWin(), v, SwEditShell::ValidateAllParagraphSignatures(), and SwWriter::Write().
Referenced by ConvertTo().
|
overrideprivatevirtual |
Reimplemented from SfxObjectShell.
Definition at line 812 of file docsh.cxx.
References SfxObjectShell::EnableSetModified(), SfxObjectShell::GetEmbeddedObjectContainer(), SfxObjectShell::IsEnableSetModified(), SfxObjectShell::IsModified(), m_pOLEChildList, m_xDoc, n, and SfxObjectShell::SaveCompleted().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1355 of file docsh.cxx.
References SwEditShell::GetRedlineFlags(), LockAllViews(), m_pWrtShell, NONE, On, and SwWrtShell::SetRedlineFlagsAndCheckInsMode().
Referenced by SwView::Execute(), and SetProtectionPassword().
|
inline |
Definition at line 311 of file docsh.hxx.
Referenced by SwWW8ImplReader::CoreLoad().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1437 of file docsh2.cxx.
References SfxObjectShell::EnableSetModified(), SfxObjectShell::IsEnableSetModified(), utl::ConfigManager::IsFuzzing(), m_xDoc, SfxObjectShell::SetModified(), and UpdateChildWindows().
Referenced by SwHeaderFooterWin::ExecuteCommand(), IMPL_LINK(), TextViewOutWin::KeyInput(), SwSrcView::Load(), ReloadFromHtml(), SwGlosDocShell::Save(), SwWebGlosDocShell::Save(), SwSrcView::SetPrinter(), and sw::annotation::SwAnnotationWin::UpdateData().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1371 of file docsh.cxx.
References SvPasswordHelper::GetHashPassword(), SwViewShell::getIDocumentRedlineAccess(), SfxItemSet::GetItemIfSet(), SfxShell::GetPool(), IDocumentRedlineAccess::GetRedlinePassword(), SfxBoolItem::GetValue(), m_pWrtShell, SetChangeRecording(), and IDocumentRedlineAccess::SetRedlinePassword().
void SwDocShell::SetView | ( | SwView * | pVw | ) |
Set View for actions via Shell.
Definition at line 1162 of file docsh.cxx.
References SwView::GetRedlineAuthor(), SwView::GetWrtShell(), m_pView, m_pWrtShell, SfxShell::SetViewShell_Impl(), and SW_MOD.
Referenced by SwView::Activate(), SwXTextDocument::initializeForTiledRendering(), SwViewGlueDocShell::SwViewGlueDocShell(), and SwViewGlueDocShell::~SwViewGlueDocShell().
|
overridevirtual |
OLE-stuff.
Reimplemented from SfxObjectShell.
Definition at line 888 of file docsh.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), tools::Rectangle::Bottom(), DOCUMENTBORDER, SwView::GetDocSz(), Size::Height(), tools::Rectangle::Left(), m_pView, tools::Rectangle::Move(), tools::Rectangle::Right(), SwView::SetVisArea(), SfxObjectShell::SetVisArea(), tools::Rectangle::Top(), and Size::Width().
Referenced by SwOneExampleFrame::Paint(), and SwXMLImport::SetViewSettings().
Reader * SwDocShell::StartConvertFrom | ( | SfxMedium & | rMedium, |
SwReaderPtr & | rpRdr, | ||
SwCursorShell const * | pCursorSh = nullptr , |
||
SwPaM * | pPaM = nullptr |
||
) |
For inserting document.
Definition at line 137 of file docsh.cxx.
References Application::CreateMessageDialog(), FILTER_TEXT_DLG, FN_API_CALL, SwCursorShell::GetCursor(), SfxMedium::GetFilter(), SfxMedium::GetInStream(), SfxItemSet::GetItem(), SfxItemSet::GetItemIfSet(), SfxMedium::GetItemSet(), SfxMedium::GetName(), SwReaderWriter::GetReader(), Reader::GetReaderOpt(), Reader::GetReaderType(), CntUInt16Item::GetValue(), SfxMedium::IsStorage(), m_nUpdateDocMode, m_xDoc, ReadAscii, SwAsciiOptions::ReadUserData(), SwgReaderOption::SetASCIIOpts(), Reader::SetTemplateName(), Storage, Stream, and SwResId().
Referenced by ConvertFrom(), SwUnoCursorHelper::InsertFile(), and SwView::InsertMedium().
void SwDocShell::StateStyleSheet | ( | SfxItemSet & | rSet, |
SwWrtShell * | pSh = nullptr |
||
) |
Definition at line 91 of file docst.cxx.
References aName, SfxItemSet::DisableItem(), SwApplyTemplate::eType, SwStyleNameMapper::FillProgName(), SfxWhichIter::FirstWhich(), FLY_ANY, FOOTER, FOOTNOTE, FTNPAGE, SwPostItMgr::GetActiveSidebarWin(), SwEditWin::GetApplyTemplate(), SfxViewFrame::GetBindings(), SwEditShell::GetCurCharFormat(), SwFEShell::GetCurPageDesc(), SwEditShell::GetCurTextFormatColl(), SwEditShell::GetCurTOX(), SwView::GetEditWin(), SwFEShell::GetFrameType(), SwFormat::GetName(), SwNumRule::GetName(), SwPageDesc::GetName(), SwEditShell::GetNumRuleAtCurrCursorPos(), sw::annotation::SwAnnotationWin::GetOutlinerView(), SwFEShell::GetPageDesc(), SwViewShell::GetPostItMgr(), SwStyleNameMapper::GetProgName(), SwFEShell::GetSelectedFrameFormat(), SwWrtShell::GetSelectionType(), OutlinerView::GetStyleSheet(), SwTableNode::GetTable(), SwFEShell::GetTableAutoFormat(), SwTable::GetTableStyleName(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwEditShell::GetWatermark(), GetWrtShell(), HEADER, HTML_MODE, SfxItemSet::InvalidateItem(), SwCursorShell::IsCursorInTable(), SwFEShell::IsFrameSelected(), SvxHtmlOptions::IsPrintLayoutExtension(), m_xDoc, n, SfxWhichIter::NextWhich(), nId, PostIt, SfxItemSet::Put(), SfxBindings::QueryState(), rSet, SfxTemplateItem::SetValue(), SwResId(), TABLE, and TxtColl.
Referenced by SwBaseShell::StateStyle().
|
private |
for InitNew and HtmlSourceMode.
get lingu options without loading lingu DLL
Definition at line 620 of file docshini.cxx.
References AUTOUPD_GLOBALSETTING, COL_AUTO(), SfxObjectShell::GetCreateMode(), SfxObjectShell::GetMedium(), SvxHyphenZoneItem::GetMinLead(), SvxHyphenZoneItem::GetMinTrail(), SvxHyphenZoneItem::GetMinWordLength(), SvtLinguConfig::GetOptions(), GLOBALSETTING, InitDrawModelAndDocShell(), utl::ConfigManager::IsFuzzing(), svl::Items, m_xBasePool, m_xDoc, o3tl::mm100, SvtLinguOptions::nDefaultLanguage, SvtLinguOptions::nDefaultLanguage_CJK, SvtLinguOptions::nDefaultLanguage_CTL, SvtLinguOptions::nHyphMinLeading, SvtLinguOptions::nHyphMinTrailing, SvtLinguOptions::nHyphMinWordLength, SfxItemSet::Put(), RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_COLOR(), RES_CHRATR_CTL_LANGUAGE(), RES_CHRATR_LANGUAGE(), RES_PARATR_ADJUST(), RES_PARATR_HYPHENZONE(), RES_PARATR_ORPHANS(), RES_PARATR_TABSTOP(), RES_PARATR_WIDOWS(), MsLangId::resolveSystemLanguageByScriptType(), SW_MOD, o3tl::toTwips(), and UpdateFontList().
Referenced by InitNew(), and ReloadFromHtml().
void SwDocShell::ToggleLayoutMode | ( | SwView * | pView | ) |
Definition at line 154 of file docsh2.cxx.
References BROWSE_MODE, SwDoc::CheckDefaultPageFormat(), SfxViewFrame::DoClose(), FN_SHADOWCURSOR, SfxViewFrame::GetBindings(), SwViewOption::getBrowseMode(), GetDoc(), SfxViewFrame::GetFirst(), getIDocumentDeviceAccess(), SwDoc::getIDocumentSettingAccess(), SfxViewFrame::GetNext(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SwView::GetWrtShell(), SfxBindings::Invalidate(), SwViewShell::InvalidateLayout(), SwView::RecheckBrowseMode(), IDocumentSettingAccess::set(), SfxViewShell::SetNewWindowAllowed(), SwView::SetPrinter(), and UpdateFontList().
Referenced by SwXViewSettings::_setSingleValue(), and SwView::ExecViewOptions().
void SwDocShell::UpdateChildWindows | ( | ) |
Definition at line 1467 of file docsh2.cxx.
References GetView(), SfxViewShell::GetViewFrame(), SwFieldDlgWrapper::ReInitDlg(), and SwRedlineAcceptChild::ReInitDlg().
Referenced by SetModified().
void SwDocShell::UpdateFontList | ( | ) |
Definition at line 415 of file docshini.cxx.
References m_IsInUpdateFontList, m_pFontList, m_xDoc, and SfxShell::PutItem().
Referenced by ConvertFrom(), SwEditWin::DataChanged(), SwPagePreviewWin::DataChanged(), Load(), sw::DocumentDeviceManager::PrtDataChanged(), ReloadFromHtml(), SubInitNew(), SwView::SwView(), and ToggleLayoutMode().
|
overridevirtual |
#i42634# Overwrites SfxObjectShell::UpdateLinks This new function is necessary to trigger update of links in docs read by the binary filter:
Reimplemented from SfxObjectShell.
Definition at line 1281 of file docsh.cxx.
References GetDoc(), SwDoc::GetFootnoteIdxs(), SwDoc::getIDocumentLinksAdministration(), SwNodeIndex::GetNode(), SwTextFootnote::SetUniqueSeqRefNo(), SwFootnoteIdxs::UpdateFootnote(), and IDocumentLinksAdministration::UpdateLinks().
|
private |
Definition at line 1298 of file docst.cxx.
References SwRewriter::AddRule(), aFrameFormatSetRange, SwEditShell::ChgNumRuleFormats(), SwDoc::ChgTableStyle(), SfxItemSet::ClearItem(), SwEditShell::EndAllAction(), SwEditShell::EndUndo(), SwEditShell::FillByEx(), SwDocStyleSheet::GetCharFormat(), SwDocStyleSheet::GetCollection(), SwViewShell::GetDoc(), GetFEShell(), SwFEShell::GetFlyFrameAttr(), SwDocStyleSheet::GetFrameFormat(), SwDoc::getIDocumentListsAccess(), SwFormat::GetName(), SwNumRule::GetName(), SwDocStyleSheet::GetNumRule(), SwEditShell::GetNumRuleAtCurrCursorPos(), SfxShell::GetPool(), SwFEShell::GetTableAutoFormat(), GetWrtShell(), INSFMTATTR, SwFormat::IsDefault(), SwFEShell::IsFrameSelected(), m_xBasePool, m_xDoc, pChar, RES_ANCHOR(), SwFormat::SetFormatAttr(), SwFEShell::SetFrameFormat(), SwNumRule::SetName(), SwEditShell::SetTextFormatColl(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), and UndoArg1.
Referenced by ExecStyleSheet().
|
private |
|
private |
prevent nested calls of UpdateFontList
Definition at line 74 of file docsh.hxx.
Referenced by UpdateFontList().
|
private |
|
private |
contains the css::document::UpdateDocMode
Definition at line 87 of file docsh.hxx.
Referenced by Load(), and StartConvertFrom().
|
private |
Current Fontlist.
Definition at line 73 of file docsh.hxx.
Referenced by GetState(), UpdateFontList(), and ~SwDocShell().
|
private |
Definition at line 86 of file docsh.hxx.
Referenced by RemoveOLEObjects(), SaveCompleted(), and ~SwDocShell().
|
private |
Definition at line 76 of file docsh.hxx.
Referenced by GetStyleManager().
|
private |
For "historical reasons" nothing can be done without the WrtShell.
Back-pointer on View (again "for historical reasons"). Back-pointer is valid until in Activate a new one is set or until it is deleted in the View's Dtor.
Definition at line 83 of file docsh.hxx.
Referenced by CalcLayoutForOLEObjects(), ConvertTo(), DoWaterCan(), LoadStyles_(), Save(), SaveAs(), SetView(), and SetVisArea().
|
private |
Definition at line 84 of file docsh.hxx.
Referenced by CalcLayoutForOLEObjects(), ConvertTo(), DoFlushDocInfo(), Edit(), ExecStyleSheet(), Execute(), GetEditShell(), GetFEShell(), GetProtectionHash(), HasChangeRecordProtection(), IMPL_LINK(), IsChangeRecording(), LoadStyles_(), LoadStylesFromFile(), Notify(), Save(), SaveAs(), SetChangeRecording(), SetProtectionPassword(), and SetView().
|
private |
Passing through for formats.
Definition at line 72 of file docsh.hxx.
Referenced by ApplyStyles(), ConvertFrom(), Delete(), DoWaterCan(), Edit(), ExecStyleSheet(), GetStyleSheetPool(), Hide(), Load(), LoadFrom(), MakeByExample(), RemoveLink(), SubInitNew(), and UpdateStyle().
|
private |
Document.
Definition at line 71 of file docsh.hxx.
Referenced by AddLink(), CalcLayoutForOLEObjects(), CancelTransfers(), ConvertFrom(), ConvertTo(), DdeCreateLinkSource(), DoFlushDocInfo(), Draw(), Edit(), Execute(), FillClass(), GetDocColors(), GetDocumentPrinter(), GetDocumentRefDev(), getIDocumentChartDataProviderAccess(), getIDocumentDeviceAccess(), GetState(), GetThemeColors(), GetVisArea(), GetXmlIdRegistry(), InitNew(), Load(), LoadFrom(), LoadingFinished(), LoadStyles_(), LoadStylesFromFile(), MakeByExample(), Notify(), PrepareClose(), ReconnectDdeLink(), ReloadFromHtml(), RemoveLink(), RemoveOLEObjects(), runAccessibilityCheck(), Save(), SaveAs(), SaveCompleted(), SetModified(), StartConvertFrom(), StateStyleSheet(), SubInitNew(), UpdateFontList(), UpdateStyle(), and ~SwDocShell().
|
private |
Definition at line 94 of file docsh.hxx.
Referenced by CallAutomationDocumentEventSinks(), and RegisterAutomationDocumentEventsCaller().
|
private |
Definition at line 95 of file docsh.hxx.
Referenced by Notify(), PrepareClose(), and RegisterAutomationDocumentObject().