|
LibreOffice Module sw (master) 1
|
#include <mmaddressblockpage.hxx>
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 EditView * | GetEditView () const |
| virtual EditEngine * | GetEditEngine () 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 |
| SfxBroadcaster * | GetBroadcasterJOE (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 |
| SwCustomizeAddressBlockDialog * | m_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 OutputDevice & | EditViewOutputDevice () 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::Widget * | EditViewPopupParent () const override |
Protected Attributes inherited from WeldEditView | |
| bool | m_bAcceptsTab |
| css::uno::Reference< css::datatransfer::dnd::XDropTarget > | m_xDropTarget |
| std::unique_ptr< EditEngine > | m_xEditEngine |
| std::unique_ptr< EditView > | m_xEditView |
| rtl::Reference< WeldEditAccessible > | m_xAccessible |
Definition at line 136 of file mmaddressblockpage.hxx.
| AddressMultiLineEdit::AddressMultiLineEdit | ( | SwCustomizeAddressBlockDialog * | pParent | ) |
Definition at line 1066 of file mmaddressblockpage.cxx.
|
overridevirtual |
Definition at line 1083 of file mmaddressblockpage.cxx.
References WeldEditView::m_xDropTarget.
|
overrideprivatevirtual |
Reimplemented from WeldEditView.
Definition at line 1104 of file mmaddressblockpage.cxx.
References WeldEditView::Command(), and CommandEvent::GetCommand().
|
overrideprivatevirtual |
Reimplemented from WeldEditView.
Definition at line 1422 of file mmaddressblockpage.cxx.
References Link< typename Arg, typename Ret >::Call(), WeldEditView::EditViewSelectionChange(), and m_aSelectionLink.
| void AddressMultiLineEdit::EndDropTarget | ( | ) |
Definition at line 1071 of file mmaddressblockpage.cxx.
References WeldEditView::m_xDropTarget, WeldEditView::m_xEditEngine, and WeldEditView::m_xEditView.
| OUString AddressMultiLineEdit::GetAddress | ( | ) | const |
Definition at line 1391 of file mmaddressblockpage.cxx.
References WeldEditView::m_xEditEngine, and comphelper::string::stripEnd().
Referenced by InsertNewEntryAtPosition(), RemoveCurrentEntry(), and UpdateFields().
| OUString AddressMultiLineEdit::GetCurrentItem | ( | ) | const |
Definition at line 1353 of file mmaddressblockpage.cxx.
References WeldEditView::m_xEditEngine, WeldEditView::m_xEditView, EECharAttrib::nEnd, ESelection::nEndPos, EECharAttrib::nStart, ESelection::nStartPara, and ESelection::nStartPos.
|
overrideprivatevirtual |
Reimplemented from WeldEditView.
Definition at line 1559 of file mmaddressblockpage.cxx.
References m_pParentDialog, and WeldEditView::m_xDropTarget.
| OUString AddressMultiLineEdit::GetText | ( | ) | const |
Definition at line 1122 of file mmaddressblockpage.cxx.
References WeldEditView::m_xEditEngine.
| bool AddressMultiLineEdit::HasCurrentItem | ( | ) | const |
Definition at line 1340 of file mmaddressblockpage.cxx.
References WeldEditView::m_xEditEngine, WeldEditView::m_xEditView, EECharAttrib::nEnd, ESelection::nEndPos, EECharAttrib::nStart, ESelection::nStartPara, and ESelection::nStartPos.
| void AddressMultiLineEdit::InsertNewEntry | ( | const OUString & | rStr | ) |
Definition at line 1179 of file mmaddressblockpage.cxx.
References Link< typename Arg, typename Ret >::Call(), InsertNewEntryAtPosition(), m_aModifyLink, WeldEditView::m_xEditEngine, WeldEditView::m_xEditView, EECharAttrib::nEnd, ESelection::nEndPara, nIndex, ESelection::nStartPara, and ESelection::nStartPos.
| void AddressMultiLineEdit::InsertNewEntryAtPosition | ( | const OUString & | rStr, |
| sal_uLong | nPara, | ||
| sal_uInt16 | nIndex | ||
| ) |
Definition at line 1204 of file mmaddressblockpage.cxx.
References Link< typename Arg, typename Ret >::Call(), GetAddress(), m_aSelectionLink, WeldEditView::m_xEditEngine, WeldEditView::m_xEditView, nIndex, and SetText().
Referenced by InsertNewEntry(), and MoveCurrentItem().
| MoveItemFlags AddressMultiLineEdit::IsCurrentItemMoveable | ( | ) | const |
Definition at line 1317 of file mmaddressblockpage.cxx.
References Down, Left, WeldEditView::m_xEditEngine, WeldEditView::m_xEditView, EECharAttrib::nEnd, ESelection::nEndPos, NONE, EECharAttrib::nStart, ESelection::nStartPara, ESelection::nStartPos, Right, and Up.
|
overrideprivatevirtual |
Reimplemented from WeldEditView.
Definition at line 1095 of file mmaddressblockpage.cxx.
References KeyEvent::GetCharCode(), vcl::KeyCode::GetCode(), KeyEvent::GetKeyCode(), KEY_ESCAPE, and WeldEditView::KeyInput().
|
overrideprivatevirtual |
Reimplemented from WeldEditView.
Definition at line 1115 of file mmaddressblockpage.cxx.
References MouseEvent::GetClicks(), and WeldEditView::MouseButtonDown().
| void AddressMultiLineEdit::MoveCurrentItem | ( | MoveItemFlags | nMove | ) |
Definition at line 1238 of file mmaddressblockpage.cxx.
References Link< typename Arg, typename Ret >::Call(), Down, EE_CHAR_GRABBAG(), InsertNewEntryAtPosition(), Left, m_aModifyLink, WeldEditView::m_xEditEngine, WeldEditView::m_xEditView, EECharAttrib::nEnd, ESelection::nEndPos, nIndex, EECharAttrib::nStart, ESelection::nStartPara, ESelection::nStartPos, Right, and Up.
| void AddressMultiLineEdit::RemoveCurrentEntry | ( | ) |
Definition at line 1217 of file mmaddressblockpage.cxx.
References Link< typename Arg, typename Ret >::Call(), GetAddress(), m_aModifyLink, WeldEditView::m_xEditEngine, WeldEditView::m_xEditView, EECharAttrib::nEnd, ESelection::nEndPos, EECharAttrib::nStart, ESelection::nStartPara, ESelection::nStartPos, and SetText().
| void AddressMultiLineEdit::SelectCurrentItem | ( | ) |
Definition at line 1372 of file mmaddressblockpage.cxx.
References WeldEditView::m_xEditEngine, WeldEditView::m_xEditView, EECharAttrib::nEnd, ESelection::nEndPos, EECharAttrib::nStart, ESelection::nStartPara, and ESelection::nStartPos.
| bool AddressMultiLineEdit::SetCursorLogicPosition | ( | const Point & | rPosition | ) |
Definition at line 1571 of file mmaddressblockpage.cxx.
References WeldEditView::EditViewOutputDevice(), WeldEditView::m_xEditEngine, WeldEditView::m_xEditView, ESelection::nStartPara, ESelection::nStartPos, and OutputDevice::PixelToLogic().
|
overridevirtual |
Reimplemented from WeldEditView.
Definition at line 1088 of file mmaddressblockpage.cxx.
References weld::DrawingArea::get_ref_device(), Size::Height(), OutputDevice::LogicToPixel(), weld::Widget::set_size_request(), WeldEditView::SetDrawingArea(), and Size::Width().
|
inline |
Definition at line 159 of file mmaddressblockpage.hxx.
References m_aModifyLink.
|
inline |
Definition at line 158 of file mmaddressblockpage.hxx.
References m_aSelectionLink.
| void AddressMultiLineEdit::SetText | ( | const OUString & | rStr | ) |
Definition at line 1127 of file mmaddressblockpage.cxx.
References SwCustomizeAddressBlockDialog::ADDRESSBLOCK_EDIT, SwCustomizeAddressBlockDialog::ADDRESSBLOCK_NEW, EE_CHAR_GRABBAG(), SfxGrabBagItem::GetGrabBag(), SwCustomizeAddressBlockDialog::m_eType, m_pParentDialog, WeldEditView::m_xEditEngine, WeldEditView::m_xEditView, nIndex, and SfxItemSet::Put().
Referenced by InsertNewEntryAtPosition(), RemoveCurrentEntry(), and UpdateFields().
| void AddressMultiLineEdit::UpdateFields | ( | ) |
Definition at line 1410 of file mmaddressblockpage.cxx.
References Link< typename Arg, typename Ret >::Call(), GetAddress(), m_aSelectionLink, WeldEditView::m_xEditView, and SetText().
|
private |
Definition at line 140 of file mmaddressblockpage.hxx.
Referenced by InsertNewEntry(), MoveCurrentItem(), RemoveCurrentEntry(), and SetModifyHdl().
|
private |
Definition at line 139 of file mmaddressblockpage.hxx.
Referenced by EditViewSelectionChange(), InsertNewEntryAtPosition(), SetSelectionChangedHdl(), and UpdateFields().
|
private |
Definition at line 141 of file mmaddressblockpage.hxx.
Referenced by GetDropTarget(), and SetText().