109a1d057SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 309a1d057SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 409a1d057SAndrew Rist * or more contributor license agreements. See the NOTICE file 509a1d057SAndrew Rist * distributed with this work for additional information 609a1d057SAndrew Rist * regarding copyright ownership. The ASF licenses this file 709a1d057SAndrew Rist * to you under the Apache License, Version 2.0 (the 809a1d057SAndrew Rist * "License"); you may not use this file except in compliance 909a1d057SAndrew Rist * with the License. You may obtain a copy of the License at 1009a1d057SAndrew Rist * 1109a1d057SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 1209a1d057SAndrew Rist * 1309a1d057SAndrew Rist * Unless required by applicable law or agreed to in writing, 1409a1d057SAndrew Rist * software distributed under the License is distributed on an 1509a1d057SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1609a1d057SAndrew Rist * KIND, either express or implied. See the License for the 1709a1d057SAndrew Rist * specific language governing permissions and limitations 1809a1d057SAndrew Rist * under the License. 1909a1d057SAndrew Rist * 2009a1d057SAndrew Rist *************************************************************/ 2109a1d057SAndrew Rist 22*97e8a929SArmin Le Grand #ifndef _XPROPERTYENTRY_HXX 23*97e8a929SArmin Le Grand #define _XPROPERTYENTRY_HXX 2409a1d057SAndrew Rist 25*97e8a929SArmin Le Grand #include <svx/svxdllapi.h> 26*97e8a929SArmin Le Grand #include <tools/string.hxx> 27*97e8a929SArmin Le Grand #include <vcl/bitmap.hxx> 28cdf0e10cSrcweir 29*97e8a929SArmin Le Grand // --------------------- 30*97e8a929SArmin Le Grand // class XPropertyEntry 31cdf0e10cSrcweir 32*97e8a929SArmin Le Grand class SVX_DLLPUBLIC XPropertyEntry 33cdf0e10cSrcweir { 34*97e8a929SArmin Le Grand private: 35*97e8a929SArmin Le Grand String maName; 36*97e8a929SArmin Le Grand Bitmap maUiBitmap; 37*97e8a929SArmin Le Grand 38*97e8a929SArmin Le Grand protected: 39*97e8a929SArmin Le Grand XPropertyEntry(const String& rName); 40*97e8a929SArmin Le Grand XPropertyEntry(const XPropertyEntry& rOther); 41*97e8a929SArmin Le Grand 42*97e8a929SArmin Le Grand public: 43*97e8a929SArmin Le Grand virtual ~XPropertyEntry(); 44*97e8a929SArmin Le Grand SetName(const String & rName)45*97e8a929SArmin Le Grand void SetName(const String& rName) { maName = rName; } GetName() const46*97e8a929SArmin Le Grand const String& GetName() const { return maName; } SetUiBitmap(const Bitmap & rUiBitmap)47*97e8a929SArmin Le Grand void SetUiBitmap(const Bitmap& rUiBitmap) { maUiBitmap = rUiBitmap; } GetUiBitmap() const48*97e8a929SArmin Le Grand const Bitmap& GetUiBitmap() const { return maUiBitmap; } 49cdf0e10cSrcweir }; 50cdf0e10cSrcweir 51*97e8a929SArmin Le Grand #endif // _XPROPERTYENTRY_HXX 52