summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/shell
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slidesorter/shell')
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorter.cxx18
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterChildWindow.cxx14
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterChildWindow.src2
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterService.cxx16
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterService.hxx34
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx44
6 files changed, 64 insertions, 64 deletions
diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
index 47f3f56bc1c9..7fa314ae34fb 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
@@ -2,7 +2,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
@@ -352,18 +352,18 @@ void SlideSorter::SetupListeners (void)
pParentWindow->AddEventListener(
LINK(
mpSlideSorterController.get(),
- controller::SlideSorterController,
+ controller::SlideSorterController,
WindowEventHandler));
pWindow->AddEventListener(
LINK(
mpSlideSorterController.get(),
- controller::SlideSorterController,
+ controller::SlideSorterController,
WindowEventHandler));
}
Application::AddEventListener(
LINK(
mpSlideSorterController.get(),
- controller::SlideSorterController,
+ controller::SlideSorterController,
WindowEventHandler));
mpSlideSorterController->GetScrollBarManager().Connect();
@@ -382,19 +382,19 @@ void SlideSorter::ReleaseListeners (void)
pWindow->RemoveEventListener(
LINK(mpSlideSorterController.get(),
- controller::SlideSorterController,
+ controller::SlideSorterController,
WindowEventHandler));
::Window* pParentWindow = pWindow->GetParent();
if (pParentWindow != NULL)
pParentWindow->RemoveEventListener(
LINK(mpSlideSorterController.get(),
- controller::SlideSorterController,
+ controller::SlideSorterController,
WindowEventHandler));
}
Application::RemoveEventListener(
LINK(mpSlideSorterController.get(),
- controller::SlideSorterController,
+ controller::SlideSorterController,
WindowEventHandler));
}
@@ -409,7 +409,7 @@ void SlideSorter::CreateModelViewController (void)
mpSlideSorterView.reset(CreateView());
DBG_ASSERT (mpSlideSorterView.get()!=NULL,
- "Can not create view for slide browser");
+ "Can not create view for slide browser");
mpSlideSorterController.reset(CreateController());
DBG_ASSERT (mpSlideSorterController.get()!=NULL,
@@ -511,7 +511,7 @@ bool SlideSorter::RelocateToWindow (::Window* pParentWindow)
if (mpViewShell != NULL)
mpViewShell->ViewShell::RelocateToParentWindow(pParentWindow);
-
+
SetupControls(mpViewShell->GetParentWindow());
SetupListeners();
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.cxx b/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.cxx
index 79b14e6f4ccd..28334244ca5a 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.cxx
@@ -2,7 +2,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
@@ -41,18 +41,18 @@ namespace sd { namespace slidesorter {
SlideSorterChildWindow::SlideSorterChildWindow (
::Window* pParentWindow,
- USHORT nId,
- SfxBindings* pBindings,
- SfxChildWinInfo* pInfo)
+ USHORT nId,
+ SfxBindings* pBindings,
+ SfxChildWinInfo* pInfo)
: SfxChildWindow (pParentWindow, nId)
{
pWindow = new SlideSorter (
- pBindings,
- this,
+ pBindings,
+ this,
pParentWindow);
eChildAlignment = SFX_ALIGN_LEFT;
static_cast<SfxDockingWindow*>(pWindow)->Initialize (pInfo);
- // SetHideNotDelete (TRUE);
+ // SetHideNotDelete (TRUE);
}
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.src b/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.src
index 829b18d63a97..490e9dde1c2b 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.src
+++ b/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.src
@@ -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
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterService.cxx b/sd/source/ui/slidesorter/shell/SlideSorterService.cxx
index e24da73862e1..16c60e9f213f 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterService.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterService.cxx
@@ -2,7 +2,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
@@ -141,7 +141,7 @@ void SAL_CALL SlideSorterService::initialize (const Sequence<Any>& rArguments)
try
{
mxViewId = Reference<XResourceId>(rArguments[0], UNO_QUERY_THROW);
-
+
// Get the XController.
Reference<frame::XController> xController (rArguments[1], UNO_QUERY_THROW);
@@ -295,7 +295,7 @@ Reference<container::XIndexAccess> SAL_CALL SlideSorterService::getDocumentSlide
{
return mpSlideSorter->GetModel().GetDocumentSlides();
}
-
+
@@ -307,7 +307,7 @@ void SAL_CALL SlideSorterService::setDocumentSlides (
if (mpSlideSorter.get() != NULL && mpSlideSorter->IsValid())
mpSlideSorter->GetController().SetDocumentSlides(rxSlides);
}
-
+
@@ -421,7 +421,7 @@ sal_Bool SAL_CALL SlideSorterService::getIsSuspendPreviewUpdatesDuringFullScreen
return mpSlideSorter->GetController().GetProperties()
->IsSuspendPreviewUpdatesDuringFullScreenPresentation();
}
-
+
@@ -434,7 +434,7 @@ void SAL_CALL SlideSorterService::setIsSuspendPreviewUpdatesDuringFullScreenPres
mpSlideSorter->GetController().GetProperties()
->SetSuspendPreviewUpdatesDuringFullScreenPresentation(bValue);
}
-
+
@@ -447,7 +447,7 @@ sal_Bool SAL_CALL SlideSorterService::getIsOrientationVertical (void)
else
return mpSlideSorter->GetView().GetOrientation() == SlideSorterView::VERTICAL;
}
-
+
@@ -473,7 +473,7 @@ sal_Bool SAL_CALL SlideSorterService::getIsSmoothScrolling (void)
else
return mpSlideSorter->GetController().GetProperties()->IsSmoothSelectionScrolling();
}
-
+
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterService.hxx b/sd/source/ui/slidesorter/shell/SlideSorterService.hxx
index 12f6d629266c..cbbee0e1c94a 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterService.hxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterService.hxx
@@ -2,7 +2,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
@@ -72,7 +72,7 @@ public:
// XInitialization
-
+
virtual void SAL_CALL initialize (const css::uno::Sequence<css::uno::Any>& rArguments)
throw (css::uno::Exception, css::uno::RuntimeException);
@@ -87,7 +87,7 @@ public:
// XWindowListener
-
+
virtual void SAL_CALL windowResized (const css::awt::WindowEvent& rEvent)
throw (css::uno::RuntimeException);
@@ -117,48 +117,48 @@ public:
// Attributes
-
+
virtual css::uno::Reference<css::container::XIndexAccess> SAL_CALL getDocumentSlides (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL setDocumentSlides (
const css::uno::Reference<css::container::XIndexAccess >& rxSlides)
throw (css::uno::RuntimeException);
-
+
virtual sal_Bool SAL_CALL getIsHighlightCurrentSlide (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL setIsHighlightCurrentSlide (::sal_Bool bIsHighlightCurrentSlide)
throw (css::uno::RuntimeException);
-
+
virtual sal_Bool SAL_CALL getIsShowSelection (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL setIsShowSelection (sal_Bool bIsShowSelection)
throw (css::uno::RuntimeException);
-
+
virtual sal_Bool SAL_CALL getIsCenterSelection (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL setIsCenterSelection (sal_Bool bIsCenterSelection)
throw (css::uno::RuntimeException);
-
+
virtual sal_Bool SAL_CALL getIsSuspendPreviewUpdatesDuringFullScreenPresentation (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL setIsSuspendPreviewUpdatesDuringFullScreenPresentation (
sal_Bool bIsSuspendPreviewUpdatesDuringFullScreenPresentation)
throw (css::uno::RuntimeException);
-
+
virtual sal_Bool SAL_CALL getIsOrientationVertical (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL setIsOrientationVertical (sal_Bool bIsOrientationVertical)
throw (css::uno::RuntimeException);
virtual sal_Bool SAL_CALL getIsSmoothScrolling (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL setIsSmoothScrolling (sal_Bool bIsOrientationVertical)
throw (css::uno::RuntimeException);
@@ -203,7 +203,7 @@ private:
css::uno::Reference<css::drawing::framework::XResourceId> mxViewId;
css::uno::Reference<css::awt::XWindow> mxParentWindow;
::boost::scoped_ptr<cppu::IPropertyArrayHelper> mpPropertyArrayHelper;
-
+
void Resize (void);
/** This method throws a DisposedException when the object has already been
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
index 61efa5ebd1a3..afdc634c54d2 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
@@ -2,7 +2,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
@@ -71,7 +71,7 @@
#include <cppuhelper/bootstrap.hxx>
#include <comphelper/processfactory.hxx>
-using namespace ::sd::slidesorter;
+using namespace ::sd::slidesorter;
#define SlideSorterViewShell
#include "sdslots.hxx"
@@ -95,7 +95,7 @@ TYPEINIT1(SlideSorterViewShell, ViewShell);
::boost::shared_ptr<SlideSorterViewShell> SlideSorterViewShell::Create (
- SfxViewFrame* pFrame,
+ SfxViewFrame* pFrame,
ViewShellBase& rViewShellBase,
::Window* pParentWindow,
FrameView* pFrameViewArgument)
@@ -120,7 +120,7 @@ TYPEINIT1(SlideSorterViewShell, ViewShell);
SlideSorterViewShell::SlideSorterViewShell (
- SfxViewFrame* pFrame,
+ SfxViewFrame* pFrame,
ViewShellBase& rViewShellBase,
::Window* pParentWindow,
FrameView* pFrameViewArgument)
@@ -216,7 +216,7 @@ void SlideSorterViewShell::Init (bool bIsMainViewShell)
SlideSorterViewShell* SlideSorterViewShell::GetSlideSorter (ViewShellBase& rBase)
{
SlideSorterViewShell* pViewShell = NULL;
-
+
// Test the center, left, and then the right pane for showing a slide sorter.
::rtl::OUString aPaneURLs[] = {
FrameworkHelper::msCenterPaneURL,
@@ -257,7 +257,7 @@ Reference<drawing::XDrawSubController> SlideSorterViewShell::CreateSubController
*mpSlideSorter,
*GetView()));
}
-
+
return xSubController;
}
@@ -363,10 +363,10 @@ SdPage* SlideSorterViewShell::getCurrentPage(void) const
-SdPage* SlideSorterViewShell::GetActualPage (void)
+SdPage* SlideSorterViewShell::GetActualPage (void)
{
SdPage* pCurrentPage = NULL;
-
+
// 1. Try to get the current page from the view shell in the center pane
// (if we are that not ourself).
if ( ! IsMainViewShell())
@@ -375,7 +375,7 @@ SdPage* SlideSorterViewShell::GetActualPage (void)
if (pMainViewShell.get() != NULL)
pCurrentPage = pMainViewShell->GetActualPage();
}
-
+
if (pCurrentPage == NULL)
{
model::SharedPageDescriptor pDescriptor (
@@ -383,7 +383,7 @@ SdPage* SlideSorterViewShell::GetActualPage (void)
if (pDescriptor.get() != NULL)
pCurrentPage = pDescriptor->GetPage();
}
-
+
return pCurrentPage;
}
@@ -514,7 +514,7 @@ void SlideSorterViewShell::PrePaint()
void SlideSorterViewShell::Paint (
- const Rectangle& rBBox,
+ const Rectangle& rBBox,
::sd::Window* pWindow)
{
SetActiveWindow (pWindow);
@@ -547,7 +547,7 @@ SvBorder SlideSorterViewShell::GetBorder (bool )
void SlideSorterViewShell::Command (
- const CommandEvent& rEvent,
+ const CommandEvent& rEvent,
::sd::Window* pWindow)
{
OSL_ASSERT(mpSlideSorter.get()!=NULL);
@@ -577,7 +577,7 @@ void SlideSorterViewShell::ReadFrameViewData (FrameView* pFrameView)
else
rView.GetLayouter().SetColumnCount(nSlidesPerRow,nSlidesPerRow);
mpSlideSorter->GetController().Rearrange(true);
-
+
// DrawMode for 'main' window
if (GetActiveWindow()->GetDrawMode() != pFrameView->GetDrawMode() )
GetActiveWindow()->SetDrawMode( pFrameView->GetDrawMode() );
@@ -688,7 +688,7 @@ void SlideSorterViewShell::StartDrag (
{
OSL_ASSERT(mpSlideSorter.get()!=NULL);
mpSlideSorter->GetController().GetClipboard().StartDrag (
- rDragPt,
+ rDragPt,
pWindow);
}
@@ -707,14 +707,14 @@ void SlideSorterViewShell::DragFinished (
sal_Int8 SlideSorterViewShell::AcceptDrop (
const AcceptDropEvent& rEvt,
- DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow,
- USHORT nPage,
+ DropTargetHelper& rTargetHelper,
+ ::sd::Window* pTargetWindow,
+ USHORT nPage,
USHORT nLayer)
{
OSL_ASSERT(mpSlideSorter.get()!=NULL);
return mpSlideSorter->GetController().GetClipboard().AcceptDrop (
- rEvt,
+ rEvt,
rTargetHelper,
pTargetWindow,
nPage,
@@ -725,15 +725,15 @@ sal_Int8 SlideSorterViewShell::AcceptDrop (
sal_Int8 SlideSorterViewShell::ExecuteDrop (
- const ExecuteDropEvent& rEvt,
+ const ExecuteDropEvent& rEvt,
DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow,
- USHORT nPage,
+ ::sd::Window* pTargetWindow,
+ USHORT nPage,
USHORT nLayer)
{
OSL_ASSERT(mpSlideSorter.get()!=NULL);
return mpSlideSorter->GetController().GetClipboard().ExecuteDrop (
- rEvt,
+ rEvt,
rTargetHelper,
pTargetWindow,
nPage,