27#include <com/sun/star/frame/XFrame.hpp>
39#define ICON_LO_DEFAULT 1
40#define ICON_TEXT_DOCUMENT 2
41#define ICON_SPREADSHEET_DOCUMENT 4
42#define ICON_DRAWING_DOCUMENT 6
43#define ICON_PRESENTATION_DOCUMENT 8
44#define ICON_TEMPLATE 11
45#define ICON_DATABASE_DOCUMENT 12
46#define ICON_MATH_DOCUMENT 13
47#define ICON_MACROLIBRARY 1
79 VclBuilderContainer();
80 virtual ~VclBuilderContainer();
81 void disposeBuilder();
83 void setDeferredProperties();
86 std::unique_ptr<VclBuilder> m_pUIBuilder;
88 friend class ::SalInstanceBuilder;
89 friend class ::ScreenshotTest;
94 ,
public VclBuilderContainer
117 using Window::ImplIsInTaskPaneList;
118 SAL_DLLPRIVATE
bool ImplIsInTaskPaneList(
vcl::Window* pWin );
123 SAL_DLLPRIVATE
void setPosSizeOnContainee(
Size aSize, Window &rBox);
135 SAL_DLLPRIVATE
void ensureRepaint();
140 void loadUI(
vcl::Window* pParent,
const OUString& rID,
const OUString& rUIXMLDescription,
const css::uno::Reference<css::frame::XFrame> &rFrame = css::uno::Reference<css::frame::XFrame>());
144 virtual void settingOptimalLayoutSize(Window *pBox);
146 SAL_DLLPRIVATE
void DoInitialLayout();
150 virtual void dispose()
override;
152 virtual bool EventNotify(
NotifyEvent& rNEvt )
override;
153 virtual bool PreNotify(
NotifyEvent& rNEvt )
override;
155 virtual bool Close();
156 virtual void TitleButtonClick(
TitleButton nButton );
157 virtual void Resizing(
Size& rSize );
158 virtual void Resize()
override;
159 virtual Size GetOptimalSize()
const override;
162 void setOptimalLayoutSize(
bool bAllowWindowShrink);
165 void SetIcon( sal_uInt16 nIcon );
169 void SetRepresentedURL(
const OUString& );
171 void ShowTitleButton(
TitleButton nButton,
bool bVisible );
172 bool IsTitleButtonVisible(
TitleButton nButton )
const;
174 void SetMinOutputSizePixel(
const Size& rSize );
176 void SetMaxOutputSizePixel(
const Size& rSize );
177 const Size& GetMaxOutputSizePixel()
const;
179 void SetWindowState(std::u16string_view rStr);
182 void SetMenuBar(
MenuBar* pMenuBar);
186 int GetMenuBarHeight()
const;
188 void SetNotebookBar(
const OUString& rUIXMLDescription,
189 const css::uno::Reference<css::frame::XFrame>& rFrame,
191 bool bReloadNotebookbar =
false);
193 void CloseNotebookBar();
199 virtual void SetText(
const OUString& rStr )
override;
200 virtual OUString GetText()
const override;
220 unsigned int GetScreenNumber()
const;
232 void SetScreenNumber(
unsigned int nNewScreen );
234 void SetApplicationID(
const OUString &rApplicationID );
236 bool UpdatePositionData();
243 virtual void doDeferredInit(
WinBits nBits);
An idle is a timer to be scheduled immediately.
This implements Widget Layout-based notebook-like menu bar.
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
OUString maNotebookBarUIFile
MenuBar * GetMenuBar() const
const Size & GetMinOutputSizePixel() const
bool mbInitialLayoutSizeCalculated
VclPtr< MenuBar > mpMenuBar
sal_uInt16 GetIcon() const
bool isCalculatingInitialLayoutSize() const
SAL_DLLPRIVATE bool isDeferredInit() const
bool mbIsCalculatingInitialLayoutSize
std::unique_ptr< ImplData > mpImplData
SAL_DLLPRIVATE bool hasPendingLayout() const
DECL_DLLPRIVATE_LINK(ImplHandleLayoutTimerHdl, Timer *, void)
VclPtr< vcl::Window > mpDialogParent
MenuBarMode mnMenuBarMode
Creates a hierarchy of vcl::Windows (widgets) from a .ui file for dialogs, sidebar,...
virtual BitmapEx createScreenshot() const override
virtual void SetText(const OUString &rStr) override
bool isLayoutEnabled(const vcl::Window *pWindow)
class VCL_DLLPUBLIC SAL_LOPLUGIN_ANNOTATE("crosscast") VclBuilderContainer