namespace sd
{ /** This class contains (will contain) the implementation of methods that havenotbeaccessiblefromtheoutside.
*/ class ViewShell::Implementation
{ public: bool mbIsMainViewShell; /// Set to true when the ViewShell::Init() method has been called. bool mbIsInitialized; /** Set to true while ViewShell::ArrangeGUIElements() is being executed.Itisusedasguardagainstrecursiveexecution.
*/ bool mbArrangeActive;
/** Remember a link to the sub shell factory, so that it can be unregisteredattheViewShellManagerwhenaViewShellisdeleted.
*/
ViewShellManager::SharedShellFactory mpSubShellFactory;
/** This update lock for the ToolBarManager exists in order to avoid problemswithtoolbarsbeingdisplayedwhilethemousebuttonis pressed.Withdockedtoolbarsthiscanleadtoasizechangeof theview.Thiswouldchangetherelativemousecoordinatesandthus interpreteverymouseclickasmovecommand.
*/ class ToolBarManagerLock
{ public: /** Create a new instance. This allows the mpSelf member to be set automatically.
*/ static std::shared_ptr<ToolBarManagerLock>
Create(const std::shared_ptr<ToolBarManager>& rpManager); /** Release the lock. When the UI is captured (Application::IsUICaptured()returns<TRUE/>)thenthelockis releasedlaterasynchronously. @parambForce Whenthisflagis<TRUE/>thenthelockisreleasedeven whenIsUICaptured()returns<TRUE/>.
*/ void Release(bool bForce = false);
DECL_DLLPRIVATE_LINK(TimeoutCallback, Timer*, void);
private:
::std::unique_ptr<ToolBarManager::UpdateLock,
o3tl::default_delete<ToolBarManager::UpdateLock>>
mpLock; /** The timer is used both as a safe guard to unlock the update lock whenRelease()isnotcalledexplicitly.Itisalsousedto deferthereleaseofthelocktoatimewhentheUIisnot captured.
*/
Timer maTimer; /** The shared_ptr to this allows the ToolBarManagerLock to control itsownlifetime.This,ofcourse,doesworkonlywhennoone holdsanothershared_ptrlongerthanonlytemporary.
*/
std::shared_ptr<ToolBarManagerLock> mpSelf;
ToolBarManagerLock(const std::shared_ptr<sd::ToolBarManager>& rpManager);
~ToolBarManagerLock();
class Deleter; friendclass Deleter;
}; // The member is not a unique_ptr because it takes over its own life time // control.
std::weak_ptr<ToolBarManagerLock> mpUpdateLockForMouse;
/** Process the SID_MODIFY slot.
*/ void ProcessModifyPageSlot(SfxRequest& rRequest, SdPage* pCurrentPage, PageKind ePageKind);
/** Assign the given layout to the given page. This method is at the momentmerelyafrontendforProcessModifyPageSlot. @parampPage IfaNULLpointerisgiventhenthiscallisignored.
*/ void AssignLayout(SfxRequest const& rRequest, PageKind ePageKind);
/** Determine the view id of the view shell. This corresponds to the viewidstoredintheSfxViewFrameclass.
/** Return a pointer to the image map dialog that is displayed in some childwindow. @return Returns<NULL/>whentheimagemapdialogisnotavailable.
*/ static SvxIMapDlg* GetImageMapDialog();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.