diff options
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx')
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx b/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx deleted file mode 100644 index 8cb4054f1a1f..000000000000 --- a/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx +++ /dev/null @@ -1,66 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef SD_SLIDESORTER_HIDE_SLIDE_FUNCTION_HXX -#define SD_SLIDESORTER_HIDE_SLIDE_FUNCTION_HXX - -#include "controller/SlsSlideFunction.hxx" -#include "model/SlsPageEnumeration.hxx" - - -namespace sd { namespace slidesorter { namespace controller { - -/** Toggle the hidden flag of the selected slides. - When the selected pages have not all the same state they will all set to - hidden. When all selected pages have the same state this state is - toggled for all of them -*/ -class HideSlideFunction - : public SlideFunction -{ -public: - TYPEINFO(); - - virtual ~HideSlideFunction (void); - - static FunctionReference Create( SlideSorter& rSlideSorter, SfxRequest& rRequest ); - virtual void DoExecute( SfxRequest& rReq ); - - // The state of a set of slides with respect to being excluded from the - // slide show. - enum ExclusionState {UNDEFINED, EXCLUDED, INCLUDED, MIXED}; - - /** Return for the given set of slides whether they included are - excluded from the slide show. - */ - static ExclusionState GetExclusionState (model::PageEnumeration& rPageSet); - -protected: - HideSlideFunction ( - SlideSorter& rSlideSorter, - SfxRequest& rRequest); - - SlideSorter& mrSlideSorter; -}; - -} } } // end of namespace ::sd::slidesorter::controller - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |