1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include <sal/config.h>
24 #include "PresenterHelper.hxx"
25 #include "CanvasUpdateRequester.hxx"
26 #include "PresenterCanvas.hxx"
28 #include <cppcanvas/vclfactory.hxx>
29 #include <com/sun/star/awt/WindowAttribute.hpp>
30 #include <com/sun/star/awt/WindowClass.hpp>
31 #include <com/sun/star/awt/WindowDescriptor.hpp>
32 #include <com/sun/star/uno/XComponentContext.hpp>
33 #include <toolkit/helper/vclunohelper.hxx>
34 #include <vcl/svapp.hxx>
35 #include <vcl/window.hxx>
36 #include <vcl/wrkwin.hxx>
39 #include <bitmaps.hlst>
41 using namespace ::com::sun::star
;
42 using namespace ::com::sun::star::uno
;
44 namespace sd
{ namespace presenter
{
46 //===== PresenterHelper =======================================================
48 PresenterHelper::PresenterHelper (
49 const Reference
<XComponentContext
>& rxContext
)
50 : PresenterHelperInterfaceBase(m_aMutex
),
51 mxComponentContext(rxContext
)
55 PresenterHelper::~PresenterHelper()
59 //----- XInitialize -----------------------------------------------------------
61 void SAL_CALL
PresenterHelper::initialize (const Sequence
<Any
>&) {}
63 //----- XPaneHelper ----------------------------------------------------
65 Reference
<awt::XWindow
> SAL_CALL
PresenterHelper::createWindow (
66 const Reference
<awt::XWindow
>& rxParentWindow
,
67 sal_Bool bCreateSystemChildWindow
,
68 sal_Bool bInitiallyVisible
,
69 sal_Bool bEnableChildTransparentMode
,
70 sal_Bool bEnableParentClip
)
72 VclPtr
<vcl::Window
> pParentWindow(VCLUnoHelper::GetWindow(rxParentWindow
));
74 // Create a new window.
75 VclPtr
<vcl::Window
> pWindow
;
76 if (bCreateSystemChildWindow
)
78 pWindow
= VclPtr
<WorkWindow
>::Create(pParentWindow
, WB_SYSTEMCHILDWINDOW
);
82 pWindow
= VclPtr
<vcl::Window
>::Create(pParentWindow
);
84 Reference
<awt::XWindow
> xWindow (pWindow
->GetComponentInterface(), UNO_QUERY
);
86 if (bEnableChildTransparentMode
)
88 // Make the frame window transparent and make the parent able to
90 if (pParentWindow
.get() != nullptr)
91 pParentWindow
->EnableChildTransparentMode();
94 pWindow
->Show(bInitiallyVisible
);
96 pWindow
->SetMapMode(MapMode(MapUnit::MapPixel
));
97 pWindow
->SetBackground();
98 if ( ! bEnableParentClip
)
100 pWindow
->SetParentClipMode(ParentClipMode::NoClip
);
101 pWindow
->SetPaintTransparent(true);
105 pWindow
->SetParentClipMode(ParentClipMode::Clip
);
106 pWindow
->SetPaintTransparent(false);
112 Reference
<rendering::XCanvas
> SAL_CALL
PresenterHelper::createSharedCanvas (
113 const Reference
<rendering::XSpriteCanvas
>& rxUpdateCanvas
,
114 const Reference
<awt::XWindow
>& rxUpdateWindow
,
115 const Reference
<rendering::XCanvas
>& rxSharedCanvas
,
116 const Reference
<awt::XWindow
>& rxSharedWindow
,
117 const Reference
<awt::XWindow
>& rxWindow
)
119 if ( ! rxSharedCanvas
.is()
120 || ! rxSharedWindow
.is()
123 throw RuntimeException("illegal argument", static_cast<XWeak
*>(this));
126 if (rxWindow
== rxSharedWindow
)
127 return rxSharedCanvas
;
129 return new PresenterCanvas(
137 Reference
<rendering::XCanvas
> SAL_CALL
PresenterHelper::createCanvas (
138 const Reference
<awt::XWindow
>& rxWindow
,
140 const OUString
& rsOptionalCanvasServiceName
)
142 // No shared window is given or an explicit canvas service name is
143 // specified. Create a new canvas.
144 VclPtr
<vcl::Window
> pWindow
= VCLUnoHelper::GetWindow(rxWindow
);
146 throw RuntimeException();
148 Sequence
<Any
> aArg (5);
150 // common: first any is VCL pointer to window (for VCL canvas)
151 aArg
[0] <<= reinterpret_cast<sal_Int64
>(pWindow
.get());
153 aArg
[2] <<= css::awt::Rectangle();
155 aArg
[4] <<= rxWindow
;
157 Reference
<lang::XMultiServiceFactory
> xFactory (
158 mxComponentContext
->getServiceManager(), UNO_QUERY_THROW
);
159 return Reference
<rendering::XCanvas
>(
160 xFactory
->createInstanceWithArguments(
161 !rsOptionalCanvasServiceName
.isEmpty()
162 ? rsOptionalCanvasServiceName
163 : OUString("com.sun.star.rendering.Canvas.VCL"),
168 void SAL_CALL
PresenterHelper::toTop (
169 const Reference
<awt::XWindow
>& rxWindow
)
171 VclPtr
<vcl::Window
> pWindow
= VCLUnoHelper::GetWindow(rxWindow
);
175 pWindow
->SetZOrder(nullptr, ZOrderFlags::Last
);
188 Reference
<rendering::XBitmap
> SAL_CALL
PresenterHelper::loadBitmap (
190 const Reference
<rendering::XCanvas
>& rxCanvas
)
192 if ( ! rxCanvas
.is())
195 static IdMapEntry
const map
[] = {
196 { "bitmaps/Background.png", BMP_PRESENTERSCREEN_BACKGROUND
},
197 { "bitmaps/Animation.png",
198 BMP_PRESENTERSCREEN_ANIMATION
},
199 { "bitmaps/Transition.png",
200 BMP_PRESENTERSCREEN_TRANSITION
},
201 { "bitmaps/BorderActiveBottom.png",
202 BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM
},
203 { "bitmaps/BorderActiveBottomCallout.png",
204 BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM_CALLOUT
},
205 { "bitmaps/BorderActiveBottomLeft.png",
206 BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM_LEFT
},
207 { "bitmaps/BorderActiveBottomRight.png",
208 BMP_PRESENTERSCREEN_BORDER_ACTIVE_BOTTOM_RIGHT
},
209 { "bitmaps/BorderActiveLeft.png",
210 BMP_PRESENTERSCREEN_BORDER_ACTIVE_LEFT
},
211 { "bitmaps/BorderActiveRight.png",
212 BMP_PRESENTERSCREEN_BORDER_ACTIVE_RIGHT
},
213 { "bitmaps/BorderActiveTop.png",
214 BMP_PRESENTERSCREEN_BORDER_ACTIVE_TOP
},
215 { "bitmaps/BorderActiveTopLeft.png",
216 BMP_PRESENTERSCREEN_BORDER_ACTIVE_TOP_LEFT
},
217 { "bitmaps/BorderActiveTopRight.png",
218 BMP_PRESENTERSCREEN_BORDER_ACTIVE_TOP_RIGHT
},
219 { "bitmaps/BorderBottom.png", BMP_PRESENTERSCREEN_BORDER_BOTTOM
},
220 { "bitmaps/BorderBottomLeft.png",
221 BMP_PRESENTERSCREEN_BORDER_BOTTOM_LEFT
},
222 { "bitmaps/BorderBottomRight.png",
223 BMP_PRESENTERSCREEN_BORDER_BOTTOM_RIGHT
},
224 { "bitmaps/BorderCurrentSlideBottom.png",
225 BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_BOTTOM
},
226 { "bitmaps/BorderCurrentSlideBottomLeft.png",
227 BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_BOTTOM_LEFT
},
228 { "bitmaps/BorderCurrentSlideBottomRight.png",
229 BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_BOTTOM_RIGHT
},
230 { "bitmaps/BorderCurrentSlideLeft.png",
231 BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_LEFT
},
232 { "bitmaps/BorderCurrentSlideRight.png",
233 BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_RIGHT
},
234 { "bitmaps/BorderCurrentSlideTop.png",
235 BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_TOP
},
236 { "bitmaps/BorderCurrentSlideTopLeft.png",
237 BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_TOP_LEFT
},
238 { "bitmaps/BorderCurrentSlideTopRight.png",
239 BMP_PRESENTERSCREEN_BORDER_CURRENT_SLIDE_TOP_RIGHT
},
240 { "bitmaps/BorderLeft.png", BMP_PRESENTERSCREEN_BORDER_LEFT
},
241 { "bitmaps/BorderRight.png", BMP_PRESENTERSCREEN_BORDER_RIGHT
},
242 { "bitmaps/BorderToolbarBottom.png",
243 BMP_PRESENTERSCREEN_BORDER_TOOLBAR_BOTTOM
},
244 { "bitmaps/BorderToolbarLeft.png",
245 BMP_PRESENTERSCREEN_BORDER_TOOLBAR_LEFT
},
246 { "bitmaps/BorderToolbarRight.png",
247 BMP_PRESENTERSCREEN_BORDER_TOOLBAR_RIGHT
},
248 { "bitmaps/BorderToolbarTop.png",
249 BMP_PRESENTERSCREEN_BORDER_TOOLBAR_TOP
},
250 { "bitmaps/BorderToolbarTopLeft.png",
251 BMP_PRESENTERSCREEN_BORDER_TOOLBAR_TOP_LEFT
},
252 { "bitmaps/BorderToolbarTopRight.png",
253 BMP_PRESENTERSCREEN_BORDER_TOOLBAR_TOP_RIGHT
},
254 { "bitmaps/BorderTop.png", BMP_PRESENTERSCREEN_BORDER_TOP
},
255 { "bitmaps/BorderTopLeft.png", BMP_PRESENTERSCREEN_BORDER_TOP_LEFT
},
256 { "bitmaps/BorderTopRight.png", BMP_PRESENTERSCREEN_BORDER_TOP_RIGHT
},
257 { "bitmaps/ButtonEffectNextDisabled.png",
258 BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_DISABLED
},
259 { "bitmaps/ButtonEffectNextMouseOver.png",
260 BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_MOUSE_OVER
},
261 { "bitmaps/ButtonEffectNextNormal.png",
262 BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_NORMAL
},
263 { "bitmaps/ButtonEffectNextSelected.png",
264 BMP_PRESENTERSCREEN_BUTTON_EFFECT_NEXT_SELECTED
},
265 { "bitmaps/ButtonFrameCenterMouseOver.png",
266 BMP_PRESENTERSCREEN_BUTTON_FRAME_CENTER_MOUSE_OVER
},
267 { "bitmaps/ButtonFrameCenterNormal.png",
268 BMP_PRESENTERSCREEN_BUTTON_FRAME_CENTER_NORMAL
},
269 { "bitmaps/ButtonFrameLeftMouseOver.png",
270 BMP_PRESENTERSCREEN_BUTTON_FRAME_LEFT_MOUSE_OVER
},
271 { "bitmaps/ButtonFrameLeftNormal.png",
272 BMP_PRESENTERSCREEN_BUTTON_FRAME_LEFT_NORMAL
},
273 { "bitmaps/ButtonFrameRightMouseOver.png",
274 BMP_PRESENTERSCREEN_BUTTON_FRAME_RIGHT_MOUSE_OVER
},
275 { "bitmaps/ButtonFrameRightNormal.png",
276 BMP_PRESENTERSCREEN_BUTTON_FRAME_RIGHT_NORMAL
},
277 { "bitmaps/ButtonHelpDisabled.png",
278 BMP_PRESENTERSCREEN_BUTTON_HELP_DISABLED
},
279 { "bitmaps/ButtonHelpMouseOver.png",
280 BMP_PRESENTERSCREEN_BUTTON_HELP_MOUSE_OVER
},
281 { "bitmaps/ButtonHelpNormal.png",
282 BMP_PRESENTERSCREEN_BUTTON_HELP_NORMAL
},
283 { "bitmaps/ButtonHelpSelected.png",
284 BMP_PRESENTERSCREEN_BUTTON_HELP_SELECTED
},
285 { "bitmaps/ButtonMinusDisabled.png",
286 BMP_PRESENTERSCREEN_BUTTON_MINUS_DISABLED
},
287 { "bitmaps/ButtonMinusMouseOver.png",
288 BMP_PRESENTERSCREEN_BUTTON_MINUS_MOUSE_OVER
},
289 { "bitmaps/ButtonMinusNormal.png",
290 BMP_PRESENTERSCREEN_BUTTON_MINUS_NORMAL
},
291 { "bitmaps/ButtonMinusSelected.png",
292 BMP_PRESENTERSCREEN_BUTTON_MINUS_SELECTED
},
293 { "bitmaps/ButtonNotesDisabled.png",
294 BMP_PRESENTERSCREEN_BUTTON_NOTES_DISABLED
},
295 { "bitmaps/ButtonNotesMouseOver.png",
296 BMP_PRESENTERSCREEN_BUTTON_NOTES_MOUSE_OVER
},
297 { "bitmaps/ButtonNotesNormal.png",
298 BMP_PRESENTERSCREEN_BUTTON_NOTES_NORMAL
},
299 { "bitmaps/ButtonNotesSelected.png",
300 BMP_PRESENTERSCREEN_BUTTON_NOTES_SELECTED
},
301 { "bitmaps/ButtonPlusDisabled.png",
302 BMP_PRESENTERSCREEN_BUTTON_PLUS_DISABLED
},
303 { "bitmaps/ButtonPlusMouseOver.png",
304 BMP_PRESENTERSCREEN_BUTTON_PLUS_MOUSE_OVER
},
305 { "bitmaps/ButtonPlusNormal.png",
306 BMP_PRESENTERSCREEN_BUTTON_PLUS_NORMAL
},
307 { "bitmaps/ButtonPlusSelected.png",
308 BMP_PRESENTERSCREEN_BUTTON_PLUS_SELECTED
},
309 { "bitmaps/ButtonSlideNextDisabled.png",
310 BMP_PRESENTERSCREEN_BUTTON_SLIDE_NEXT_DISABLED
},
311 { "bitmaps/ButtonSlideNextMouseOver.png",
312 BMP_PRESENTERSCREEN_BUTTON_SLIDE_NEXT_MOUSE_OVER
},
313 { "bitmaps/ButtonSlideNextNormal.png",
314 BMP_PRESENTERSCREEN_BUTTON_SLIDE_NEXT_NORMAL
},
315 { "bitmaps/ButtonSlidePreviousDisabled.png",
316 BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_DISABLED
},
317 { "bitmaps/ButtonSlidePreviousMouseOver.png",
318 BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_MOUSE_OVER
},
319 { "bitmaps/ButtonSlidePreviousNormal.png",
320 BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_NORMAL
},
321 { "bitmaps/ButtonSlidePreviousSelected.png",
322 BMP_PRESENTERSCREEN_BUTTON_SLIDE_PREVIOUS_SELECTED
},
323 { "bitmaps/ButtonSlideSorterDisabled.png",
324 BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_DISABLED
},
325 { "bitmaps/ButtonSlideSorterMouseOver.png",
326 BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_MOUSE_OVER
},
327 { "bitmaps/ButtonSlideSorterNormal.png",
328 BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_NORMAL
},
329 { "bitmaps/ButtonSlideSorterSelected.png",
330 BMP_PRESENTERSCREEN_BUTTON_SLIDE_SORTER_SELECTED
},
331 { "bitmaps/ButtonSwitchMonitorMouseOver.png",
332 BMP_PRESENTERSCREEN_BUTTON_SWITCH_MONITOR_MOUSE_OVER
},
333 { "bitmaps/ButtonSwitchMonitorNormal.png",
334 BMP_PRESENTERSCREEN_BUTTON_SWITCH_MONITOR_NORMAL
},
335 { "bitmaps/ButtonRestartTimerMouseOver.png",
336 BMP_PRESENTERSCREEN_BUTTON_RESTART_TIMER_MOUSE_OVER
},
337 { "bitmaps/ButtonRestartTimerNormal.png",
338 BMP_PRESENTERSCREEN_BUTTON_RESTART_TIMER_NORMAL
},
339 { "bitmaps/LabelMouseOverCenter.png",
340 BMP_PRESENTERSCREEN_LABEL_MOUSE_OVER_CENTER
},
341 { "bitmaps/LabelMouseOverLeft.png",
342 BMP_PRESENTERSCREEN_LABEL_MOUSE_OVER_LEFT
},
343 { "bitmaps/LabelMouseOverRight.png",
344 BMP_PRESENTERSCREEN_LABEL_MOUSE_OVER_RIGHT
},
345 { "bitmaps/ScrollbarArrowDownDisabled.png",
346 BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_DISABLED
},
347 { "bitmaps/ScrollbarArrowDownMouseOver.png",
348 BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_MOUSE_OVER
},
349 { "bitmaps/ScrollbarArrowDownNormal.png",
350 BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_NORMAL
},
351 { "bitmaps/ScrollbarArrowDownSelected.png",
352 BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_DOWN_SELECTED
},
353 { "bitmaps/ScrollbarArrowUpDisabled.png",
354 BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_DISABLED
},
355 { "bitmaps/ScrollbarArrowUpMouseOver.png",
356 BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_MOUSE_OVER
},
357 { "bitmaps/ScrollbarArrowUpNormal.png",
358 BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_NORMAL
},
359 { "bitmaps/ScrollbarArrowUpSelected.png",
360 BMP_PRESENTERSCREEN_SCROLLBAR_ARROW_UP_SELECTED
},
361 { "bitmaps/ScrollbarPagerMiddleMouseOver.png",
362 BMP_PRESENTERSCREEN_SCROLLBAR_PAGER_MIDDLE_MOUSE_OVER
},
363 { "bitmaps/ScrollbarPagerMiddleNormal.png",
364 BMP_PRESENTERSCREEN_SCROLLBAR_PAGER_MIDDLE_NORMAL
},
365 { "bitmaps/ScrollbarThumbBottomMouseOver.png",
366 BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_BOTTOM_MOUSE_OVER
},
367 { "bitmaps/ScrollbarThumbBottomNormal.png",
368 BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_BOTTOM_NORMAL
},
369 { "bitmaps/ScrollbarThumbMiddleMouseOver.png",
370 BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_MIDDLE_MOUSE_OVER
},
371 { "bitmaps/ScrollbarThumbMiddleNormal.png",
372 BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_MIDDLE_NORMAL
},
373 { "bitmaps/ScrollbarThumbTopMouseOver.png",
374 BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_TOP_MOUSE_OVER
},
375 { "bitmaps/ScrollbarThumbTopNormal.png",
376 BMP_PRESENTERSCREEN_SCROLLBAR_THUMB_TOP_NORMAL
},
377 { "bitmaps/ViewBackground.png", BMP_PRESENTERSCREEN_VIEW_BACKGROUND
}
380 for (std::size_t i
= 0; i
!= SAL_N_ELEMENTS(map
); ++i
) {
381 if (id
.equalsAscii(map
[i
].sid
)) {
382 bmpid
= OUString::createFromAscii(map
[i
].bmpid
);
386 if (bmpid
.isEmpty()) {
390 ::osl::MutexGuard
aGuard (::osl::Mutex::getGlobalMutex());
392 const cppcanvas::CanvasSharedPtr
pCanvas (
393 cppcanvas::VCLFactory::createCanvas(
394 Reference
<css::rendering::XCanvas
>(rxCanvas
,UNO_QUERY
)));
396 if (pCanvas
.get() != nullptr)
398 BitmapEx
aBitmapEx(bmpid
);
399 cppcanvas::BitmapSharedPtr
xBitmap(
400 cppcanvas::VCLFactory::createBitmap(pCanvas
,
402 if (xBitmap
.get() == nullptr)
404 return xBitmap
->getUNOBitmap();
410 void SAL_CALL
PresenterHelper::captureMouse (
411 const Reference
<awt::XWindow
>& rxWindow
)
413 ::osl::MutexGuard
aGuard (::osl::Mutex::getGlobalMutex());
415 // Capture the mouse (if not already done.)
416 VclPtr
<vcl::Window
> pWindow
= VCLUnoHelper::GetWindow(rxWindow
);
417 if (pWindow
&& ! pWindow
->IsMouseCaptured())
419 pWindow
->CaptureMouse();
423 void SAL_CALL
PresenterHelper::releaseMouse (const Reference
<awt::XWindow
>& rxWindow
)
425 ::osl::MutexGuard
aGuard (::osl::Mutex::getGlobalMutex());
427 // Release the mouse (if not already done.)
428 VclPtr
<vcl::Window
> pWindow
= VCLUnoHelper::GetWindow(rxWindow
);
429 if (pWindow
&& pWindow
->IsMouseCaptured())
431 pWindow
->ReleaseMouse();
435 awt::Rectangle
PresenterHelper::getWindowExtentsRelative (
436 const Reference
<awt::XWindow
>& rxChildWindow
,
437 const Reference
<awt::XWindow
>& rxParentWindow
)
439 VclPtr
<vcl::Window
> pChildWindow
= VCLUnoHelper::GetWindow(rxChildWindow
);
440 VclPtr
<vcl::Window
> pParentWindow
= VCLUnoHelper::GetWindow(rxParentWindow
);
441 if (pChildWindow
&& pParentWindow
)
443 ::tools::Rectangle
aBox (pChildWindow
->GetWindowExtentsRelative(pParentWindow
));
444 return awt::Rectangle(aBox
.Left(),aBox
.Top(),aBox
.GetWidth(),aBox
.GetHeight());
447 return awt::Rectangle();
450 } } // end of namespace ::sd::presenter
453 extern "C" SAL_DLLPUBLIC_EXPORT
css::uno::XInterface
*
454 com_sun_star_comp_Draw_PresenterHelper_get_implementation(css::uno::XComponentContext
* context
,
455 css::uno::Sequence
<css::uno::Any
> const &)
457 return cppu::acquire(new sd::presenter::PresenterHelper(context
));
461 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */