summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/fupoor.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/inc/fupoor.hxx')
-rwxr-xr-xsd/source/ui/inc/fupoor.hxx58
1 files changed, 29 insertions, 29 deletions
diff --git a/sd/source/ui/inc/fupoor.hxx b/sd/source/ui/inc/fupoor.hxx
index 2650e99767b5..28d413bb6807 100755
--- a/sd/source/ui/inc/fupoor.hxx
+++ b/sd/source/ui/inc/fupoor.hxx
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -60,8 +60,8 @@ class Window;
class FuPoor : public SimpleReferenceComponent
{
public:
- static const int HITPIX = 2; // Hit-Toleranz in Pixel
- static const int DRGPIX = 2; // Drag MinMove in Pixel
+ static const int HITPIX = 2; // Hit-Toleranz in Pixel
+ static const int DRGPIX = 2; // Drag MinMove in Pixel
TYPEINFO();
@@ -85,27 +85,27 @@ public:
// #95491# moved from inline to *.cxx
virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
-
+
virtual BOOL Command(const CommandEvent& rCEvt);
virtual BOOL RequestHelp(const HelpEvent& rHEvt);
virtual void Paint(const Rectangle&, ::sd::Window* );
virtual void ReceiveRequest(SfxRequest& rReq);
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
- virtual void ScrollStart() {} // diese Funktionen werden von
- virtual void ScrollEnd() {} // ForceScroll aufgerufen
+ virtual void ScrollStart() {} // diese Funktionen werden von
+ virtual void ScrollEnd() {} // ForceScroll aufgerufen
void SetWindow(::sd::Window* pWin) { mpWindow = pWin; }
// #97016# II
virtual void SelectionHasChanged();
- USHORT GetSlotID() const { return( nSlotId ); }
- USHORT GetSlotValue() const { return( nSlotValue ); }
+ USHORT GetSlotID() const { return( nSlotId ); }
+ USHORT GetSlotValue() const { return( nSlotValue ); }
- void SetNoScrollUntilInside(BOOL bNoScroll = TRUE)
+ void SetNoScrollUntilInside(BOOL bNoScroll = TRUE)
{ bNoScrollUntilInside = bNoScroll; }
void StartDelayToScrollTimer ();
@@ -136,10 +136,10 @@ protected:
@param pViewSh
May be NULL.
*/
- FuPoor (ViewShell* pViewSh,
- ::sd::Window* pWin,
+ FuPoor (ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
virtual ~FuPoor (void);
@@ -151,7 +151,7 @@ protected:
offset relative to the active layer. With respect to the layer bar
control at the lower left of the document window positive values
move to the right and negative values move to the left.
-
+
<p>Switching the layer is independant of the view's layer mode. The
layers are switched even when the layer mode is turned off and the
layer control is not visible.</p>
@@ -171,36 +171,36 @@ protected:
DrawDocShell* mpDocSh;
SdDrawDocument* mpDoc;
- USHORT nSlotId;
- USHORT nSlotValue;
+ USHORT nSlotId;
+ USHORT nSlotValue;
- Dialog* pDialog;
+ Dialog* pDialog;
- Timer aScrollTimer; // fuer Autoscrolling
+ Timer aScrollTimer; // fuer Autoscrolling
DECL_LINK( ScrollHdl, Timer * );
void ForceScroll(const Point& aPixPos);
- Timer aDragTimer; // fuer Drag&Drop
+ Timer aDragTimer; // fuer Drag&Drop
DECL_LINK( DragHdl, Timer * );
- BOOL bIsInDragMode;
- Point aMDPos; // Position von MouseButtonDown
+ BOOL bIsInDragMode;
+ Point aMDPos; // Position von MouseButtonDown
// Flag, um AutoScrolling zu verhindern, bis von ausserhalb in das
// Fenster hinein gedragt wurde
- BOOL bNoScrollUntilInside;
+ BOOL bNoScrollUntilInside;
// Timer um das scrolling zu verzoegern, wenn aus dem fenster
// herausgedraggt wird (ca. 1 sec.)
- Timer aDelayToScrollTimer; // fuer Verzoegerung bis scroll
- BOOL bScrollable;
- BOOL bDelayActive;
- BOOL bFirstMouseMove;
+ Timer aDelayToScrollTimer; // fuer Verzoegerung bis scroll
+ BOOL bScrollable;
+ BOOL bDelayActive;
+ BOOL bFirstMouseMove;
// #95491# member to hold state of the mouse buttons for creation
// of own MouseEvents (like in ScrollHdl)
private:
- sal_uInt16 mnCode;
+ sal_uInt16 mnCode;
};
@@ -208,5 +208,5 @@ typedef rtl::Reference< FuPoor > FunctionReference;
} // end of namespace sd
-#endif // _SD_FUPOOR_HXX
+#endif // _SD_FUPOOR_HXX