LibreOffice Module sw (master)  1
Macros | Functions | Variables
workctrl.cxx File Reference
#include <sal/config.h>
#include <string_view>
#include <i18nutil/unicode.hxx>
#include <vcl/InterimItemWindow.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/viewfrm.hxx>
#include <swmodule.hxx>
#include <view.hxx>
#include <initui.hxx>
#include <docsh.hxx>
#include <gloshdl.hxx>
#include <gloslst.hxx>
#include <workctrl.hxx>
#include <strings.hrc>
#include <cmdid.h>
#include <helpids.h>
#include <wrtsh.hxx>
#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <vcl/event.hxx>
#include <vcl/settings.hxx>
#include <rtl/ustring.hxx>
#include <swabstdlg.hxx>
#include <sfx2/zoomitem.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weldutils.hxx>
#include <svx/dialmgr.hxx>
#include <svx/strings.hrc>
#include <bitmaps.hlst>
#include <toolkit/helper/vclunohelper.hxx>
#include <svx/srchdlg.hxx>
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
Include dependency graph for workctrl.cxx:

Go to the source code of this file.

Macros

#define NAVI_ENTRIES   18
 

Functions

 SFX_IMPL_TOOLBOX_CONTROL (SwTbxAutoTextCtrl, SfxVoidItem)
 
 IMPL_STATIC_LINK (SwTbxAutoTextCtrl, PopupHdl, Menu *, pMenu, bool)
 
