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:
[legend]
Collaboration diagram for AddressMultiLineEdit:
[legend]

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 () const
 
void InsertNewEntry (const OUString &rStr)
 
void InsertNewEntryAtPosition (const OUString &rStr, sal_uLong nPara, sal_uInt16 nIndex)
 
void RemoveCurrentEntry ()
 
void MoveCurrentItem (MoveItemFlags nMove)
 
MoveItemFlags IsCurrentItemMoveable () const
 
bool HasCurrentItem () const
 
OUString GetCurrentItem () const
 
void SelectCurrentItem ()
 
- Public Member Functions inherited from WeldEditView
 WeldEditView ()
 
void SetText (const OUString &rStr)
 
OUString GetText () const
 
void SetModifyHdl (const Link< LinkParamNone *, void > &rLink)
 
EditEngineGetEditEngine ()
 
virtual ~WeldEditView () override
 
- 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
 
SwCustomizeAddressBlockDialogm_pParentDialog
 
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 css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () 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
 
rtl::Reference< WeldEditAccessiblem_xAccessible
 

Detailed Description

Definition at line 135 of file mmaddressblockpage.hxx.

Constructor & Destructor Documentation

AddressMultiLineEdit::AddressMultiLineEdit ( SwCustomizeAddressBlockDialog pParent)

Definition at line 1061 of file mmaddressblockpage.cxx.

AddressMultiLineEdit::~AddressMultiLineEdit ( )
overridevirtual

Definition at line 1077 of file mmaddressblockpage.cxx.

References m_xDropTarget.

Member Function Documentation

void AddressMultiLineEdit::EditViewSelectionChange ( ) const
overrideprivatevirtual

Reimplemented from WeldEditView.

Definition at line 1405 of file mmaddressblockpage.cxx.

References WeldEditView::EditViewSelectionChange(), and m_aSelectionLink.

void AddressMultiLineEdit::EndDropTarget ( )

Definition at line 1066 of file mmaddressblockpage.cxx.

References m_xDropTarget.

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

Definition at line 1542 of file mmaddressblockpage.cxx.

References m_xDropTarget.

OUString AddressMultiLineEdit::GetText ( ) const

Definition at line 1105 of file mmaddressblockpage.cxx.

References WeldEditView::m_xEditEngine.

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

Reimplemented from WeldEditView.

Definition at line 1098 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)
overridevirtual
void AddressMultiLineEdit::SetModifyHdl ( const Link< AddressMultiLineEdit &, void > &  rLink)
inline

Definition at line 159 of file mmaddressblockpage.hxx.

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

Definition at line 158 of file mmaddressblockpage.hxx.

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

Member Data Documentation

Link<AddressMultiLineEdit&,void> AddressMultiLineEdit::m_aModifyLink
private

Definition at line 139 of file mmaddressblockpage.hxx.

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

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

Definition at line 140 of file mmaddressblockpage.hxx.

Referenced by SetText().

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

Definition at line 142 of file mmaddressblockpage.hxx.

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


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