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 ()
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
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 MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual bool MouseButtonUp (const MouseEvent &rMEvt) override
 
virtual bool KeyInput (const KeyEvent &rKEvt) 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
 
virtual css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget () 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)
 
virtual bool IsSdrView () const
 

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 Command (const CommandEvent &rCEvt) override
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
 

Private Attributes

Link< bool, void > m_aSelectionLink
 
Link< AddressMultiLineEdit &, void > m_aModifyLink
 
SwCustomizeAddressBlockDialogm_pParentDialog
 

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 void EditViewSelectionChange () 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::AddressMultiLineEdit ( SwCustomizeAddressBlockDialog pParent)

Definition at line 1066 of file mmaddressblockpage.cxx.

◆ ~AddressMultiLineEdit()

AddressMultiLineEdit::~AddressMultiLineEdit ( )
overridevirtual

Definition at line 1083 of file mmaddressblockpage.cxx.

References WeldEditView::m_xDropTarget.

Member Function Documentation

◆ Command()

bool AddressMultiLineEdit::Command ( const CommandEvent rCEvt)
overrideprivatevirtual

Reimplemented from WeldEditView.

Definition at line 1104 of file mmaddressblockpage.cxx.

References WeldEditView::Command(), and CommandEvent::GetCommand().

◆ EditViewSelectionChange()

void AddressMultiLineEdit::EditViewSelectionChange ( )
overrideprivatevirtual

◆ EndDropTarget()

void AddressMultiLineEdit::EndDropTarget ( )

◆ GetAddress()

OUString AddressMultiLineEdit::GetAddress ( ) const

◆ GetCurrentItem()

OUString AddressMultiLineEdit::GetCurrentItem ( ) const

◆ GetDropTarget()

css::uno::Reference< css::datatransfer::dnd::XDropTarget > AddressMultiLineEdit::GetDropTarget ( )
overrideprivatevirtual

Reimplemented from WeldEditView.

Definition at line 1559 of file mmaddressblockpage.cxx.

References m_pParentDialog, and WeldEditView::m_xDropTarget.

◆ GetText()

OUString AddressMultiLineEdit::GetText ( ) const

Definition at line 1122 of file mmaddressblockpage.cxx.

References WeldEditView::m_xEditEngine.

◆ HasCurrentItem()

bool AddressMultiLineEdit::HasCurrentItem ( ) const

◆ InsertNewEntry()

void AddressMultiLineEdit::InsertNewEntry ( const OUString &  rStr)

◆ InsertNewEntryAtPosition()

void AddressMultiLineEdit::InsertNewEntryAtPosition ( const OUString &  rStr,
sal_uLong  nPara,
sal_uInt16  nIndex 
)

◆ IsCurrentItemMoveable()

MoveItemFlags AddressMultiLineEdit::IsCurrentItemMoveable ( ) const

◆ KeyInput()

bool AddressMultiLineEdit::KeyInput ( const KeyEvent rKEvt)
overrideprivatevirtual

◆ MouseButtonDown()

bool AddressMultiLineEdit::MouseButtonDown ( const MouseEvent rMEvt)
overrideprivatevirtual

Reimplemented from WeldEditView.

Definition at line 1115 of file mmaddressblockpage.cxx.

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

◆ MoveCurrentItem()

void AddressMultiLineEdit::MoveCurrentItem ( MoveItemFlags  nMove)

◆ RemoveCurrentEntry()

void AddressMultiLineEdit::RemoveCurrentEntry ( )

◆ SelectCurrentItem()

void AddressMultiLineEdit::SelectCurrentItem ( )

◆ SetCursorLogicPosition()

bool AddressMultiLineEdit::SetCursorLogicPosition ( const Point rPosition)

◆ SetDrawingArea()

void AddressMultiLineEdit::SetDrawingArea ( weld::DrawingArea pDrawingArea)
overridevirtual

◆ SetModifyHdl()

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

Definition at line 159 of file mmaddressblockpage.hxx.

References m_aModifyLink.

◆ SetSelectionChangedHdl()

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

Definition at line 158 of file mmaddressblockpage.hxx.

References m_aSelectionLink.

◆ SetText()

void AddressMultiLineEdit::SetText ( const OUString &  rStr)

◆ UpdateFields()

void AddressMultiLineEdit::UpdateFields ( )

Member Data Documentation

◆ m_aModifyLink

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

◆ m_aSelectionLink

Link<bool,void> AddressMultiLineEdit::m_aSelectionLink
private

◆ m_pParentDialog

SwCustomizeAddressBlockDialog* AddressMultiLineEdit::m_pParentDialog
private

Definition at line 141 of file mmaddressblockpage.hxx.

Referenced by GetDropTarget(), and SetText().


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