static OUString lcl_GetScrollToolTip (bool bNext)
 
 IMPL_LINK (SwZoomBox_Impl, SelectHdl, weld::ComboBox &, rComboBox, void)
 
 IMPL_LINK_NOARG (SwZoomBox_Impl, ActivateHdl, weld::ComboBox &, bool)
 
 IMPL_LINK (SwZoomBox_Impl, KeyInputHdl, const KeyEvent &, rKEvt, bool)
 
 IMPL_LINK_NOARG (SwZoomBox_Impl, FocusOutHdl, weld::Widget &, void)
 
 SFX_IMPL_TOOLBOX_CONTROL (SwPreviewZoomControl, SfxUInt16Item)
 
 IMPL_LINK (SwJumpToSpecificBox_Impl, KeyInputHdl, const KeyEvent &, rKEvt, bool)
 
 IMPL_LINK_NOARG (SwJumpToSpecificBox_Impl, SelectHdl, weld::Entry &, bool)
 
 SFX_IMPL_TOOLBOX_CONTROL (SwJumpToSpecificPageControl, SfxUInt16Item)
 
 IMPL_LINK (NavElementBox_Base, SelectHdl, weld::ComboBox &, rComboBox, void)
 
 IMPL_LINK (NavElementBox_Base, KeyInputHdl, const KeyEvent &, rKEvt, bool)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * lo_writer_NavElementToolBoxController_get_implementation (css::uno::XComponentContext *rxContext, css::uno::Sequence< css::uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * lo_writer_PreviousScrollToolboxController_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * lo_writer_NextScrollToolboxController_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 

Variables

static sal_uInt16 aNavigationInsertIds [NAVI_ENTRIES]
 
std::u16string_view const aNavigationImgIds [NAVI_ENTRIES]
 
static const char * aNavigationStrIds [NAVI_ENTRIES]
 
static const char * STR_IMGBTN_ARY []
 

Macro Definition Documentation

#define NAVI_ENTRIES   18

Definition at line 60 of file workctrl.cxx.

Function Documentation

IMPL_LINK ( SwZoomBox_Impl  ,
SelectHdl  ,
weld::ComboBox ,
rComboBox  ,
void   
)

Definition at line 353 of file workctrl.cxx.

References Select.

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

Definition at line 407 of file workctrl.cxx.

References KEY_ESCAPE, KEY_TAB, nCode, and Select.

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

Definition at line 515 of file workctrl.cxx.

IMPL_LINK ( NavElementBox_Base  ,
SelectHdl  ,
weld::ComboBox ,
rComboBox  ,
void   
)
IMPL_LINK ( NavElementBox_Base  ,
KeyInputHdl  ,
const KeyEvent ,
rKEvt  ,
bool   
)

Definition at line 748 of file workctrl.cxx.

IMPL_LINK_NOARG ( SwZoomBox_Impl  ,
ActivateHdl  ,
weld::ComboBox ,
bool   
)

Definition at line 359 of file workctrl.cxx.

References Select.

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

Definition at line 430 of file workctrl.cxx.

IMPL_LINK_NOARG ( SwJumpToSpecificBox_Impl  ,
SelectHdl  ,
weld::Entry ,
bool   
)
IMPL_STATIC_LINK ( SwTbxAutoTextCtrl  ,
PopupHdl  ,
Menu ,
pMenu  ,
bool   
)
static OUString lcl_GetScrollToolTip ( bool  bNext)
static

Definition at line 267 of file workctrl.cxx.

References SwView::GetMoveType(), NID_COUNT, NID_START, STR_IMGBTN_ARY, and SwResId().

SAL_DLLPUBLIC_EXPORT css::uno::XInterface* lo_writer_NavElementToolBoxController_get_implementation ( css::uno::XComponentContext *  rxContext,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 931 of file workctrl.cxx.

SAL_DLLPUBLIC_EXPORT css::uno::XInterface* lo_writer_NextScrollToolboxController_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 1051 of file workctrl.cxx.

SAL_DLLPUBLIC_EXPORT css::uno::XInterface* lo_writer_PreviousScrollToolboxController_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 1043 of file workctrl.cxx.

SFX_IMPL_TOOLBOX_CONTROL ( SwTbxAutoTextCtrl  ,
SfxVoidItem   
)
SFX_IMPL_TOOLBOX_CONTROL ( SwPreviewZoomControl  ,
SfxUInt16Item   
)
SFX_IMPL_TOOLBOX_CONTROL ( SwJumpToSpecificPageControl  ,
SfxUInt16Item   
)

Variable Documentation

std::u16string_view const aNavigationImgIds[NAVI_ENTRIES]
Initial value:
=
{
u"" RID_BMP_RIBBAR_TBL,
u"" RID_BMP_RIBBAR_FRM,
u"" RID_BMP_RIBBAR_GRF,
u"" RID_BMP_RIBBAR_OLE,
u"" RID_BMP_RIBBAR_PGE,
u"" RID_BMP_RIBBAR_OUTL,
u"" RID_BMP_RIBBAR_MARK,
u"" RID_BMP_RIBBAR_DRW,
u"" RID_BMP_RIBBAR_CTRL,
u"" RID_BMP_RIBBAR_REG,
u"" RID_BMP_RIBBAR_BKM,
u"" RID_BMP_RIBBAR_SEL,
u"" RID_BMP_RIBBAR_FTN,
u"" RID_BMP_RIBBAR_POSTIT,
u"" RID_BMP_RIBBAR_REP,
u"" RID_BMP_RIBBAR_ENTRY,
u"" RID_BMP_RIBBAR_FORMULA,
u"" RID_BMP_RIBBAR_ERROR
}
float u

Definition at line 182 of file workctrl.cxx.

sal_uInt16 aNavigationInsertIds[NAVI_ENTRIES]
static
Initial value:
=
{
}
#define NID_GRF
Definition: workctrl.hxx:38
#define NID_POSTIT
Definition: workctrl.hxx:44
#define NID_BKM
Definition: workctrl.hxx:37
#define NID_MARK
Definition: workctrl.hxx:43
#define NID_SEL
Definition: workctrl.hxx:41
#define NID_TABLE_FORMULA
Definition: workctrl.hxx:47
#define NID_OUTL
Definition: workctrl.hxx:40
#define NID_SRCH_REP
Definition: workctrl.hxx:45
#define NID_INDEX_ENTRY
Definition: workctrl.hxx:46
#define NID_REG
Definition: workctrl.hxx:36
#define NID_TABLE_FORMULA_ERROR
Definition: workctrl.hxx:48
#define NID_FTN
Definition: workctrl.hxx:42
#define NID_DRW
Definition: workctrl.hxx:34
#define NID_OLE
Definition: workctrl.hxx:39
#define NID_PGE
Definition: workctrl.hxx:33
#define NID_CTRL
Definition: workctrl.hxx:35
#define NID_TBL
Definition: workctrl.hxx:31
#define NID_FRM
Definition: workctrl.hxx:32

Definition at line 160 of file workctrl.cxx.

const char* aNavigationStrIds[NAVI_ENTRIES]
static
Initial value:
=
{
ST_TBL,
ST_FRM,
ST_GRF,
ST_OLE,
ST_PGE,
ST_OUTL,
ST_MARK,
ST_DRW,
ST_CTRL,
ST_REG,
ST_BKM,
ST_SEL,
ST_FTN,
ST_POSTIT,
ST_SRCH_REP,
ST_INDEX_ENTRY,
ST_TABLE_FORMULA,
ST_TABLE_FORMULA_ERROR
}

Definition at line 204 of file workctrl.cxx.

const char* STR_IMGBTN_ARY[]
static

Definition at line 227 of file workctrl.cxx.

Referenced by lcl_GetScrollToolTip().