LibreOffice Module sw (master)  1
Classes | Macros | Functions | Variables
workctrl.cxx File Reference
#include <string>
#include <i18nutil/unicode.hxx>
#include <svl/eitem.hxx>
#include <sfx2/htmlmode.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/msgpool.hxx>
#include <swmodule.hxx>
#include <view.hxx>
#include <initui.hxx>
#include <viewopt.hxx>
#include <docsh.hxx>
#include <gloshdl.hxx>
#include <glosdoc.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 <svl/imageitm.hxx>
#include <vcl/event.hxx>
#include <vcl/fixed.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/settings.hxx>
#include <rtl/ustring.hxx>
#include <swabstdlg.hxx>
#include <sfx2/zoomitem.hxx>
#include <vcl/field.hxx>
#include <vcl/svapp.hxx>
#include <svx/dialmgr.hxx>
#include <svx/dialogs.hrc>
#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.

Classes

class  SwZoomBox_Impl
 
class  SwJumpToSpecificBox_Impl
 
class  NavElementToolBoxControl
 
class  NavElementBox_Impl
 
class  PrevNextScrollToolboxController
 

Macros

#define NAVI_ENTRIES   20
 

Functions

 SFX_IMPL_TOOLBOX_CONTROL (SwTbxAutoTextCtrl, SfxVoidItem)
 
 IMPL_STATIC_LINK (SwTbxAutoTextCtrl, PopupHdl, Menu *, pMenu, bool)
 
 IMPL_LINK (SwScrollNaviPopup, SelectHdl, ToolBox *, pSet, void)
 
 SFX_IMPL_TOOLBOX_CONTROL (SwPreviewZoomControl, SfxUInt16Item)
 
 SFX_IMPL_TOOLBOX_CONTROL (SwJumpToSpecificPageControl, SfxUInt16Item)
 
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]
 
static OUStringLiteral const aNavigationImgIds [NAVI_ENTRIES]
 
static const char * aNavigationHelpIds [NAVI_ENTRIES]
 
static const char * aNavigationStrIds [NAVI_ENTRIES]
 
static const char * STR_IMGBTN_ARY []
 

Macro Definition Documentation

#define NAVI_ENTRIES   20

Definition at line 64 of file workctrl.cxx.

Function Documentation

IMPL_LINK ( SwScrollNaviPopup  ,
SelectHdl  ,
ToolBox ,
pSet  ,
void   
)
IMPL_STATIC_LINK ( SwTbxAutoTextCtrl  ,
PopupHdl  ,
Menu ,
pMenu  ,
bool   
)
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 957 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 &   
)
SAL_DLLPUBLIC_EXPORT css::uno::XInterface* lo_writer_PreviousScrollToolboxController_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)
SFX_IMPL_TOOLBOX_CONTROL ( SwTbxAutoTextCtrl  ,
SfxVoidItem   
)
SFX_IMPL_TOOLBOX_CONTROL ( SwPreviewZoomControl  ,
SfxUInt16Item   
)
SFX_IMPL_TOOLBOX_CONTROL ( SwJumpToSpecificPageControl  ,
SfxUInt16Item   
)

Variable Documentation

const char* aNavigationHelpIds[NAVI_ENTRIES]
static
Initial value:
=
{
}
#define HID_NID_PGE
Definition: helpids.h:128
#define HID_NID_MARK
Definition: helpids.h:130
#define HID_NID_BKM
Definition: helpids.h:135
#define HID_NID_INDEX_ENTRY
Definition: helpids.h:140
#define HID_NID_SRCH_REP
Definition: helpids.h:139
#define HID_NID_PREV
Definition: helpids.h:133
#define HID_NID_CTRL
Definition: helpids.h:132
#define HID_NID_TBL
Definition: helpids.h:124
#define HID_NID_GRF
Definition: helpids.h:126
#define HID_NID_REG
Definition: helpids.h:134
#define HID_NID_NEXT
Definition: helpids.h:143
#define HID_NID_SEL
Definition: helpids.h:136
#define HID_NID_DRW
Definition: helpids.h:131
#define HID_NID_FRM
Definition: helpids.h:125
#define HID_NID_OUTL
Definition: helpids.h:129
#define HID_NID_OLE
Definition: helpids.h:127
#define HID_NID_TABLE_FORMULA
Definition: helpids.h:141
#define HID_NID_TABLE_FORMULA_ERROR
Definition: helpids.h:142
#define HID_NID_POSTIT
Definition: helpids.h:138
#define HID_NID_FTN
Definition: helpids.h:137

Definition at line 220 of file workctrl.cxx.

Referenced by SwScrollNaviPopup::SwScrollNaviPopup().

OUStringLiteral const aNavigationImgIds[NAVI_ENTRIES]
static
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_PREV,
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_NEXT
}

Definition at line 194 of file workctrl.cxx.

Referenced by NavElementBox_Impl::NavElementBox_Impl(), and SwScrollNaviPopup::SwScrollNaviPopup().

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

Definition at line 168 of file workctrl.cxx.

Referenced by NavElementBox_Impl::NavElementBox_Impl(), NavElementBox_Impl::Select(), SwScrollNaviPopup::SwScrollNaviPopup(), and NavElementBox_Impl::Update().

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,
STR_IMGBTN_PGE_UP,
ST_REG,
ST_BKM,
ST_SEL,
ST_FTN,
ST_POSTIT,
ST_SRCH_REP,
ST_INDEX_ENTRY,
ST_TABLE_FORMULA,
ST_TABLE_FORMULA_ERROR,
STR_IMGBTN_PGE_DOWN
}

Definition at line 246 of file workctrl.cxx.

Referenced by NavElementBox_Impl::NavElementBox_Impl(), SwScrollNaviPopup::SwScrollNaviPopup(), and NavElementBox_Impl::Update().

const char* STR_IMGBTN_ARY[]
static