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 () 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 ()
virtual int GetSurroundingText (OUString &rSurrounding) override
virtual bool DeleteSurroundingText (const Selection &rRange) override
void SetText (const OUString &rStr)
OUString GetText () const
virtual FactoryFunction GetUITestFactory () const override
void SetModifyHdl (const Link< LinkParamNone *, void > &rLink)
virtual EditViewGetEditView () const
virtual EditEngineGetEditEngine () const
bool HasSelection () const
void Delete ()
void Cut ()
void Copy ()
void Paste ()
virtual ~WeldEditView () override
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 bool Command (const CommandEvent &rCEvt) override
virtual bool CanFocus () const
virtual void GetFocus () override
virtual void LoseFocus () override
virtual void Resize () override
virtual css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard () const override
bool GetAcceptsTab () const
void SetAcceptsTab (bool bAcceptsTab)
- 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 () override
virtual css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget () 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

Additional Inherited Members

- Protected Member Functions inherited from WeldEditView
virtual void makeEditEngine ()
void InitAccessible ()
void DoPaint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override
virtual void EditViewInvalidate (const tools::Rectangle &rRect) override
virtual OutputDeviceEditViewOutputDevice () const override
virtual Point EditViewPointerPosPixel () const override
virtual void EditViewInputContext (const InputContext &rInputContext) override
virtual void EditViewCursorRect (const tools::Rectangle &rRect, int nExtTextInputWidth) override
virtual weld::WidgetEditViewPopupParent () const override
- Protected Attributes inherited from WeldEditView
bool m_bAcceptsTab
css::uno::Reference< css::datatransfer::dnd::XDropTarget > m_xDropTarget
std::unique_ptr< EditEnginem_xEditEngine
std::unique_ptr< EditViewm_xEditView
rtl::Reference< WeldEditAccessiblem_xAccessible

Detailed Description

Definition at line 136 of file mmaddressblockpage.hxx.

Constructor & Destructor Documentation

AddressMultiLineEdit::AddressMultiLineEdit ( SwCustomizeAddressBlockDialog pParent)

Definition at line 1062 of file mmaddressblockpage.cxx.

AddressMultiLineEdit::~AddressMultiLineEdit ( )

Definition at line 1079 of file mmaddressblockpage.cxx.

References WeldEditView::m_xDropTarget.

Member Function Documentation

void AddressMultiLineEdit::EditViewSelectionChange ( )

Reimplemented from WeldEditView.

Definition at line 1407 of file mmaddressblockpage.cxx.

References WeldEditView::EditViewSelectionChange(), and m_aSelectionLink.

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

Reimplemented from WeldEditView.

Definition at line 1544 of file mmaddressblockpage.cxx.

References WeldEditView::m_xDropTarget.

OUString AddressMultiLineEdit::GetText ( ) const

Definition at line 1107 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)
bool AddressMultiLineEdit::MouseButtonDown ( const MouseEvent rMEvt)

Reimplemented from WeldEditView.

Definition at line 1100 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 158 of file mmaddressblockpage.hxx.

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

Definition at line 157 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 140 of file mmaddressblockpage.hxx.

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

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

Definition at line 141 of file mmaddressblockpage.hxx.

Referenced by SetText().

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