10#ifndef INCLUDED_SFX2_LOKCHARTHELPER_HXX
11#define INCLUDED_SFX2_LOKCHARTHELPER_HXX
40 : mpViewShell(pViewShell)
42 , mbNegativeX(bNegativeX)
45 css::uno::Reference<css::frame::XController>& GetXController();
46 css::uno::Reference<css::frame::XDispatch>& GetXDispatcher();
51 bool Hit(
const Point& aPos);
52 static bool HitAny(
const Point& aPos,
bool bNegativeX =
false);
55 int nOutputWidth,
int nOutputHeight,
56 int nTilePosX,
int nTilePosY,
58 bool bNegativeX =
false);
59 bool postMouseEvent(
int nType,
int nX,
int nY,
60 int nCount,
int nButtons,
int nModifier,
61 double fScaleX = 1.0,
double fScaleY = 1.0);
62 bool setTextSelection(
int nType,
int nX,
int nY);
63 bool setGraphicSelection(
int nType,
int nX,
int nY,
64 double fScaleX = 1.0,
double fScaleY = 1.0);
78 void Dispatch(
const OUString& cmd,
const css::uno::Sequence<css::beans::PropertyValue>& rArguments)
const;
80 bool postMouseEvent(
int nType,
int nX,
int nY,
int nCount,
int nButtons,
int nModifier,
81 double fPPTScaleX,
double fPPTScaleY);
83 static void PaintAllInPlaceOnTile(
VirtualDevice& rDevice,
int nOutputWidth,
int nOutputHeight,
84 int nTilePosX,
int nTilePosY,
tools::Long nTileWidth,
92 css::uno::Reference<css::frame::XFrame>
mxFrame;
A class for chart editing support via LibreOfficeKit.
css::uno::Reference< css::frame::XController > mxController
SfxViewShell * mpViewShell
css::uno::Reference< css::frame::XDispatch > mxDispatcher
VclPtr< vcl::Window > mpWindow
LokChartHelper(SfxViewShell *pViewShell, bool bNegativeX=false)
A class for math editing support via LibreOfficeKit.
const SfxViewShell * mpViewShell
VclPtr< vcl::Window > mpGraphicWindow
VclPtr< vcl::Window > mpWidgetWindow
css::uno::Reference< css::frame::XFrame > mxFrame
One SfxViewShell more or less represents one edit window for a document, there can be multiple ones f...
VclPtr< vcl::Window > mpWindow