LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
AddressMultiLineEdit Class Reference

#include <mmaddressblockpage.hxx>

Inheritance diagram for AddressMultiLineEdit:
Collaboration diagram for AddressMultiLineEdit:

Public Member Functions

 AddressMultiLineEdit (SwCustomizeAddressBlockDialog *pParent)
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
void EndDropTarget ()
bool SetCursorLogicPosition (const Point &rPosition)
void UpdateFields ()
virtual ~AddressMultiLineEdit () override
void SetSelectionChangedHdl (const Link< bool, void > &rLink)
void SetModifyHdl (const Link< AddressMultiLineEdit &, void > &rLink)
void SetText (const OUString &rStr)
OUString GetText () const
OUString GetAddress ()
void InsertNewEntry (const OUString &rStr)
void InsertNewEntryAtPosition (const OUString &rStr, sal_uLong nPara, sal_uInt16 nIndex)
void RemoveCurrentEntry ()
void MoveCurrentItem (MoveItemFlags nMove)
MoveItemFlags IsCurrentItemMoveable ()
bool HasCurrentItem ()
OUString GetCurrentItem ()
void SelectCurrentItem ()
- Public Member Functions inherited from WeldEditView
 WeldEditView ()
virtual ~WeldEditView () override
- Public Member Functions inherited from EditViewCallbacks
 EditViewCallbacks ()
virtual ~EditViewCallbacks ()
- Public Member Functions inherited from SfxListener
 SfxListener ()
 SfxListener (const SfxListener &rCopy)
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
void EndListeningAll ()
bool IsListening (SfxBroadcaster &rBroadcaster) const
sal_uInt16 GetBroadcasterCount () const
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)

Private Member Functions

virtual void EditViewSelectionChange () const override
virtual css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget () const override
virtual bool KeyInput (const KeyEvent &rKEvt) override
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override

Private Attributes

Link< bool, voidm_aSelectionLink
Link< AddressMultiLineEdit &, voidm_aModifyLink
css::uno::Reference< css::datatransfer::dnd::XDropTarget > m_xDropTarget

Additional Inherited Members

- Protected Member Functions inherited from WeldEditView
virtual void makeEditEngine ()
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
virtual bool MouseMove (const MouseEvent &rMEvt) override
virtual bool MouseButtonUp (const MouseEvent &rMEvt) override
virtual void GetFocus () override
virtual void LoseFocus () override
virtual void Resize () override
virtual void EditViewInvalidate (const tools::Rectangle &rRect) const override
virtual OutputDeviceEditViewOutputDevice () const override
- Protected Attributes inherited from WeldEditView
std::unique_ptr< EditEnginem_xEditEngine
std::unique_ptr< EditViewm_xEditView

Detailed Description

Definition at line 131 of file mmaddressblockpage.hxx.

Constructor & Destructor Documentation

AddressMultiLineEdit::AddressMultiLineEdit ( SwCustomizeAddressBlockDialog pParent)

Definition at line 1065 of file mmaddressblockpage.cxx.

AddressMultiLineEdit::~AddressMultiLineEdit ( )

Definition at line 1081 of file mmaddressblockpage.cxx.

References m_xDropTarget.

Member Function Documentation

void AddressMultiLineEdit::EditViewSelectionChange ( ) const

Reimplemented from WeldEditView.

Definition at line 1409 of file mmaddressblockpage.cxx.

References WeldEditView::EditViewSelectionChange(), and m_aSelectionLink.

void AddressMultiLineEdit::EndDropTarget ( )

Definition at line 1070 of file mmaddressblockpage.cxx.

References m_xDropTarget.

OUString AddressMultiLineEdit::GetAddress ( )
OUString AddressMultiLineEdit::GetCurrentItem ( )
css::uno::Reference< css::datatransfer::dnd::XDropTarget > AddressMultiLineEdit::GetDropTarget ( ) const

Reimplemented from EditViewCallbacks.

Definition at line 1546 of file mmaddressblockpage.cxx.

References m_xDropTarget.

OUString AddressMultiLineEdit::GetText ( ) const

Definition at line 1109 of file mmaddressblockpage.cxx.

References WeldEditView::m_xEditEngine.

bool AddressMultiLineEdit::HasCurrentItem ( )
void AddressMultiLineEdit::InsertNewEntry ( const OUString &  rStr)
void AddressMultiLineEdit::InsertNewEntryAtPosition ( const OUString &  rStr,
sal_uLong  nPara,
sal_uInt16  nIndex 
MoveItemFlags AddressMultiLineEdit::IsCurrentItemMoveable ( )
bool AddressMultiLineEdit::KeyInput ( const KeyEvent rKEvt)
bool AddressMultiLineEdit::MouseButtonDown ( const MouseEvent rMEvt)

Reimplemented from WeldEditView.

Definition at line 1102 of file mmaddressblockpage.cxx.

References MouseEvent::GetClicks(), and WeldEditView::MouseButtonDown().

void AddressMultiLineEdit::MoveCurrentItem ( MoveItemFlags  nMove)
void AddressMultiLineEdit::RemoveCurrentEntry ( )
void AddressMultiLineEdit::SelectCurrentItem ( )
bool AddressMultiLineEdit::SetCursorLogicPosition ( const Point rPosition)
void AddressMultiLineEdit::SetDrawingArea ( weld::DrawingArea pDrawingArea)
void AddressMultiLineEdit::SetModifyHdl ( const Link< AddressMultiLineEdit &, void > &  rLink)

Definition at line 155 of file mmaddressblockpage.hxx.

void AddressMultiLineEdit::SetSelectionChangedHdl ( const Link< bool, void > &  rLink)

Definition at line 154 of file mmaddressblockpage.hxx.

void AddressMultiLineEdit::SetText ( const OUString &  rStr)
void AddressMultiLineEdit::UpdateFields ( )

Member Data Documentation

Link<AddressMultiLineEdit&,void> AddressMultiLineEdit::m_aModifyLink

Definition at line 135 of file mmaddressblockpage.hxx.

Referenced by InsertNewEntry(), MoveCurrentItem(), and RemoveCurrentEntry().

Link<bool,void> AddressMultiLineEdit::m_aSelectionLink
SwCustomizeAddressBlockDialog* AddressMultiLineEdit::m_pParentDialog

Definition at line 136 of file mmaddressblockpage.hxx.

Referenced by SetText().

css::uno::Reference<css::datatransfer::dnd::XDropTarget> AddressMultiLineEdit::m_xDropTarget

Definition at line 138 of file mmaddressblockpage.hxx.

Referenced by EndDropTarget(), GetDropTarget(), and ~AddressMultiLineEdit().

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