LibreOffice Module sc (master)  1
Namespaces | Enumerations | Functions | Variables
inputwin.cxx File Reference
#include <memory>
#include <algorithm>
#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/lokhelper.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>
Include dependency graph for inputwin.cxx:

Go to the source code of this file.

Namespaces

 com::sun::star::accessibility
 

Enumerations

enum  ScNameInputType
 

Functions

static VclPtr< ScInputBarGrouplcl_chooseRuntimeImpl (vcl::Window *pParent, const SfxBindings *pBind)
 
 IMPL_LINK (ScInputWindow, MenuHdl, Menu *, pMenu, bool)
 
 IMPL_LINK_NOARG (ScInputWindow, DropdownClickHdl, ToolBox *, void)
 
 IMPL_LINK_NOARG (ScInputBarGroup, ClickHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (ScTextWndGroup, Impl_ScrollHdl, weld::ScrolledWindow &, void)
 
static void lcl_ExtendEditFontAttribs (SfxItemSet &rSet)
 
static void lcl_ModifyRTLDefaults (SfxItemSet &rSet)
 
static void lcl_ModifyRTLVisArea (EditView *pEditView)
 
 IMPL_LINK_NOARG (ScTextWnd, ModifyHdl, LinkParamNone *, void)
 
static sal_Int32 findFirstNonMatchingChar (const OUString &rStr1, const OUString &rStr2)
 
static ScNameInputType lcl_GetInputType (const OUString &rText)
 
 IMPL_LINK_NOARG (ScPosWnd, ModifyHdl, weld::ComboBox &, void)
 
 IMPL_LINK_NOARG (ScPosWnd, ActivateHdl, weld::ComboBox &, bool)
 
 IMPL_LINK (ScPosWnd, KeyInputHdl, const KeyEvent &, rKEvt, bool)
 
 IMPL_LINK_NOARG (ScPosWnd, OnAsyncGetFocus, void *, void)
 
 IMPL_LINK_NOARG (ScPosWnd, FocusInHdl, weld::Widget &, void)
 
 IMPL_LINK_NOARG (ScPosWnd, FocusOutHdl, weld::Widget &, void)
 

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
 
constexpr tools::Long gnBorderWidth = INPUTLINE_INSET_MARGIN + 1
 
constexpr tools::Long gnBorderHeight = INPUTLINE_INSET_MARGIN + 1
 

Enumeration Type Documentation

Definition at line 94 of file inputwin.cxx.

Function Documentation

static sal_Int32 findFirstNonMatchingChar ( const OUString &  rStr1,
const OUString &  rStr2 
)
static

Definition at line 1801 of file inputwin.cxx.

References i.

Referenced by ScTextWnd::SetTextString().

IMPL_LINK ( ScInputWindow  ,
MenuHdl  ,
Menu ,
pMenu  ,
bool   
)

Definition at line 978 of file inputwin.cxx.

References aCommand, ocAverage, ocCount, ocMax, ocMin, and ocSum.

IMPL_LINK ( ScPosWnd  ,
KeyInputHdl  ,
const KeyEvent ,
rKEvt  ,
bool   
)

Definition at line 2467 of file inputwin.cxx.

References KEY_ESCAPE, and KEY_RETURN.

IMPL_LINK_NOARG ( ScInputWindow  ,
DropdownClickHdl  ,
ToolBox ,
void   
)
IMPL_LINK_NOARG ( ScInputBarGroup  ,
ClickHdl  ,
weld::Button ,
void   
)

Definition at line 1025 of file inputwin.cxx.

References ScInputHandler::IsTopMode(), and SC_MOD.

IMPL_LINK_NOARG ( ScTextWndGroup  ,
Impl_ScrollHdl  ,
weld::ScrolledWindow ,
void   
)

Definition at line 1208 of file inputwin.cxx.

IMPL_LINK_NOARG ( ScTextWnd  ,
ModifyHdl  ,
LinkParamNone ,
void   
)
IMPL_LINK_NOARG ( ScPosWnd  ,
ModifyHdl  ,
weld::ComboBox ,
void   
)
IMPL_LINK_NOARG ( ScPosWnd  ,
ActivateHdl  ,
weld::ComboBox ,
bool   
)

Definition at line 2461 of file inputwin.cxx.

IMPL_LINK_NOARG ( ScPosWnd  ,
OnAsyncGetFocus  ,
void ,
void   
)

Definition at line 2497 of file inputwin.cxx.

IMPL_LINK_NOARG ( ScPosWnd  ,
FocusInHdl  ,
weld::Widget ,
void   
)

Definition at line 2503 of file inputwin.cxx.

References LINK, and Application::PostUserEvent().

IMPL_LINK_NOARG ( ScPosWnd  ,
FocusOutHdl  ,
weld::Widget ,
void   
)

Definition at line 2511 of file inputwin.cxx.

References Application::RemoveUserEvent().

static VclPtr<ScInputBarGroup> lcl_chooseRuntimeImpl ( vcl::Window pParent,
const SfxBindings pBind 
)
static
static void lcl_ExtendEditFontAttribs ( SfxItemSet rSet)
static
static ScNameInputType lcl_GetInputType ( const OUString &  rText)
static
static void lcl_ModifyRTLDefaults ( SfxItemSet rSet)
static
static void lcl_ModifyRTLVisArea ( EditView pEditView)
static

Variable Documentation

constexpr tools::Long gnBorderHeight = INPUTLINE_INSET_MARGIN + 1
constexpr tools::Long gnBorderWidth = INPUTLINE_INSET_MARGIN + 1

Definition at line 1099 of file inputwin.cxx.

Referenced by 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 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().