19#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_UNOTOOLS_HXX
20#define INCLUDED_SW_SOURCE_UIBASE_INC_UNOTOOLS_HXX
29#include <com/sun/star/frame/XController.hpp>
30#include <com/sun/star/text/XTextCursor.hpp>
33#define EX_SHOW_ONLINE_LAYOUT 0x01
35#define EX_SHOW_BUSINESS_CARDS 0x02
37#define EX_SHOW_DEFAULT_PAGE 0x04
39#define EX_LOCALIZE_TOC_STRINGS 0x08
46 css::uno::Reference< css::frame::XModel >
m_xModel;
48 css::uno::Reference< css::text::XTextCursor >
m_xCursor;
62 void PopupHdl(std::u16string_view rId);
64 SAL_DLLPRIVATE
void CreateControl();
65 SAL_DLLPRIVATE
void DisposeControl();
70 const OUString* pURL =
nullptr);
77 css::uno::Reference< css::text::XTextCursor > &
GetTextCursor() {
return m_xCursor;}
83 bool CreatePopup(
const Point& rPt);
DECL_DLLPRIVATE_LINK(TimeoutHdl, Timer *, void)
bool IsInitialized() const
css::uno::Reference< css::text::XTextCursor > m_xCursor
css::uno::Reference< css::frame::XController > m_xController
ScopedVclPtr< VirtualDevice > m_xVirDev
css::uno::Reference< css::frame::XModel > & GetModel()
css::uno::Reference< css::text::XTextCursor > & GetTextCursor()
Link< SwOneExampleFrame &, void > m_aInitializedLink
css::uno::Reference< css::frame::XModel > m_xModel
Reference< frame::XModel > m_xModel