LibreOffice Module svx (master)  1
Public Member Functions | List of all members
sdr::SelectionController Class Reference

#include <selectioncontroller.hxx>

Inheritance diagram for sdr::SelectionController:
[legend]
Collaboration diagram for sdr::SelectionController:
[legend]

Public Member Functions

virtual bool onKeyInput (const KeyEvent &rKEvt, vcl::Window *pWin)
 
virtual bool onMouseButtonDown (const MouseEvent &rMEvt, vcl::Window *pWin)
 
virtual bool onMouseButtonUp (const MouseEvent &rMEvt, vcl::Window *pWin)
 
virtual bool onMouseMove (const MouseEvent &rMEvt, vcl::Window *pWin)
 
virtual void onSelectionHasChanged ()
 
virtual void GetState (SfxItemSet &rSet)
 
virtual void Execute (SfxRequest &rReq)
 
virtual bool DeleteMarked ()
 
virtual bool GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr) const
 
virtual bool SetAttributes (const SfxItemSet &rSet, bool bReplaceAll)
 
virtual bool GetStyleSheet (SfxStyleSheet *&rpStyleSheet) const
 
virtual bool SetStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr)
 
virtual SdrObjectGetMarkedSdrObjClone (SdrModel &rTargetModel)
 
virtual bool PasteObjModel (const SdrModel &rModel)
 
virtual bool ApplyFormatPaintBrush (SfxItemSet &rFormatSet, bool bNoCharacterFormats, bool bNoParagraphFormats)
 applies a format paint brush set from the current selection. More...
 
virtual bool hasSelectedCells () const
 This is a table object, and one or more of its cells are selected. More...
 
virtual bool setCursorLogicPosition (const Point &rPosition, bool bPoint)
 Allows adjusting the point or mark of the selection to a document coordinate. More...
 
virtual void getSelectedCells (table::CellPos &rFirstPos, table::CellPos &rLastPos)
 Get the position of the first and the last selected cell. More...
 
virtual bool ChangeFontSize (bool bGrow, const FontList *pFontList)
 Changes the font (grow/shrink) according to the input parameters. More...
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 43 of file selectioncontroller.hxx.

Member Function Documentation

bool sdr::SelectionController::ApplyFormatPaintBrush ( SfxItemSet rFormatSet,
bool  bNoCharacterFormats,
bool  bNoParagraphFormats 
)
virtual

applies a format paint brush set from the current selection.

if bNoCharacterFormats is true, no character attributes are changed. if bNoParagraphFormats is true, no paragraph attributes are changed.

Reimplemented in sdr::table::SvxTableController.

Definition at line 93 of file selectioncontroller.cxx.

bool sdr::SelectionController::ChangeFontSize ( bool  bGrow,
const FontList pFontList 
)
virtual

Changes the font (grow/shrink) according to the input parameters.

Reimplemented in sdr::table::SvxTableController.

Definition at line 113 of file selectioncontroller.cxx.

bool sdr::SelectionController::DeleteMarked ( )
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 58 of file selectioncontroller.cxx.

void sdr::SelectionController::Execute ( SfxRequest rReq)
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 54 of file selectioncontroller.cxx.

bool sdr::SelectionController::GetAttributes ( SfxItemSet rTargetSet,
bool  bOnlyHardAttr 
) const
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 63 of file selectioncontroller.cxx.

SdrObject * sdr::SelectionController::GetMarkedSdrObjClone ( SdrModel rTargetModel)
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 83 of file selectioncontroller.cxx.

void sdr::SelectionController::getSelectedCells ( table::CellPos rFirstPos,
table::CellPos rLastPos 
)
virtual

Get the position of the first and the last selected cell.

Reimplemented in sdr::table::SvxTableController.

Definition at line 103 of file selectioncontroller.cxx.

void sdr::SelectionController::GetState ( SfxItemSet rSet)
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 50 of file selectioncontroller.cxx.

bool sdr::SelectionController::GetStyleSheet ( SfxStyleSheet *&  rpStyleSheet) const
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 73 of file selectioncontroller.cxx.

bool sdr::SelectionController::hasSelectedCells ( ) const
virtual

This is a table object, and one or more of its cells are selected.

Reimplemented in sdr::table::SvxTableController.

Definition at line 98 of file selectioncontroller.cxx.

bool sdr::SelectionController::onKeyInput ( const KeyEvent rKEvt,
vcl::Window pWin 
)
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 26 of file selectioncontroller.cxx.

bool sdr::SelectionController::onMouseButtonDown ( const MouseEvent rMEvt,
vcl::Window pWin 
)
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 31 of file selectioncontroller.cxx.

bool sdr::SelectionController::onMouseButtonUp ( const MouseEvent rMEvt,
vcl::Window pWin 
)
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 36 of file selectioncontroller.cxx.

bool sdr::SelectionController::onMouseMove ( const MouseEvent rMEvt,
vcl::Window pWin 
)
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 41 of file selectioncontroller.cxx.

void sdr::SelectionController::onSelectionHasChanged ( )
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 46 of file selectioncontroller.cxx.

bool sdr::SelectionController::PasteObjModel ( const SdrModel rModel)
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 88 of file selectioncontroller.cxx.

bool sdr::SelectionController::SetAttributes ( const SfxItemSet rSet,
bool  bReplaceAll 
)
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 68 of file selectioncontroller.cxx.

bool sdr::SelectionController::setCursorLogicPosition ( const Point rPosition,
bool  bPoint 
)
virtual

Allows adjusting the point or mark of the selection to a document coordinate.

Reimplemented in sdr::table::SvxTableController.

Definition at line 107 of file selectioncontroller.cxx.

bool sdr::SelectionController::SetStyleSheet ( SfxStyleSheet pStyleSheet,
bool  bDontRemoveHardAttr 
)
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 78 of file selectioncontroller.cxx.


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