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