1c4eee24dSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3c4eee24dSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4c4eee24dSAndrew Rist * or more contributor license agreements. See the NOTICE file 5c4eee24dSAndrew Rist * distributed with this work for additional information 6c4eee24dSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7c4eee24dSAndrew Rist * to you under the Apache License, Version 2.0 (the 8c4eee24dSAndrew Rist * "License"); you may not use this file except in compliance 9c4eee24dSAndrew Rist * with the License. You may obtain a copy of the License at 10c4eee24dSAndrew Rist * 11c4eee24dSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12c4eee24dSAndrew Rist * 13c4eee24dSAndrew Rist * Unless required by applicable law or agreed to in writing, 14c4eee24dSAndrew Rist * software distributed under the License is distributed on an 15c4eee24dSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16c4eee24dSAndrew Rist * KIND, either express or implied. See the License for the 17c4eee24dSAndrew Rist * specific language governing permissions and limitations 18c4eee24dSAndrew Rist * under the License. 19c4eee24dSAndrew Rist * 20c4eee24dSAndrew Rist *************************************************************/ 21c4eee24dSAndrew Rist 22c4eee24dSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef _SVX_FORMAT_CELLS_DLG_HXX 25cdf0e10cSrcweir #define _SVX_FORMAT_CELLS_DLG_HXX 26cdf0e10cSrcweir 27cdf0e10cSrcweir #include <sfx2/tabdlg.hxx> 28cdf0e10cSrcweir 2997e8a929SArmin Le Grand class XColorList; 30cdf0e10cSrcweir class XGradientList; 31cdf0e10cSrcweir class XHatchList; 32cdf0e10cSrcweir class XBitmapList; 33cdf0e10cSrcweir class SdrModel; 34cdf0e10cSrcweir 35*c7be74b1SArmin Le Grand typedef ::boost::shared_ptr< XColorList > XColorListSharedPtr; 36*c7be74b1SArmin Le Grand typedef ::boost::shared_ptr< XHatchList > XHatchListSharedPtr; 37*c7be74b1SArmin Le Grand typedef ::boost::shared_ptr< XGradientList > XGradientListSharedPtr; 38*c7be74b1SArmin Le Grand typedef ::boost::shared_ptr< XBitmapList > XBitmapListSharedPtr; 39*c7be74b1SArmin Le Grand 40cdf0e10cSrcweir class SvxFormatCellsDialog : public SfxTabDialog 41cdf0e10cSrcweir { 42cdf0e10cSrcweir private: 43cdf0e10cSrcweir const SfxItemSet& mrOutAttrs; 44cdf0e10cSrcweir 45*c7be74b1SArmin Le Grand XColorListSharedPtr maColorTab; 46*c7be74b1SArmin Le Grand XGradientListSharedPtr maGradientList; 47*c7be74b1SArmin Le Grand XHatchListSharedPtr maHatchingList; 48*c7be74b1SArmin Le Grand XBitmapListSharedPtr maBitmapList; 49cdf0e10cSrcweir 50cdf0e10cSrcweir protected: 51cdf0e10cSrcweir virtual void Apply(); 52cdf0e10cSrcweir 53cdf0e10cSrcweir public: 54cdf0e10cSrcweir SvxFormatCellsDialog( Window* pParent, const SfxItemSet* pAttr, SdrModel* pModel ); 55cdf0e10cSrcweir ~SvxFormatCellsDialog(); 56cdf0e10cSrcweir 57cdf0e10cSrcweir virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ); 58cdf0e10cSrcweir 59cdf0e10cSrcweir }; 60cdf0e10cSrcweir 61cdf0e10cSrcweir #endif // _SVX_FORMAT_CELLS_DLG_HXX 62cdf0e10cSrcweir 63cdf0e10cSrcweir 64