/** In some situations it is necessary to force an update of the currentdeckanditspanels.Onereasonisachangeofthe viewscale.Somepanelscanhandlethisonlywhen constructed.Inthiscasewehavetoacontextchangeand alsoforcethatallpanelsaredestroyedandcreatednew.
*/ conststatic sal_Int32 SwitchFlag_NoForce = 0x00; conststatic sal_Int32 SwitchFlag_ForceSwitch = 0x01; conststatic sal_Int32 SwitchFlag_ForceNewDeck = 0x02; conststatic sal_Int32 SwitchFlag_ForceNewPanels = 0x02;
VclPtr<Deck> mpCurrentDeck;
VclPtr<SidebarDockingWindow> mpParentWindow; const SfxViewFrame* mpViewFrame;
css::uno::Reference<css::frame::XFrame> mxFrame;
VclPtr<TabBar> mpTabBar;
Context maCurrentContext;
Context maRequestedContext;
css::uno::Reference<css::frame::XController> mxCurrentController; /// Use a combination of SwitchFlag_* as value.
sal_Int32 mnRequestedForceFlags;
sal_Int32 mnMaximumSidebarWidth; bool mbMinimumSidebarWidth;
OUString msCurrentDeckId;
AsynchronousCall maPropertyChangeForwarder;
AsynchronousCall maContextChangeUpdate;
css::uno::Reference<css::beans::XPropertySet> mxThemePropertySet;
/** Two flags control whether the deck is displayed or if only the tabbarremainsvisible. ThembIsDeckOpenflagstoresthecurrentstatewhile mbIsDeckRequestedOpenstoreshowthisstateshouldbe.User actionslikeclickingonthedeckcloseraffectthe mbIsDeckRequestedOpen.Normallybothflagshavethesame value.Adocumentbeingread-onlycanpreventthedeckfromopening.
*/
::std::optional<bool> mbIsDeckRequestedOpen;
::std::optional<bool> mbIsDeckOpen;
bool mbFloatingDeckClosed;
/** Before the deck is closed the sidebar width is saved into this variable, sothatitcanberestoredwhenthedeckisreopened.
*/
sal_Int32 mnSavedSidebarWidth;
FocusManager maFocusManager;
css::uno::Reference<css::frame::XDispatch> mxReadOnlyModeDispatch; bool mbIsDocumentReadOnly;
VclPtr<SfxSplitWindow> mpSplitWindow; /** When the user moves the splitter then we remember the widthatthattime.
*/
sal_Int32 mnWidthOnSplitterButtonDown; /** Control that is temporarily used as replacement for the deck toindicatethatwhenthecurrentmousedragoperationends,the sidebarwillonlyshowthetabbar.
*/
VclPtr<vcl::Window> mpCloseIndicator;
DECL_DLLPRIVATE_LINK(WindowEventHandler, VclWindowEvent&, void); /** Make maRequestedContext the current context.
*/ void UpdateConfigurations();
/** The close of the deck changes the width of the child window. Thatisonlypossibleifthereisnootherdockingwindowdockedaboveorbelowthesidebar. Returnwhetherthewidthofthechildwindowcanbemodified.
*/ bool CanModifyChildWindowWidth();
/** Set the child window container to a new width. Returntheoldwidth.
*/
sal_Int32 SetChildWindowWidth (const sal_Int32 nNewWidth);
/** Update the icons displayed in the title bars of the deck and thepanels.Thisiscalledoncewhenadeckiscreatedand everytimewhenadatachangeeventisprocessed.
*/ void UpdateTitleBarIcons();
/** Typically called when a panel is focused via keyboard. Triestoscrollthedeckupordowntomakethegivenpanel completelyvisible.
*/ void ShowPanel (const Panel& rPanel);
¤ 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.0.11Bemerkung:
(vorverarbeitet am 2026-06-10)
¤
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.