summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterNotesView.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-07-11 12:40:25 +0000
committerRüdiger Timm <rt@openoffice.org>2008-07-11 12:40:25 +0000
commit3302b3361692f130954d0ad4fa34923350ee49da (patch)
tree6c4103e42df670b1047152ea1938b7aaea79d9c2 /sdext/source/presenter/PresenterNotesView.hxx
parentf01177f3ea1d5c69c90697988ec96c8cb05fcd59 (diff)
INTEGRATION: CWS presenterfixes (1.4.2); FILE MERGED
2008/06/23 12:49:55 af 1.4.2.2: Fixed build problem. 2008/06/11 07:53:35 af 1.4.2.1: #i88837# Adaption to changes of the scroll bar. Reimplementation of the notes display.
Diffstat (limited to 'sdext/source/presenter/PresenterNotesView.hxx')
-rw-r--r--sdext/source/presenter/PresenterNotesView.hxx20
1 files changed, 13 insertions, 7 deletions
diff --git a/sdext/source/presenter/PresenterNotesView.hxx b/sdext/source/presenter/PresenterNotesView.hxx
index 009ce4949d9d..8dcbc1a3e121 100644
--- a/sdext/source/presenter/PresenterNotesView.hxx
+++ b/sdext/source/presenter/PresenterNotesView.hxx
@@ -8,7 +8,7 @@
*
* $RCSfile: PresenterNotesView.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
* This file is part of OpenOffice.org.
*
@@ -98,7 +98,7 @@ public:
css::uno::Reference<css::awt::XWindow> GetWindow (void) const;
- void ChangeFontSize (const double nSizeChange);
+ void ChangeFontSize (const sal_Int32 nSizeChange);
// lang::XEventListener
@@ -154,32 +154,38 @@ public:
virtual void SAL_CALL keyReleased (const css::awt::KeyEvent& rEvent)
throw (css::uno::RuntimeException);
+ class BitmapContainer;
+ class BitmapFactory;
+
private:
css::uno::Reference<css::drawing::framework::XResourceId> mxViewId;
::rtl::Reference<PresenterController> mpPresenterController;
- css::uno::Reference<css::beans::XPropertySet> mxTextView;
css::uno::Reference<css::awt::XWindow> mxParentWindow;
css::uno::Reference<css::rendering::XCanvas> mxCanvas;
- css::uno::Reference<css::rendering::XBitmap> mxBitmap;
+ ::boost::scoped_ptr<BitmapContainer> mpBitmapContainer;
+ ::boost::shared_ptr<BitmapFactory> mpBitmapFactory;
css::uno::Reference<css::drawing::XDrawPage> mxCurrentNotesPage;
- PresenterTheme::SharedFontDescriptor mpFont;
- css::awt::FontDescriptor maFontDescriptor;
::rtl::Reference<PresenterScrollBar> mpScrollBar;
css::uno::Reference<css::awt::XWindow> mxToolBarWindow;
css::uno::Reference<css::rendering::XCanvas> mxToolBarCanvas;
::rtl::Reference<PresenterToolBar> mpToolBar;
::rtl::Reference<PresenterButton> mpCloseButton;
+ css::util::Color maSeparatorColor;
sal_Int32 mnSeparatorYLocation;
css::geometry::RealRectangle2D maTextBoundingBox;
SharedBitmapDescriptor mpBackground;
+ double mnTop;
+ sal_Int32 mnFontSize;
void CreateToolBar (
const css::uno::Reference<css::uno::XComponentContext>& rxContext,
const ::rtl::Reference<PresenterController>& rpPresenterController);
void Layout (void);
void Paint (const css::awt::Rectangle& rUpdateBox);
+ void PaintToolBar (const css::awt::Rectangle& rUpdateBox);
+ void PaintText (const css::awt::Rectangle& rUpdateBox);
void Invalidate (void);
- void Scroll (const ::rtl::OUString& rsDistance);
+ void Scroll (const double nDistance);
void SetTop (const double nTop);
void UpdateScrollBar (void);