LibreOffice Module sd (master) 1
|
#include <DrawDocShell.hxx>
Public Member Functions | |
SFX_DECL_OBJECTFACTORY () | |
DrawDocShell (SfxObjectCreateMode eMode, bool bSdDataObj, DocumentType) | |
DrawDocShell (SfxModelFlags nModelCreationFlags, bool bSdDataObj, DocumentType) | |
DrawDocShell (SdDrawDocument *pDoc, SfxObjectCreateMode eMode, bool bSdDataObj, DocumentType) | |
virtual | ~DrawDocShell () override |
void | UpdateRefDevice () |
virtual void | Activate (bool bMDI) override |
virtual void | Deactivate (bool bMDI) override |
virtual bool | InitNew (const css::uno::Reference< css::embed::XStorage > &xStorage) override |
Creates new document, opens streams. More... | |
virtual bool | ImportFrom (SfxMedium &rMedium, css::uno::Reference< css::text::XTextRange > const &xInsertPosition) override |
load from 3rd party format More... | |
virtual bool | ConvertFrom (SfxMedium &rMedium) override |
load from a foreign format More... | |
virtual bool | Save () override |
Writes pools and document to the open streams. More... | |
virtual bool | SaveAsOwnFormat (SfxMedium &rMedium) override |
If it should become a document template. More... | |
virtual bool | ConvertTo (SfxMedium &rMedium) override |
save to foreign format More... | |
virtual bool | SaveCompleted (const css::uno::Reference< css::embed::XStorage > &xStorage) override |
Reopen own streams to ensure that nobody else can prevent use from opening them. More... | |
virtual bool | Load (SfxMedium &rMedium) override |
loads pools and document More... | |
virtual bool | LoadFrom (SfxMedium &rMedium) override |
loads content for organizer More... | |
virtual bool | SaveAs (SfxMedium &rMedium) override |
Writes pools and document to the provided storage. More... | |
virtual ::tools::Rectangle | GetVisArea (sal_uInt16 nAspect) const override |
virtual void | Draw (OutputDevice *, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen) override |
Drawing of DocShell (with the helper class SdDrawViewShell) More... | |
virtual SfxUndoManager * | GetUndoManager () override |
virtual Printer * | GetDocumentPrinter () override |
virtual void | OnDocumentPrinterChanged (Printer *pNewPrinter) override |
virtual SfxStyleSheetBasePool * | GetStyleSheetPool () override |
virtual void | FillClass (SvGlobalName *pClassName, SotClipboardFormatId *pFormat, OUString *pFullTypeName, sal_Int32 nFileFormat, bool bTemplate=false) const override |
virtual void | SetModified (bool=true) override |
virtual std::shared_ptr< SfxDocumentInfoDialog > | CreateDocumentInfoDialog (weld::Window *pParent, const SfxItemSet &rSet) override |
sd::ViewShell * | GetViewShell () |
::sd::FrameView * | GetFrameView () |
SdDrawDocument * | GetDoc () |
DocumentType | GetDocumentType () const |
SfxPrinter * | GetPrinter (bool bCreate) |
Creates (if necessary) and returns a SfxPrinter. More... | |
void | SetPrinter (SfxPrinter *pNewPrinter) |
Set new SfxPrinter (transfer of ownership) More... | |
void | UpdateFontList () |
bool | IsInDestruction () const |
void | CancelSearching () |
void | Execute (SfxRequest &rReq) |
Handles SFX-Requests. More... | |
void | GetState (SfxItemSet &) |
void | Connect (sd::ViewShell *pViewSh) |
void | Disconnect (sd::ViewShell const *pViewSh) |
void | UpdateTablePointers () |
void | GotoBookmark (std::u16string_view rBookmark) |
BitmapEx | GetPagePreviewBitmap (SdPage *pPage) |
Creates a bitmap of an arbitrary page. More... | |
bool | CheckPageName (weld::Window *pWin, OUString &rName) |
checks, if the given name is a valid new name for a slide More... | |
void | SetSlotFilter (bool bEnable=false, o3tl::span< sal_uInt16 const > pSIDs=o3tl::span< sal_uInt16 const >()) |
void | ApplySlotFilter () const |
apply configured slot filters More... | |
SfxStyleFamily | GetStyleFamily () const |
void | SetStyleFamily (SfxStyleFamily nSF) |
void | OpenBookmark (const OUString &rBookmarkURL) |
executes the SID_OPENDOC slot to let the framework open a document with the given URL and this document as a referer More... | |
bool | IsNewPageNameValid (OUString &rInOutPageName, bool bResetStringIfStandardName=false) |
checks, if the given name is a valid new name for a slide More... | |
bool | IsPageNameUnique (std::u16string_view rPagName) const |
checks, if the given name is a unique name for an existing slide More... | |
virtual OutputDevice * | GetDocumentRefDev () override |
Return the reference device for the current document. More... | |
DECL_DLLPRIVATE_LINK (RenameSlideHdl, AbstractSvxNameDialog &, bool) | |
DECL_DLLPRIVATE_LINK (OnlineSpellCallback, SpellCallbackInfo &, void) | |
void | ClearUndoBuffer () |
std::shared_ptr< model::ColorSet > | GetThemeColors () override |
virtual tools::Rectangle | GetVisArea (sal_uInt16 nAspect) const |
const tools::Rectangle & | GetVisArea () const |
SfxViewShell * | GetViewShell () const |
Public Member Functions inherited from SfxObjectShell | |
void | Stamp_SetPrintCancelState (bool bState) |
bool | Stamp_GetPrintCancelState () const |
virtual void | Invalidate (sal_uInt16 nId=0) override |
SfxModule * | GetModule () const |
virtual SfxObjectFactory & | GetFactory () const=0 |
SfxMedium * | GetMedium () const |
css::uno::Reference< css::document::XDocumentProperties > | getDocProperties () const |
void | UpdateDocInfoForSave () |
void | FlushDocInfo () |
bool | HasName () const |
OUString | GetAPIName () const |
void | SetReadOnly () |
bool | IsReadOnly () const |
bool | IsReadOnlyMedium () const |
bool | IsOriginallyReadOnlyMedium () const |
bool | IsOriginallyLoadedReadOnlyMedium () const |
void | SetReadOnlyUI (bool bReadOnly=true) |
bool | IsReadOnlyUI () const |
void | SetNoName () |
bool | IsInModalMode () const |
bool | IsInPrepareClose () const |
bool | AcceptStateUpdate () const |
bool | IsHelpDocument () const |
bool | IsDocShared () const |
OUString | GetSharedFileURL () const |
bool | SwitchToShared (bool bShared, bool bSave) |
SAL_DLLPRIVATE void | FreeSharedFile (const OUString &aTempFileURL) |
SAL_DLLPRIVATE void | DoNotCleanShareControlFile () |
void | SetSharedXMLFlag (bool bFlag) const |
bool | HasSharedXMLFlagSet () const |
SAL_DLLPRIVATE void | SetModalMode_Impl (bool bModal) |
SAL_DLLPRIVATE void | SetMacroMode_Impl (bool bModal=true) |
void | ResetError () |
ErrCode | GetError () const |
ErrCode | GetErrorCode () const |
void | SetError (ErrCode rErr) |
void | DoInitUnitTest () |
bool | DoInitNew () |
bool | DoLoad (SfxMedium *pMedium) |
bool | DoLoadExternal (SfxMedium *pMed) |
bool | DoSave () |
bool | DoSaveAs (SfxMedium &rNewStor) |
bool | DoSaveObjectAs (SfxMedium &rNewStor, bool bCommit) |
virtual bool | DoSaveCompleted (SfxMedium *pNewStor=nullptr, bool bRegisterRecent=true) |
virtual void | TerminateEditing () |
bool | LoadOwnFormat (SfxMedium &pMedium) |
virtual bool | SaveAsOwnFormat (SfxMedium &pMedium) |
virtual bool | ConvertFrom (SfxMedium &rMedium) |
virtual bool | ConvertTo (SfxMedium &rMedium) |
virtual bool | InitNew (const css::uno::Reference< css::embed::XStorage > &xStorage) |
virtual bool | Load (SfxMedium &rMedium) |
virtual bool | LoadFrom (SfxMedium &rMedium) |
virtual bool | Save () |
virtual bool | SaveAs (SfxMedium &rMedium) |
virtual bool | SaveCompleted (const css::uno::Reference< css::embed::XStorage > &xStorage) |
bool | SwitchPersistence (const css::uno::Reference< css::embed::XStorage > &xStorage) |
virtual void | UpdateLinks () |
virtual bool | LoadExternal (SfxMedium &rMedium) |
bool | IsConfigOptionsChecked () const |
void | SetConfigOptionsChecked (bool bChecked) |
virtual bool | QuerySlotExecutable (sal_uInt16 nSlotId) |
void | SaveChildren (bool bObjectsOnly=false) |
bool | SaveAsChildren (SfxMedium &rMedium) |
bool | SwitchChildrenPersistence (const css::uno::Reference< css::embed::XStorage > &xStorage, bool bForceNonModified=false) |
bool | SaveCompletedChildren () |
virtual bool | InsertGeneratedStream (SfxMedium &rMedium, css::uno::Reference< css::text::XTextRange > const &xInsertPosition) |
virtual bool | ImportFrom (SfxMedium &rMedium, css::uno::Reference< css::text::XTextRange > const &xInsertPosition) |
bool | ExportTo (SfxMedium &rMedium) |
bool | PrepareForSigning (weld::Window *pDialogParent) |
bool | CheckIsReadonly (bool bSignScriptingContent, weld::Window *pDialogParent=nullptr) |
void | RecheckSignature (bool bAlsoRecheckScriptingSignature) |
void | AfterSigning (bool bSignSuccess, bool bSignScriptingContent) |
bool | HasValidSignatures () const |
SignatureState | GetDocumentSignatureState () |
bool | SignDocumentContent (weld::Window *pDialogParent) |
css::uno::Sequence< css::security::DocumentSignatureInformation > | GetDocumentSignatureInformation (bool bScriptingContent, const css::uno::Reference< css::security::XDocumentDigitalSignatures > &xSigner=css::uno::Reference< css::security::XDocumentDigitalSignatures >()) |
bool | SignDocumentContentUsingCertificate (const css::uno::Reference< css::security::XCertificate > &xCertificate) |
bool | ResignDocument (css::uno::Sequence< css::security::DocumentSignatureInformation > &rSignaturesInfo) |
void | SignSignatureLine (weld::Window *pDialogParent, const OUString &aSignatureLineId, const css::uno::Reference< css::security::XCertificate > &xCert, const css::uno::Reference< css::graphic::XGraphic > &xValidGraphic, const css::uno::Reference< css::graphic::XGraphic > &xInvalidGraphic, const OUString &aComment) |
SignatureState | GetScriptingSignatureState () |
bool | SignScriptingContent (weld::Window *pDialogParent) |
DECL_DLLPRIVATE_LINK (SignDocumentHandler, weld::Button &, void) | |
virtual std::shared_ptr< SfxDocumentInfoDialog > | CreateDocumentInfoDialog (weld::Window *pParent, const SfxItemSet &rItemSet) |
ErrCode | CallBasic (std::u16string_view rMacro, std::u16string_view rBasicName, SbxArray *pArgs, SbxValue *pRet=nullptr) |
ErrCode | CallXScript (const OUString &rScriptURL, const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Any &aRet, css::uno::Sequence< sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam, bool bRaiseError=true, const css::uno::Any *aCaller=nullptr) |
bool | AdjustMacroMode () |
SvKeyValueIterator * | GetHeaderAttributes () |
void | ClearHeaderAttributesForSourceViewHack () |
void | SetHeaderAttributesForSourceViewHack () |
bool | IsQueryLoadTemplate () const |
bool | IsUseUserData () const |
bool | IsUseThumbnailSave () const |
bool | IsLoadReadonly () const |
bool | IsSaveVersionOnClose () const |
void | SetQueryLoadTemplate (bool b) |
void | SetUseUserData (bool bNew) |
void | SetUseThumbnailSave (bool _bNew) |
void | SetLoadReadonly (bool _bReadonly) |
void | SetSaveVersionOnClose (bool bSet) |
void | ResetFromTemplate (const OUString &rTemplateName, std::u16string_view rFileName) |
sal_uInt32 | GetModifyPasswordHash () const |
bool | SetModifyPasswordHash (sal_uInt32 nHash) |
void | SetMacroCallsSeenWhileLoading () |
bool | GetMacroCallsSeenWhileLoading () const |
const css::uno::Sequence< css::beans::PropertyValue > & | GetModifyPasswordInfo () const |
bool | SetModifyPasswordInfo (const css::uno::Sequence< css::beans::PropertyValue > &aInfo) |
virtual bool | PrepareClose (bool bUI=true) |
virtual HiddenInformation | GetHiddenInformationState (HiddenInformation nStates) |
sal_Int16 | QueryHiddenInformation (HiddenWarningFact eFact, weld::Window *pParent) |
bool | IsSecurityOptOpenReadOnly () const |
void | SetSecurityOptOpenReadOnly (bool bOpenReadOnly) |
Size | GetFirstPageSize () const |
bool | DoClose () |
std::shared_ptr< GDIMetaFile > | GetPreviewMetaFile (bool bFullContent=false) const |
BitmapEx | GetPreviewBitmap () const |
virtual void | CancelTransfers () |
bool | GenerateAndStoreThumbnail (bool bEncrypted, const css::uno::Reference< css::embed::XStorage > &xStor) |
bool | WriteThumbnail (bool bEncrypted, const css::uno::Reference< css::io::XStream > &xStream) |
bool | IsInGenerateAndStoreThumbnail () const |
bool | IsAvoidRecentDocs () const |
bool | IsRememberingSignature () const |
void | AvoidRecentDocs (bool bAvoid) |
bool | IsContinueImportOnFilterExceptions (std::u16string_view aErrMessage) |
bool | IsAbortingImport () const |
void | FinishedLoading (SfxLoadedFlags nWhich=SfxLoadedFlags::ALL) |
void | TemplateDisconnectionAfterLoad () |
void | SetLoading (SfxLoadedFlags nFlags) |
bool | IsLoading () const |
bool | IsLoadingFinished () const |
void | SetAutoLoad (const INetURLObject &, sal_uInt32 nTime, bool bReload) |
bool | IsAutoLoadLocked () const |
bool | IsPreview () const |
SfxObjectCreateMode | GetCreateMode () const |
SfxProgress * | GetProgress () const |
void | SetWaitCursor (bool bSet) const |
void | SetTitle (const OUString &rTitle) |
OUString | GetTitle (sal_uInt16 nMaxLen=0) const |
void | InvalidateName () |
virtual ::sfx2::SvLinkSource * | DdeCreateLinkSource (const OUString &rItem) |
virtual void | ReconnectDdeLink (SfxObjectShell &rServer) |
virtual SfxStyleSheetBasePool * | GetStyleSheetPool () |
virtual void | LoadStyles (SfxObjectShell &rSource) |
virtual sfx2::StyleManager * | GetStyleManager () |
void | SetAutoStyleFilterIndex (sal_uInt16 nSet) |
sal_uInt16 | GetAutoStyleFilterIndex () const |
bool | HasBasic () const |
BasicManager * | GetBasicManager () const |
css::uno::Reference< css::script::XLibraryContainer > | GetBasicContainer () |
css::uno::Reference< css::script::XLibraryContainer > | GetDialogContainer () |
StarBASIC * | GetBasic () const |
std::optional< NamedColor > | GetRecentColor (sal_uInt16 nSlotId) |
void | SetRecentColor (sal_uInt16 nSlotId, const NamedColor &rColor) |
virtual std::set< Color > | GetDocColors () |
virtual std::shared_ptr< model::ColorSet > | GetThemeColors () |
virtual sfx::AccessibilityIssueCollection | runAccessibilityCheck () |
virtual SfxObjectShell * | GetObjectShell () override |
css::uno::Reference< css::frame::XModel3 > | GetModel () const |
void | SetBaseModel (SfxBaseModel *pModel) |
css::uno::Reference< css::frame::XModel3 > | GetBaseModel () const |
virtual css::uno::Sequence< OUString > | GetEventNames () |
css::uno::Reference< css::awt::XWindow > | GetDialogParent (SfxMedium const *pMedium=nullptr) |
bool | IsInPlaceActive () const |
bool | IsUIActive () const |
bool | isEditDocLocked () const |
bool | isContentExtractionLocked () const |
bool | isExportLocked () const |
bool | isPrintLocked () const |
bool | isSaveLocked () const |
void | EnableSetModified (bool bEnable=true) |
bool | IsEnableSetModified () const |
virtual void | SetModified (bool bModified=true) |
bool | IsModified () const |
void | SetupStorage (const css::uno::Reference< css::embed::XStorage > &xStorage, sal_Int32 nVersion, bool bTemplate) const |
css::uno::Reference< css::embed::XStorage > const & | GetStorage () |
SvGlobalName const & | GetClassName () const |
virtual css::uno::Reference< css::task::XInteractionHandler > | getInteractionHandler () const override |
virtual css::uno::Reference< css::embed::XStorage > | getStorage () const override |
virtual comphelper::EmbeddedObjectContainer & | getEmbeddedObjectContainer () const override |
bool | isEnableSetModified () const override |
virtual OUString | getDocumentBaseURL () const override |
comphelper::EmbeddedObjectContainer & | GetEmbeddedObjectContainer () const |
void | ClearEmbeddedObjects () |
virtual Printer * | GetDocumentPrinter () |
virtual OutputDevice * | GetDocumentRefDev () |
virtual void | OnDocumentPrinterChanged (Printer *pNewPrinter) |
virtual tools::Rectangle | GetVisArea (sal_uInt16 nAspect) const |
virtual void | SetVisArea (const tools::Rectangle &rVisArea) |
const tools::Rectangle & | GetVisArea () const |
void | SetVisAreaSize (const Size &rVisSize) |
MapUnit | GetMapUnit () const |
void | SetMapUnit (MapUnit nMUnit) |
void | FillTransferableObjectDescriptor (TransferableObjectDescriptor &rDesc) const |
void | DoDraw (OutputDevice *, const Point &rObjPos, const Size &rSize, const JobSetup &rSetup, sal_uInt16 nAspect=ASPECT_CONTENT, bool bOutputForScreen=false) |
virtual void | Draw (OutputDevice *, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen)=0 |
virtual void | FillClass (SvGlobalName *pClassName, SotClipboardFormatId *pFormat, OUString *pFullTypeName, sal_Int32 nVersion, bool bTemplate=false) const=0 |
virtual bool | IsChangeRecording () const |
virtual bool | HasChangeRecordProtection () const |
virtual void | SetChangeRecording (bool bActivate, bool bLockAllViews=false) |
virtual void | SetProtectionPassword (const OUString &rPassword) |
virtual bool | GetProtectionHash (css::uno::Sequence< sal_Int8 > &rPasswordHash) |
void | AppendInfoBarWhenReady (const OUString &sId, const OUString &sPrimaryMessage, const OUString &sSecondaryMessage, InfobarType aInfobarType, bool bShowCloseButton=true) |
std::vector< InfobarData > & | getPendingInfobars () |
SAL_DLLPRIVATE bool | CreatePreview_Impl (bool bFullContent, VirtualDevice *pDevice, GDIMetaFile *pFile) const |
SAL_DLLPRIVATE bool | ConnectTmpStorage_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage, SfxMedium *pMedium) |
SAL_DLLPRIVATE bool | DisconnectStorage_Impl (SfxMedium &rSrcMedium, SfxMedium &rTargetMedium) |
SAL_DLLPRIVATE bool | PutURLContentsToVersionStream_Impl (const OUString &aURL, const css::uno::Reference< css::embed::XStorage > &xDocStorage, const OUString &aStreamName) |
SAL_DLLPRIVATE OUString | CreateTempCopyOfStorage_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage) |
SAL_DLLPRIVATE void | InitOwnModel_Impl () |
SAL_DLLPRIVATE void | BreakMacroSign_Impl (bool bBreakMacroSing) |
SAL_DLLPRIVATE void | CheckSecurityOnLoading_Impl () |
SAL_DLLPRIVATE void | CheckForBrokenDocSignatures_Impl () |
SAL_DLLPRIVATE void | CheckEncryption_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler) |
SAL_DLLPRIVATE void | SetModifyPasswordEntered (bool bEntered=true) |
SAL_DLLPRIVATE bool | IsModifyPasswordEntered () const |
SAL_DLLPRIVATE void | InitBasicManager_Impl () |
SAL_DLLPRIVATE SfxObjectShell_Impl * | Get_Impl () |
SAL_DLLPRIVATE const SfxObjectShell_Impl * | Get_Impl () const |
SAL_DLLPRIVATE void | SetCreateMode_Impl (SfxObjectCreateMode nMode) |
SAL_DLLPRIVATE void | DoDraw_Impl (OutputDevice *pDev, const Point &rViewPos, const Fraction &rScaleX, const Fraction &rScaleY, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen) |
SAL_DLLPRIVATE void | ExecFile_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | GetState_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | PrintExec_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | PrintState_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | ExecProps_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | StateProps_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | ExecView_Impl (SfxRequest &) |
SAL_DLLPRIVATE bool | ImportFromGeneratedStream_Impl (const css::uno::Reference< css::io::XStream > &xStream, const css::uno::Sequence< css::beans::PropertyValue > &aMediaDescr) |
SAL_DLLPRIVATE void | UpdateFromTemplate_Impl () |
SAL_DLLPRIVATE bool | CanReload_Impl () |
SAL_DLLPRIVATE void | SetNamedVisibility_Impl () |
SAL_DLLPRIVATE bool | DoSave_Impl (const SfxItemSet *pSet) |
SAL_DLLPRIVATE bool | Save_Impl (const SfxItemSet *pSet) |
SAL_DLLPRIVATE bool | PreDoSaveAs_Impl (const OUString &rFileName, const OUString &rFiltName, SfxItemSet const &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs) |
SAL_DLLPRIVATE bool | APISaveAs_Impl (std::u16string_view aFileName, SfxItemSet &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs) |
SAL_DLLPRIVATE bool | CommonSaveAs_Impl (const INetURLObject &aURL, const OUString &aFilterName, SfxItemSet &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs) |
SAL_DLLPRIVATE bool | GeneralInit_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage, bool bTypeMustBeSetAlready) |
SAL_DLLPRIVATE void | PrepareSecondTryLoad_Impl () |
SAL_DLLPRIVATE void | SetInitialized_Impl (const bool i_fromInitNew) |
SAL_DLLPRIVATE IndexBitSet & | GetNoSet_Impl () |
SAL_DLLPRIVATE void | SetProgress_Impl (SfxProgress *pProgress) |
SAL_DLLPRIVATE void | PostActivateEvent_Impl (SfxViewFrame const *) |
SAL_DLLPRIVATE void | SetActivateEvent_Impl (SfxEventHintId) |
SAL_DLLPRIVATE SignatureState | ImplGetSignatureState (bool bScriptingContent=false) |
SAL_DLLPRIVATE bool | QuerySaveSizeExceededModules_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler) |
SAL_DLLPRIVATE void | CheckOut () |
SAL_DLLPRIVATE void | CancelCheckOut () |
SAL_DLLPRIVATE void | CheckIn () |
SAL_DLLPRIVATE css::uno::Sequence< css::document::CmisVersion > | GetCmisVersions () const |
virtual const sfx2::IXmlIdRegistry * | GetXmlIdRegistry () const |
bool | IsSignPDF () const |
css::uno::Reference< css::security::XCertificate > | GetSignPDFCertificate () const |
css::uno::Sequence< css::beans::PropertyValue > | GetDocumentProtectionFromGrabBag () const |
virtual std::unique_ptr< LockAllViewsGuard > | LockAllViews () |
Public Member Functions inherited from SfxShell | |
virtual | ~SfxShell () override |
virtual SfxInterface * | GetInterface () const |
void | SetName (const OUString &rName) |
const OUString & | GetName () const |
SfxViewShell * | GetViewShell () const |
const SfxPoolItem * | GetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr) |
const SfxPoolItem * | ExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr) |
void | ExecuteSlot (SfxRequest &rReq, bool bAsync) |
SfxItemPool & | GetPool () const |
void | SetPool (SfxItemPool *pNewPool) |
virtual SfxUndoManager * | GetUndoManager () |
void | SetUndoManager (SfxUndoManager *pNewUndoMgr) |
SfxRepeatTarget * | GetRepeatTarget () const |
void | SetRepeatTarget (SfxRepeatTarget *pTarget) |
virtual void | Invalidate (sal_uInt16 nId=0) |
virtual bool | IsDesignMode () const |
bool | IsActive () const |
virtual void | Activate (bool bMDI) |
virtual void | Deactivate (bool bMDI) |
SfxDispatcher * | GetDispatcher () const |
SfxViewFrame * | GetFrame () const |
virtual bool | HasUIFeature (SfxShellFeature nFeature) const |
void | UIFeatureChanged () |
const SfxPoolItem * | GetItem (sal_uInt16 nSlotId) const |
const T * | GetItem (TypedWhichId< T > nWhich) const |
void | PutItem (const SfxPoolItem &rItem) |
void | SetVerbs (const css::uno::Sequence< css::embed::VerbDescriptor > &aVerbs) |
const css::uno::Sequence< css::embed::VerbDescriptor > & | GetVerbs () const |
void | VerbExec (SfxRequest &) |
SAL_DLLPRIVATE const SfxSlot * | GetVerbSlot_Impl (sal_uInt16 nId) const |
virtual SfxObjectShell * | GetObjectShell () |
void | SetDisableFlags (SfxDisableFlags nFlags) |
SfxDisableFlags | GetDisableFlags () const |
virtual std::optional< SfxItemSet > | CreateItemSet (sal_uInt16 nId) |
virtual void | ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet) |
void | SetContextName (const OUString &rsContextName) |
void | BroadcastContextForActivation (const bool bIsActivated) |
bool | SetContextBroadcasterEnabled (const bool bIsEnabled) |
SAL_DLLPRIVATE bool | CanExecuteSlot_Impl (const SfxSlot &rSlot) |
virtual bool | IsConditionalFastCall (const SfxRequest &rReq) |
SAL_DLLPRIVATE void | DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI) |
SAL_DLLPRIVATE void | DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI) |
Private Member Functions | |
void | Construct (bool bClipboard) |
Static Private Member Functions | |
static void | InitInterface_Impl () |
SfxInterface initializer. More... | |
static void | setEditMode (DrawViewShell *pDrawViewShell, bool isMasterPage) |
Private Attributes | |
SdDrawDocument * | mpDoc |
std::unique_ptr< SfxUndoManager > | mpUndoManager |
VclPtr< SfxPrinter > | mpPrinter |
::sd::ViewShell * | mpViewShell |
std::unique_ptr< FontList > | mpFontList |
DocumentType | meDocType |
SfxStyleFamily | mnStyleFamily |
o3tl::span< sal_uInt16 const > | mpFilterSIDs |
bool | mbFilterEnable |
bool | mbSdDataObj |
bool | mbInDestruction |
bool | mbOwnPrinter |
bool | mbOwnDocument |
Additional Inherited Members | |
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 inherited from SfxObjectShell | |
SfxObjectShell (SfxObjectCreateMode) | |
SfxObjectShell (SfxModelFlags) | |
virtual | ~SfxObjectShell () override |
void | ModifyChanged () |
virtual bool | Close () override |
virtual void | DoFlushDocInfo () |
void | AddToRecentlyUsedList () |
Protected Member Functions inherited from SfxShell | |
SfxShell () | |
SfxShell (SfxViewShell *pViewSh) | |
void | SetViewShell_Impl (SfxViewShell *pView) |
SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
Static Protected Member Functions inherited from SfxShell | |
static void | HandleOpenXmlFilterSettings (SfxRequest &) |
Definition at line 47 of file DrawDocShell.hxx.
sd::DrawDocShell::DrawDocShell | ( | SfxObjectCreateMode | eMode, |
bool | bSdDataObj, | ||
DocumentType | eDocumentType | ||
) |
Definition at line 118 of file docshell.cxx.
References Construct(), EMBEDDED, eMode, and INTERNAL.
sd::DrawDocShell::DrawDocShell | ( | SfxModelFlags | nModelCreationFlags, |
bool | bSdDataObj, | ||
DocumentType | eDocumentType | ||
) |
Definition at line 132 of file docshell.cxx.
References Construct().
sd::DrawDocShell::DrawDocShell | ( | SdDrawDocument * | pDoc, |
SfxObjectCreateMode | eMode, | ||
bool | bSdDataObj, | ||
DocumentType | eDocumentType | ||
) |
Definition at line 144 of file docshell.cxx.
References Construct(), EMBEDDED, eMode, and INTERNAL.
|
overridevirtual |
Definition at line 158 of file docshell.cxx.
References VclPtr< class reference_type >::disposeAndClear(), SfxDispatcher::ExecuteList(), SfxViewFrame::GetDispatcher(), SfxViewFrame::GetFirst(), SfxShell::GetFrame(), sd::View::getSearchContext(), sd::ViewShell::GetView(), mbInDestruction, mbOwnDocument, mbOwnPrinter, mpDoc, mpFontList, mpPrinter, mpUndoManager, mpViewShell, sd::SearchContext::resetSearchFunction(), and SdrModel::SetSdrUndoManager().
|
overridevirtual |
Reimplemented from SfxShell.
Definition at line 350 of file docshell.cxx.
References ApplySlotFilter(), mpDoc, and SdDrawDocument::StartOnlineSpelling().
void sd::DrawDocShell::ApplySlotFilter | ( | ) | const |
apply configured slot filters
Definition at line 397 of file docshell.cxx.
References o3tl::span< typename T >::empty(), SfxDispatcher::GetBindings(), SfxViewFrame::GetDispatcher(), SfxViewShell::GetFirst(), SfxViewShell::GetNext(), SfxViewShell::GetObjectShell(), SfxViewShell::GetViewFrame(), SfxBindings::InvalidateAll(), mbFilterEnable, mpFilterSIDs, and SfxDispatcher::SetSlotFilter().
Referenced by Activate().
void sd::DrawDocShell::CancelSearching | ( | ) |
Definition at line 381 of file docshell.cxx.
References sd::View::getSearchContext(), sd::ViewShell::GetView(), mpViewShell, and sd::SearchContext::resetSearchFunction().
Referenced by Execute().
bool sd::DrawDocShell::CheckPageName | ( | weld::Window * | pWin, |
OUString & | rName | ||
) |
checks, if the given name is a valid new name for a slide
Checks if the page exists.
If the name is invalid, an <type>SvxNameDialog</type> pops up that queries again for a new name until it is ok or the user chose Cancel.
pWin | is necessary to pass to the <type>SvxNameDialog</type> in case an invalid name was entered. |
rName | the new name that is to be set for a slide. This string may be set to an empty string (see below). |
If so, we force the user to enter a not yet used name.
Definition at line 270 of file docshel2.cxx.
References SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateSvxNameDialog(), Draw, sd::ViewShell::GetCurrentFunction(), GetDocumentType(), HID_SD_NAMEDIALOG_PAGE, IsNewPageNameValid(), LINK, mpViewShell, RET_OK, and SdResId().
Referenced by sd::TabControl::AllowRenaming(), and sd::View::GetExchangeList().
void sd::DrawDocShell::ClearUndoBuffer | ( | ) |
Definition at line 455 of file docshell.cxx.
References SfxUndoManager::Clear(), SfxViewFrame::GetFirst(), sd::ViewShellBase::GetMainViewShell(), SfxViewFrame::GetNext(), sd::OutlineView::GetOutliner(), SfxUndoManager::GetUndoActionCount(), GetUndoManager(), SfxShell::GetViewShell(), and sd::View::SdrEndTextEdit().
Referenced by sd::DrawViewShell::FuSupport(), and SdXMLFilter::Import().
void sd::DrawDocShell::Connect | ( | sd::ViewShell * | pViewSh | ) |
Definition at line 147 of file docshel2.cxx.
References mpViewShell.
Referenced by sd::PresentationViewShell::Activate(), sd::ViewShell::Activate(), sd::framework::BasicViewFactory::ActivateCenterView(), sd::DrawViewShell::GotoBookmark(), and sd::ViewShell::SetIsMainViewShell().
|
private |
Referenced by DrawDocShell().
|
overridevirtual |
load from a foreign format
Reimplemented from SfxObjectShell.
Definition at line 442 of file docshel4.cxx.
References SdDrawDocument::CreateFirstPages(), ERRCODE_NONE, SfxObjectShell::FinishedLoading(), SfxItemSet::Get(), SfxMedium::GetFilter(), SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), SfxObjectShell::GetMedium(), SdCGMFilter::Import(), SdGRFFilter::Import(), SdPdfFilter::Import(), SdPPTFilter::Import(), SdXMLFilter::Import(), SfxObjectShell::IsPreview(), mpDoc, Normal, pFilterPowerPoint97(), pFilterPowerPoint97AutoPlay(), pFilterPowerPoint97Template(), SfxItemSet::Put(), rSet, SdrModel::SetStarDrawPreviewMode(), SdDrawDocument::SetStartWithPresentation(), SfxObjectShell::SetWaitCursor(), SOFFICE_FILEFORMAT_60, and SdDrawDocument::StopWorkStartupDelay().
|
overridevirtual |
save to foreign format
Reimplemented from SfxObjectShell.
Definition at line 595 of file docshel4.cxx.
References SfxMedium::GetFilter(), SdrModel::GetPageCount(), sd::ViewShell::GetView(), SdrObjEditView::IsTextEdit(), mpDoc, mpViewShell, Normal, sd::View::SdrEndTextEdit(), and SOFFICE_FILEFORMAT_60.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 965 of file docshel4.cxx.
References SfxObjectShell::Current(), and rSet.
|
overridevirtual |
Reimplemented from SfxShell.
Definition at line 359 of file docshell.cxx.
sd::DrawDocShell::DECL_DLLPRIVATE_LINK | ( | OnlineSpellCallback | , |
SpellCallbackInfo & | , | ||
void | |||
) |
sd::DrawDocShell::DECL_DLLPRIVATE_LINK | ( | RenameSlideHdl | , |
AbstractSvxNameDialog & | , | ||
bool | |||
) |
void sd::DrawDocShell::Disconnect | ( | sd::ViewShell const * | pViewSh | ) |
Definition at line 152 of file docshel2.cxx.
References mpViewShell.
Referenced by sd::ViewShell::Deactivate(), sd::ViewShell::Exit(), sd::framework::BasicViewFactory::ReleaseView(), and sd::ViewShell::SetIsMainViewShell().
|
overridevirtual |
Drawing of DocShell (with the helper class SdDrawViewShell)
Implements SfxObjectShell.
Definition at line 47 of file docshel2.cxx.
References Point::AdjustX(), Point::AdjustY(), ASPECT_THUMBNAIL, SdDrawDocument::GetFrameViewList(), MapMode::GetOrigin(), sd::FrameView::GetPageKind(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), sd::FrameView::GetSelectedPage(), GetVisArea(), i, SdPage::IsSelected(), mpDoc, OUTDEV_PRINTER, OUTDEV_WINDOW, pOut, MapMode::SetOrigin(), and Standard.
void sd::DrawDocShell::Execute | ( | SfxRequest & | rReq | ) |
Handles SFX-Requests.
Definition at line 134 of file docshel3.cxx.
References CancelSearching(), SvxSearchItem::Clone(), sfx2::SfxNotebookBar::CloseMethod(), SfxAbstractDialogFactory::Create(), sd::FuHangulHanjaConversion::Create(), sd::FuSearch::createPtr(), SfxRequest::Done(), EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), EE_TEXTPOS_ALL, sfx2::SfxNotebookBar::ExecMethod(), SfxShell::ExecuteSlot(), SfxItemSet::Get(), sd::ViewShell::GetActiveWindow(), SfxRequest::GetArg(), SfxRequest::GetArgs(), SfxViewFrame::GetBindings(), SvxColorListItem::GetColorList(), sd::ViewShell::GetDoc(), sd::ViewShell::GetDrawView(), EditView::GetEditEngine(), OutlinerView::GetEditView(), EditEngine::GetEmptyItemSet(), SfxObjectShell::GetFirst(), SfxShell::GetFrame(), sd::ViewShell::GetFrameWeld(), sd::SearchContext::getFunctionSearch(), SfxShell::GetItem(), SvtLanguageTable::GetLanguageType(), SfxObjectShell::GetNext(), SdDrawDocument::GetOnlineSpell(), SvtLanguageOptions::GetScriptTypeOfLanguage(), sd::View::getSearchContext(), EditView::GetSelection(), SfxRequest::GetSlot(), SfxShell::GetStaticInterface(), SdrObjEditView::GetTextEditOutlinerView(), CntUnencodedStringItem::GetValue(), sd::ViewShell::GetView(), sd::ViewShell::GetViewShellBase(), EditView::InsertText(), SfxObjectShell::Invalidate(), sfx2::SfxNotebookBar::IsActive(), sd::SlideShow::IsRunning(), LANGUAGE_KOREAN, sd::lcl_setLanguage(), mpDoc, mpViewShell, ESelection::nEndPos, nPos, ESelection::nStartPos, SfxItemSet::Put(), SD_MOD, EditView::SetAttribs(), SfxRequest::SetReturnValue(), sd::SearchContext::setSearchFunction(), EditView::SetSelection(), EditView::SpellIgnoreWord(), SdDrawDocument::StartOnlineSpelling(), and u.
Referenced by sd::DrawViewShell::Execute(), and sd::OutlineViewShell::Execute().
|
overridevirtual |
Implements SfxObjectShell.
Definition at line 906 of file docshel4.cxx.
References Draw, meDocType, SdResId(), SO3_SDRAW_CLASSID_60, SO3_SIMPRESS_CLASSID_60, SOFFICE_FILEFORMAT_60, and SOFFICE_FILEFORMAT_8.
|
inline |
Definition at line 109 of file DrawDocShell.hxx.
Referenced by sd::CustomAnimationPane::addUndo(), SdDrawDocument::AllocSdDrawDocument(), SdModule::ApplyItemSet(), sd::ViewClipboard::AssignMasterPage(), sd::DrawView::CompleteRedraw(), sd::slidesorter::view::InsertionIndicatorOverlay::Create(), SdModule::CreateEmptyDocument(), SdModule::CreateItemSet(), sd::Window::DataChanged(), SdModule::Execute(), SdXMLFilter::Export(), SdPresLayoutDlg::FillValueSet(), sd::FrameView::FrameView(), sd::slidesorter::controller::SlotManager::FuSupport(), sd::ViewClipboard::GetFirstMasterPage(), SdModule::GetOptionStream(), SdModule::GetSdOptions(), SdModule::GetState(), IMPL_LINK_NOARG(), sd::sidebar::IMPL_LINK_NOARG(), SdXMLFilter::Import(), sd::ModifyGuard::init(), SdDrawDocument::InsertBookmark(), SdDrawDocument::InsertBookmarkAsObject(), SdDrawDocument::InsertBookmarkAsPage(), sd::ViewClipboard::InsertSlides(), IsNewPageNameValid(), Load(), SdXImpressDocument::Notify(), sd::sidebar::TemplatePageObjectProvider::operator()(), SdModule::OutlineToImpress(), sd::PreviewRenderer::PaintPage(), sd::slidesorter::controller::Clipboard::PasteTransferable(), sd::sidebar::SlideBackground::populateMasterSlideDropdown(), sd::DrawViewShell::ReadUserDataSequence(), SdPresLayoutDlg::SdPresLayoutDlg(), SdTPAction::SetView(), sd::CustomAnimationPane::updatePathFromMotionPathTag(), sd::ViewShellBase::ViewShellBase(), and sd::DrawViewShell::WriteUserDataSequence().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 174 of file docshel4.cxx.
References GetPrinter().
|
overridevirtual |
Return the reference device for the current document.
When the inherited implementation returns a device then this is passed to the caller. Otherwise the returned value depends on the printer independent layout mode and will usually be either a printer or a virtual device used for screen rendering.
Reimplemented from SfxObjectShell.
Definition at line 944 of file docshel4.cxx.
References SfxObjectShell::GetDocumentRefDev(), SdrModel::GetRefDevice(), and mpDoc.
|
inline |
Definition at line 110 of file DrawDocShell.hxx.
Referenced by CheckPageName(), SdModule::GetState(), IMPL_STATIC_LINK(), sd::DocumentRenderer::Implementation::Implementation(), IsNewPageNameValid(), and sd::DocumentRenderer::Implementation::PreparePages().
FrameView * sd::DrawDocShell::GetFrameView | ( | ) |
Definition at line 160 of file docshel2.cxx.
References sd::ViewShell::GetFrameView(), and mpViewShell.
Referenced by SdModule::CreateItemSet(), GetPagePreviewBitmap(), and GotoBookmark().
Creates a bitmap of an arbitrary page.
Definition at line 175 of file docshel2.cxx.
References DBG_ASSERT, SdrPaintView::GetActiveLayer(), Application::GetDefaultDevice(), GetFrameView(), SdrPaintView::GetGridCoarse(), SdrPaintView::GetGridFine(), SdrPageView::GetLockedLayers(), sd::FrameView::GetLockedLayers(), SdrPageView::GetPrintableLayers(), sd::FrameView::GetPrintableLayers(), SdrPage::GetSize(), SdrSnapView::GetSnapAngle(), SdrSnapView::GetSnapGridWidthX(), SdrSnapView::GetSnapGridWidthY(), SdrSnapView::GetSnapMagneticPixel(), sd::FrameView::GetStandardHelpLines(), SdrPageView::GetVisibleLayers(), sd::FrameView::GetVisibleLayers(), Size::Height(), SdrSnapView::IsAngleSnapEnabled(), SdrSnapView::IsBigOrtho(), SdrSnapView::IsBordSnap(), SdrSnapView::IsCrookNoContortion(), SdrDragView::IsDragStripes(), BitmapEx::IsEmpty(), SdrMarkView::IsFrameDragSingles(), SdrPaintView::IsGridFront(), SdrSnapView::IsGridSnap(), SdrPaintView::IsGridVisible(), SdrSnapView::IsHlplSnap(), SdrDragView::IsMarkedHitMovesAlways(), SdrSnapView::IsMoveOnlyDragging(), SdrDragView::IsNoDragXorPolys(), SdrSnapView::IsOConSnap(), SdrSnapView::IsOFrmSnap(), SdrSnapView::IsOPntSnap(), SdrSnapView::IsOrtho(), SdrSnapView::IsSlantButShear(), SdrPageView::SetHelpLines(), SdrPageView::SetLockedLayers(), SdrPageView::SetPrintableLayers(), MapMode::SetScaleX(), MapMode::SetScaleY(), SdrPageView::SetVisibleLayers(), and Size::Width().
Referenced by SdPresLayoutDlg::FillValueSet(), and IMPL_LINK_NOARG().
SfxPrinter * sd::DrawDocShell::GetPrinter | ( | bool | bCreate | ) |
Creates (if necessary) and returns a SfxPrinter.
Definition at line 95 of file docshel4.cxx.
References VclPtr< class reference_type >::Create(), SdDrawDocument::GetDocumentType(), SfxShell::GetPool(), mbOwnPrinter, mpDoc, mpPrinter, SD_MOD, MapMode::SetMapUnit(), SfxFlagItem::SetValue(), and UpdateRefDevice().
Referenced by SdModule::ApplyItemSet(), SdDrawDocument::CreateFirstPages(), sd::Window::DataChanged(), GetDocumentPrinter(), sd::ViewShellBase::GetPrinter(), and UpdateFontList().
void sd::DrawDocShell::GetState | ( | SfxItemSet & | rSet | ) |
Definition at line 205 of file docshell.cxx.
References bVisible, SfxViewFrame::Current(), EE_CHAR_LANGUAGE(), SfxWhichIter::FirstWhich(), LanguageTag::getBcp47(), SfxViewFrame::GetBindings(), SdDrawDocument::GetDocumentType(), SfxShell::GetFrame(), SfxShell::GetInterface(), SfxItemSet::GetItemState(), SdDrawDocument::GetLanguage(), SvtLanguageTable::GetLanguageString(), SdrObject::GetOutlinerParaObject(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdDrawDocument::GetPool(), SfxShell::GetPool(), SfxItemPool::GetSlotId(), SfxShell::GetSlotState(), Impress, comphelper::LibreOfficeKit::isActive(), SvtCJKOptions::IsAnyEnabled(), SdrObjListIter::IsMore(), SfxObjectShell::IsReadOnly(), SfxItemPool::IsWhich(), LANGUAGE_DONTKNOW, mpDoc, mpFontList, mpViewShell, nCount, SdrObjListIter::Next(), SfxWhichIter::NextWhich(), SfxItemSet::Put(), rSet, SD_MOD, sfx2::SfxNotebookBar::StateMethod(), and u.
Referenced by sd::DrawViewShell::GetState(), and sd::OutlineViewShell::GetState().
|
inline |
Definition at line 151 of file DrawDocShell.hxx.
Referenced by sd::ViewShell::GetMenuState().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 690 of file docshel4.cxx.
References SdrModel::GetStyleSheetPool(), and mpDoc.
Referenced by sd::FuPresentationObjects::DoExecute(), sd::TextObjectBar::Execute(), sd::FuBulletAndPosition::GetNumBulletItem(), sd::ViewShell::GetNumBulletItem(), sd::DrawViewShell::ModelHasChanged(), sd::FuSelection::MouseButtonUp(), and sd::OutlineBulletDlg::OutlineBulletDlg().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 487 of file docshell.cxx.
References SdrPage::getSdrPageProperties(), SdrPageProperties::GetTheme(), GetViewShell(), SdrPage::IsMasterPage(), and SdrPage::TRG_GetMasterPage().
|
overridevirtual |
Reimplemented from SfxShell.
Definition at line 363 of file docshell.cxx.
References mpUndoManager.
Referenced by sd::CustomAnimationPane::addUndo(), sd::FuPage::ApplyItemSet(), sd::BezierObjectBar::BezierObjectBar(), ClearUndoBuffer(), sd::FuPresentationObjects::DoExecute(), sd::OutlineView::EndModelChange(), sd::FuPage::ExecuteDialog(), sd::View::ExecuteDrop(), sd::DrawViewShell::FuTemporary(), sd::OutlineView::GetActualPage(), SdDrawDocument::GetUndoManager(), sd::GraphicObjectBar::GraphicObjectBar(), sd::ViewShell::ImpGetUndoManager(), SdDrawDocument::InsertBookmarkAsPage(), sd::MediaObjectBar::MediaObjectBar(), sd::OutlineView::OutlineView(), sd::OutlineView::PrepareClose(), SdDrawDocument::RemoveUnnecessaryMasterPages(), sd::DrawView::SetAttributes(), sd::View::SetMarkedOriginalSize(), sd::DrawView::SetMasterAttributes(), SdDrawDocument::SetMasterPage(), sd::ui::table::TableObjectBar::TableObjectBar(), sd::TextObjectBar::TextObjectBar(), and sd::CustomAnimationPane::updatePathFromMotionPathTag().
|
inline |
Definition at line 106 of file DrawDocShell.hxx.
Referenced by SdModule::ApplyItemSet(), sd::AnnotationTextWindow::Command(), SdModule::CreateItemSet(), sd::View::DoPaste(), SdModule::Execute(), SdGRFFilter::Export(), SdNavigatorWin::FreshTree(), SdModule::GetState(), GetThemeColors(), SdLayerManager::GetView(), SdXImpressDocument::GetViewShell(), SdPageObjsTLV::GetViewShellForDocShell(), sd::DrawViewShell::GotoBookmark(), IMPL_LINK(), IMPL_LINK_NOARG(), IMPL_STATIC_LINK(), SdNavigatorWin::InitTreeLB(), SdDrawDocument::InsertBookmarkAsObject(), SdDrawDocument::InsertBookmarkAsPage(), sd::AnnotationTextWindow::KeyInput(), SdModule::OutlineToImpress(), SdLayerModifyUndoAction::Redo(), ChangeSlideExclusionStateUndoAction::Redo(), refreshpage(), SdDrawDocument::RemoveUnnecessaryMasterPages(), SdXImpressDocument::render(), SdUndoAction::SdUndoAction(), SdDrawDocument::SetMasterPage(), SdDrawPage::setName(), SdMasterPage::setName(), SdXShape::SetStyleSheet(), SdTPAction::SetView(), sd::View::StartDrag(), SdPageNameControllerItem::StateChangedAtToolBoxControl(), sd::AnnotationWindow::ToggleInsMode(), SdLayerModifyUndoAction::Undo(), ChangeSlideExclusionStateUndoAction::Undo(), SdLayerManager::UpdateLayerView(), and sd::FuSearch::~FuSearch().
SfxViewShell * SfxShell::GetViewShell | ( | ) | const |
const tools::Rectangle & SfxObjectShell::GetVisArea | ( | ) | const |
Referenced by Draw().
|
virtual |
Reimplemented from SfxObjectShell.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 120 of file docshel2.cxx.
References ASPECT_DOCPRINT, ASPECT_THUMBNAIL, sd::ViewShell::GetActiveWindow(), vcl::Window::GetOutputSizePixel(), SdDrawDocument::GetSdPage(), SdrPage::GetSize(), SfxObjectShell::GetVisArea(), tools::Rectangle::IsEmpty(), mpDoc, mpViewShell, vcl::Window::PixelToLogic(), tools::Rectangle::SetSize(), and Standard.
Referenced by sd::DrawViewShell::Construct(), SdXImpressDocument::getRenderer(), sd::PresentationViewShell::PresentationViewShell(), sd::ViewShell::Scroll(), sd::ViewShell::SetPageSizeAndBorder(), sd::DrawViewShell::SetupPage(), sd::ViewShell::VirtHScrollHdl(), and sd::ViewShell::VirtVScrollHdl().
void sd::DrawDocShell::GotoBookmark | ( | std::u16string_view | rBookmark | ) |
Definition at line 695 of file docshel4.cxx.
References SfxViewFrame::Current(), DBG_ASSERT, Draw, SfxViewShell::GetController(), SdDrawDocument::GetDocumentType(), GetFrameView(), SdrModel::GetMasterPage(), SdDrawDocument::GetObj(), SdrModel::GetPage(), SdDrawDocument::GetPageByName(), SdrModel::GetPageCount(), SdPage::GetPageKind(), SdrPage::GetPageNum(), SdrObject::getSdrPageFromSdrObject(), SdrObject::GetSnapRect(), SdrPage::getUnoPage(), SfxShell::GetViewShell(), sd::ViewShell::GetViewShellBase(), Handout, SfxBindings::Invalidate(), mpDoc, mpViewShell, Notes, SDRPAGE_NOTFOUND, setEditMode(), sd::FrameView::SetPageKind(), Standard, o3tl::starts_with(), u, and xController.
Referenced by sd::DrawViewShell::GotoBookmark().
|
overridevirtual |
load from 3rd party format
Reimplemented from SfxObjectShell.
Definition at line 375 of file docshel4.cxx.
References SfxItemSet::Get(), SdrModel::GetDrawOutliner(), SfxMedium::GetFilter(), SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), SfxObjectShell::GetMedium(), SfxObjectShell::ImportFrom(), SfxObjectShell::IsPreview(), mpDoc, SfxItemSet::Put(), rSet, SdrModel::SetCompatibilityFlag(), SdrModel::SetDefaultTabulator(), SdDrawDocument::SetStartWithPresentation(), and SdDrawDocument::SetSummationOfParagraphs().
|
staticprivate |
SfxInterface initializer.
Definition at line 72 of file docshell.cxx.
References SfxShell::GetStaticInterface(), and SfxInterface::RegisterChildWindow().
|
overridevirtual |
Creates new document, opens streams.
Reimplemented from SfxObjectShell.
Definition at line 246 of file docshel4.cxx.
References SfxObjectShell::InitNew(), mbSdDataObj, mpDoc, New, SdDrawDocument::NewOrLoadCompleted(), and SfxObjectShell::SetVisArea().
|
inline |
Definition at line 116 of file DrawDocShell.hxx.
Referenced by SdNavigatorWin::RefreshDocumentLB(), and sd::FuSearch::~FuSearch().
bool sd::DrawDocShell::IsNewPageNameValid | ( | OUString & | rInOutPageName, |
bool | bResetStringIfStandardName = false |
||
) |
checks, if the given name is a valid new name for a slide
This method does not pop up any dialog (like CheckPageName).
rInOutPageName | the new name for a slide that is to be renamed. This string will be set to an empty string if bResetStringIfStandardName is true and the name is of the form of any, possibly not-yet existing, standard slide (e.g. 'Slide 17') |
bResetStringIfStandardName | if true allows setting rInOutPageName to an empty string, which returns true and implies that the slide will later on get a new standard name (with a free slide number). |
Definition at line 304 of file docshel2.cxx.
References Draw, GetDoc(), GetDocumentType(), SdDrawDocument::GetPageByName(), o3tl::getToken(), mpDoc, nIndex, SdResId(), and SDRPAGE_NOTFOUND.
Referenced by CheckPageName(), and sd::slidesorter::controller::Clipboard::CreateSlideTransferable().
bool sd::DrawDocShell::IsPageNameUnique | ( | std::u16string_view | rPagName | ) | const |
checks, if the given name is a unique name for an existing slide
rPageName | the name of an existing slide |
Definition at line 407 of file docshel2.cxx.
References SdDrawDocument::IsPageNameUnique(), and mpDoc.
Referenced by sd::slidesorter::controller::Clipboard::CreateSlideTransferable().
|
overridevirtual |
loads pools and document
Reimplemented from SfxObjectShell.
Definition at line 266 of file docshel4.cxx.
References ASPECT_CONTENT, sd::EffectMigration::DocumentLoaded(), ERRCODE_ABORT, ERRCODE_IO_BROKENPACKAGE, ERRCODE_NONE, SfxObjectShell::FinishedLoading(), SfxItemSet::Get(), SdrObjList::GetAllObjBoundRect(), SfxObjectShell::GetCreateMode(), GetDoc(), SfxObjectShell::getEmbeddedObjectContainer(), SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), SfxObjectShell::GetMedium(), SdDrawDocument::GetSdPage(), SfxMedium::GetStorage(), SotStorage::GetVersion(), SfxObjectShell::GetVisArea(), SdXMLFilter::Import(), SfxObjectShell::IsOwnStorageFormat(), SfxObjectShell::IsPreview(), SfxObjectShell::Load(), mpDoc, Normal, SfxItemSet::Put(), rSet, SfxObjectShell::SetAutoLoad(), SdrModel::SetCompatibilityFlag(), SfxObjectShell::SetError(), SdrModel::SetStarDrawPreviewMode(), SdDrawDocument::SetStartWithPresentation(), comphelper::EmbeddedObjectContainer::setUserAllowsLinkUpdate(), SfxObjectShell::SetVisArea(), Standard, and UpdateTablePointers().
|
overridevirtual |
loads content for organizer
Reimplemented from SfxObjectShell.
Definition at line 349 of file docshel4.cxx.
References SdDrawDocument::CreateFirstPages(), ERRCODE_NONE, sd::ViewShell::GetFrameWeld(), SfxMedium::GetItemSet(), SfxObjectShell::GetMedium(), SfxMedium::GetStorage(), SotStorage::GetVersion(), SdXMLFilter::Import(), SfxObjectShell::IsPreview(), mpDoc, mpViewShell, New, SdDrawDocument::NewOrLoadCompleted(), Organizer, SfxItemSet::Put(), and SdDrawDocument::StopWorkStartupDelay().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 179 of file docshel4.cxx.
References Printer::GetJobSetup(), Printer::GetName(), mbOwnPrinter, mpPrinter, and SetPrinter().
void sd::DrawDocShell::OpenBookmark | ( | const OUString & | rBookmarkURL | ) |
executes the SID_OPENDOC slot to let the framework open a document with the given URL and this document as a referer
Definition at line 956 of file docshel4.cxx.
References SfxViewFrame::Current(), SfxObjectShell::GetMedium(), SfxShell::GetName(), sd::ViewShell::GetViewFrame(), and mpViewShell.
|
overridevirtual |
Writes pools and document to the open streams.
Reimplemented from SfxObjectShell.
Definition at line 529 of file docshel4.cxx.
References SdXMLFilter::Export(), SfxObjectShell::GetCreateMode(), SfxObjectShell::GetMedium(), SfxObjectShell::GetStorage(), SotStorage::GetVersion(), mpDoc, Normal, SfxObjectShell::Save(), SfxObjectShell::SetVisArea(), and SdDrawDocument::StopWorkStartupDelay().
|
overridevirtual |
Writes pools and document to the provided storage.
Reimplemented from SfxObjectShell.
Definition at line 548 of file docshel4.cxx.
References ERRCODE_NONE, SdXMLFilter::Export(), SfxObjectShell::GetCreateMode(), sd::ViewShell::getCurrentPage(), SfxObjectShell::GetError(), SfxViewFrame::GetFirst(), SdPage::getMainSequence(), SfxMedium::GetStorage(), SdrObjEditView::GetTextEditObject(), SdrObjEditView::GetTextEditOutliner(), SotStorage::GetVersion(), sd::ViewShell::GetView(), mpDoc, mpViewShell, Normal, SfxObjectShell::SaveAs(), SdDrawDocument::setDocAccTitle(), SfxObjectShell::SetError(), SdrObject::SetOutlinerParaObject(), SfxObjectShell::SetVisArea(), and SdDrawDocument::StopWorkStartupDelay().
|
overridevirtual |
If it should become a document template.
Reimplemented from SfxObjectShell.
Definition at line 859 of file docshel4.cxx.
References aURL, SfxMedium::GetFilter(), SfxItemSet::GetItemIfSet(), SfxMedium::GetItemSet(), SdPage::GetLayoutName(), SdDrawDocument::GetMasterSdPage(), SdDrawDocument::GetMasterSdPageCount(), SfxMedium::GetName(), CntUnencodedStringItem::GetValue(), i, mpDoc, nCount, SdDrawDocument::RenameLayoutTemplate(), SfxObjectShell::SaveAsOwnFormat(), and Standard.
|
overridevirtual |
Reopen own streams to ensure that nobody else can prevent use from opening them.
Reimplemented from SfxObjectShell.
Definition at line 653 of file docshel4.cxx.
References SfxViewFrame::Current(), SfxViewFrame::GetBindings(), SdrObjEditView::GetTextEditObject(), SdrObjEditView::GetTextEditOutliner(), sd::ViewShell::GetView(), sd::ViewShell::GetViewFrame(), SfxBindings::Invalidate(), mpDoc, mpViewShell, SdDrawDocument::NbcSetChanged(), SdrObject::NbcSetOutlinerParaObject(), and SfxObjectShell::SaveCompleted().
|
staticprivate |
Definition at line 976 of file docshel4.cxx.
References sd::DrawViewShell::ChangeEditMode(), sd::DrawViewShell::GetEditMode(), MasterPage, and Page.
Referenced by GotoBookmark().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 421 of file docshell.cxx.
References SfxObjectShell::IsEnableSetModified(), mpDoc, SdDrawDocument::NbcSetChanged(), and SfxObjectShell::SetModified().
Referenced by sd::CustomAnimationPane::changeSelection(), sd::DrawViewShell::ExecCtrl(), sd::CustomAnimationPane::moveSelection(), sd::CustomAnimationPane::onAdd(), sd::CustomAnimationPane::onChangeSpeed(), sd::CustomAnimationPane::onChangeStart(), sd::CustomAnimationPane::onDragNDropComplete(), sd::CustomAnimationPane::onRemove(), sd::CustomAnimationPane::remove(), sd::HeaderFooterDialog::run(), sd::AnnotationWindow::SaveToDocument(), and SdDrawDocument::SetChanged().
void sd::DrawDocShell::SetPrinter | ( | SfxPrinter * | pNewPrinter | ) |
Set new SfxPrinter (transfer of ownership)
Definition at line 142 of file docshel4.cxx.
References VclPtr< class reference_type >::disposeAndClear(), VclPtr< class reference_type >::get(), SdDrawDocument::GetPrinterIndependentLayout(), sd::ViewShell::GetView(), SdrObjEditView::IsTextEdit(), mbOwnPrinter, mpDoc, mpPrinter, mpViewShell, sd::View::SdrEndTextEdit(), UpdateFontList(), and UpdateRefDevice().
Referenced by sd::Window::DataChanged(), OnDocumentPrinterChanged(), and sd::ViewShellBase::SetPrinter().
|
inline |
Definition at line 148 of file DrawDocShell.hxx.
|
inline |
Definition at line 152 of file DrawDocShell.hxx.
Referenced by sd::DrawViewShell::FuSupport(), sd::OutlineViewShell::FuSupport(), sd::ViewShell::GetMenuState(), and sd::GraphicDocShell::GraphicDocShell().
sd::DrawDocShell::SFX_DECL_OBJECTFACTORY | ( | ) |
void sd::DrawDocShell::UpdateFontList | ( | ) |
Definition at line 161 of file docshel4.cxx.
References GetPrinter(), SdDrawDocument::GetPrinterIndependentLayout(), mpDoc, mpFontList, SfxShell::PutItem(), and SD_MOD.
Referenced by SetPrinter(), and UpdateTablePointers().
void sd::DrawDocShell::UpdateRefDevice | ( | ) |
Definition at line 204 of file docshel4.cxx.
References VclPtr< class reference_type >::get(), SdDrawDocument::GetInternalOutliner(), SdDrawDocument::GetOutliner(), SdDrawDocument::GetPrinterIndependentLayout(), mpDoc, mpPrinter, SAL_WARN, SD_MOD, and SdrModel::SetRefDevice().
Referenced by GetPrinter(), SetPrinter(), and SdDrawDocument::SetPrinterIndependentLayout().
void sd::DrawDocShell::UpdateTablePointers | ( | ) |
Definition at line 368 of file docshell.cxx.
References SdrModel::GetBitmapList(), SdrModel::GetColorList(), SdrModel::GetDashList(), SdrModel::GetGradientList(), SdrModel::GetHatchList(), SdrModel::GetLineEndList(), SdrModel::GetPatternList(), mpDoc, SfxShell::PutItem(), and UpdateFontList().
Referenced by Load().
|
private |
Definition at line 219 of file DrawDocShell.hxx.
Referenced by ApplySlotFilter().
|
private |
Definition at line 221 of file DrawDocShell.hxx.
Referenced by ~DrawDocShell().
|
private |
Definition at line 223 of file DrawDocShell.hxx.
Referenced by ~DrawDocShell().
|
private |
Definition at line 222 of file DrawDocShell.hxx.
Referenced by GetPrinter(), OnDocumentPrinterChanged(), SetPrinter(), and ~DrawDocShell().
|
private |
Definition at line 220 of file DrawDocShell.hxx.
Referenced by InitNew().
|
private |
Definition at line 215 of file DrawDocShell.hxx.
Referenced by FillClass().
|
private |
Definition at line 216 of file DrawDocShell.hxx.
|
private |
Definition at line 210 of file DrawDocShell.hxx.
Referenced by Activate(), ConvertFrom(), ConvertTo(), Draw(), Execute(), GetDocumentRefDev(), GetPrinter(), GetState(), GetStyleSheetPool(), GetVisArea(), GotoBookmark(), ImportFrom(), InitNew(), IsNewPageNameValid(), IsPageNameUnique(), Load(), LoadFrom(), Save(), SaveAs(), SaveAsOwnFormat(), SaveCompleted(), SetModified(), SetPrinter(), UpdateFontList(), UpdateRefDevice(), UpdateTablePointers(), and ~DrawDocShell().
|
private |
Definition at line 218 of file DrawDocShell.hxx.
Referenced by ApplySlotFilter().
|
private |
Definition at line 214 of file DrawDocShell.hxx.
Referenced by GetState(), UpdateFontList(), and ~DrawDocShell().
|
private |
Definition at line 212 of file DrawDocShell.hxx.
Referenced by GetPrinter(), OnDocumentPrinterChanged(), SetPrinter(), UpdateRefDevice(), and ~DrawDocShell().
|
private |
Definition at line 211 of file DrawDocShell.hxx.
Referenced by GetUndoManager(), and ~DrawDocShell().
|
private |
Definition at line 213 of file DrawDocShell.hxx.
Referenced by CancelSearching(), CheckPageName(), Connect(), ConvertTo(), Disconnect(), Execute(), GetFrameView(), GetState(), GetVisArea(), GotoBookmark(), LoadFrom(), OpenBookmark(), SaveAs(), SaveCompleted(), SetPrinter(), and ~DrawDocShell().