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 onSelectAll ()
 
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 rtl::Reference< 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_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT 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

◆ ApplyFormatPaintBrush()

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 98 of file selectioncontroller.cxx.

◆ ChangeFontSize()

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 118 of file selectioncontroller.cxx.

◆ DeleteMarked()

bool sdr::SelectionController::DeleteMarked ( )
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 63 of file selectioncontroller.cxx.

◆ Execute()

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

Reimplemented in sdr::table::SvxTableController.

Definition at line 59 of file selectioncontroller.cxx.

◆ GetAttributes()

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

Reimplemented in sdr::table::SvxTableController.

Definition at line 68 of file selectioncontroller.cxx.

◆ GetMarkedSdrObjClone()

rtl::Reference< SdrObject > sdr::SelectionController::GetMarkedSdrObjClone ( SdrModel rTargetModel)
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 88 of file selectioncontroller.cxx.

◆ getSelectedCells()

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 108 of file selectioncontroller.cxx.

◆ GetState()

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

Reimplemented in sdr::table::SvxTableController.

Definition at line 55 of file selectioncontroller.cxx.

◆ GetStyleSheet()

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

Reimplemented in sdr::table::SvxTableController.

Definition at line 78 of file selectioncontroller.cxx.

◆ hasSelectedCells()

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 103 of file selectioncontroller.cxx.

◆ onKeyInput()

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

Reimplemented in sdr::table::SvxTableController.

Definition at line 27 of file selectioncontroller.cxx.

◆ onMouseButtonDown()

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

Reimplemented in sdr::table::SvxTableController.

Definition at line 32 of file selectioncontroller.cxx.

◆ onMouseButtonUp()

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

Reimplemented in sdr::table::SvxTableController.

Definition at line 37 of file selectioncontroller.cxx.

◆ onMouseMove()

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

Reimplemented in sdr::table::SvxTableController.

Definition at line 42 of file selectioncontroller.cxx.

◆ onSelectAll()

void sdr::SelectionController::onSelectAll ( )
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 51 of file selectioncontroller.cxx.

◆ onSelectionHasChanged()

void sdr::SelectionController::onSelectionHasChanged ( )
virtual

Reimplemented in sdr::table::SvxTableController.

Definition at line 47 of file selectioncontroller.cxx.

◆ PasteObjModel()

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

Reimplemented in sdr::table::SvxTableController.

Definition at line 93 of file selectioncontroller.cxx.

◆ SetAttributes()

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

Reimplemented in sdr::table::SvxTableController.

Definition at line 73 of file selectioncontroller.cxx.

◆ setCursorLogicPosition()

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 112 of file selectioncontroller.cxx.

◆ SetStyleSheet()

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

Reimplemented in sdr::table::SvxTableController.

Definition at line 83 of file selectioncontroller.cxx.


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