27#include <sfx2/sfxsids.hrc>
30#include <com/sun/star/beans/XPropertySet.hpp>
31#include <com/sun/star/frame/Frame.hpp>
32#include <com/sun/star/util/XCloseable.hpp>
44 :
ODataView( pParent, _rController, _rxContext )
45 ,m_pViewSwitch(nullptr)
74 xCloseable->close(
false);
101 if ( aSplitPos.
Y() <= aPlayground.
Top() )
102 aSplitPos.
setY( aPlayground.
Top() + sal_Int32( aPlayground.
GetHeight() * 0.2 ) );
108 m_pSplitter->SetPosSizePixel( aSplitPos, aSplitSize );
137 m_pSplitter->SetPosPixel(
Point( m_pSplitter->GetPosPixel().X(),m_pSplitter->GetSplitPosPixel() ) );
163 rController.InvalidateFeature(SID_CUT);
164 rController.InvalidateFeature(SID_COPY);
165 rController.InvalidateFeature(SID_PASTE);
185 if ( xLMPropSet.is() )
187 xLMPropSet->setPropertyValue(
"AutomaticToolbars",
Any(
false ));
static const AllSettings & GetSettings()
NotifyEventType GetType() const
constexpr tools::Long Y() const
void setY(tools::Long nY)
constexpr tools::Long Height() const
void setWidth(tools::Long nWidth)
constexpr tools::Long Width() const
void AddWindow(vcl::Window *pWindow)
void RemoveWindow(vcl::Window *pWindow)
static css::uno::Reference< css::awt::XWindow > GetInterface(vcl::Window *pWindow)
static VclPtr< reference_type > Create(Arg &&... arg)
virtual void resizeDocumentView(tools::Rectangle &_rPlayground)
virtual void dispose() override
virtual void resizeAll(const tools::Rectangle &_rPlayground)
re-arrange all controls, including the toolbox, it's separator, and the "real view"
virtual void Resize() override
virtual bool PreNotify(NotifyEvent &rNEvt) override
OJoinController & getController() const
void showPreview(const css::uno::Reference< css::frame::XFrame > &_xFrame)
VclPtr< OBeamer > m_pBeamer
virtual void dispose() override
virtual void Construct() override
late construction
virtual void resizeDocumentView(tools::Rectangle &_rPlayground) override
virtual ~OQueryContainerWindow() override
css::uno::Reference< css::frame::XFrame2 > m_xBeamer
VclPtr< Splitter > m_pSplitter
virtual void GetFocus() override
virtual bool PreNotify(NotifyEvent &rNEvt) override
virtual void resizeAll(const tools::Rectangle &_rPlayground) override
re-arrange all controls, including the toolbox, it's separator, and the "real view"
OQueryContainerWindow(vcl::Window *pParent, OQueryController &_rController, const css::uno::Reference< css::uno::XComponentContext > &)
OQueryViewSwitch * m_pViewSwitch
bool switchView(::dbtools::SQLExceptionInfo *_pErrorInfo)
css::uno::Reference< css::uno::XComponentContext > const & getORB() const
void Construct()
late construction
bool switchView(::dbtools::SQLExceptionInfo *_pErrorInfo)
show the text or the design view
void SetPosSizePixel(Point _rPt, Size _rSize)
OQueryDesignView * getDesignView() const
Point LogicToPixel(const Point &rLogicPt) const
Size GetOutputSizePixel() const
#define LINK(Instance, Class, Member)
IMPL_LINK_NOARG(OApplicationController, OnClipboardChanged, TransferableDataHelper *, void)
void notifySystemWindow(vcl::Window const *_pWindow, vcl::Window *_pToRegister, const ::comphelper::mem_fun1_t< TaskPaneList, vcl::Window * > &_rMemFunc)
notifySystemWindow adds or remove the given window _pToRegister at the Systemwindow found when search...
constexpr OUStringLiteral FRAME_NAME_QUERY_PREVIEW