summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterPaneContainer.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-05-13 13:34:52 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-05-13 13:34:52 +0000
commitf5a927c522d01e3f10272a4e5f290e635c22dad8 (patch)
tree093e360b0a58ec6dd2a82ddfcdb00f8f115da007 /sdext/source/presenter/PresenterPaneContainer.hxx
parentb7835d592370a350763351ce271fb3d0948d4854 (diff)
INTEGRATION: CWS presenterscreen (1.2.4); FILE MERGED
2008/04/22 08:28:15 af 1.2.4.2: RESYNC: (1.2-1.3); FILE MERGED 2008/04/16 15:47:40 af 1.2.4.1: #i18486# Added support for callouts, title templates.
Diffstat (limited to 'sdext/source/presenter/PresenterPaneContainer.hxx')
-rw-r--r--sdext/source/presenter/PresenterPaneContainer.hxx28
1 files changed, 21 insertions, 7 deletions
diff --git a/sdext/source/presenter/PresenterPaneContainer.hxx b/sdext/source/presenter/PresenterPaneContainer.hxx
index 18382277e784..26d7a86e31b2 100644
--- a/sdext/source/presenter/PresenterPaneContainer.hxx
+++ b/sdext/source/presenter/PresenterPaneContainer.hxx
@@ -8,7 +8,7 @@
*
* $RCSfile: PresenterPaneContainer.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
* This file is part of OpenOffice.org.
*
@@ -32,6 +32,8 @@
#ifndef SDEXT_PRESENTER_PANE_CONTAINER_HXX
#define SDEXT_PRESENTER_PANE_CONTAINER_HXX
+#include "PresenterTheme.hxx"
+#include <com/sun/star/awt/Point.hpp>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/drawing/XPresenterHelper.hpp>
@@ -40,7 +42,6 @@
#include <com/sun/star/drawing/framework/XView.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/util/Color.hpp>
-#include <comphelper/stl_types.hxx>
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase1.hxx>
#include <rtl/ref.hxx>
@@ -95,23 +96,27 @@ public:
typedef ::boost::function<void(bool)> Activator;
typedef ::boost::function<boost::shared_ptr<PresenterSprite>()> SpriteProvider;
css::uno::Reference<css::drawing::framework::XResourceId> mxPaneId;
+ ::rtl::OUString msViewURL;
::rtl::Reference<PresenterPaneBase> mxPane;
css::uno::Reference<css::drawing::framework::XView> mxView;
css::uno::Reference<css::awt::XWindow> mxContentWindow;
css::uno::Reference<css::awt::XWindow> mxBorderWindow;
+ ::rtl::OUString msTitleTemplate;
::rtl::OUString msTitle;
ViewInitializationFunction maViewInitialization;
double mnLeft;
double mnTop;
double mnRight;
double mnBottom;
- css::util::Color maViewBackgroundColor;
- css::uno::Reference<css::rendering::XBitmap> mxViewBackgroundBitmap;
+ SharedBitmapDescriptor mpViewBackground;
bool mbIsActive;
bool mbNeedsClipping;
+ bool mbIsOpaque;
SpriteProvider maSpriteProvider;
bool mbIsSprite;
Activator maActivator;
+ css::awt::Point maCalloutAnchorLocation;
+ bool mbHasCalloutAnchor;
void SetActivationState (const bool bIsActive);
};
@@ -121,7 +126,9 @@ public:
void PreparePane (
const css::uno::Reference<css::drawing::framework::XResourceId>& rxPaneId,
+ const ::rtl::OUString& rsViewURL,
const ::rtl::OUString& rsTitle,
+ const bool bIsOpaque,
const ViewInitializationFunction& rViewIntialization,
const double nLeft,
const double nTop,
@@ -137,10 +144,13 @@ public:
SharedPaneDescriptor StoreView (
const css::uno::Reference<css::drawing::framework::XView>& rxView,
- const css::util::Color aViewBackgroundColor,
- const css::uno::Reference<css::rendering::XBitmap>& rxViewBackgroundBitmap);
+ const SharedBitmapDescriptor& rpViewBackground);
- void RemovePane (const css::uno::Reference<css::drawing::framework::XResourceId>& rxPaneId);
+ SharedPaneDescriptor RemovePane (
+ const css::uno::Reference<css::drawing::framework::XResourceId>& rxPaneId);
+
+ SharedPaneDescriptor RemoveView (
+ const css::uno::Reference<css::drawing::framework::XView>& rxView);
void CreateBorderWindow (PaneDescriptor& rDescriptor);
@@ -165,6 +175,10 @@ public:
SharedPaneDescriptor FindPaneId (const css::uno::Reference<
css::drawing::framework::XResourceId>& rxPaneId);
+ SharedPaneDescriptor FindViewURL (const ::rtl::OUString& rsViewURL);
+
+ ::rtl::OUString GetPaneURLForViewURL (const ::rtl::OUString& rsViewURL);
+
void ToTop (const SharedPaneDescriptor& rpDescriptor);