1c45d927aSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3c45d927aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4c45d927aSAndrew Rist * or more contributor license agreements. See the NOTICE file 5c45d927aSAndrew Rist * distributed with this work for additional information 6c45d927aSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7c45d927aSAndrew Rist * to you under the Apache License, Version 2.0 (the 8c45d927aSAndrew Rist * "License"); you may not use this file except in compliance 9c45d927aSAndrew Rist * with the License. You may obtain a copy of the License at 10c45d927aSAndrew Rist * 11c45d927aSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12c45d927aSAndrew Rist * 13c45d927aSAndrew Rist * Unless required by applicable law or agreed to in writing, 14c45d927aSAndrew Rist * software distributed under the License is distributed on an 15c45d927aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16c45d927aSAndrew Rist * KIND, either express or implied. See the License for the 17c45d927aSAndrew Rist * specific language governing permissions and limitations 18c45d927aSAndrew Rist * under the License. 19c45d927aSAndrew Rist * 20c45d927aSAndrew Rist *************************************************************/ 21c45d927aSAndrew Rist 22c45d927aSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef SD_VIEW_SHELL_HINT_HXX 25cdf0e10cSrcweir #define SD_VIEW_SHELL_HINT_HXX 26cdf0e10cSrcweir 27cdf0e10cSrcweir #include <svl/hint.hxx> 28cdf0e10cSrcweir 29cdf0e10cSrcweir namespace sd { 30cdf0e10cSrcweir 31cdf0e10cSrcweir /** Local derivation of the SfxHint class that defines some hint ids that 32*86e1cf34SPedro Giffuni are used by the ViewShell class and its descendants. 33cdf0e10cSrcweir */ 34cdf0e10cSrcweir class ViewShellHint 35cdf0e10cSrcweir : public SfxHint 36cdf0e10cSrcweir { 37cdf0e10cSrcweir public: 38cdf0e10cSrcweir enum HintId { 39cdf0e10cSrcweir // Indicate that a page resize is about to begin. 40cdf0e10cSrcweir HINT_PAGE_RESIZE_START, 41cdf0e10cSrcweir // Indicate that a page resize has been completed. 42cdf0e10cSrcweir HINT_PAGE_RESIZE_END, 43cdf0e10cSrcweir // Indicate that an edit mode change is about to begin. 44cdf0e10cSrcweir HINT_CHANGE_EDIT_MODE_START, 45cdf0e10cSrcweir // Indicate that an edit mode change has been completed. 46cdf0e10cSrcweir HINT_CHANGE_EDIT_MODE_END, 47cdf0e10cSrcweir 48cdf0e10cSrcweir HINT_COMPLEX_MODEL_CHANGE_START, 49cdf0e10cSrcweir HINT_COMPLEX_MODEL_CHANGE_END 50cdf0e10cSrcweir }; 51cdf0e10cSrcweir 52cdf0e10cSrcweir TYPEINFO(); 53cdf0e10cSrcweir 54cdf0e10cSrcweir ViewShellHint (HintId nHintId); 55cdf0e10cSrcweir 56cdf0e10cSrcweir HintId GetHintId (void) const; 57cdf0e10cSrcweir 58cdf0e10cSrcweir private: 59cdf0e10cSrcweir HintId meHintId; 60cdf0e10cSrcweir }; 61cdf0e10cSrcweir 62cdf0e10cSrcweir } // end of namespace sd 63cdf0e10cSrcweir 64cdf0e10cSrcweir #endif 65