|
LibreOffice Module sc (master) 1
|
#include <memory>#include <algorithm>#include <string_view>#include <editeng/eeitem.hxx>#include <sfx2/app.hxx>#include <editeng/adjustitem.hxx>#include <editeng/editview.hxx>#include <editeng/editstat.hxx>#include <editeng/lspcitem.hxx>#include <editeng/fhgtitem.hxx>#include <editeng/wghtitem.hxx>#include <editeng/postitem.hxx>#include <editeng/langitem.hxx>#include <sfx2/bindings.hxx>#include <sfx2/viewfrm.hxx>#include <sfx2/dispatch.hxx>#include <sfx2/event.hxx>#include <editeng/scriptspaceitem.hxx>#include <vcl/commandevent.hxx>#include <vcl/cursor.hxx>#include <vcl/help.hxx>#include <vcl/settings.hxx>#include <svl/stritem.hxx>#include <vcl/svapp.hxx>#include <vcl/weldutils.hxx>#include <unotools/charclass.hxx>#include <inputwin.hxx>#include <scmod.hxx>#include <global.hxx>#include <scresid.hxx>#include <strings.hrc>#include <globstr.hrc>#include <bitmaps.hlst>#include <reffact.hxx>#include <editutil.hxx>#include <inputhdl.hxx>#include <tabvwsh.hxx>#include <document.hxx>#include <docsh.hxx>#include <appoptio.hxx>#include <rangenam.hxx>#include <rangeutl.hxx>#include <docfunc.hxx>#include <funcdesc.hxx>#include <editeng/fontitem.hxx>#include <AccessibleEditObject.hxx>#include <AccessibleText.hxx>#include <comphelper/lok.hxx>#include <comphelper/string.hxx>#include <com/sun/star/frame/XLayoutManager.hpp>#include <helpids.h>#include <output.hxx>Go to the source code of this file.
Namespaces | |
| namespace | com |
| namespace | com::sun |
| namespace | com::sun::star |
| namespace | com::sun::star::accessibility |
Variables | |
| const tools::Long | THESIZE = 1000000 |
| const tools::Long | INPUTLINE_INSET_MARGIN = 2 |
| const tools::Long | LEFT_OFFSET = 5 |
| const tools::Long | INPUTWIN_MULTILINES = 6 |
| const tools::Long | TOOLBOX_WINDOW_HEIGHT = 22 |
| const tools::Long | POSITION_COMBOBOX_WIDTH = 18 |
| const int | RESIZE_HOTSPOT_HEIGHT = 4 |
| constexpr tools::Long | gnBorderWidth = (INPUTLINE_INSET_MARGIN + 1) * 2 |
| constexpr tools::Long | gnBorderHeight = INPUTLINE_INSET_MARGIN + 1 |
|
static |
Definition at line 2005 of file inputwin.cxx.
References i.
Referenced by ScTextWnd::SetTextString().
Definition at line 2703 of file inputwin.cxx.
References KEY_ESCAPE, KEY_RETURN, and m_xWidget.
| IMPL_LINK_NOARG | ( | ScInputBarGroup | , |
| ClickHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 1111 of file inputwin.cxx.
| IMPL_LINK_NOARG | ( | ScInputWindow | , |
| DropdownClickHdl | , | ||
| ToolBox * | , | ||
| void | |||
| ) |
Definition at line 1096 of file inputwin.cxx.
References Application::CreateBuilder(), and weld::GetPopupParent().
| IMPL_LINK_NOARG | ( | ScPosWnd | , |
| ActivateHdl | , | ||
| weld::ComboBox & | , | ||
| bool | |||
| ) |
Definition at line 2697 of file inputwin.cxx.
| IMPL_LINK_NOARG | ( | ScPosWnd | , |
| FocusInHdl | , | ||
| weld::Widget & | , | ||
| void | |||
| ) |
Definition at line 2739 of file inputwin.cxx.
References LINK, and Application::PostUserEvent().
| IMPL_LINK_NOARG | ( | ScPosWnd | , |
| FocusOutHdl | , | ||
| weld::Widget & | , | ||
| void | |||
| ) |
Definition at line 2747 of file inputwin.cxx.
References Application::RemoveUserEvent().
| IMPL_LINK_NOARG | ( | ScPosWnd | , |
| ModifyHdl | , | ||
| weld::ComboBox & | , | ||
| void | |||
| ) |
Definition at line 2524 of file inputwin.cxx.
References eType, vcl::Cursor::GetPos(), lcl_GetInputType(), m_xWidget, ScResId(), and Help::ShowPopover().
| IMPL_LINK_NOARG | ( | ScPosWnd | , |
| OnAsyncGetFocus | , | ||
| void * | , | ||
| void | |||
| ) |
Definition at line 2733 of file inputwin.cxx.
References m_xWidget.
| IMPL_LINK_NOARG | ( | ScTextWnd | , |
| EditStatusHdl | , | ||
| EditStatus & | , | ||
| void | |||
| ) |
Definition at line 1955 of file inputwin.cxx.
| IMPL_LINK_NOARG | ( | ScTextWnd | , |
| ModifyHdl | , | ||
| LinkParamNone * | , | ||
| void | |||
| ) |
Definition at line 1941 of file inputwin.cxx.
References ScInputHandler::InputChanged(), ScInputHandler::IsInOwnChange(), and SC_MOD.
| IMPL_LINK_NOARG | ( | ScTextWndGroup | , |
| Impl_ScrollHdl | , | ||
| weld::ScrolledWindow & | , | ||
| void | |||
| ) |
Definition at line 1331 of file inputwin.cxx.
|
static |
Definition at line 147 of file inputwin.cxx.
References VclPtr< class reference_type >::Create(), SfxBindings::GetDispatcher(), SfxDispatcher::GetFrame(), and SfxShell::GetViewShell().
|
static |
Definition at line 1499 of file inputwin.cxx.
References SfxPoolItem::Clone(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), EE_CHAR_FONTINFO(), EE_CHAR_FONTINFO_CJK(), EE_CHAR_FONTINFO_CTL(), EE_CHAR_ITALIC(), EE_CHAR_ITALIC_CJK(), EE_CHAR_ITALIC_CTL(), EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), EE_CHAR_WEIGHT(), EE_CHAR_WEIGHT_CJK(), EE_CHAR_WEIGHT_CTL(), SfxItemSet::Get(), SfxItemSet::Put(), rSet, and SfxPoolItem::SetWhich().
Referenced by ScTextWnd::InitEditEngine(), and ScTextWnd::MakeDialogEditView().
|
static |
Definition at line 2466 of file inputwin.cxx.
References ScTabViewShell::GetActiveViewShell(), ScDocument::GetAddressConvention(), ScViewData::GetDocument(), ScViewData::GetSimpleArea(), ScDocument::GetTable(), ScViewData::GetTabNo(), ScTabView::GetViewData(), comphelper::string::isdigitAsciiString(), ScRangeData::IsNameValid(), ScRangeUtil::MakeRangeFromName(), ScDocument::MaxRow(), ScRangeData::NAME_VALID, ScAddress::Parse(), ScRange::Parse(), RUTL_DBASE, RUTL_NAMES_GLOBAL, RUTL_NAMES_LOCAL, SC_MARK_SIMPLE, ScResId(), and VALID.
Referenced by ScPosWnd::DoEnter(), and IMPL_LINK_NOARG().
|
static |
Definition at line 1533 of file inputwin.cxx.
References EE_PARA_JUST(), EE_PARA_SBL(), LINE_SPACE_DEFAULT_HEIGHT, SfxItemSet::Put(), rSet, and SvxLineSpacingItem::SetPropLineSpace().
Referenced by ScTextWnd::InitEditEngine(), and ScTextWnd::MakeDialogEditView().
|
static |
Definition at line 1548 of file inputwin.cxx.
References tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), EditView::GetEditEngine(), EditEngine::GetPaperSize(), EditView::GetVisArea(), tools::Rectangle::Right(), EditView::SetVisArea(), and Size::Width().
Referenced by ScTextWnd::InitEditEngine(), and ScTextWnd::MakeDialogEditView().
|
constexpr |
Definition at line 1189 of file inputwin.cxx.
Referenced by ScTextWndGroup::GetPixelHeightForLines(), and ScTextWnd::SetDrawingArea().
|
constexpr |
Definition at line 1188 of file inputwin.cxx.
Referenced by ScTextWndGroup::GetCursorScreenPixelPos(), and ScTextWnd::SetDrawingArea().
| const tools::Long INPUTLINE_INSET_MARGIN = 2 |
Definition at line 79 of file inputwin.cxx.
| const tools::Long INPUTWIN_MULTILINES = 6 |
Definition at line 82 of file inputwin.cxx.
| const tools::Long LEFT_OFFSET = 5 |
Definition at line 80 of file inputwin.cxx.
Referenced by ScInputWindow::Resize().
| const tools::Long POSITION_COMBOBOX_WIDTH = 18 |
Definition at line 84 of file inputwin.cxx.
Referenced by ScPosWnd::ScPosWnd().
| const int RESIZE_HOTSPOT_HEIGHT = 4 |
Definition at line 85 of file inputwin.cxx.
Referenced by ScInputWindow::IsPointerAtResizePos(), and ScInputWindow::Resize().
| const tools::Long THESIZE = 1000000 |
Definition at line 78 of file inputwin.cxx.
Referenced by ScTextWnd::MakeDialogEditView().
| const tools::Long TOOLBOX_WINDOW_HEIGHT = 22 |
Definition at line 83 of file inputwin.cxx.
Referenced by ScInputWindow::MouseButtonDown(), and ScInputWindow::MouseMove().