xref: /aoo42x/main/sc/source/ui/view/olkact.cxx (revision cdf0e10c)
1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir  *
11*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir  *
15*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir  *
26*cdf0e10cSrcweir  ************************************************************************/
27*cdf0e10cSrcweir 
28*cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove
29*cdf0e10cSrcweir #include "precompiled_sc.hxx"
30*cdf0e10cSrcweir 
31*cdf0e10cSrcweir 
32*cdf0e10cSrcweir 
33*cdf0e10cSrcweir //------------------------------------------------------------------
34*cdf0e10cSrcweir 
35*cdf0e10cSrcweir #define _BIGINT_HXX
36*cdf0e10cSrcweir #define _CACHESTR_HXX
37*cdf0e10cSrcweir #define _CONFIG_HXX
38*cdf0e10cSrcweir #define _CURSOR_HXX
39*cdf0e10cSrcweir #define _CTRLTOOL_HXX
40*cdf0e10cSrcweir #define _DLGCFG_HXX
41*cdf0e10cSrcweir #define _DYNARR_HXX
42*cdf0e10cSrcweir #define _EXTATTR_HXX
43*cdf0e10cSrcweir #define _FILDLG_HXX
44*cdf0e10cSrcweir #define _FONTDLG_HXX
45*cdf0e10cSrcweir #define _FRM3D_HXX
46*cdf0e10cSrcweir #define _INTRO_HXX
47*cdf0e10cSrcweir #define _ISETBWR_HXX
48*cdf0e10cSrcweir #define _NO_SVRTF_PARSER_HXX
49*cdf0e10cSrcweir #define _MACRODLG_HXX
50*cdf0e10cSrcweir #define _MODALDLG_HXX
51*cdf0e10cSrcweir #define _MOREBUTTON_HXX
52*cdf0e10cSrcweir #define _OUTLINER_HXX
53*cdf0e10cSrcweir #define _PASSWD_HXX
54*cdf0e10cSrcweir #define _PRNDLG_HXX
55*cdf0e10cSrcweir //#define _POLY_HXX
56*cdf0e10cSrcweir #define _PVRWIN_HXX
57*cdf0e10cSrcweir #define _QUEUE_HXX
58*cdf0e10cSrcweir #define _RULER_HXX
59*cdf0e10cSrcweir #define _SCRWIN_HXX
60*cdf0e10cSrcweir #define _SETBRW_HXX
61*cdf0e10cSrcweir #define _STACK_HXX
62*cdf0e10cSrcweir //#define _STATUS_HXX ***
63*cdf0e10cSrcweir #define _STDMENU_HXX
64*cdf0e10cSrcweir #define _TABBAR_HXX
65*cdf0e10cSrcweir //#define _VCBRW_HXX
66*cdf0e10cSrcweir #define _VCTRLS_HXX
67*cdf0e10cSrcweir //#define _VCSBX_HXX
68*cdf0e10cSrcweir #define _VCONT_HXX
69*cdf0e10cSrcweir #define _VDRWOBJ_HXX
70*cdf0e10cSrcweir 
71*cdf0e10cSrcweir 
72*cdf0e10cSrcweir //sfx
73*cdf0e10cSrcweir #define _SFXAPPWIN_HXX
74*cdf0e10cSrcweir #define _SFXCTRLITEM
75*cdf0e10cSrcweir #define _SFXDISPATCH_HXX
76*cdf0e10cSrcweir #define _SFXFILEDLG_HXX
77*cdf0e10cSrcweir #define _SFXIMGMGR_HXX
78*cdf0e10cSrcweir #define _SFXIPFRM_HXX
79*cdf0e10cSrcweir #define _SFX_MACRO_HXX
80*cdf0e10cSrcweir #define _SFXMULTISEL_HXX
81*cdf0e10cSrcweir #define _SFX_MINFITEM_HXX
82*cdf0e10cSrcweir 
83*cdf0e10cSrcweir 
84*cdf0e10cSrcweir //sfxcore.hxx
85*cdf0e10cSrcweir //#define _SFXINIMGR_HXX ***
86*cdf0e10cSrcweir //#define _SFXCFGITEM_HXX
87*cdf0e10cSrcweir //#define _SFX_PRINTER_HXX
88*cdf0e10cSrcweir #define _SFXGENLINK_HXX
89*cdf0e10cSrcweir #define _SFXHINTPOST_HXX
90*cdf0e10cSrcweir #define _SFXDOCINF_HXX
91*cdf0e10cSrcweir #define _SFXLINKHDL_HXX
92*cdf0e10cSrcweir //#define _SFX_PROGRESS_HXX
93*cdf0e10cSrcweir 
94*cdf0e10cSrcweir //sfxsh.hxx
95*cdf0e10cSrcweir //#define _SFX_SHELL_HXX
96*cdf0e10cSrcweir //#define _SFXAPP_HXX
97*cdf0e10cSrcweir //#define _SFXDISPATCH_HXX
98*cdf0e10cSrcweir //#define _SFXMSG_HXX ***
99*cdf0e10cSrcweir //#define _SFXOBJFACE_HXX ***
100*cdf0e10cSrcweir //#define _SFXREQUEST_HXX
101*cdf0e10cSrcweir #define _SFXMACRO_HXX
102*cdf0e10cSrcweir 
103*cdf0e10cSrcweir // SFX
104*cdf0e10cSrcweir //#define _SFXAPPWIN_HXX ***
105*cdf0e10cSrcweir #define _SFX_SAVEOPT_HXX
106*cdf0e10cSrcweir //#define _SFX_CHILDWIN_HXX
107*cdf0e10cSrcweir //#define _SFXCTRLITEM_HXX
108*cdf0e10cSrcweir #define _SFXPRNMON_HXX
109*cdf0e10cSrcweir #define _INTRO_HXX
110*cdf0e10cSrcweir #define _SFXMSGDESCR_HXX
111*cdf0e10cSrcweir #define _SFXMSGPOOL_HXX
112*cdf0e10cSrcweir #define _SFXFILEDLG_HXX
113*cdf0e10cSrcweir #define _PASSWD_HXX
114*cdf0e10cSrcweir #define _SFXTBXCTRL_HXX
115*cdf0e10cSrcweir #define _SFXSTBITEM_HXX
116*cdf0e10cSrcweir #define _SFXMNUITEM_HXX
117*cdf0e10cSrcweir #define _SFXIMGMGR_HXX
118*cdf0e10cSrcweir #define _SFXTBXMGR_HXX
119*cdf0e10cSrcweir #define _SFXSTBMGR_HXX
120*cdf0e10cSrcweir #define _SFX_MINFITEM_HXX
121*cdf0e10cSrcweir #define _SFXEVENT_HXX
122*cdf0e10cSrcweir 
123*cdf0e10cSrcweir //sfxdoc.hxx
124*cdf0e10cSrcweir //#define _SFX_OBJSH_HXX
125*cdf0e10cSrcweir //#define _SFX_CLIENTSH_HXX
126*cdf0e10cSrcweir //#define _SFXDOCINF_HXX
127*cdf0e10cSrcweir //#define _SFX_OBJFAC_HXX
128*cdf0e10cSrcweir #define _SFX_DOCFILT_HXX
129*cdf0e10cSrcweir //#define _SFXDOCFILE_HXX ***
130*cdf0e10cSrcweir //define _VIEWFAC_HXX
131*cdf0e10cSrcweir //#define _SFXVIEWFRM_HXX
132*cdf0e10cSrcweir //#define _SFXVIEWSH_HXX
133*cdf0e10cSrcweir //#define _MDIFRM_HXX ***
134*cdf0e10cSrcweir #define _SFX_IPFRM_HXX
135*cdf0e10cSrcweir //#define _SFX_INTERNO_HXX
136*cdf0e10cSrcweir 
137*cdf0e10cSrcweir //sfxdlg.hxx
138*cdf0e10cSrcweir //#define _SFXTABDLG_HXX
139*cdf0e10cSrcweir //#define _BASEDLGS_HXX ***
140*cdf0e10cSrcweir #define _SFX_DINFDLG_HXX
141*cdf0e10cSrcweir #define _SFXDINFEDT_HXX
142*cdf0e10cSrcweir #define _SFX_MGETEMPL_HXX
143*cdf0e10cSrcweir #define _SFX_TPLPITEM_HXX
144*cdf0e10cSrcweir //#define _SFX_STYLEDLG_HXX
145*cdf0e10cSrcweir #define _NEWSTYLE_HXX
146*cdf0e10cSrcweir //#define _SFXDOCTEMPL_HXX ***
147*cdf0e10cSrcweir //#define _SFXDOCTDLG_HXX ***
148*cdf0e10cSrcweir //#define _SFX_TEMPLDLG_HXX ***
149*cdf0e10cSrcweir //#define _SFXNEW_HXX ***
150*cdf0e10cSrcweir #define _SFXDOCMAN_HXX
151*cdf0e10cSrcweir //#define _SFXDOCKWIN_HXX
152*cdf0e10cSrcweir 
153*cdf0e10cSrcweir //sfxitems.hxx
154*cdf0e10cSrcweir #define _SFX_WHMAP_HXX
155*cdf0e10cSrcweir #define _ARGS_HXX
156*cdf0e10cSrcweir //#define _SFXPOOLITEM_HXX
157*cdf0e10cSrcweir //#define _SFXINTITEM_HXX
158*cdf0e10cSrcweir //#define _SFXENUMITEM_HXX
159*cdf0e10cSrcweir #define _SFXFLAGITEM_HXX
160*cdf0e10cSrcweir //#define _SFXSTRITEM_HXX
161*cdf0e10cSrcweir #define _SFXPTITEM_HXX
162*cdf0e10cSrcweir #define _SFXRECTITEM_HXX
163*cdf0e10cSrcweir //#define _SFXITEMPOOL_HXX
164*cdf0e10cSrcweir //#define _SFXITEMSET_HXX
165*cdf0e10cSrcweir #define _SFXITEMITER_HXX
166*cdf0e10cSrcweir #define _SFX_WHITER_HXX
167*cdf0e10cSrcweir #define _SFXPOOLCACH_HXX
168*cdf0e10cSrcweir //#define _AEITEM_HXX
169*cdf0e10cSrcweir #define _SFXRNGITEM_HXX
170*cdf0e10cSrcweir //#define _SFXSLSTITM_HXX
171*cdf0e10cSrcweir //#define _SFXSTYLE_HXX
172*cdf0e10cSrcweir 
173*cdf0e10cSrcweir //xout.hxx
174*cdf0e10cSrcweir //#define _XENUM_HXX
175*cdf0e10cSrcweir //#define _XPOLY_HXX
176*cdf0e10cSrcweir //#define _XATTR_HXX
177*cdf0e10cSrcweir //#define _XOUTX_HXX
178*cdf0e10cSrcweir //#define _XPOOL_HXX
179*cdf0e10cSrcweir //#define _XTABLE_HXX
180*cdf0e10cSrcweir 
181*cdf0e10cSrcweir //svdraw.hxx
182*cdf0e10cSrcweir #define _SDR_NOITEMS
183*cdf0e10cSrcweir #define _SDR_NOTOUCH
184*cdf0e10cSrcweir #define _SDR_NOTRANSFORM
185*cdf0e10cSrcweir //#define _SDR_NOOBJECTS
186*cdf0e10cSrcweir //#define _SDR_NOVIEWS
187*cdf0e10cSrcweir 
188*cdf0e10cSrcweir 
189*cdf0e10cSrcweir 
190*cdf0e10cSrcweir 
191*cdf0e10cSrcweir #define _SFXBASIC_HXX
192*cdf0e10cSrcweir #define _SFX_DOCFILE_HXX
193*cdf0e10cSrcweir #define _SFX_DOCFILT_HXX
194*cdf0e10cSrcweir #define _SFX_DOCINF_HXX
195*cdf0e10cSrcweir #define _SFX_DOCSH_HXX
196*cdf0e10cSrcweir #define _SFX_TEMPLDLG_HXX
197*cdf0e10cSrcweir #define _SFXSTBMGR_HXX
198*cdf0e10cSrcweir #define _SFXTBXMGR_HXX
199*cdf0e10cSrcweir #define _SFXIMGMGR_HXX
200*cdf0e10cSrcweir #define _SFXMNUITEM_HXX
201*cdf0e10cSrcweir #define _SFXMNUMGR_HXX
202*cdf0e10cSrcweir #define _SFXSTBITEM_HXX
203*cdf0e10cSrcweir #define _SFXTBXCTRL_HXX
204*cdf0e10cSrcweir #define _SFXFILEDLG_HXX
205*cdf0e10cSrcweir #define _SFXREQUEST_HXX
206*cdf0e10cSrcweir #define _SFXOBJFACE_HXX
207*cdf0e10cSrcweir #define _SFXMSGPOOL_HXX
208*cdf0e10cSrcweir #define _SFXMSGDESCR_HXX
209*cdf0e10cSrcweir #define _SFXMSG_HXX
210*cdf0e10cSrcweir #define _SFX_PRNMON_HXX
211*cdf0e10cSrcweir 
212*cdf0e10cSrcweir //si
213*cdf0e10cSrcweir #define _SI_NOSBXCONTROLS
214*cdf0e10cSrcweir #define _SI_NOCONTROL
215*cdf0e10cSrcweir //#define SI_NOITEMS
216*cdf0e10cSrcweir //#define SI_NODRW
217*cdf0e10cSrcweir //#define SI_NOOTHERFORMS
218*cdf0e10cSrcweir #define _SIDLL_HXX
219*cdf0e10cSrcweir //#define _VCSBX_HXX
220*cdf0e10cSrcweir //#define _VCBRW_HXX
221*cdf0e10cSrcweir 
222*cdf0e10cSrcweir //#define _SVDATTR_HXX		<--- der wars
223*cdf0e10cSrcweir #define _SVDXOUT_HXX
224*cdf0e10cSrcweir #define _SVDEC_HXX
225*cdf0e10cSrcweir //#define _SVDIO_HXX
226*cdf0e10cSrcweir //#define _SVDLAYER_HXX
227*cdf0e10cSrcweir //#define _SVDRAG_HXX
228*cdf0e10cSrcweir #define _SVINCVW_HXX
229*cdf0e10cSrcweir //#define _SV_MULTISEL_HXX
230*cdf0e10cSrcweir #define _SVRTV_HXX
231*cdf0e10cSrcweir #define _SVTABBX_HXX
232*cdf0e10cSrcweir 
233*cdf0e10cSrcweir #define _SVX_DAILDLL_HXX
234*cdf0e10cSrcweir #define _SVX_HYPHEN_HXX
235*cdf0e10cSrcweir #define _SVX_IMPGRF_HXX
236*cdf0e10cSrcweir #define _SVX_OPTITEMS_HXX
237*cdf0e10cSrcweir #define _SVX_OPTGERL_HXX
238*cdf0e10cSrcweir #define _SVX_OPTSAVE_HXX
239*cdf0e10cSrcweir #define _SVX_OPTSPELL_HXX
240*cdf0e10cSrcweir #define _SVX_OPTPATH_HXX
241*cdf0e10cSrcweir #define _SVX_OPTLINGU_HXX
242*cdf0e10cSrcweir #define _SVX_RULER_HXX
243*cdf0e10cSrcweir #define _SVX_RULRITEM_HXX
244*cdf0e10cSrcweir #define _SVX_SPLWRAP_HXX
245*cdf0e10cSrcweir #define _SVX_SPLDLG_HXX
246*cdf0e10cSrcweir #define _SVX_THESDLG_HXX
247*cdf0e10cSrcweir 
248*cdf0e10cSrcweir // INCLUDE ---------------------------------------------------------------
249*cdf0e10cSrcweir 
250*cdf0e10cSrcweir #include <sfx2/childwin.hxx>
251*cdf0e10cSrcweir #include <sfx2/objsh.hxx>
252*cdf0e10cSrcweir 
253*cdf0e10cSrcweir #include "document.hxx"
254*cdf0e10cSrcweir #include "viewdata.hxx"
255*cdf0e10cSrcweir #include "drawview.hxx"
256*cdf0e10cSrcweir #include "drawpage.hxx"
257*cdf0e10cSrcweir #include "drwlayer.hxx"
258*cdf0e10cSrcweir 
259*cdf0e10cSrcweir // STATIC DATA -----------------------------------------------------------
260*cdf0e10cSrcweir 
261*cdf0e10cSrcweir // -----------------------------------------------------------------------
262*cdf0e10cSrcweir 
263*cdf0e10cSrcweir void ActivateOlk( ScViewData* /* pViewData */ )
264*cdf0e10cSrcweir {
265*cdf0e10cSrcweir 	// Browser fuer Virtual Controls fuellen
266*cdf0e10cSrcweir 	//	VC's und den Browser dazu gibts nicht mehr...
267*cdf0e10cSrcweir 
268*cdf0e10cSrcweir 	//	GetSbxForm gibt's nicht mehr, muss auch nichts mehr angemeldet werden
269*cdf0e10cSrcweir }
270*cdf0e10cSrcweir 
271*cdf0e10cSrcweir void DeActivateOlk( ScViewData* /* pViewData */ )
272*cdf0e10cSrcweir {
273*cdf0e10cSrcweir 	// Browser fuer Virtual Controls fuellen
274*cdf0e10cSrcweir 	//	VC's und den Browser dazu gibts nicht mehr...
275*cdf0e10cSrcweir 
276*cdf0e10cSrcweir 	//	GetSbxForm gibt's nicht mehr, muss auch nichts mehr angemeldet werden
277*cdf0e10cSrcweir }
278*cdf0e10cSrcweir 
279*cdf0e10cSrcweir 
280*cdf0e10cSrcweir 
281*cdf0e10cSrcweir 
282*cdf0e10cSrcweir 
283