LibreOffice Module sw (master)  1
Macros | Functions | Variables
workctrl.cxx File Reference
#include <sal/config.h>
#include <i18nutil/unicode.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/bindings.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/menu.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 <com/sun/star/frame/XFrame.hpp>
#include <sfx2/viewfrm.hxx>
Include dependency graph for workctrl.cxx:

Go to the source code of this file.

Macros

#define NAVI_ENTRIES   21
 

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_STATIC_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]
 
rtl::OUStringConstExpr constexpr aNavigationImgIds [NAVI_ENTRIES]
 
const TranslateId aNavigationStrIds [NAVI_ENTRIES]
 
const TranslateId STR_IMGBTN_ARY []
 

Macro Definition Documentation

#define NAVI_ENTRIES   21

Definition at line 55 of file workctrl.cxx.

Function Documentation

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

Definition at line 376 of file workctrl.cxx.

References Select.

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

Definition at line 430 of file workctrl.cxx.

References KEY_ESCAPE, KEY_TAB, nCode, and Select.

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

Definition at line 538 of file workctrl.cxx.

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

Definition at line 649 of file workctrl.cxx.

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

Definition at line 382 of file workctrl.cxx.

References Select.

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

Definition at line 453 of file workctrl.cxx.

IMPL_LINK_NOARG ( SwJumpToSpecificBox_Impl  ,
SelectHdl  ,
weld::Entry ,
bool   
)
IMPL_STATIC_LINK ( SwTbxAutoTextCtrl  ,
PopupHdl  ,
Menu ,
pMenu  ,
bool   
)
IMPL_STATIC_LINK ( NavElementBox_Base  ,
SelectHdl  ,
weld::ComboBox ,
rComboBox  ,
void   
)
static OUString lcl_GetScrollToolTip ( bool  bNext)
static
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 800 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 932 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 924 of file workctrl.cxx.

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

Variable Documentation

rtl::OUStringConstExpr constexpr aNavigationImgIds[NAVI_ENTRIES]
Initial value:
=
{
RID_BMP_RIBBAR_TBL,
RID_BMP_RIBBAR_FRM,
RID_BMP_RIBBAR_GRF,
RID_BMP_RIBBAR_OLE,
RID_BMP_RIBBAR_PGE,
RID_BMP_RIBBAR_OUTL,
RID_BMP_RIBBAR_MARK,
RID_BMP_RIBBAR_DRW,
RID_BMP_RIBBAR_CTRL,
RID_BMP_RIBBAR_REG,
RID_BMP_RIBBAR_BKM,
RID_BMP_RIBBAR_SEL,
RID_BMP_RIBBAR_FTN,
RID_BMP_RIBBAR_POSTIT,
RID_BMP_RIBBAR_REP,
RID_BMP_RIBBAR_ENTRY,
RID_BMP_RIBBAR_FORMULA,
RID_BMP_RIBBAR_ERROR,
RID_BMP_RIBBAR_RECENCY,
RID_BMP_RIBBAR_FIELD,
RID_BMP_RIBBAR_FIELD_BYTYPE
}

Definition at line 180 of file workctrl.cxx.

Referenced by NavElementBox_Base::NavElementBox_Base().

sal_uInt16 aNavigationInsertIds[NAVI_ENTRIES]
static
Initial value:
=
{
}
#define NID_GRF
Definition: workctrl.hxx:42
#define NID_POSTIT
Definition: workctrl.hxx:48
#define NID_BKM
Definition: workctrl.hxx:41
#define NID_MARK
Definition: workctrl.hxx:47
#define NID_SEL
Definition: workctrl.hxx:45
#define NID_TABLE_FORMULA
Definition: workctrl.hxx:51
#define NID_OUTL
Definition: workctrl.hxx:44
#define NID_SRCH_REP
Definition: workctrl.hxx:49
#define NID_INDEX_ENTRY
Definition: workctrl.hxx:50
#define NID_REG
Definition: workctrl.hxx:40
#define NID_TABLE_FORMULA_ERROR
Definition: workctrl.hxx:52
#define NID_FTN
Definition: workctrl.hxx:46
#define NID_RECENCY
Definition: workctrl.hxx:53
#define NID_DRW
Definition: workctrl.hxx:38
#define NID_OLE
Definition: workctrl.hxx:43
#define NID_PGE
Definition: workctrl.hxx:37
#define NID_CTRL
Definition: workctrl.hxx:39
#define NID_TBL
Definition: workctrl.hxx:35
#define NID_FIELD_BYTYPE
Definition: workctrl.hxx:55
#define NID_FRM
Definition: workctrl.hxx:36
#define NID_FIELD
Definition: workctrl.hxx:54

Definition at line 155 of file workctrl.cxx.

Referenced by NavElementBox_Base::NavElementBox_Base(), and NavElementBox_Base::UpdateBox().

const TranslateId aNavigationStrIds[NAVI_ENTRIES]
Initial value:
=
{
STR_CONTENT_TYPE_TABLE,
STR_CONTENT_TYPE_FRAME,
STR_CONTENT_TYPE_GRAPHIC,
STR_CONTENT_TYPE_OLE,
ST_PGE,
STR_CONTENT_TYPE_OUTLINE,
ST_MARK,
STR_CONTENT_TYPE_DRAWOBJECT,
ST_CTRL,
STR_CONTENT_TYPE_REGION,
STR_CONTENT_TYPE_BOOKMARK,
ST_SEL,
STR_CONTENT_TYPE_FOOTNOTE,
STR_CONTENT_TYPE_POSTIT,
ST_SRCH_REP,
STR_CONTENT_TYPE_INDEX,
ST_TABLE_FORMULA,
ST_TABLE_FORMULA_ERROR,
ST_RECENCY,
STR_CONTENT_TYPE_TEXTFIELD,
ST_FIELD_BYTYPE
}

Definition at line 205 of file workctrl.cxx.

const TranslateId STR_IMGBTN_ARY[]

Definition at line 231 of file workctrl.cxx.