LibreOffice Module chart2 (master) 1
Classes | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
chart::ChartController Class Referencefinal

#include <ChartController.hxx>

Inheritance diagram for chart::ChartController:
[legend]
Collaboration diagram for chart::ChartController:
[legend]

Classes

class  TheModel
 
class  TheModelRef
 

Public Member Functions

 ChartController ()=delete
 
 ChartController (css::uno::Reference< css::uno::XComponentContext > xContext)
 
virtual ~ChartController () override
 
OUString GetContextName ()
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL attachFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) override
 
virtual sal_Bool SAL_CALL attachModel (const css::uno::Reference< css::frame::XModel > &xModel) override
 
virtual css::uno::Reference< css::frame::XFrame > SAL_CALL getFrame () override
 
virtual css::uno::Reference< css::frame::XModel > SAL_CALL getModel () override
 
virtual css::uno::Any SAL_CALL getViewData () override
 
virtual void SAL_CALL restoreViewData (const css::uno::Any &rValue) override
 
virtual sal_Bool SAL_CALL suspend (sal_Bool bSuspend) override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL getComponentWindow () override
 
virtual OUString SAL_CALL getViewControllerName () override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCreationArguments () override
 
virtual css::uno::Reference< css::ui::XSidebarProvider > SAL_CALL getSidebar () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch (const css::util::URL &rURL, const OUString &rTargetFrameName, sal_Int32 nSearchFlags) override
 
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches (const css::uno::Sequence< css::frame::DispatchDescriptor > &xDescripts) override
 
virtual sal_Bool SAL_CALL select (const css::uno::Any &rSelection) override
 
virtual css::uno::Any SAL_CALL getSelection () override
 
virtual void SAL_CALL addSelectionChangeListener (const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
 
virtual void SAL_CALL removeSelectionChangeListener (const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
 
virtual void SAL_CALL registerContextMenuInterceptor (const css::uno::Reference< css::ui::XContextMenuInterceptor > &xInterceptor) override
 
virtual void SAL_CALL releaseContextMenuInterceptor (const css::uno::Reference< css::ui::XContextMenuInterceptor > &xInterceptor) override
 
virtual void SAL_CALL queryClosing (const css::lang::EventObject &Source, sal_Bool GetsOwnership) override
 
virtual void SAL_CALL notifyClosing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL dispatch (const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
 
virtual void SAL_CALL addStatusListener (const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override
 
virtual void SAL_CALL removeStatusListener (const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override
 
virtual void SAL_CALL setPosSize (sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags) override
 
virtual css::awt::Rectangle SAL_CALL getPosSize () override
 
virtual void SAL_CALL setVisible (sal_Bool Visible) override
 
virtual void SAL_CALL setEnable (sal_Bool Enable) override
 
virtual void SAL_CALL setFocus () override
 
virtual void SAL_CALL addWindowListener (const css::uno::Reference< css::awt::XWindowListener > &xListener) override
 
virtual void SAL_CALL removeWindowListener (const css::uno::Reference< css::awt::XWindowListener > &xListener) override
 
virtual void SAL_CALL addFocusListener (const css::uno::Reference< css::awt::XFocusListener > &xListener) override
 
virtual void SAL_CALL removeFocusListener (const css::uno::Reference< css::awt::XFocusListener > &xListener) override
 
virtual void SAL_CALL addKeyListener (const css::uno::Reference< css::awt::XKeyListener > &xListener) override
 
virtual void SAL_CALL removeKeyListener (const css::uno::Reference< css::awt::XKeyListener > &xListener) override
 
virtual void SAL_CALL addMouseListener (const css::uno::Reference< css::awt::XMouseListener > &xListener) override
 
virtual void SAL_CALL removeMouseListener (const css::uno::Reference< css::awt::XMouseListener > &xListener) override
 
virtual void SAL_CALL addMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override
 
virtual void SAL_CALL removeMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override
 
virtual void SAL_CALL addPaintListener (const css::uno::Reference< css::awt::XPaintListener > &xListener) override
 
virtual void SAL_CALL removePaintListener (const css::uno::Reference< css::awt::XPaintListener > &xListener) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance (const OUString &aServiceSpecifier) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments (const OUString &ServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames () override
 
virtual void SAL_CALL modified (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL modeChanged (const css::util::ModeChangeEvent &_rSource) override
 
virtual void SAL_CALL layoutEvent (const css::lang::EventObject &aSource, ::sal_Int16 eLayoutEvent, const css::uno::Any &aInfo) override
 
void PrePaint ()
 
void execute_Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
 
void execute_MouseButtonDown (const MouseEvent &rMEvt)
 
void execute_MouseMove (const MouseEvent &rMEvt)
 
void execute_MouseButtonUp (const MouseEvent &rMEvt)
 
void execute_Resize ()
 
void execute_Command (const CommandEvent &rCEvt)
 
bool execute_KeyInput (const KeyEvent &rKEvt)
 
bool requestQuickHelp (::Point aAtLogicPosition, bool bIsBalloonHelp, OUString &rOutQuickHelpText, css::awt::Rectangle &rOutEqualRect)
 get help text to be shown in a quick help More...
 
css::uno::Reference< css::accessibility::XAccessible > CreateAccessible ()
 
void setDrawMode (ChartDrawMode eMode)
 
bool isShapeContext () const
 
ViewElementListProvider getViewElementListProvider ()
 
DrawModelWrapperGetDrawModelWrapper ()
 
DrawViewWrapperGetDrawViewWrapper ()
 
ChartWindowGetChartWindow () const
 
weld::WindowGetChartFrame ()
 
bool isAdditionalShapeSelected () const
 
void SetAndApplySelection (const css::uno::Reference< css::drawing::XShape > &rxShape)
 
void StartTextEdit (const Point *pMousePixel=nullptr)
 
void NotifyUndoActionHdl (std::unique_ptr< SdrUndoAction >)
 
rtl::Reference<::chart::ChartView > const & getChartView () const
 
rtl::Reference<::chart::ChartModel > getChartModel ()
 
rtl::Reference<::chart::DiagramgetFirstDiagram ()
 

Static Public Member Functions

static bool isObjectDeleteable (const css::uno::Any &rSelection)
 

Private Types

enum  eMoveOrResizeType {
  MOVE_OBJECT ,
  CENTERED_RESIZE_OBJECT
}
 

Private Member Functions

bool impl_isDisposedOrSuspended () const
 
std::unique_ptr< ReferenceSizeProviderimpl_createReferenceSizeProvider ()
 
void impl_adaptDataSeriesAutoResize ()
 
void impl_createDrawViewController ()
 
void impl_deleteDrawViewController ()
 
void executeDispatch_ObjectProperties ()
 
void executeDispatch_FormatObject (std::u16string_view rDispatchCommand)
 
void executeDlg_ObjectProperties (const OUString &rObjectCID)
 
bool executeDlg_ObjectProperties_withoutUndoGuard (const OUString &rObjectCID, bool bSuccessOnUnchanged)
 
void executeDispatch_ChartType ()
 
void executeDispatch_InsertTitles ()
 
void executeDispatch_InsertLegend ()
 
void executeDispatch_DeleteLegend ()
 
void executeDispatch_OpenLegendDialog ()
 
void executeDispatch_InsertAxes ()
 
void executeDispatch_InsertGrid ()
 
void executeDispatch_InsertDataTable ()
 Create and insert a data table to the chart. More...
 
void executeDispatch_DeleteDataTable ()
 Delete a data table from the chart. More...
 
void executeDispatch_OpenInsertDataTableDialog ()
 
void executeDispatch_InsertMenu_DataLabels ()
 
void executeDispatch_InsertMenu_Trendlines ()
 
void executeDispatch_InsertMenu_MeanValues ()
 
void executeDispatch_InsertMeanValue ()
 
void executeDispatch_InsertTrendline ()
 
void executeDispatch_InsertTrendlineEquation (bool bInsertR2=false)
 
void executeDispatch_InsertErrorBars (bool bYError)
 
void executeDispatch_InsertR2Value ()
 
void executeDispatch_DeleteR2Value ()
 
void executeDispatch_DeleteMeanValue ()
 
void executeDispatch_DeleteTrendline ()
 
void executeDispatch_DeleteTrendlineEquation ()
 
void executeDispatch_DeleteErrorBars (bool bYError)
 
void executeDispatch_InsertDataLabels ()
 
void executeDispatch_InsertDataLabel ()
 
void executeDispatch_DeleteDataLabels ()
 
void executeDispatch_DeleteDataLabel ()
 
void executeDispatch_ResetAllDataPoints ()
 
void executeDispatch_ResetDataPoint ()
 
void executeDispatch_InsertAxis ()
 
void executeDispatch_InsertAxisTitle ()
 
void executeDispatch_InsertMajorGrid ()
 
void executeDispatch_InsertMinorGrid ()
 
void executeDispatch_DeleteAxis ()
 
void executeDispatch_DeleteMajorGrid ()
 
void executeDispatch_DeleteMinorGrid ()
 
void executeDispatch_InsertSpecialCharacter ()
 
void executeDispatch_EditText (const Point *pMousePixel=nullptr)
 
void executeDispatch_SourceData ()
 
void executeDispatch_MoveSeries (bool bForward)
 
bool EndTextEdit ()
 
void executeDispatch_View3D ()
 
void executeDispatch_PositionAndSize (const ::css::uno::Sequence< ::css::beans::PropertyValue > *pArgs=nullptr)
 
void executeDispatch_EditData ()
 
void executeDispatch_NewArrangement ()
 
void executeDispatch_ScaleText ()
 
void executeDispatch_Paste ()
 
void executeDispatch_Copy ()
 
void executeDispatch_Cut ()
 
bool executeDispatch_Delete ()
 
void executeDispatch_ToggleLegend ()
 
void executeDispatch_ToggleGridHorizontal ()
 
void executeDispatch_ToggleGridVertical ()
 
void executeDispatch_LOKSetTextSelection (int nType, int nX, int nY)
 
void executeDispatch_LOKPieSegmentDragging (int nOffset)
 
void executeDispatch_FillColor (sal_uInt32 nColor)
 
void executeDispatch_FillGradient (std::u16string_view sJSONGradient)
 
void executeDispatch_LineColor (sal_uInt32 nColor)
 
void executeDispatch_LineWidth (sal_uInt32 nWidth)
 
void sendPopupRequest (std::u16string_view rCID, tools::Rectangle aRectangle)
 
void impl_ShapeControllerDispatch (const css::util::URL &rURL, const css::uno::Sequence< css::beans::PropertyValue > &rArgs)
 
 DECL_LINK (DoubleClickWaitingHdl, Timer *, void)
 
void execute_DoubleClick (const Point *pMousePixel)
 
void startDoubleClickWaiting ()
 
void stopDoubleClickWaiting ()
 
void impl_selectObjectAndNotiy ()
 
void impl_notifySelectionChangeListeners ()
 
void impl_invalidateAccessible ()
 
void impl_initializeAccessible ()
 
void impl_initializeAccessible (const css::uno::Reference< css::lang::XInitialization > &xInit)
 
bool impl_releaseThisModel (const css::uno::Reference< css::uno::XInterface > &xModel)
 
bool impl_moveOrResizeObject (const OUString &rCID, eMoveOrResizeType eType, double fAmountLogicX, double fAmountLogicY)
 
bool impl_DragDataPoint (std::u16string_view rCID, double fOffset)
 
css::uno::Reference< css::accessibility::XAccessibleContext > impl_createAccessibleTextContext ()
 Creates a helper accessibility class that must be initialized via XInitialization. More...
 
void impl_PasteGraphic (css::uno::Reference< css::graphic::XGraphic > const &xGraphic, const ::Point &aPosition)
 
void impl_PasteShapes (SdrModel *pModel)
 
void impl_PasteStringAsTextShape (const OUString &rString, const css::awt::Point &rPosition)
 
void impl_SetMousePointer (const MouseEvent &rEvent)
 
void impl_ClearSelection ()
 
void impl_switchDiagramPositioningToExcludingPositioning ()
 

Static Private Member Functions

static const o3tl::sorted_vector< OUString > & impl_getAvailableCommands ()
 

Private Attributes

mutable::apphelper::LifeTimeManager m_aLifeTimeManager
 
bool m_bSuspended
 
css::uno::Reference< css::uno::XComponentContext > m_xCC
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 
mutable::osl::Mutex m_aModelMutex
 
TheModelRef m_aModel
 
css::uno::Reference< css::awt::XWindow > m_xViewWindow
 
rtl::Reference<::chart::ChartViewm_xChartView
 
std::shared_ptr< DrawModelWrapperm_pDrawModelWrapper
 
std::unique_ptr< DrawViewWrapperm_pDrawViewWrapper
 
Selection m_aSelection
 
SdrDragMode m_eDragMode
 
Timer m_aDoubleClickTimer
 
bool m_bWaitingForDoubleClick
 
bool m_bWaitingForMouseUp
 
bool m_bFieldButtonDown
 
bool m_bConnectingToView
 
bool m_bDisposed
 
css::uno::Reference< css::document::XUndoManager > m_xUndoManager
 
std::unique_ptr< UndoGuardm_pTextActionUndoGuard
 
std::unique_ptr< ::svt::AcceleratorExecutem_apAccelExecute
 
CommandDispatchContainer m_aDispatchContainer
 
std::unique_ptr< DropTargetHelper > m_apDropTargetHelper
 
css::uno::Reference< css::frame::XLayoutManagerEventBroadcaster > m_xLayoutManagerEventBroadcaster
 
ChartDrawMode m_eDrawMode
 
rtl::Reference< svx::sidebar::SelectionChangeHandlermpSelectionChangeHandler
 

Detailed Description

Definition at line 97 of file ChartController.hxx.

Member Enumeration Documentation

◆ eMoveOrResizeType

Enumerator
MOVE_OBJECT 
CENTERED_RESIZE_OBJECT 

Definition at line 538 of file ChartController.hxx.

Constructor & Destructor Documentation

◆ ChartController() [1/2]

chart::ChartController::ChartController ( )
delete

◆ ChartController() [2/2]

chart::ChartController::ChartController ( css::uno::Reference< css::uno::XComponentContext >  xContext)
explicit

◆ ~ChartController()

chart::ChartController::~ChartController ( )
overridevirtual

Definition at line 125 of file ChartController.cxx.

References stopDoubleClickWaiting().

Member Function Documentation

◆ addEventListener()

void SAL_CALL chart::ChartController::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

Definition at line 863 of file ChartController.cxx.

References impl_isDisposedOrSuspended(), and m_aLifeTimeManager.

◆ addFocusListener()

void SAL_CALL chart::ChartController::addFocusListener ( const css::uno::Reference< css::awt::XFocusListener > &  xListener)
overridevirtual

Definition at line 351 of file ChartController_Window.cxx.

References m_xViewWindow.

◆ addKeyListener()

void SAL_CALL chart::ChartController::addKeyListener ( const css::uno::Reference< css::awt::XKeyListener > &  xListener)
overridevirtual

Definition at line 371 of file ChartController_Window.cxx.

References m_xViewWindow.

◆ addMouseListener()

void SAL_CALL chart::ChartController::addMouseListener ( const css::uno::Reference< css::awt::XMouseListener > &  xListener)
overridevirtual

Definition at line 391 of file ChartController_Window.cxx.

References m_xViewWindow.

◆ addMouseMotionListener()

void SAL_CALL chart::ChartController::addMouseMotionListener ( const css::uno::Reference< css::awt::XMouseMotionListener > &  xListener)
overridevirtual

Definition at line 411 of file ChartController_Window.cxx.

References m_xViewWindow.

◆ addPaintListener()

void SAL_CALL chart::ChartController::addPaintListener ( const css::uno::Reference< css::awt::XPaintListener > &  xListener)
overridevirtual

Definition at line 431 of file ChartController_Window.cxx.

References m_xViewWindow.

◆ addSelectionChangeListener()

void SAL_CALL chart::ChartController::addSelectionChangeListener ( const css::uno::Reference< css::view::XSelectionChangeListener > &  xListener)
overridevirtual

◆ addStatusListener()

void SAL_CALL chart::ChartController::addStatusListener ( const css::uno::Reference< css::frame::XStatusListener > &  xControl,
const css::util::URL &  aURL 
)
overridevirtual

Definition at line 1328 of file ChartController.cxx.

◆ addWindowListener()

void SAL_CALL chart::ChartController::addWindowListener ( const css::uno::Reference< css::awt::XWindowListener > &  xListener)
overridevirtual

Definition at line 331 of file ChartController_Window.cxx.

References m_xViewWindow.

◆ attachFrame()

void SAL_CALL chart::ChartController::attachFrame ( const css::uno::Reference< css::frame::XFrame > &  xFrame)
overridevirtual

◆ attachModel()

sal_Bool SAL_CALL chart::ChartController::attachModel ( const css::uno::Reference< css::frame::XModel > &  xModel)
overridevirtual

◆ CreateAccessible()

uno::Reference< XAccessible > chart::ChartController::CreateAccessible ( )

◆ createInstance()

uno::Reference< uno::XInterface > SAL_CALL chart::ChartController::createInstance ( const OUString &  aServiceSpecifier)
overridevirtual

◆ createInstanceWithArguments()

uno::Reference< uno::XInterface > SAL_CALL chart::ChartController::createInstanceWithArguments ( const OUString &  ServiceSpecifier,
const css::uno::Sequence< css::uno::Any > &  Arguments 
)
overridevirtual

Definition at line 1465 of file ChartController.cxx.

References createInstance().

◆ DECL_LINK()

chart::ChartController::DECL_LINK ( DoubleClickWaitingHdl  ,
Timer ,
void   
)
private

◆ dispatch()

void SAL_CALL chart::ChartController::dispatch ( const css::util::URL &  aURL,
const css::uno::Sequence< css::beans::PropertyValue > &  aArgs 
)
overridevirtual

Definition at line 1073 of file ChartController.cxx.

References aCommand, executeDispatch_ChartType(), executeDispatch_Copy(), executeDispatch_Cut(), executeDispatch_DeleteAxis(), executeDispatch_DeleteDataLabel(), executeDispatch_DeleteDataLabels(), executeDispatch_DeleteDataTable(), executeDispatch_DeleteErrorBars(), executeDispatch_DeleteLegend(), executeDispatch_DeleteMajorGrid(), executeDispatch_DeleteMeanValue(), executeDispatch_DeleteMinorGrid(), executeDispatch_DeleteR2Value(), executeDispatch_DeleteTrendline(), executeDispatch_DeleteTrendlineEquation(), executeDispatch_EditData(), executeDispatch_FillColor(), executeDispatch_FillGradient(), executeDispatch_FormatObject(), executeDispatch_InsertAxes(), executeDispatch_InsertAxis(), executeDispatch_InsertAxisTitle(), executeDispatch_InsertDataLabel(), executeDispatch_InsertDataLabels(), executeDispatch_InsertDataTable(), executeDispatch_InsertErrorBars(), executeDispatch_InsertGrid(), executeDispatch_InsertLegend(), executeDispatch_InsertMajorGrid(), executeDispatch_InsertMeanValue(), executeDispatch_InsertMenu_DataLabels(), executeDispatch_InsertMenu_MeanValues(), executeDispatch_InsertMenu_Trendlines(), executeDispatch_InsertMinorGrid(), executeDispatch_InsertR2Value(), executeDispatch_InsertSpecialCharacter(), executeDispatch_InsertTitles(), executeDispatch_InsertTrendline(), executeDispatch_InsertTrendlineEquation(), executeDispatch_LineColor(), executeDispatch_LineWidth(), executeDispatch_LOKPieSegmentDragging(), executeDispatch_LOKSetTextSelection(), executeDispatch_MoveSeries(), executeDispatch_NewArrangement(), executeDispatch_ObjectProperties(), executeDispatch_OpenInsertDataTableDialog(), executeDispatch_OpenLegendDialog(), executeDispatch_Paste(), executeDispatch_PositionAndSize(), executeDispatch_ResetAllDataPoints(), executeDispatch_ResetDataPoint(), executeDispatch_ScaleText(), executeDispatch_SourceData(), executeDispatch_ToggleGridHorizontal(), executeDispatch_ToggleGridVertical(), executeDispatch_ToggleLegend(), executeDispatch_View3D(), getChartModel(), GetChartWindow(), impl_ShapeControllerDispatch(), isShapeContext(), m_xFrame, Name, nType, chart::ChartViewHelper::setViewToDirtyState(), and Value.

◆ dispose()

void SAL_CALL chart::ChartController::dispose ( void  )
overridevirtual

◆ disposing()

void SAL_CALL chart::ChartController::disposing ( const css::lang::EventObject &  Source)
overridevirtual

◆ EndTextEdit()

bool chart::ChartController::EndTextEdit ( )
private

◆ execute_Command()

void chart::ChartController::execute_Command ( const CommandEvent rCEvt)

Definition at line 985 of file ChartController_Window.cxx.

References begin, CHART2_SERVICE_NAME_CHARTTYPE_CANDLESTICK, chart::ControllerCommandDispatch::commandAvailable(), SfxViewShell::Current(), DBG_UNHANDLED_EXCEPTION, end, SfxDispatcher::fillPopupMenu(), chart::ObjectIdentifier::getAxisForCID(), chart::CommandDispatchContainer::getChartDispatcher(), getChartModel(), GetChartWindow(), CommandEvent::GetCommand(), chart::TitleHelper::getCompleteString(), chart::ObjectIdentifier::getDataSeriesForCID(), chart::RegressionCurveHelper::getFirstCurveNotMeanValueLine(), getFirstDiagram(), chart::ObjectIdentifier::getIndexFromParticleOrCID(), chart::AxisHelper::getIndicesForAxis(), chart::RegressionCurveHelper::getMeanValueLine(), CommandEvent::GetMousePosPixel(), chart::ObjectIdentifier::getObjectType(), chart::Selection::getSelectedCID(), chart::DataSeriesHelper::hasDataLabelAtPoint(), chart::DataSeriesHelper::hasDataLabelsAtPoints(), chart::DataSeriesHelper::hasDataLabelsAtSeries(), chart::RegressionCurveHelper::hasEquation(), chart::StatisticsHelper::hasErrorBars(), chart::LegendHelper::hasLegend(), impl_notifySelectionChangeListeners(), comphelper::LibreOfficeKit::isActive(), chart::AxisHelper::isAxisVisible(), chart::AxisHelper::isGridShown(), CommandEvent::IsMouseEvent(), chart::Selection::isSelectionDifferentFromBeforeMouseDown(), isShapeContext(), m_aDispatchContainer, m_aSelection, m_pDrawViewWrapper, m_xCC, m_xFrame, comphelper::makePropertyValue(), nCount, nPos, chart::OBJECTTYPE_AXIS, chart::OBJECTTYPE_DATA_CURVE, chart::OBJECTTYPE_DATA_CURVE_EQUATION, chart::OBJECTTYPE_DATA_POINT, chart::OBJECTTYPE_DATA_SERIES, chart::OBJECTTYPE_DATA_STOCK_GAIN, chart::OBJECTTYPE_DATA_STOCK_LOSS, chart::OBJECTTYPE_DATA_TABLE, chart::OBJECTTYPE_DIAGRAM, chart::OBJECTTYPE_DIAGRAM_FLOOR, chart::OBJECTTYPE_DIAGRAM_WALL, chart::OBJECTTYPE_GRID, chart::OBJECTTYPE_PAGE, chart::OBJECTTYPE_SUBGRID, chart::OBJECTTYPE_UNKNOWN, chart::DataSeriesProperties::PROP_DATASERIES_ATTRIBUTED_DATA_POINTS, u, Point::X(), and Point::Y().

Referenced by chart::ChartWindow::Command().

◆ execute_DoubleClick()

void chart::ChartController::execute_DoubleClick ( const Point pMousePixel)
private

◆ execute_KeyInput()

bool chart::ChartController::execute_KeyInput ( const KeyEvent rKEvt)

Definition at line 1327 of file ChartController_Window.cxx.

References aNewSelection, tools::Rectangle::Bottom(), CENTERED_RESIZE_OBJECT, svt::AcceleratorExecute::createAcceleratorHelper(), Application::CreateMessageDialog(), EndTextEdit(), executeDispatch_Delete(), executeDispatch_EditText(), chart::ObjectIdentifier::getAny(), getChartModel(), GetChartWindow(), vcl::KeyCode::GetCode(), chart::ObjectKeyNavigation::getCurrentSelection(), chart::ObjectIdentifier::getDragMethodServiceName(), chart::ObjectIdentifier::getDragParameterString(), KeyEvent::GetKeyCode(), chart::ObjectIdentifier::getObjectCID(), chart::ObjectIdentifier::getObjectType(), tools::Rectangle::getOpenHeight(), tools::Rectangle::getOpenWidth(), chart::ChartModelHelper::getPageSize(), chart::ObjectIdentifier::getPieSegmentDragMethodServiceName(), chart::Selection::getSelectedAdditionalShape(), chart::Selection::getSelectedCID(), chart::DrawViewWrapper::getSelectedObject(), chart::Selection::getSelectedOID(), SdrObject::GetSnapRect(), chart::ObjectKeyNavigation::handleKeyEvent(), Size::Height(), impl_DragDataPoint(), impl_moveOrResizeObject(), chart::Selection::isDragableObjectSelected(), vcl::KeyCode::IsMod1(), vcl::KeyCode::IsMod2(), chart::ObjectHierarchy::isRootNode(), chart::SelectionHelper::isRotateableObject(), SdrObjEditView::IsTextEdit(), chart::ObjectIdentifier::isValid(), KEY_ADD, KEY_BACKSPACE, KEY_DELETE, KEY_DOWN, KEY_ESCAPE, KEY_F12, KEY_F2, KEY_LEFT, KEY_RIGHT, KEY_SUBTRACT, KEY_UP, SdrView::KeyInput(), tools::Rectangle::Left(), m_apAccelExecute, m_aSelection, m_eDragMode, m_pDrawViewWrapper, m_xCC, m_xChartView, m_xFrame, MOVE_OBJECT, chart::PositionAndSizeHelper::moveObject(), chart::OBJECTTYPE_DATA_LABEL, chart::OBJECTTYPE_DATA_POINT, chart::OBJECTTYPE_DIAGRAM, chart::OBJECTTYPE_TITLE, chart::ObjectIdentifier::parsePieSegmentDragParameterString(), tools::Rectangle::Right(), SAL_WARN, chart::SchResId(), select(), svt::AcceleratorExecute::st_VCLKey2AWTKey(), tools::Rectangle::Top(), and Size::Width().

Referenced by chart::ChartWindow::KeyInput().

◆ execute_MouseButtonDown()

void chart::ChartController::execute_MouseButtonDown ( const MouseEvent rMEvt)

Definition at line 559 of file ChartController_Window.cxx.

References chart::Selection::adaptSelectionToNewPos(), chart::Selection::applySelection(), SdrCreateView::BckAction(), SdrCreateView::BegCreateCaptionObj(), SdrCreateView::BegCreateObj(), chart::CHARTDRAW_INSERT, chart::Selection::clearSelection(), DRGPIX, EndTextEdit(), MouseEvent::GetButtons(), getChartModel(), GetChartWindow(), SdrCreateView::GetCreateObj(), SdrCreateView::GetCurrentObjIdentifier(), chart::ObjectIdentifier::getDragMethodServiceName(), SdrMarkView::GetDragMode(), chart::CommandDispatchContainer::getDrawCommandDispatch(), chart::DrawViewWrapper::getHitObject(), SdrHdl::GetKind(), chart::DrawViewWrapper::getNamedSdrObject(), chart::ObjectIdentifier::getPieSegmentDragMethodServiceName(), MouseEvent::GetPosPixel(), chart::SelectionHelper::getSceneToRotate(), chart::Selection::getSelectedCID(), chart::Selection::hasSelection(), impl_SetMousePointer(), SdrCreateView::IsAction(), chart::isDoubleClick(), chart::Selection::isDragableObjectSelected(), SdrMarkView::IsMarkedHit(), chart::Selection::isResizeableObjectSelected(), MouseEvent::IsRight(), chart::Selection::isRotateableObjectSelected(), SdrObjEditView::IsTextEdit(), SdrObjEditView::IsTextEditHit(), m_aDispatchContainer, m_aSelection, m_bFieldButtonDown, m_bWaitingForDoubleClick, m_bWaitingForMouseUp, m_eDragMode, m_eDrawMode, m_pDrawModelWrapper, m_pDrawViewWrapper, MOUSE_LEFT, SdrView::MouseButtonDown(), SdrView::PickAnything(), SdrMarkView::PickHandle(), pObject, chart::Selection::remindSelectionBeforeMouseDown(), chart::DragMethod_RotateDiagram::ROTATIONDIRECTION_FREE, chart::DragMethod_RotateDiagram::ROTATIONDIRECTION_X, chart::DragMethod_RotateDiagram::ROTATIONDIRECTION_Y, chart::DragMethod_RotateDiagram::ROTATIONDIRECTION_Z, chart::DrawCommandDispatch::setAttributes(), SdrMarkView::SetDragMode(), chart::DrawCommandDispatch::setLineEnds(), SdrObject::SetMergedItemSet(), startDoubleClickWaiting(), and stopDoubleClickWaiting().

Referenced by chart::ChartWindow::MouseButtonDown().

◆ execute_MouseButtonUp()

void chart::ChartController::execute_MouseButtonUp ( const MouseEvent rMEvt)

Definition at line 742 of file ChartController_Window.cxx.

References chart::Selection::adaptSelectionToNewPos(), chart::Selection::applySelection(), SdrMarkView::AreObjectsMarked(), chart::CHARTDRAW_INSERT, chart::CHARTDRAW_SELECT, chart::UndoGuard::commit(), ActionDescriptionProvider::createDescription(), DBG_UNHANDLED_EXCEPTION, DynCastE3dObject(), SdrCreateView::EndCreateObj(), SdrDragView::EndDragObj(), execute_DoubleClick(), executeDispatch_EditText(), getChartModel(), GetChartWindow(), SdrCreateView::GetCurrentObjIdentifier(), chart::DrawViewWrapper::getHitObject(), SdrObject::GetLastBoundRect(), SdrDragMethod::getMoveOnly(), chart::ObjectNameProvider::getName(), chart::ObjectIdentifier::getObjectType(), tools::Rectangle::getOpenHeight(), tools::Rectangle::getOpenWidth(), chart::ChartModelHelper::getPageSize(), MouseEvent::GetPosPixel(), E3dObject::getRootE3dSceneFromE3dObject(), chart::Selection::getSelectedCID(), chart::DrawViewWrapper::getSelectedObject(), SdrObject::GetSnapRect(), SdrAttrObj::GetSnapRect(), chart::DragMethod_Base::getUndoDescription(), SdrObject::getUnoShape(), impl_notifySelectionChangeListeners(), impl_selectObjectAndNotiy(), impl_SetMousePointer(), impl_switchDiagramPositioningToExcludingPositioning(), SdrCreateView::IsCreateObj(), chart::isDoubleClick(), chart::SelectionHelper::isDragableObjectHitTwice(), SdrDragView::IsDragObj(), chart::Selection::isResizeableObjectSelected(), MouseEvent::IsRight(), chart::Selection::isRotateableObjectSelected(), chart::Selection::isSelectionDifferentFromBeforeMouseDown(), SdrObjEditView::IsTextEdit(), tools::Rectangle::Left(), m_aSelection, m_bFieldButtonDown, m_bWaitingForDoubleClick, m_bWaitingForMouseUp, m_eDragMode, m_eDrawMode, m_pDrawViewWrapper, m_xUndoManager, chart::Selection::maybeSwitchSelectionAfterSingleClickWasEnsured(), SdrView::MouseButtonUp(), ActionDescriptionProvider::Move, chart::PositionAndSizeHelper::moveObject(), chart::OBJECTTYPE_LEGEND, pObject, chart::Selection::resetPossibleSelectionAfterSingleClickWasEnsured(), ActionDescriptionProvider::Resize, sendPopupRequest(), SdrMarkView::SetDragMode(), setDrawMode(), chart::Selection::setSelection(), chart::DiagramHelper::switchDiagramPositioningToExcludingPositioning(), tools::Rectangle::Top(), and xModel.

Referenced by chart::ChartWindow::MouseButtonUp().

◆ execute_MouseMove()

void chart::ChartController::execute_MouseMove ( const MouseEvent rMEvt)

◆ execute_Paint()

void chart::ChartController::execute_Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)

◆ execute_Resize()

void chart::ChartController::execute_Resize ( )

Definition at line 977 of file ChartController_Window.cxx.

References GetChartWindow().

Referenced by chart::ChartWindow::Resize().

◆ executeDispatch_ChartType()

void chart::ChartController::executeDispatch_ChartType ( )
private

◆ executeDispatch_Copy()

void chart::ChartController::executeDispatch_Copy ( )
private

◆ executeDispatch_Cut()

void chart::ChartController::executeDispatch_Cut ( )
private

Definition at line 539 of file ChartController_Tools.cxx.

References executeDispatch_Copy(), and executeDispatch_Delete().

Referenced by dispatch().

◆ executeDispatch_Delete()

bool chart::ChartController::executeDispatch_Delete ( )
private

◆ executeDispatch_DeleteAxis()

void chart::ChartController::executeDispatch_DeleteAxis ( )
private

◆ executeDispatch_DeleteDataLabel()

void chart::ChartController::executeDispatch_DeleteDataLabel ( )
private

◆ executeDispatch_DeleteDataLabels()

void chart::ChartController::executeDispatch_DeleteDataLabels ( )
private

◆ executeDispatch_DeleteDataTable()

void chart::ChartController::executeDispatch_DeleteDataTable ( )
private

◆ executeDispatch_DeleteErrorBars()

void chart::ChartController::executeDispatch_DeleteErrorBars ( bool  bYError)
private

◆ executeDispatch_DeleteLegend()

void chart::ChartController::executeDispatch_DeleteLegend ( )
private

◆ executeDispatch_DeleteMajorGrid()

void chart::ChartController::executeDispatch_DeleteMajorGrid ( )
private

◆ executeDispatch_DeleteMeanValue()

void chart::ChartController::executeDispatch_DeleteMeanValue ( )
private

◆ executeDispatch_DeleteMinorGrid()

void chart::ChartController::executeDispatch_DeleteMinorGrid ( )
private

◆ executeDispatch_DeleteR2Value()

void chart::ChartController::executeDispatch_DeleteR2Value ( )
private

◆ executeDispatch_DeleteTrendline()

void chart::ChartController::executeDispatch_DeleteTrendline ( )
private

◆ executeDispatch_DeleteTrendlineEquation()

void chart::ChartController::executeDispatch_DeleteTrendlineEquation ( )
private

◆ executeDispatch_EditData()

void chart::ChartController::executeDispatch_EditData ( )
private

◆ executeDispatch_EditText()

void chart::ChartController::executeDispatch_EditText ( const Point pMousePixel = nullptr)
private

◆ executeDispatch_FillColor()

void chart::ChartController::executeDispatch_FillColor ( sal_uInt32  nColor)
private

◆ executeDispatch_FillGradient()

void chart::ChartController::executeDispatch_FillGradient ( std::u16string_view  sJSONGradient)
private

◆ executeDispatch_FormatObject()

void chart::ChartController::executeDispatch_FormatObject ( std::u16string_view  rDispatchCommand)
private

◆ executeDispatch_InsertAxes()

void chart::ChartController::executeDispatch_InsertAxes ( )
private

◆ executeDispatch_InsertAxis()

void chart::ChartController::executeDispatch_InsertAxis ( )
private

◆ executeDispatch_InsertAxisTitle()

void chart::ChartController::executeDispatch_InsertAxisTitle ( )
private

◆ executeDispatch_InsertDataLabel()

void chart::ChartController::executeDispatch_InsertDataLabel ( )
private

◆ executeDispatch_InsertDataLabels()

void chart::ChartController::executeDispatch_InsertDataLabels ( )
private

◆ executeDispatch_InsertDataTable()

void chart::ChartController::executeDispatch_InsertDataTable ( )
private

◆ executeDispatch_InsertErrorBars()

void chart::ChartController::executeDispatch_InsertErrorBars ( bool  bYError)
private

Definition at line 521 of file ChartController_Insert.cxx.

References chart::StatisticsHelper::addErrorBars(), chart::wrapper::ErrorBarItemConverter::ApplyItemSet(), chart::wrapper::MultipleItemConverter::ApplyItemSet(), chart::UndoGuard::commit(), chart::ObjectIdentifier::createClassifiedIdentifierWithParent(), ActionDescriptionProvider::createDescription(), chart::wrapper::ItemConverter::CreateEmptyItemSet(), chart::SchAttribTabDlg::DialogWasClosedWithOK(), chart::ErrorBarResources::ERROR_BAR_X, chart::ErrorBarResources::ERROR_BAR_Y, chart::InsertErrorBarsDialog::FillItemSet(), chart::wrapper::ErrorBarItemConverter::FillItemSet(), chart::wrapper::MultipleItemConverter::FillItemSet(), chart::InsertErrorBarsDialog::getAxisMinorStepWidthForErrorBarDecimals(), GetChartFrame(), getChartModel(), chart::ObjectIdentifier::getDataSeriesForCID(), chart::ObjectNameProvider::getName_ObjectForAllSeries(), SfxTabDialogController::GetOutputItemSet(), chart::Selection::getSelectedCID(), chart::ObjectPropertiesDialogParameter::init(), ActionDescriptionProvider::Insert, m_aSelection, m_pDrawModelWrapper, m_xChartView, m_xUndoManager, chart::OBJECTTYPE_DATA_ERRORS_X, chart::OBJECTTYPE_DATA_ERRORS_Y, SfxItemSet::Put(), RET_OK, weld::DialogController::run(), SfxTabDialogController::run(), SCHATTR_STAT_ERRORBAR_TYPE(), chart::SchResId(), chart::InsertErrorBarsDialog::SetAxisMinorStepWidthForErrorBarDecimals(), chart::SchAttribTabDlg::SetAxisMinorStepWidthForErrorBarDecimals(), TOOLS_WARN_EXCEPTION, and u.

Referenced by dispatch().

◆ executeDispatch_InsertGrid()

void chart::ChartController::executeDispatch_InsertGrid ( )
private

◆ executeDispatch_InsertLegend()

void chart::ChartController::executeDispatch_InsertLegend ( )
private

◆ executeDispatch_InsertMajorGrid()

void chart::ChartController::executeDispatch_InsertMajorGrid ( )
private

◆ executeDispatch_InsertMeanValue()

void chart::ChartController::executeDispatch_InsertMeanValue ( )
private

◆ executeDispatch_InsertMenu_DataLabels()

void chart::ChartController::executeDispatch_InsertMenu_DataLabels ( )
private

◆ executeDispatch_InsertMenu_MeanValues()

void chart::ChartController::executeDispatch_InsertMenu_MeanValues ( )
private

◆ executeDispatch_InsertMenu_Trendlines()

void chart::ChartController::executeDispatch_InsertMenu_Trendlines ( )
private

◆ executeDispatch_InsertMinorGrid()

void chart::ChartController::executeDispatch_InsertMinorGrid ( )
private

◆ executeDispatch_InsertR2Value()

void chart::ChartController::executeDispatch_InsertR2Value ( )
private

◆ executeDispatch_InsertSpecialCharacter()

void chart::ChartController::executeDispatch_InsertSpecialCharacter ( )
private

◆ executeDispatch_InsertTitles()

void chart::ChartController::executeDispatch_InsertTitles ( )
private

◆ executeDispatch_InsertTrendline()

void chart::ChartController::executeDispatch_InsertTrendline ( )
private

◆ executeDispatch_InsertTrendlineEquation()

void chart::ChartController::executeDispatch_InsertTrendlineEquation ( bool  bInsertR2 = false)
private

◆ executeDispatch_LineColor()

void chart::ChartController::executeDispatch_LineColor ( sal_uInt32  nColor)
private

◆ executeDispatch_LineWidth()

void chart::ChartController::executeDispatch_LineWidth ( sal_uInt32  nWidth)
private

◆ executeDispatch_LOKPieSegmentDragging()

void chart::ChartController::executeDispatch_LOKPieSegmentDragging ( int  nOffset)
private

◆ executeDispatch_LOKSetTextSelection()

void chart::ChartController::executeDispatch_LOKSetTextSelection ( int  nType,
int  nX,
int  nY 
)
private

◆ executeDispatch_MoveSeries()

void chart::ChartController::executeDispatch_MoveSeries ( bool  bForward)
private

◆ executeDispatch_NewArrangement()

void chart::ChartController::executeDispatch_NewArrangement ( )
private

◆ executeDispatch_ObjectProperties()

void chart::ChartController::executeDispatch_ObjectProperties ( )
private

◆ executeDispatch_OpenInsertDataTableDialog()

void chart::ChartController::executeDispatch_OpenInsertDataTableDialog ( )
private

◆ executeDispatch_OpenLegendDialog()

void chart::ChartController::executeDispatch_OpenLegendDialog ( )
private

◆ executeDispatch_Paste()

void chart::ChartController::executeDispatch_Paste ( )
private

◆ executeDispatch_PositionAndSize()

void chart::ChartController::executeDispatch_PositionAndSize ( const ::css::uno::Sequence< ::css::beans::PropertyValue > *  pArgs = nullptr)
private

◆ executeDispatch_ResetAllDataPoints()

void chart::ChartController::executeDispatch_ResetAllDataPoints ( )
private

◆ executeDispatch_ResetDataPoint()

void chart::ChartController::executeDispatch_ResetDataPoint ( )
private

◆ executeDispatch_ScaleText()

void chart::ChartController::executeDispatch_ScaleText ( )
private

◆ executeDispatch_SourceData()

void chart::ChartController::executeDispatch_SourceData ( )
private

◆ executeDispatch_ToggleGridHorizontal()

void chart::ChartController::executeDispatch_ToggleGridHorizontal ( )
private

◆ executeDispatch_ToggleGridVertical()

void chart::ChartController::executeDispatch_ToggleGridVertical ( )
private

◆ executeDispatch_ToggleLegend()

void chart::ChartController::executeDispatch_ToggleLegend ( )
private

◆ executeDispatch_View3D()

void chart::ChartController::executeDispatch_View3D ( )
private

◆ executeDlg_ObjectProperties()

void chart::ChartController::executeDlg_ObjectProperties ( const OUString &  rObjectCID)
private

◆ executeDlg_ObjectProperties_withoutUndoGuard()

bool chart::ChartController::executeDlg_ObjectProperties_withoutUndoGuard ( const OUString &  rObjectCID,
bool  bSuccessOnUnchanged 
)
private

◆ getAvailableServiceNames()

uno::Sequence< OUString > SAL_CALL chart::ChartController::getAvailableServiceNames ( )
overridevirtual

Definition at line 1474 of file ChartController.cxx.

References aServiceNames, and CHART_ACCESSIBLE_TEXT_SERVICE_NAME.

◆ GetChartFrame()

weld::Window * chart::ChartController::GetChartFrame ( )

◆ getChartModel()

rtl::Reference<::chart::ChartModel > chart::ChartController::getChartModel ( )

Definition at line 624 of file ChartController.cxx.

References chart::ChartController::TheModel::getModel(), chart::ChartController::TheModelRef::is(), m_aModel, and m_aModelMutex.

Referenced by attachFrame(), attachModel(), dispatch(), dispose(), EndTextEdit(), execute_Command(), execute_KeyInput(), execute_MouseButtonDown(), execute_MouseButtonUp(), execute_Paint(), executeDispatch_ChartType(), executeDispatch_Delete(), executeDispatch_DeleteAxis(), executeDispatch_DeleteDataLabel(), executeDispatch_DeleteDataLabels(), executeDispatch_DeleteErrorBars(), executeDispatch_DeleteLegend(), executeDispatch_DeleteMajorGrid(), executeDispatch_DeleteMeanValue(), executeDispatch_DeleteMinorGrid(), executeDispatch_DeleteR2Value(), executeDispatch_DeleteTrendline(), executeDispatch_DeleteTrendlineEquation(), executeDispatch_EditData(), executeDispatch_FillColor(), executeDispatch_FillGradient(), executeDispatch_FormatObject(), executeDispatch_InsertAxes(), executeDispatch_InsertAxis(), executeDispatch_InsertAxisTitle(), executeDispatch_InsertDataLabel(), executeDispatch_InsertDataLabels(), executeDispatch_InsertErrorBars(), executeDispatch_InsertGrid(), executeDispatch_InsertLegend(), executeDispatch_InsertMajorGrid(), executeDispatch_InsertMeanValue(), executeDispatch_InsertMenu_DataLabels(), executeDispatch_InsertMenu_MeanValues(), executeDispatch_InsertMenu_Trendlines(), executeDispatch_InsertMinorGrid(), executeDispatch_InsertR2Value(), executeDispatch_InsertTitles(), executeDispatch_InsertTrendline(), executeDispatch_InsertTrendlineEquation(), executeDispatch_LineColor(), executeDispatch_LineWidth(), executeDispatch_LOKPieSegmentDragging(), executeDispatch_MoveSeries(), executeDispatch_NewArrangement(), executeDispatch_OpenLegendDialog(), executeDispatch_PositionAndSize(), executeDispatch_ResetAllDataPoints(), executeDispatch_ResetDataPoint(), executeDispatch_ScaleText(), executeDispatch_SourceData(), executeDispatch_ToggleLegend(), executeDispatch_View3D(), executeDlg_ObjectProperties_withoutUndoGuard(), ChartWindowUIObject::get_children(), GetContextName(), getFirstDiagram(), getModel(), chart::ShapeController::getState(), impl_createDrawViewController(), impl_createReferenceSizeProvider(), impl_DragDataPoint(), impl_moveOrResizeObject(), impl_PasteGraphic(), impl_PasteShapes(), impl_SetMousePointer(), impl_switchDiagramPositioningToExcludingPositioning(), modeChanged(), NotifyUndoActionHdl(), requestQuickHelp(), and setPosSize().

◆ getChartView()

rtl::Reference<::chart::ChartView > const & chart::ChartController::getChartView ( ) const
inline

Definition at line 345 of file ChartController.hxx.

References m_xChartView.

Referenced by ChartWindowUIObject::get_children().

◆ GetChartWindow()

ChartWindow * chart::ChartController::GetChartWindow ( ) const

◆ getComponentWindow()

css::uno::Reference< css::awt::XWindow > SAL_CALL chart::ChartController::getComponentWindow ( )
overridevirtual

Definition at line 697 of file ChartController.cxx.

◆ GetContextName()

OUString chart::ChartController::GetContextName ( )

◆ getCreationArguments()

css::uno::Sequence< css::beans::PropertyValue > SAL_CALL chart::ChartController::getCreationArguments ( )
overridevirtual

Definition at line 706 of file ChartController.cxx.

◆ GetDrawModelWrapper()

DrawModelWrapper * chart::ChartController::GetDrawModelWrapper ( )

◆ GetDrawViewWrapper()

DrawViewWrapper * chart::ChartController::GetDrawViewWrapper ( )

◆ getFirstDiagram()

rtl::Reference<::chart::Diagram > chart::ChartController::getFirstDiagram ( )

◆ getFrame()

uno::Reference< frame::XFrame > SAL_CALL chart::ChartController::getFrame ( )
overridevirtual

Definition at line 611 of file ChartController.cxx.

References m_xFrame.

◆ getImplementationName()

OUString SAL_CALL chart::ChartController::getImplementationName ( )
overridevirtual

Definition at line 311 of file ChartController.cxx.

References CHART_CONTROLLER_SERVICE_IMPLEMENTATION_NAME.

◆ getModel()

uno::Reference< frame::XModel > SAL_CALL chart::ChartController::getModel ( )
overridevirtual

Definition at line 619 of file ChartController.cxx.

References getChartModel().

Referenced by dispose(), and queryDispatch().

◆ getPosSize()

awt::Rectangle SAL_CALL chart::ChartController::getPosSize ( )
overridevirtual

Definition at line 292 of file ChartController_Window.cxx.

References m_xViewWindow.

◆ getSelection()

uno::Any SAL_CALL chart::ChartController::getSelection ( )
overridevirtual

◆ getSidebar()

css::uno::Reference< css::ui::XSidebarProvider > SAL_CALL chart::ChartController::getSidebar ( )
overridevirtual

Definition at line 711 of file ChartController.cxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SAL_CALL chart::ChartController::getSupportedServiceNames ( )
overridevirtual

Definition at line 321 of file ChartController.cxx.

References CHART_CONTROLLER_SERVICE_NAME.

◆ getViewControllerName()

OUString SAL_CALL chart::ChartController::getViewControllerName ( )
overridevirtual

Definition at line 704 of file ChartController.cxx.

◆ getViewData()

uno::Any SAL_CALL chart::ChartController::getViewData ( )
overridevirtual

Definition at line 642 of file ChartController.cxx.

References impl_isDisposedOrSuspended().

◆ getViewElementListProvider()

ViewElementListProvider chart::ChartController::getViewElementListProvider ( )

Definition at line 1698 of file ChartController.cxx.

References m_pDrawModelWrapper.

◆ impl_adaptDataSeriesAutoResize()

void chart::ChartController::impl_adaptDataSeriesAutoResize ( )
private

◆ impl_ClearSelection()

void chart::ChartController::impl_ClearSelection ( )
private

◆ impl_createAccessibleTextContext()

uno::Reference< css::accessibility::XAccessibleContext > chart::ChartController::impl_createAccessibleTextContext ( )
private

Creates a helper accessibility class that must be initialized via XInitialization.

For parameters see

The returned object should not be used directly. Instead a proxy object should use this helper to retrieve its children and add them to its own children.

Definition at line 219 of file ChartController_TextEdit.cxx.

References m_pDrawViewWrapper.

Referenced by createInstance().

◆ impl_createDrawViewController()

void chart::ChartController::impl_createDrawViewController ( )
private

◆ impl_createReferenceSizeProvider()

std::unique_ptr< ReferenceSizeProvider > chart::ChartController::impl_createReferenceSizeProvider ( )
private

◆ impl_deleteDrawViewController()

void chart::ChartController::impl_deleteDrawViewController ( )
private

Definition at line 739 of file ChartController.cxx.

References EndTextEdit(), and m_pDrawViewWrapper.

Referenced by dispose().

◆ impl_DragDataPoint()

bool chart::ChartController::impl_DragDataPoint ( std::u16string_view  rCID,
double  fOffset 
)
private

◆ impl_getAvailableCommands()

const o3tl::sorted_vector< OUString > & chart::ChartController::impl_getAvailableCommands ( )
staticprivate

Definition at line 1628 of file ChartController.cxx.

Referenced by attachModel().

◆ impl_initializeAccessible() [1/2]

void chart::ChartController::impl_initializeAccessible ( )
private

◆ impl_initializeAccessible() [2/2]

void chart::ChartController::impl_initializeAccessible ( const css::uno::Reference< css::lang::XInitialization > &  xInit)
private

◆ impl_invalidateAccessible()

void chart::ChartController::impl_invalidateAccessible ( )
private

Definition at line 1582 of file ChartController.cxx.

References aArguments, and GetChartWindow().

Referenced by attachModel(), dispose(), and modeChanged().

◆ impl_isDisposedOrSuspended()

bool chart::ChartController::impl_isDisposedOrSuspended ( ) const
private

◆ impl_moveOrResizeObject()

bool chart::ChartController::impl_moveOrResizeObject ( const OUString &  rCID,
eMoveOrResizeType  eType,
double  fAmountLogicX,
double  fAmountLogicY 
)
private

◆ impl_notifySelectionChangeListeners()

void chart::ChartController::impl_notifySelectionChangeListeners ( )
private

◆ impl_PasteGraphic()

void chart::ChartController::impl_PasteGraphic ( css::uno::Reference< css::graphic::XGraphic > const &  xGraphic,
const ::Point aPosition 
)
private

◆ impl_PasteShapes()

void chart::ChartController::impl_PasteShapes ( SdrModel pModel)
private

◆ impl_PasteStringAsTextShape()

void chart::ChartController::impl_PasteStringAsTextShape ( const OUString &  rString,
const css::awt::Point &  rPosition 
)
private

◆ impl_releaseThisModel()

bool chart::ChartController::impl_releaseThisModel ( const css::uno::Reference< css::uno::XInterface > &  xModel)
private

◆ impl_selectObjectAndNotiy()

void chart::ChartController::impl_selectObjectAndNotiy ( )
private

◆ impl_SetMousePointer()

void chart::ChartController::impl_SetMousePointer ( const MouseEvent rEvent)
private

◆ impl_ShapeControllerDispatch()

void chart::ChartController::impl_ShapeControllerDispatch ( const css::util::URL &  rURL,
const css::uno::Sequence< css::beans::PropertyValue > &  rArgs 
)
private

◆ impl_switchDiagramPositioningToExcludingPositioning()

void chart::ChartController::impl_switchDiagramPositioningToExcludingPositioning ( )
private

◆ isAdditionalShapeSelected()

bool chart::ChartController::isAdditionalShapeSelected ( ) const

◆ isObjectDeleteable()

bool chart::ChartController::isObjectDeleteable ( const css::uno::Any &  rSelection)
static

◆ isShapeContext()

bool chart::ChartController::isShapeContext ( ) const

◆ layoutEvent()

void SAL_CALL chart::ChartController::layoutEvent ( const css::lang::EventObject &  aSource,
::sal_Int16  eLayoutEvent,
const css::uno::Any &  aInfo 
)
overridevirtual

Definition at line 968 of file ChartController.cxx.

◆ modeChanged()

void SAL_CALL chart::ChartController::modeChanged ( const css::util::ModeChangeEvent &  _rSource)
overridevirtual

◆ modified()

void SAL_CALL chart::ChartController::modified ( const css::lang::EventObject &  aEvent)
overridevirtual

Definition at line 1481 of file ChartController.cxx.

◆ notifyClosing()

void SAL_CALL chart::ChartController::notifyClosing ( const css::lang::EventObject &  Source)
overridevirtual

◆ NotifyUndoActionHdl()

void chart::ChartController::NotifyUndoActionHdl ( std::unique_ptr< SdrUndoAction pUndoAction)

◆ PrePaint()

void chart::ChartController::PrePaint ( )

◆ queryClosing()

void SAL_CALL chart::ChartController::queryClosing ( const css::lang::EventObject &  Source,
sal_Bool  GetsOwnership 
)
overridevirtual

◆ queryDispatch()

uno::Reference< frame::XDispatch > SAL_CALL chart::ChartController::queryDispatch ( const css::util::URL &  rURL,
const OUString &  rTargetFrameName,
sal_Int32  nSearchFlags 
)
overridevirtual

◆ queryDispatches()

uno::Sequence< uno::Reference< frame::XDispatch > > chart::ChartController::queryDispatches ( const css::uno::Sequence< css::frame::DispatchDescriptor > &  xDescripts)
overridevirtual

◆ registerContextMenuInterceptor()

void SAL_CALL chart::ChartController::registerContextMenuInterceptor ( const css::uno::Reference< css::ui::XContextMenuInterceptor > &  xInterceptor)
overridevirtual

Definition at line 1343 of file ChartController.cxx.

◆ releaseContextMenuInterceptor()

void SAL_CALL chart::ChartController::releaseContextMenuInterceptor ( const css::uno::Reference< css::ui::XContextMenuInterceptor > &  xInterceptor)
overridevirtual

Definition at line 1349 of file ChartController.cxx.

◆ removeEventListener()

void SAL_CALL chart::ChartController::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

Definition at line 874 of file ChartController.cxx.

References m_aLifeTimeManager.

◆ removeFocusListener()

void SAL_CALL chart::ChartController::removeFocusListener ( const css::uno::Reference< css::awt::XFocusListener > &  xListener)
overridevirtual

Definition at line 361 of file ChartController_Window.cxx.

References m_xViewWindow.

◆ removeKeyListener()

void SAL_CALL chart::ChartController::removeKeyListener ( const css::uno::Reference< css::awt::XKeyListener > &  xListener)
overridevirtual

Definition at line 381 of file ChartController_Window.cxx.

References m_xViewWindow.

◆ removeMouseListener()

void SAL_CALL chart::ChartController::removeMouseListener ( const css::uno::Reference< css::awt::XMouseListener > &  xListener)
overridevirtual

Definition at line 401 of file ChartController_Window.cxx.

References m_xViewWindow.

◆ removeMouseMotionListener()

void SAL_CALL chart::ChartController::removeMouseMotionListener ( const css::uno::Reference< css::awt::XMouseMotionListener > &  xListener)
overridevirtual

Definition at line 421 of file ChartController_Window.cxx.

References m_xViewWindow.

◆ removePaintListener()

void SAL_CALL chart::ChartController::removePaintListener ( const css::uno::Reference< css::awt::XPaintListener > &  xListener)
overridevirtual

Definition at line 441 of file ChartController_Window.cxx.

References m_xViewWindow.

◆ removeSelectionChangeListener()

void SAL_CALL chart::ChartController::removeSelectionChangeListener ( const css::uno::Reference< css::view::XSelectionChangeListener > &  xListener)
overridevirtual

◆ removeStatusListener()

void SAL_CALL chart::ChartController::removeStatusListener ( const css::uno::Reference< css::frame::XStatusListener > &  xControl,
const css::util::URL &  aURL 
)
overridevirtual

Definition at line 1335 of file ChartController.cxx.

◆ removeWindowListener()

void SAL_CALL chart::ChartController::removeWindowListener ( const css::uno::Reference< css::awt::XWindowListener > &  xListener)
overridevirtual

Definition at line 341 of file ChartController_Window.cxx.

References m_xViewWindow.

◆ requestQuickHelp()

bool chart::ChartController::requestQuickHelp ( ::Point  aAtLogicPosition,
bool  bIsBalloonHelp,
OUString &  rOutQuickHelpText,
css::awt::Rectangle &  rOutEqualRect 
)

get help text to be shown in a quick help

Parameters
aAtLogicPositionthe position in logic coordinates (of the window) of the mouse cursor to determine for which object help is requested.
bIsBalloonHelpdetermines whether to return the long text version (balloon help) or the shorter one (quick help).
rOutQuickHelpTextis filled with the quick help text
rOutEqualRectis filled with a rectangle that denotes the region in which the quick help does not change.
Returns
</sal_True>, if a quick help should be shown.

Definition at line 1615 of file ChartController_Window.cxx.

References getChartModel(), chart::ObjectNameProvider::getHelpText(), chart::SelectionHelper::getHitObjectCID(), chart::ChartController::TheModelRef::is(), m_aModel, m_pDrawViewWrapper, and m_xChartView.

Referenced by chart::ChartWindow::RequestHelp().

◆ restoreViewData()

void SAL_CALL chart::ChartController::restoreViewData ( const css::uno::Any &  rValue)
overridevirtual

Definition at line 659 of file ChartController.cxx.

References impl_isDisposedOrSuspended().

◆ select()

sal_Bool SAL_CALL chart::ChartController::select ( const css::uno::Any &  rSelection)
overridevirtual

◆ sendPopupRequest()

void chart::ChartController::sendPopupRequest ( std::u16string_view  rCID,
tools::Rectangle  aRectangle 
)
private

◆ SetAndApplySelection()

void chart::ChartController::SetAndApplySelection ( const css::uno::Reference< css::drawing::XShape > &  rxShape)

◆ setDrawMode()

void chart::ChartController::setDrawMode ( ChartDrawMode  eMode)
inline

Definition at line 330 of file ChartController.hxx.

References eMode, and m_eDrawMode.

Referenced by chart::DrawCommandDispatch::execute(), and execute_MouseButtonUp().

◆ setEnable()

void SAL_CALL chart::ChartController::setEnable ( sal_Bool  Enable)
overridevirtual

Definition at line 313 of file ChartController_Window.cxx.

References Enable, and m_xViewWindow.

◆ setFocus()

void SAL_CALL chart::ChartController::setFocus ( )
overridevirtual

Definition at line 322 of file ChartController_Window.cxx.

References m_xViewWindow.

◆ setPosSize()

void SAL_CALL chart::ChartController::setPosSize ( sal_Int32  X,
sal_Int32  Y,
sal_Int32  Width,
sal_Int32  Height,
sal_Int16  Flags 
)
overridevirtual

◆ setVisible()

void SAL_CALL chart::ChartController::setVisible ( sal_Bool  Visible)
overridevirtual

Definition at line 304 of file ChartController_Window.cxx.

References m_xViewWindow, and Visible.

◆ startDoubleClickWaiting()

void chart::ChartController::startDoubleClickWaiting ( )
private

◆ StartTextEdit()

void chart::ChartController::StartTextEdit ( const Point pMousePixel = nullptr)

◆ stopDoubleClickWaiting()

void chart::ChartController::stopDoubleClickWaiting ( )
private

◆ supportsService()

sal_Bool SAL_CALL chart::ChartController::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 316 of file ChartController.cxx.

References cppu::supportsService().

◆ suspend()

sal_Bool SAL_CALL chart::ChartController::suspend ( sal_Bool  bSuspend)
overridevirtual

Definition at line 671 of file ChartController.cxx.

References m_aLifeTimeManager, and m_bSuspended.

Member Data Documentation

◆ m_aDispatchContainer

CommandDispatchContainer chart::ChartController::m_aDispatchContainer
private

◆ m_aDoubleClickTimer

Timer chart::ChartController::m_aDoubleClickTimer
private

Definition at line 406 of file ChartController.hxx.

Referenced by startDoubleClickWaiting(), and stopDoubleClickWaiting().

◆ m_aLifeTimeManager

mutable::apphelper::LifeTimeManager chart::ChartController::m_aLifeTimeManager
private

◆ m_aModel

TheModelRef chart::ChartController::m_aModel
private

◆ m_aModelMutex

mutable::osl::Mutex chart::ChartController::m_aModelMutex
private

◆ m_apAccelExecute

std::unique_ptr< ::svt::AcceleratorExecute > chart::ChartController::m_apAccelExecute
private

Definition at line 417 of file ChartController.hxx.

Referenced by execute_KeyInput().

◆ m_apDropTargetHelper

std::unique_ptr< DropTargetHelper > chart::ChartController::m_apDropTargetHelper
private

Definition at line 421 of file ChartController.hxx.

Referenced by attachFrame(), and dispose().

◆ m_aSelection

Selection chart::ChartController::m_aSelection
private

Definition at line 403 of file ChartController.hxx.

Referenced by EndTextEdit(), execute_Command(), execute_DoubleClick(), execute_KeyInput(), execute_MouseButtonDown(), execute_MouseButtonUp(), executeDispatch_Copy(), executeDispatch_Delete(), executeDispatch_DeleteAxis(), executeDispatch_DeleteDataLabel(), executeDispatch_DeleteDataLabels(), executeDispatch_DeleteErrorBars(), executeDispatch_DeleteMajorGrid(), executeDispatch_DeleteMeanValue(), executeDispatch_DeleteMinorGrid(), executeDispatch_DeleteR2Value(), executeDispatch_DeleteTrendline(), executeDispatch_DeleteTrendlineEquation(), executeDispatch_FillColor(), executeDispatch_FillGradient(), executeDispatch_FormatObject(), executeDispatch_InsertAxis(), executeDispatch_InsertAxisTitle(), executeDispatch_InsertDataLabel(), executeDispatch_InsertDataLabels(), executeDispatch_InsertErrorBars(), executeDispatch_InsertMajorGrid(), executeDispatch_InsertMeanValue(), executeDispatch_InsertMenu_DataLabels(), executeDispatch_InsertMenu_MeanValues(), executeDispatch_InsertMenu_Trendlines(), executeDispatch_InsertMinorGrid(), executeDispatch_InsertR2Value(), executeDispatch_InsertTrendline(), executeDispatch_InsertTrendlineEquation(), executeDispatch_LineColor(), executeDispatch_LineWidth(), executeDispatch_LOKPieSegmentDragging(), executeDispatch_MoveSeries(), executeDispatch_ObjectProperties(), executeDispatch_PositionAndSize(), executeDispatch_ResetAllDataPoints(), executeDispatch_ResetDataPoint(), getSelection(), impl_ClearSelection(), impl_PasteGraphic(), impl_PasteShapes(), impl_PasteStringAsTextShape(), impl_selectObjectAndNotiy(), impl_SetMousePointer(), isAdditionalShapeSelected(), isShapeContext(), modeChanged(), NotifyUndoActionHdl(), select(), and SetAndApplySelection().

◆ m_bConnectingToView

bool chart::ChartController::m_bConnectingToView
private

Definition at line 411 of file ChartController.hxx.

Referenced by modeChanged().

◆ m_bDisposed

bool chart::ChartController::m_bDisposed
private

Definition at line 412 of file ChartController.hxx.

Referenced by dispose(), and GetContextName().

◆ m_bFieldButtonDown

bool chart::ChartController::m_bFieldButtonDown
private

Definition at line 409 of file ChartController.hxx.

Referenced by execute_MouseButtonDown(), and execute_MouseButtonUp().

◆ m_bSuspended

bool chart::ChartController::m_bSuspended
private

Definition at line 388 of file ChartController.hxx.

Referenced by impl_isDisposedOrSuspended(), and suspend().

◆ m_bWaitingForDoubleClick

bool chart::ChartController::m_bWaitingForDoubleClick
private

◆ m_bWaitingForMouseUp

bool chart::ChartController::m_bWaitingForMouseUp
private

Definition at line 408 of file ChartController.hxx.

Referenced by execute_MouseButtonDown(), and execute_MouseButtonUp().

◆ m_eDragMode

SdrDragMode chart::ChartController::m_eDragMode
private

◆ m_eDrawMode

ChartDrawMode chart::ChartController::m_eDrawMode
private

◆ m_pDrawModelWrapper

std::shared_ptr< DrawModelWrapper > chart::ChartController::m_pDrawModelWrapper
private

◆ m_pDrawViewWrapper

std::unique_ptr<DrawViewWrapper> chart::ChartController::m_pDrawViewWrapper
private

◆ m_pTextActionUndoGuard

std::unique_ptr< UndoGuard > chart::ChartController::m_pTextActionUndoGuard
private

Definition at line 415 of file ChartController.hxx.

Referenced by EndTextEdit(), and StartTextEdit().

◆ m_xCC

css::uno::Reference< css::uno::XComponentContext> chart::ChartController::m_xCC
private

◆ m_xChartView

rtl::Reference<::chart::ChartView> chart::ChartController::m_xChartView
private

◆ m_xFrame

css::uno::Reference< css::frame::XFrame > chart::ChartController::m_xFrame
private

◆ m_xLayoutManagerEventBroadcaster

css::uno::Reference< css::frame::XLayoutManagerEventBroadcaster > chart::ChartController::m_xLayoutManagerEventBroadcaster
private

Definition at line 423 of file ChartController.hxx.

Referenced by attachFrame(), dispose(), and disposing().

◆ m_xUndoManager

css::uno::Reference< css::document::XUndoManager > chart::ChartController::m_xUndoManager
private

Definition at line 414 of file ChartController.hxx.

Referenced by attachModel(), dispose(), execute_MouseButtonUp(), executeDispatch_ChartType(), executeDispatch_Delete(), executeDispatch_DeleteAxis(), executeDispatch_DeleteDataLabel(), executeDispatch_DeleteDataLabels(), executeDispatch_DeleteDataTable(), executeDispatch_DeleteErrorBars(), executeDispatch_DeleteLegend(), executeDispatch_DeleteMajorGrid(), executeDispatch_DeleteMeanValue(), executeDispatch_DeleteMinorGrid(), executeDispatch_DeleteR2Value(), executeDispatch_DeleteTrendline(), executeDispatch_DeleteTrendlineEquation(), executeDispatch_EditData(), executeDispatch_InsertAxes(), executeDispatch_InsertAxis(), executeDispatch_InsertAxisTitle(), executeDispatch_InsertDataLabel(), executeDispatch_InsertDataLabels(), executeDispatch_InsertDataTable(), executeDispatch_InsertErrorBars(), executeDispatch_InsertGrid(), executeDispatch_InsertLegend(), executeDispatch_InsertMajorGrid(), executeDispatch_InsertMeanValue(), executeDispatch_InsertMenu_DataLabels(), executeDispatch_InsertMenu_MeanValues(), executeDispatch_InsertMinorGrid(), executeDispatch_InsertR2Value(), executeDispatch_InsertTitles(), executeDispatch_InsertTrendline(), executeDispatch_InsertTrendlineEquation(), executeDispatch_MoveSeries(), executeDispatch_NewArrangement(), executeDispatch_OpenInsertDataTableDialog(), executeDispatch_OpenLegendDialog(), executeDispatch_PositionAndSize(), executeDispatch_ResetAllDataPoints(), executeDispatch_ResetDataPoint(), executeDispatch_ScaleText(), executeDispatch_SourceData(), executeDispatch_ToggleGridHorizontal(), executeDispatch_ToggleGridVertical(), executeDispatch_ToggleLegend(), executeDispatch_View3D(), executeDlg_ObjectProperties(), impl_moveOrResizeObject(), impl_releaseThisModel(), impl_switchDiagramPositioningToExcludingPositioning(), and StartTextEdit().

◆ m_xViewWindow

css::uno::Reference<css::awt::XWindow> chart::ChartController::m_xViewWindow
private

◆ mpSelectionChangeHandler

rtl::Reference<svx::sidebar::SelectionChangeHandler> chart::ChartController::mpSelectionChangeHandler
private

Definition at line 427 of file ChartController.hxx.

Referenced by attachFrame(), and dispose().


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