19#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_INPUTWIN_HXX
20#define INCLUDED_SW_SOURCE_UIBASE_INC_INPUTWIN_HXX
45 :
InterimItemWindow(pParent,
"modules/swriter/ui/inputeditbox.ui",
"InputEditBox")
55 void UpdateRange(std::u16string_view rSel,
const OUString& rTableName);
80 int nStartPos, nEndPos;
81 m_xWidget->get_selection_bounds(nStartPos, nEndPos);
82 if (nStartPos > nEndPos)
83 std::swap(nStartPos, nEndPos);
87 nStartPos = nStartPos + rText.getLength();
88 m_xWidget->select_region(nStartPos, nStartPos);
93 m_xWidget->select_region(nStartPos, nEndPos);
170 using Window::IsActive;
172 virtual void Resize()
override;
173 virtual void Click()
override;
174 void MenuHdl(std::u16string_view command);
182 virtual void dispose()
override;
virtual void dispose() override
std::unique_ptr< weld::Builder > m_xBuilder
void InitControlBase(weld::Widget *pWidget)
virtual ~PosEdit() override
virtual void dispose() override
PosEdit(vcl::Window *pParent)
void set_accessible_name(const OUString &rName)
void set_text(const OUString &rText)
std::unique_ptr< weld::Entry > m_xWidget
DECL_LINK(KeyInputHdl, const KeyEvent &, bool)
vcl::Window * GetWindow() const
Used by the UI to modify the document model.
virtual void SetSizePixel(const Size &rNewSize)
#define LINK(Instance, Class, Member)