LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
TableWindow Class Reference
Inheritance diagram for TableWindow:
[legend]
Collaboration diagram for TableWindow:
[legend]

Public Member Functions

 TableWindow (sal_uInt16 nSlotId, vcl::Window *pParent, const OUString &rCmd, const OUString &rText, const Reference< XFrame > &rFrame)
 
virtual ~TableWindow () override
 
virtual void dispose () override
 
void KeyInput (const KeyEvent &rKEvt) override
 
virtual void MouseMove (const MouseEvent &rMEvt) override
 
virtual void MouseButtonUp (const MouseEvent &rMEvt) override
 
virtual void Paint (vcl::RenderContext &, const tools::Rectangle &) override
 
virtual void PopupModeEnd () override
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 
- Public Member Functions inherited from SfxPopupWindow
 SfxPopupWindow (sal_uInt16 nId, vcl::Window *pParent, const css::uno::Reference< css::frame::XFrame > &rFrame, WinBits nBits)
 
 SfxPopupWindow (sal_uInt16 nId, vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const css::uno::Reference< css::frame::XFrame > &rFrame=css::uno::Reference< css::frame::XFrame >())
 
virtual ~SfxPopupWindow () override
 
void StartCascading ()
 
SAL_DLLPRIVATE void SetDeleteLink_Impl (const Link< SfxPopupWindow *, void > &rLink)
 

Private Member Functions

 DECL_LINK (SelectHdl, Button *, void)
 
void Update (long nNewCol, long nNewLine)
 
void TableDialog (const Sequence< PropertyValue > &rArgs)
 
void CloseAndShowTableDialog ()
 

Private Attributes

VclPtr< PushButtonaTableButton
 
::Color aLineColor
 
::Color aFillColor
 
::Color aHighlightFillColor
 
::Color aBackgroundColor
 
long nCol
 
long nLine
 
Reference< XFrame > mxFrame
 
OUString const maCommand
 
long mnTableCellWidth
 
long mnTableCellHeight
 
long mnTableWidth
 
long mnTableHeight
 

Static Private Attributes

static const long TABLE_CELLS_HORIZ = 10
 
static const long TABLE_CELLS_VERT = 15
 

Additional Inherited Members

- Protected Member Functions inherited from SfxPopupWindow
virtual bool Close () override
 
sal_uInt16 GetId () const
 
const css::uno::Reference< css::frame::XFrame > & GetFrame () const
 
void AddStatusListener (const OUString &rCommandURL)
 
virtual void statusChanged (const css::frame::FeatureStateEvent &rEvent)
 

Detailed Description

Definition at line 50 of file layctrl.cxx.

Constructor & Destructor Documentation

TableWindow::TableWindow ( sal_uInt16  nSlotId,
vcl::Window pParent,
const OUString &  rCmd,
const OUString &  rText,
const Reference< XFrame > &  rFrame 
)
TableWindow::~TableWindow ( )
overridevirtual

Definition at line 161 of file layctrl.cxx.

Member Function Documentation

void TableWindow::CloseAndShowTableDialog ( )
private

Definition at line 380 of file layctrl.cxx.

References TableDialog().

Referenced by KeyInput().

TableWindow::DECL_LINK ( SelectHdl  ,
Button ,
void   
)
private
void TableWindow::dispose ( void  )
overridevirtual

Reimplemented from SfxPopupWindow.

Definition at line 166 of file layctrl.cxx.

References aTableButton, SfxPopupWindow::dispose(), and VclPtr< PushButton >::disposeAndClear().

bool TableWindow::EventNotify ( NotifyEvent rNEvt)
overridevirtual
void TableWindow::KeyInput ( const KeyEvent rKEvt)
override
void TableWindow::MouseButtonUp ( const MouseEvent rMEvt)
overridevirtual

Definition at line 251 of file layctrl.cxx.

void TableWindow::MouseMove ( const MouseEvent rMEvt)
overridevirtual
void TableWindow::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle  
)
overridevirtual
void TableWindow::PopupModeEnd ( )
overridevirtual

Reimplemented from SfxPopupWindow.

Definition at line 329 of file layctrl.cxx.

References nCol, nLine, SfxPopupWindow::PopupModeEnd(), and TableDialog().

void TableWindow::TableDialog ( const Sequence< PropertyValue > &  rArgs)
private

Definition at line 363 of file layctrl.cxx.

References comphelper::getProcessComponentContext(), maCommand, and mxFrame.

Referenced by CloseAndShowTableDialog(), and PopupModeEnd().

void TableWindow::Update ( long  nNewCol,
long  nNewLine 
)
private

Definition at line 346 of file layctrl.cxx.

References mnTableHeight, mnTableWidth, nCol, nLine, nTablePosX, nTablePosY, TABLE_CELLS_HORIZ, and TABLE_CELLS_VERT.

Referenced by KeyInput(), and MouseMove().

Member Data Documentation

::Color TableWindow::aBackgroundColor
private

Definition at line 57 of file layctrl.cxx.

Referenced by Paint(), and TableWindow().

::Color TableWindow::aFillColor
private

Definition at line 55 of file layctrl.cxx.

Referenced by Paint(), and TableWindow().

::Color TableWindow::aHighlightFillColor
private

Definition at line 56 of file layctrl.cxx.

Referenced by Paint(), and TableWindow().

::Color TableWindow::aLineColor
private

Definition at line 54 of file layctrl.cxx.

Referenced by Paint(), and TableWindow().

VclPtr<PushButton> TableWindow::aTableButton
private

Definition at line 53 of file layctrl.cxx.

Referenced by dispose(), and TableWindow().

OUString const TableWindow::maCommand
private

Definition at line 61 of file layctrl.cxx.

Referenced by TableDialog().

long TableWindow::mnTableCellHeight
private

Definition at line 67 of file layctrl.cxx.

Referenced by MouseMove(), Paint(), and TableWindow().

long TableWindow::mnTableCellWidth
private

Definition at line 66 of file layctrl.cxx.

Referenced by MouseMove(), Paint(), and TableWindow().

long TableWindow::mnTableHeight
private

Definition at line 70 of file layctrl.cxx.

Referenced by Paint(), TableWindow(), and Update().

long TableWindow::mnTableWidth
private

Definition at line 69 of file layctrl.cxx.

Referenced by Paint(), TableWindow(), and Update().

Reference< XFrame > TableWindow::mxFrame
private

Definition at line 60 of file layctrl.cxx.

Referenced by TableDialog().

long TableWindow::nCol
private

Definition at line 58 of file layctrl.cxx.

Referenced by KeyInput(), Paint(), PopupModeEnd(), and Update().

long TableWindow::nLine
private

Definition at line 59 of file layctrl.cxx.

Referenced by KeyInput(), Paint(), PopupModeEnd(), and Update().

const long TableWindow::TABLE_CELLS_HORIZ = 10
staticprivate

Definition at line 63 of file layctrl.cxx.

Referenced by KeyInput(), Paint(), TableWindow(), and Update().

const long TableWindow::TABLE_CELLS_VERT = 15
staticprivate

Definition at line 64 of file layctrl.cxx.

Referenced by KeyInput(), Paint(), TableWindow(), and Update().


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