LibreOffice Module chart2 (master) 1
Public Member Functions | Private Attributes | List of all members
chart::Selection Class Reference

#include <SelectionHelper.hxx>

Collaboration diagram for chart::Selection:
[legend]

Public Member Functions

bool hasSelection () const
 
OUString const & getSelectedCID () const
 
css::uno::Reference< css::drawing::XShape > const & getSelectedAdditionalShape () const
 
const ObjectIdentifiergetSelectedOID () const
 
bool isResizeableObjectSelected () const
 
bool isRotateableObjectSelected (const rtl::Reference<::chart::ChartModel > &xChartModel) const
 
bool isDragableObjectSelected () const
 
bool isAdditionalShapeSelected () const
 
bool setSelection (const OUString &rCID)
 
bool setSelection (const css::uno::Reference< css::drawing::XShape > &xShape)
 
void clearSelection ()
 
bool maybeSwitchSelectionAfterSingleClickWasEnsured ()
 
void resetPossibleSelectionAfterSingleClickWasEnsured ()
 
void remindSelectionBeforeMouseDown ()
 
bool isSelectionDifferentFromBeforeMouseDown () const
 
void adaptSelectionToNewPos (const Point &rMousePos, DrawViewWrapper const *pDrawViewWrapper, bool bIsRightMouse, bool bWaitingForDoubleClick)
 
void applySelection (DrawViewWrapper *pDrawViewWrapper)
 

Private Attributes

ObjectIdentifier m_aSelectedOID
 
ObjectIdentifier m_aSelectedOID_beforeMouseDown
 
ObjectIdentifier m_aSelectedOID_selectOnlyIfNoDoubleClickIsFollowing
 

Detailed Description

Definition at line 31 of file SelectionHelper.hxx.

Member Function Documentation

◆ adaptSelectionToNewPos()

void Selection::adaptSelectionToNewPos ( const Point rMousePos,
DrawViewWrapper const *  pDrawViewWrapper,
bool  bIsRightMouse,
bool  bWaitingForDoubleClick 
)

◆ applySelection()

void Selection::applySelection ( DrawViewWrapper pDrawViewWrapper)

◆ clearSelection()

void Selection::clearSelection ( )

◆ getSelectedAdditionalShape()

uno::Reference< drawing::XShape > const & Selection::getSelectedAdditionalShape ( ) const

◆ getSelectedCID()

OUString const & Selection::getSelectedCID ( ) const

Definition at line 70 of file SelectionHelper.cxx.

References chart::ObjectIdentifier::getObjectCID(), and m_aSelectedOID.

Referenced by chart::ChartController::EndTextEdit(), chart::ChartController::execute_Command(), chart::ChartController::execute_DoubleClick(), chart::ChartController::execute_KeyInput(), chart::ChartController::execute_MouseButtonDown(), chart::ChartController::execute_MouseButtonUp(), chart::ChartController::executeDispatch_Delete(), chart::ChartController::executeDispatch_DeleteAxis(), chart::ChartController::executeDispatch_DeleteDataLabel(), chart::ChartController::executeDispatch_DeleteDataLabels(), chart::ChartController::executeDispatch_DeleteErrorBars(), chart::ChartController::executeDispatch_DeleteMajorGrid(), chart::ChartController::executeDispatch_DeleteMeanValue(), chart::ChartController::executeDispatch_DeleteMinorGrid(), chart::ChartController::executeDispatch_DeleteR2Value(), chart::ChartController::executeDispatch_DeleteTrendline(), chart::ChartController::executeDispatch_DeleteTrendlineEquation(), chart::ChartController::executeDispatch_FillColor(), chart::ChartController::executeDispatch_FillGradient(), chart::ChartController::executeDispatch_FormatObject(), chart::ChartController::executeDispatch_InsertAxis(), chart::ChartController::executeDispatch_InsertAxisTitle(), chart::ChartController::executeDispatch_InsertDataLabel(), chart::ChartController::executeDispatch_InsertDataLabels(), chart::ChartController::executeDispatch_InsertErrorBars(), chart::ChartController::executeDispatch_InsertMajorGrid(), chart::ChartController::executeDispatch_InsertMeanValue(), chart::ChartController::executeDispatch_InsertMenu_DataLabels(), chart::ChartController::executeDispatch_InsertMenu_MeanValues(), chart::ChartController::executeDispatch_InsertMenu_Trendlines(), chart::ChartController::executeDispatch_InsertMinorGrid(), chart::ChartController::executeDispatch_InsertR2Value(), chart::ChartController::executeDispatch_InsertTrendline(), chart::ChartController::executeDispatch_InsertTrendlineEquation(), chart::ChartController::executeDispatch_LineColor(), chart::ChartController::executeDispatch_LineWidth(), chart::ChartController::executeDispatch_LOKPieSegmentDragging(), chart::ChartController::executeDispatch_MoveSeries(), chart::ChartController::executeDispatch_ObjectProperties(), chart::ChartController::executeDispatch_PositionAndSize(), chart::ChartController::executeDispatch_ResetAllDataPoints(), chart::ChartController::executeDispatch_ResetDataPoint(), chart::ChartController::getSelection(), chart::ChartController::impl_SetMousePointer(), and chart::ChartController::NotifyUndoActionHdl().

◆ getSelectedOID()

const ObjectIdentifier & chart::Selection::getSelectedOID ( ) const
inline

◆ hasSelection()

bool Selection::hasSelection ( ) const

◆ isAdditionalShapeSelected()

bool Selection::isAdditionalShapeSelected ( ) const

◆ isDragableObjectSelected()

bool Selection::isDragableObjectSelected ( ) const

◆ isResizeableObjectSelected()

bool Selection::isResizeableObjectSelected ( ) const

◆ isRotateableObjectSelected()

bool Selection::isRotateableObjectSelected ( const rtl::Reference<::chart::ChartModel > &  xChartModel) const

◆ isSelectionDifferentFromBeforeMouseDown()

bool Selection::isSelectionDifferentFromBeforeMouseDown ( ) const

◆ maybeSwitchSelectionAfterSingleClickWasEnsured()

bool Selection::maybeSwitchSelectionAfterSingleClickWasEnsured ( )

◆ remindSelectionBeforeMouseDown()

void Selection::remindSelectionBeforeMouseDown ( )

◆ resetPossibleSelectionAfterSingleClickWasEnsured()

void Selection::resetPossibleSelectionAfterSingleClickWasEnsured ( )

◆ setSelection() [1/2]

bool chart::Selection::setSelection ( const css::uno::Reference< css::drawing::XShape > &  xShape)

◆ setSelection() [2/2]

bool Selection::setSelection ( const OUString &  rCID)

Member Data Documentation

◆ m_aSelectedOID

ObjectIdentifier chart::Selection::m_aSelectedOID
private

◆ m_aSelectedOID_beforeMouseDown

ObjectIdentifier chart::Selection::m_aSelectedOID_beforeMouseDown
private

◆ m_aSelectedOID_selectOnlyIfNoDoubleClickIsFollowing

ObjectIdentifier chart::Selection::m_aSelectedOID_selectOnlyIfNoDoubleClickIsFollowing
private

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