1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 #ifndef _SDR_PROPERTIES_E3DCOMPOUNDPROPERTIES_HXX 25 #define _SDR_PROPERTIES_E3DCOMPOUNDPROPERTIES_HXX 26 27 #include <svx/sdr/properties/e3dproperties.hxx> 28 #include "svx/svxdllapi.h" 29 30 ////////////////////////////////////////////////////////////////////////////// 31 32 namespace sdr 33 { 34 namespace properties 35 { 36 class SVX_DLLPUBLIC E3dCompoundProperties : public E3dProperties 37 { 38 protected: 39 // Called after ItemChange() is done for all items. 40 virtual void PostItemChange(const sal_uInt16 nWhich); 41 42 public: 43 // basic constructor 44 E3dCompoundProperties(SdrObject& rObj); 45 46 // constructor for copying, but using new object 47 E3dCompoundProperties(const E3dCompoundProperties& rProps, SdrObject& rObj); 48 49 // destructor 50 virtual ~E3dCompoundProperties(); 51 52 // Clone() operator, normally just calls the local copy constructor 53 virtual BaseProperties& Clone(SdrObject& rObj) const; 54 55 // get itemset 56 virtual const SfxItemSet& GetObjectItemSet() const; 57 58 // Get merged ItemSet. Normally, this maps directly to GetObjectItemSet(), but may 59 // be overloaded e.g for group objects to return a merged ItemSet of the object. 60 // When using this method the returned ItemSet may contain items in the state 61 // SFX_ITEM_DONTCARE which means there were several such items with different 62 // values. 63 virtual const SfxItemSet& GetMergedItemSet() const; 64 65 // Set merged ItemSet. Normally, this maps to SetObjectItemSet(). 66 virtual void SetMergedItemSet(const SfxItemSet& rSet, sal_Bool bClearAllItems = sal_False); 67 }; 68 } // end of namespace properties 69 } // end of namespace sdr 70 71 ////////////////////////////////////////////////////////////////////////////// 72 73 #endif // _SDR_PROPERTIES_E3DCOMPOUNDPROPERTIES_HXX 74 75 // eof 76