LibreOffice Module sfx2 (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
LokStarMathHelper Class Reference

A class for math editing support via LibreOfficeKit. More...

#include <lokcomponenthelpers.hxx>

Collaboration diagram for LokStarMathHelper:
[legend]

Public Member Functions

 LokStarMathHelper (const SfxViewShell *pViewShell)
 
vcl::WindowGetGraphicWindow ()
 
vcl::WindowGetWidgetWindow ()
 
const SfxViewShellGetSmViewShell ()
 
tools::Rectangle GetBoundingBox () const
 
void Dispatch (const OUString &cmd, const css::uno::Sequence< css::beans::PropertyValue > &rArguments) const
 
bool postMouseEvent (int nType, int nX, int nY, int nCount, int nButtons, int nModifier, double fPPTScaleX, double fPPTScaleY)
 

Static Public Member Functions

static void PaintAllInPlaceOnTile (VirtualDevice &rDevice, int nOutputWidth, int nOutputHeight, int nTilePosX, int nTilePosY, tools::Long nTileWidth, tools::Long nTileHeight)
 

Private Member Functions

void PaintTile (VirtualDevice &rDevice, const tools::Rectangle &rTileRect)
 

Private Attributes

const SfxViewShellmpViewShell
 
const SfxInPlaceClientmpIPClient = nullptr
 
css::uno::Reference< css::frame::XFrame > mxFrame
 
VclPtr< vcl::WindowmpGraphicWindow
 
VclPtr< vcl::WindowmpWidgetWindow
 

Detailed Description

A class for math editing support via LibreOfficeKit.

Definition at line 68 of file lokcomponenthelpers.hxx.

Constructor & Destructor Documentation

◆ LokStarMathHelper()

LokStarMathHelper::LokStarMathHelper ( const SfxViewShell pViewShell)

Member Function Documentation

◆ Dispatch()

void LokStarMathHelper::Dispatch ( const OUString &  cmd,
const css::uno::Sequence< css::beans::PropertyValue > &  rArguments 
) const

Definition at line 58 of file lokstarmathhelper.cxx.

References comphelper::dispatchCommand(), and mxFrame.

◆ GetBoundingBox()

tools::Rectangle LokStarMathHelper::GetBoundingBox ( ) const

◆ GetGraphicWindow()

vcl::Window * LokStarMathHelper::GetGraphicWindow ( )

◆ GetSmViewShell()

const SfxViewShell * LokStarMathHelper::GetSmViewShell ( )

Definition at line 129 of file lokstarmathhelper.cxx.

References SfxViewShell::GetFirst(), and GetGraphicWindow().

◆ GetWidgetWindow()

vcl::Window * LokStarMathHelper::GetWidgetWindow ( )

◆ PaintAllInPlaceOnTile()

void LokStarMathHelper::PaintAllInPlaceOnTile ( VirtualDevice rDevice,
int  nOutputWidth,
int  nOutputHeight,
int  nTilePosX,
int  nTilePosY,
tools::Long  nTileWidth,
tools::Long  nTileHeight 
)
static

◆ PaintTile()

void LokStarMathHelper::PaintTile ( VirtualDevice rDevice,
const tools::Rectangle rTileRect 
)
private

◆ postMouseEvent()

bool LokStarMathHelper::postMouseEvent ( int  nType,
int  nX,
int  nY,
int  nCount,
int  nButtons,
int  nModifier,
double  fPPTScaleX,
double  fPPTScaleY 
)

Member Data Documentation

◆ mpGraphicWindow

VclPtr<vcl::Window> LokStarMathHelper::mpGraphicWindow
private

Definition at line 93 of file lokcomponenthelpers.hxx.

Referenced by GetGraphicWindow().

◆ mpIPClient

const SfxInPlaceClient* LokStarMathHelper::mpIPClient = nullptr
private

Definition at line 91 of file lokcomponenthelpers.hxx.

Referenced by GetBoundingBox(), and LokStarMathHelper().

◆ mpViewShell

const SfxViewShell* LokStarMathHelper::mpViewShell
private

Definition at line 90 of file lokcomponenthelpers.hxx.

Referenced by GetBoundingBox(), and LokStarMathHelper().

◆ mpWidgetWindow

VclPtr<vcl::Window> LokStarMathHelper::mpWidgetWindow
private

Definition at line 94 of file lokcomponenthelpers.hxx.

Referenced by GetWidgetWindow().

◆ mxFrame

css::uno::Reference<css::frame::XFrame> LokStarMathHelper::mxFrame
private

Definition at line 92 of file lokcomponenthelpers.hxx.

Referenced by Dispatch(), GetGraphicWindow(), and LokStarMathHelper().


The documentation for this class was generated from the following files: