LibreOffice Module svx (master) 1
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
sdr::table::SvxTableController Class Referencefinal

#include <tablecontroller.hxx>

Inheritance diagram for sdr::table::SvxTableController:
[legend]
Collaboration diagram for sdr::table::SvxTableController:
[legend]

Public Member Functions

SVX_DLLPRIVATE SvxTableController (SdrView &rView, const SdrTableObj &rObj)
 
virtual SVX_DLLPRIVATE ~SvxTableController () override
 
virtual SVX_DLLPRIVATE bool onKeyInput (const KeyEvent &rKEvt, vcl::Window *pWin) override
 
virtual SVX_DLLPRIVATE bool onMouseButtonDown (const MouseEvent &rMEvt, vcl::Window *pWin) override
 
virtual SVX_DLLPRIVATE bool onMouseButtonUp (const MouseEvent &rMEvt, vcl::Window *pWin) override
 
virtual SVX_DLLPRIVATE bool onMouseMove (const MouseEvent &rMEvt, vcl::Window *pWin) override
 
SVX_DLLPRIVATE bool HasMarked () const
 
virtual SVX_DLLPRIVATE bool DeleteMarked () override
 
virtual SVX_DLLPRIVATE void onSelectionHasChanged () override
 
virtual SVX_DLLPRIVATE void onSelectAll () override
 
virtual SVX_DLLPRIVATE void GetState (SfxItemSet &rSet) override
 
virtual void Execute (SfxRequest &rReq) override
 
virtual SVX_DLLPRIVATE bool GetStyleSheet (SfxStyleSheet *&rpStyleSheet) const override
 
virtual SVX_DLLPRIVATE bool SetStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr) override
 
virtual SVX_DLLPRIVATE bool ApplyFormatPaintBrush (SfxItemSet &rFormatSet, bool bNoCharacterFormats, bool bNoParagraphFormats) override
 applies a format paint brush set from the current selection. More...
 
SVX_DLLPRIVATE void onInsert (sal_uInt16 nSId, const SfxItemSet *pArgs=nullptr)
 
SVX_DLLPRIVATE void onDelete (sal_uInt16 nSId)
 
SVX_DLLPRIVATE void onSelect (sal_uInt16 nSId)
 
SVX_DLLPRIVATE void onFormatTable (const SfxRequest &rReq)
 
SVX_DLLPRIVATE void MergeMarkedCells ()
 
SVX_DLLPRIVATE void SplitMarkedCells (const SfxRequest &rReq)
 
SVX_DLLPRIVATE void DistributeColumns (const bool bOptimize, const bool bMinimize)
 
SVX_DLLPRIVATE void DistributeRows (const bool bOptimize, const bool bMinimize)
 
SVX_DLLPRIVATE void SetVertical (sal_uInt16 nSId)
 
SVX_DLLPRIVATE void changeTableEdge (const SfxRequest &rReq)
 
SVX_DLLPRIVATE void MergeAttrFromSelectedCells (SfxItemSet &rAttr, bool bOnlyHardAttr) const
 
SVX_DLLPRIVATE void SetAttrToSelectedCells (const SfxItemSet &rAttr, bool bReplaceAll)
 
void SetAttrToSelectedShape (const SfxItemSet &rAttr)
 
SVX_DLLPRIVATE void FillCommonBorderAttrFromSelectedCells (SvxBoxItem &rBox, SvxBoxInfoItem &rBoxInfo) const
 Fill the values that are common for all selected cells. More...
 
virtual SVX_DLLPRIVATE bool GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr) const override
 
virtual SVX_DLLPRIVATE bool SetAttributes (const SfxItemSet &rSet, bool bReplaceAll) override
 
virtual SVX_DLLPRIVATE rtl::Reference< SdrObjectGetMarkedSdrObjClone (SdrModel &rTargetModel) override
 
virtual SVX_DLLPRIVATE bool PasteObjModel (const SdrModel &rModel) override
 
virtual SVX_DLLPRIVATE bool hasSelectedCells () const override
 This is a table object, and one or more of its cells are selected. More...
 
virtual SVX_DLLPRIVATE bool setCursorLogicPosition (const Point &rPosition, bool bPoint) override
 
void getSelectedCells (CellPos &rFirstPos, CellPos &rLastPos) override
 
void setSelectedCells (const CellPos &rFirstPos, const CellPos &rLastPos)
 
virtual bool ChangeFontSize (bool bGrow, const FontList *pFontList) override
 Changes the font (grow/shrink) according to the input parameters. More...
 
void clearSelection ()
 
void selectAll ()
 
SVX_DLLPRIVATE void onTableModified ()
 
bool selectRow (sal_Int32 row)
 
bool selectColumn (sal_Int32 column)
 
bool deselectRow (sal_Int32 row)
 
bool deselectColumn (sal_Int32 column)
 
bool isRowSelected (sal_Int32 nRow)
 
bool isColumnSelected (sal_Int32 nColumn)
 
bool isRowHeader ()
 
bool isColumnHeader ()
 
sdr::table::SdrTableObjGetTableObj ()
 
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 > ()
 

Static Public Member Functions

static SVX_DLLPRIVATE rtl::Reference< sdr::SelectionControllercreate (SdrView &rView, const SdrTableObj &rObj, const rtl::Reference< sdr::SelectionController > &xRefController)
 
static SvxBoxItem TextDistancesToSvxBoxItem (const SfxItemSet &rAttrSet)
 
static void SvxBoxItemToTextDistances (const SvxBoxItem &pOriginalItem, SfxItemSet &rAttrSet)
 

Private Types

enum class  TblAction {
  NONE ,
  GotoFirstCell ,
  GotoFirstColumn ,
  GotoFirstRow ,
  GotoLeftCell ,
  GotoUpCell ,
  GotoRightCell ,
  GotoDownCell ,
  GotoLastCell ,
  GotoLastColumn ,
  GotoLastRow ,
  EditCell ,
  StopTextEdit ,
  RemoveSelection ,
  HandledByView ,
  Tab
}
 

Private Member Functions

 SvxTableController (SvxTableController const &)=delete
 
SvxTableControlleroperator= (SvxTableController const &)=delete
 
SVX_DLLPRIVATE void ApplyBorderAttr (const SfxItemSet &rAttr)
 
SVX_DLLPRIVATE void UpdateTableShape ()
 
SVX_DLLPRIVATE void SetTableStyle (const SfxItemSet *pArgs)
 
SVX_DLLPRIVATE void SetTableStyleSettings (const SfxItemSet *pArgs)
 
SVX_DLLPRIVATE bool PasteObject (SdrTableObj const *pPasteTableObj)
 
SVX_DLLPRIVATE bool checkTableObject ()
 
SVX_DLLPRIVATE const CellPosgetSelectionStart ()
 
SVX_DLLPRIVATE void setSelectionStart (const CellPos &rPos)
 
SVX_DLLPRIVATE const CellPosgetSelectionEnd ()
 
SVX_DLLPRIVATE void checkCell (CellPos &rPos) const
 
SVX_DLLPRIVATE void MergeRange (sal_Int32 nFirstCol, sal_Int32 nFirstRow, sal_Int32 nLastCol, sal_Int32 nLastRow)
 
SVX_DLLPRIVATE void EditCell (const CellPos &rPos, vcl::Window *pWindow, TblAction nAction)
 
SVX_DLLPRIVATE void StopTextEdit ()
 
SVX_DLLPRIVATE TblAction getKeyboardAction (const KeyEvent &rKEvt)
 
SVX_DLLPRIVATE bool executeAction (TblAction nAction, bool bSelect, vcl::Window *pWindow)
 
SVX_DLLPRIVATE void gotoCell (const CellPos &rCell, bool bSelect, vcl::Window *pWindow, TblAction nAction=TblAction::NONE)
 
SVX_DLLPRIVATE void StartSelection (const CellPos &rPos)
 
SVX_DLLPRIVATE void UpdateSelection (const CellPos &rPos)
 
SVX_DLLPRIVATE void RemoveSelection ()
 
SVX_DLLPRIVATE void updateSelectionOverlay ()
 
SVX_DLLPRIVATE void destroySelectionOverlay ()
 
SVX_DLLPRIVATE void findMergeOrigin (CellPos &rPos)
 
 DECL_DLLPRIVATE_LINK (UpdateHdl, void *, void)
 

Private Attributes

rtl::Reference< TableModelmxTable
 
CellPos maCursorFirstPos
 
CellPos maCursorLastPos
 
bool mbCellSelectionMode
 
bool mbHasJustMerged
 
CellPos maMouseDownPos
 
bool mbLeftButtonDown
 
std::optional< sdr::overlay::OverlayObjectListmpSelectionOverlay
 
SdrViewmrView
 
unotools::WeakReference< SdrTableObjmxTableObj
 
css::uno::Reference< css::util::XModifyListener > mxModifyListener
 
ImplSVEventmnUpdateEvent
 

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 45 of file tablecontroller.hxx.

Member Enumeration Documentation

◆ TblAction

Enumerator
NONE 
GotoFirstCell 
GotoFirstColumn 
GotoFirstRow 
GotoLeftCell 
GotoUpCell 
GotoRightCell 
GotoDownCell 
GotoLastCell 
GotoLastColumn 
GotoLastRow 
EditCell 
StopTextEdit 
RemoveSelection 
HandledByView 
Tab 

Definition at line 138 of file tablecontroller.hxx.

Constructor & Destructor Documentation

◆ SvxTableController() [1/2]

sdr::table::SvxTableController::SvxTableController ( SdrView rView,
const SdrTableObj rObj 
)

◆ ~SvxTableController()

sdr::table::SvxTableController::~SvxTableController ( )
overridevirtual

◆ SvxTableController() [2/2]

sdr::table::SvxTableController::SvxTableController ( SvxTableController const &  )
privatedelete

Member Function Documentation

◆ ApplyBorderAttr()

void sdr::table::SvxTableController::ApplyBorderAttr ( const SfxItemSet rAttr)
private

◆ ApplyFormatPaintBrush()

bool sdr::table::SvxTableController::ApplyFormatPaintBrush ( SfxItemSet rFormatSet,
bool  bNoCharacterFormats,
bool  bNoParagraphFormats 
)
overridevirtual

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 from sdr::SelectionController.

Definition at line 2925 of file tablecontroller.cxx.

References ApplyBorderAttr(), SdrObjEditView::ApplyFormatPaintBrushToText(), SdrModel::BegUndo(), checkTableObject(), SdrModel::EndUndo(), SfxItemSet::GetItemState(), SdrObject::getSdrModelFromSdrObject(), getSelectedCells(), SdrModel::IsUndoEnabled(), mbCellSelectionMode, sdr::table::CellPos::mnCol, sdr::table::CellPos::mnRow, mxTable, mxTableObj, SDRATTR_TABLE_BORDER(), SDRATTR_TABLE_BORDER_INNER(), SvxResId(), and UpdateTableShape().

◆ ChangeFontSize()

bool sdr::table::SvxTableController::ChangeFontSize ( bool  bGrow,
const FontList pFontList 
)
overridevirtual

◆ changeTableEdge()

void sdr::table::SvxTableController::changeTableEdge ( const SfxRequest rReq)

◆ checkCell()

void sdr::table::SvxTableController::checkCell ( CellPos rPos) const
private

◆ checkTableObject()

bool sdr::table::SvxTableController::checkTableObject ( )
private

◆ clearSelection()

void sdr::table::SvxTableController::clearSelection ( )

◆ create()

rtl::Reference< sdr::SelectionController > sdr::table::SvxTableController::create ( SdrView rView,
const SdrTableObj rObj,
const rtl::Reference< sdr::SelectionController > &  xRefController 
)
static

Definition at line 161 of file tablecontroller.cxx.

References mrView, mxTableObj, and SvxTableController().

Referenced by sdr::table::CreateTableController().

◆ DECL_DLLPRIVATE_LINK()

sdr::table::SvxTableController::DECL_DLLPRIVATE_LINK ( UpdateHdl  ,
void *  ,
void   
)
private

◆ DeleteMarked()

bool sdr::table::SvxTableController::DeleteMarked ( )
overridevirtual

◆ deselectColumn()

bool sdr::table::SvxTableController::deselectColumn ( sal_Int32  column)

◆ deselectRow()

bool sdr::table::SvxTableController::deselectRow ( sal_Int32  row)

◆ destroySelectionOverlay()

void sdr::table::SvxTableController::destroySelectionOverlay ( )
private

◆ DistributeColumns()

void sdr::table::SvxTableController::DistributeColumns ( const bool  bOptimize,
const bool  bMinimize 
)

◆ DistributeRows()

void sdr::table::SvxTableController::DistributeRows ( const bool  bOptimize,
const bool  bMinimize 
)

◆ EditCell()

void sdr::table::SvxTableController::EditCell ( const CellPos rPos,
vcl::Window pWindow,
TblAction  nAction 
)
private

◆ Execute()

void sdr::table::SvxTableController::Execute ( SfxRequest rReq)
overridevirtual

◆ executeAction()

bool sdr::table::SvxTableController::executeAction ( TblAction  nAction,
bool  bSelect,
vcl::Window pWindow 
)
private

◆ FillCommonBorderAttrFromSelectedCells()

void sdr::table::SvxTableController::FillCommonBorderAttrFromSelectedCells ( SvxBoxItem rBox,
SvxBoxInfoItem rBoxInfo 
) const

Fill the values that are common for all selected cells.

This lets the Borders dialog to display the line arrangement properly.

Definition at line 3165 of file tablecontroller.cxx.

References getSelectedCells(), sdr::table::CellPos::mnCol, sdr::table::CellPos::mnRow, mxTable, rBoxInfoItem, rBoxItem, rSet, SvxBoxInfoItem::SetValid(), and TextDistancesToSvxBoxItem().

Referenced by onFormatTable().

◆ findMergeOrigin()

void sdr::table::SvxTableController::findMergeOrigin ( CellPos rPos)
private

◆ GetAttributes()

bool sdr::table::SvxTableController::GetAttributes ( SfxItemSet rTargetSet,
bool  bOnlyHardAttr 
) const
overridevirtual

◆ getKeyboardAction()

SvxTableController::TblAction sdr::table::SvxTableController::getKeyboardAction ( const KeyEvent rKEvt)
private

◆ GetMarkedSdrObjClone()

rtl::Reference< SdrObject > sdr::table::SvxTableController::GetMarkedSdrObjClone ( SdrModel rTargetModel)
overridevirtual

Reimplemented from sdr::SelectionController.

Definition at line 2807 of file tablecontroller.cxx.

References SdrObject::Clone(), getSelectedCells(), GetTableObj(), mxTable, and mxTableObj.

◆ getSelectedCells()

void sdr::table::SvxTableController::getSelectedCells ( CellPos rFirstPos,
CellPos rLastPos 
)
overridevirtual

◆ getSelectionEnd()

const CellPos & sdr::table::SvxTableController::getSelectionEnd ( )
private

Definition at line 1954 of file tablecontroller.cxx.

References checkCell(), and maCursorLastPos.

Referenced by executeAction().

◆ getSelectionStart()

const CellPos & sdr::table::SvxTableController::getSelectionStart ( )
private

Definition at line 1941 of file tablecontroller.cxx.

References checkCell(), and maCursorFirstPos.

Referenced by executeAction(), and getSelectedCells().

◆ GetState()

void sdr::table::SvxTableController::GetState ( SfxItemSet rSet)
overridevirtual

◆ GetStyleSheet()

bool sdr::table::SvxTableController::GetStyleSheet ( SfxStyleSheet *&  rpStyleSheet) const
overridevirtual

◆ GetTableObj()

sdr::table::SdrTableObj * sdr::table::SvxTableController::GetTableObj ( )
inline

◆ gotoCell()

void sdr::table::SvxTableController::gotoCell ( const CellPos rCell,
bool  bSelect,
vcl::Window pWindow,
TblAction  nAction = TblAction::NONE 
)
private

◆ HasMarked()

bool sdr::table::SvxTableController::HasMarked ( ) const

Definition at line 1419 of file tablecontroller.cxx.

References mbCellSelectionMode, and mxTable.

Referenced by DeleteMarked().

◆ hasSelectedCells()

virtual SVX_DLLPRIVATE bool sdr::table::SvxTableController::hasSelectedCells ( ) const
inlineoverridevirtual

◆ isColumnHeader()

bool sdr::table::SvxTableController::isColumnHeader ( )

◆ isColumnSelected()

bool sdr::table::SvxTableController::isColumnSelected ( sal_Int32  nColumn)

◆ isRowHeader()

bool sdr::table::SvxTableController::isRowHeader ( )

◆ isRowSelected()

bool sdr::table::SvxTableController::isRowSelected ( sal_Int32  nRow)

◆ MergeAttrFromSelectedCells()

void sdr::table::SvxTableController::MergeAttrFromSelectedCells ( SfxItemSet rAttr,
bool  bOnlyHardAttr 
) const

◆ MergeMarkedCells()

void sdr::table::SvxTableController::MergeMarkedCells ( )

◆ MergeRange()

void sdr::table::SvxTableController::MergeRange ( sal_Int32  nFirstCol,
sal_Int32  nFirstRow,
sal_Int32  nLastCol,
sal_Int32  nLastRow 
)
private

◆ onDelete()

void sdr::table::SvxTableController::onDelete ( sal_uInt16  nSId)

◆ onFormatTable()

void sdr::table::SvxTableController::onFormatTable ( const SfxRequest rReq)

◆ onInsert()

void sdr::table::SvxTableController::onInsert ( sal_uInt16  nSId,
const SfxItemSet pArgs = nullptr 
)

◆ onKeyInput()

bool sdr::table::SvxTableController::onKeyInput ( const KeyEvent rKEvt,
vcl::Window pWin 
)
overridevirtual

◆ onMouseButtonDown()

bool sdr::table::SvxTableController::onMouseButtonDown ( const MouseEvent rMEvt,
vcl::Window pWin 
)
overridevirtual

◆ onMouseButtonUp()

bool sdr::table::SvxTableController::onMouseButtonUp ( const MouseEvent rMEvt,
vcl::Window pWin 
)
overridevirtual

Reimplemented from sdr::SelectionController.

Definition at line 351 of file tablecontroller.cxx.

References checkTableObject(), MouseEvent::GetClicks(), and mbLeftButtonDown.

◆ onMouseMove()

bool sdr::table::SvxTableController::onMouseMove ( const MouseEvent rMEvt,
vcl::Window pWin 
)
overridevirtual

◆ onSelect()

void sdr::table::SvxTableController::onSelect ( sal_uInt16  nSId)

◆ onSelectAll()

void sdr::table::SvxTableController::onSelectAll ( )
overridevirtual

Reimplemented from sdr::SelectionController.

Definition at line 420 of file tablecontroller.cxx.

References mxTableObj, and selectAll().

◆ onSelectionHasChanged()

void sdr::table::SvxTableController::onSelectionHasChanged ( )
overridevirtual

◆ onTableModified()

void sdr::table::SvxTableController::onTableModified ( )

Definition at line 2310 of file tablecontroller.cxx.

References LINK, mnUpdateEvent, and Application::PostUserEvent().

◆ operator=()

SvxTableController & sdr::table::SvxTableController::operator= ( SvxTableController const &  )
privatedelete

◆ PasteObject()

bool sdr::table::SvxTableController::PasteObject ( SdrTableObj const *  pPasteTableObj)
private

◆ PasteObjModel()

bool sdr::table::SvxTableController::PasteObjModel ( const SdrModel rModel)
overridevirtual

◆ RemoveSelection()

void sdr::table::SvxTableController::RemoveSelection ( )
private

◆ selectAll()

void sdr::table::SvxTableController::selectAll ( )

◆ selectColumn()

bool sdr::table::SvxTableController::selectColumn ( sal_Int32  column)

◆ selectRow()

bool sdr::table::SvxTableController::selectRow ( sal_Int32  row)

◆ SetAttributes()

bool sdr::table::SvxTableController::SetAttributes ( const SfxItemSet rSet,
bool  bReplaceAll 
)
overridevirtual

Reimplemented from sdr::SelectionController.

Definition at line 2797 of file tablecontroller.cxx.

References SdrObjEditView::IsTextEdit(), mbCellSelectionMode, mrView, rSet, and SetAttrToSelectedCells().

Referenced by Execute().

◆ SetAttrToSelectedCells()

void sdr::table::SvxTableController::SetAttrToSelectedCells ( const SfxItemSet rAttr,
bool  bReplaceAll 
)

◆ SetAttrToSelectedShape()

void sdr::table::SvxTableController::SetAttrToSelectedShape ( const SfxItemSet rAttr)

◆ setCursorLogicPosition()

bool sdr::table::SvxTableController::setCursorLogicPosition ( const Point rPosition,
bool  bPoint 
)
overridevirtual

◆ setSelectedCells()

void sdr::table::SvxTableController::setSelectedCells ( const CellPos rFirstPos,
const CellPos rLastPos 
)

◆ setSelectionStart()

void sdr::table::SvxTableController::setSelectionStart ( const CellPos rPos)
private

Definition at line 1948 of file tablecontroller.cxx.

References maCursorFirstPos.

Referenced by getKeyboardAction().

◆ SetStyleSheet()

bool sdr::table::SvxTableController::SetStyleSheet ( SfxStyleSheet pStyleSheet,
bool  bDontRemoveHardAttr 
)
overridevirtual

◆ SetTableStyle()

void sdr::table::SvxTableController::SetTableStyle ( const SfxItemSet pArgs)
private

◆ SetTableStyleSettings()

void sdr::table::SvxTableController::SetTableStyleSettings ( const SfxItemSet pArgs)
private

◆ SetVertical()

void sdr::table::SvxTableController::SetVertical ( sal_uInt16  nSId)

◆ SplitMarkedCells()

void sdr::table::SvxTableController::SplitMarkedCells ( const SfxRequest rReq)

◆ StartSelection()

void sdr::table::SvxTableController::StartSelection ( const CellPos rPos)
private

◆ StopTextEdit()

void sdr::table::SvxTableController::StopTextEdit ( )
private

◆ SvxBoxItemToTextDistances()

void sdr::table::SvxTableController::SvxBoxItemToTextDistances ( const SvxBoxItem pOriginalItem,
SfxItemSet rAttrSet 
)
static

◆ TextDistancesToSvxBoxItem()

SvxBoxItem sdr::table::SvxTableController::TextDistancesToSvxBoxItem ( const SfxItemSet rAttrSet)
static

◆ UpdateSelection()

void sdr::table::SvxTableController::UpdateSelection ( const CellPos rPos)
private

◆ updateSelectionOverlay()

void sdr::table::SvxTableController::updateSelectionOverlay ( )
private

◆ UpdateTableShape()

void sdr::table::SvxTableController::UpdateTableShape ( )
private

Member Data Documentation

◆ maCursorFirstPos

CellPos sdr::table::SvxTableController::maCursorFirstPos
private

◆ maCursorLastPos

CellPos sdr::table::SvxTableController::maCursorLastPos
private

◆ maMouseDownPos

CellPos sdr::table::SvxTableController::maMouseDownPos
private

Definition at line 188 of file tablecontroller.hxx.

Referenced by onMouseButtonDown(), onMouseMove(), and setCursorLogicPosition().

◆ mbCellSelectionMode

bool sdr::table::SvxTableController::mbCellSelectionMode
private

◆ mbHasJustMerged

bool sdr::table::SvxTableController::mbHasJustMerged
private

Definition at line 187 of file tablecontroller.hxx.

Referenced by MergeRange(), and updateSelectionOverlay().

◆ mbLeftButtonDown

bool sdr::table::SvxTableController::mbLeftButtonDown
private

Definition at line 189 of file tablecontroller.hxx.

Referenced by onMouseButtonDown(), onMouseButtonUp(), and onMouseMove().

◆ mnUpdateEvent

ImplSVEvent* sdr::table::SvxTableController::mnUpdateEvent
private

Definition at line 194 of file tablecontroller.hxx.

Referenced by onTableModified(), and ~SvxTableController().

◆ mpSelectionOverlay

std::optional<sdr::overlay::OverlayObjectList> sdr::table::SvxTableController::mpSelectionOverlay
private

Definition at line 190 of file tablecontroller.hxx.

Referenced by destroySelectionOverlay(), and updateSelectionOverlay().

◆ mrView

SdrView& sdr::table::SvxTableController::mrView
private

◆ mxModifyListener

css::uno::Reference< css::util::XModifyListener > sdr::table::SvxTableController::mxModifyListener
private

Definition at line 193 of file tablecontroller.hxx.

Referenced by SvxTableController(), and ~SvxTableController().

◆ mxTable

rtl::Reference< TableModel > sdr::table::SvxTableController::mxTable
private

◆ mxTableObj

unotools::WeakReference<SdrTableObj> sdr::table::SvxTableController::mxTableObj
private

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