xref: /trunk/main/sc/source/ui/inc/uiitems.hxx (revision 914d351e5f5b84e4342a86d6ab8d4aca7308b9bd)
1*38d50f7bSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*38d50f7bSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*38d50f7bSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*38d50f7bSAndrew Rist  * distributed with this work for additional information
6*38d50f7bSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*38d50f7bSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*38d50f7bSAndrew Rist  * "License"); you may not use this file except in compliance
9*38d50f7bSAndrew Rist  * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir  *
11*38d50f7bSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir  *
13*38d50f7bSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*38d50f7bSAndrew Rist  * software distributed under the License is distributed on an
15*38d50f7bSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*38d50f7bSAndrew Rist  * KIND, either express or implied.  See the License for the
17*38d50f7bSAndrew Rist  * specific language governing permissions and limitations
18*38d50f7bSAndrew Rist  * under the License.
19cdf0e10cSrcweir  *
20*38d50f7bSAndrew Rist  *************************************************************/
21*38d50f7bSAndrew Rist 
22*38d50f7bSAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef SC_UIITEMS_HXX
25cdf0e10cSrcweir #define SC_UIITEMS_HXX
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include "scdllapi.h"
28cdf0e10cSrcweir #include "conditio.hxx"
29cdf0e10cSrcweir #include "sortparam.hxx"
30cdf0e10cSrcweir #include "queryparam.hxx"
31cdf0e10cSrcweir #include "paramisc.hxx"
32cdf0e10cSrcweir #include <svl/poolitem.hxx>
33cdf0e10cSrcweir 
34cdf0e10cSrcweir class ScEditEngineDefaulter;
35cdf0e10cSrcweir class EditTextObject;
36cdf0e10cSrcweir class ScViewData;
37cdf0e10cSrcweir class ScDPSaveData;
38cdf0e10cSrcweir 
39cdf0e10cSrcweir // ---------------------------------------------------------------------------
40cdf0e10cSrcweir 
41cdf0e10cSrcweir //  Items
42cdf0e10cSrcweir 
43cdf0e10cSrcweir class ScInputStatusItem : public SfxPoolItem
44cdf0e10cSrcweir {
45cdf0e10cSrcweir     ScAddress           aCursorPos;
46cdf0e10cSrcweir     ScAddress           aStartPos;
47cdf0e10cSrcweir     ScAddress           aEndPos;
48cdf0e10cSrcweir     String              aString;
49cdf0e10cSrcweir     EditTextObject*     pEditData;
50cdf0e10cSrcweir 
51cdf0e10cSrcweir public:
52cdf0e10cSrcweir                             TYPEINFO();
53cdf0e10cSrcweir //UNUSED2008-05             ScInputStatusItem( sal_uInt16 nWhich,
54cdf0e10cSrcweir //UNUSED2008-05                                SCTAB nTab,
55cdf0e10cSrcweir //UNUSED2008-05                                SCCOL nCol, SCROW nRow,
56cdf0e10cSrcweir //UNUSED2008-05                                SCCOL nStartCol, SCROW nStartRow,
57cdf0e10cSrcweir //UNUSED2008-05                                SCCOL nEndCol,   SCROW nSEndRow,
58cdf0e10cSrcweir //UNUSED2008-05                                const String& rString,
59cdf0e10cSrcweir //UNUSED2008-05                                const EditTextObject* pData );
60cdf0e10cSrcweir 
61cdf0e10cSrcweir                             ScInputStatusItem( sal_uInt16 nWhich,
62cdf0e10cSrcweir                                                const ScAddress& rCurPos,
63cdf0e10cSrcweir                                                const ScAddress& rStartPos,
64cdf0e10cSrcweir                                                const ScAddress& rEndPos,
65cdf0e10cSrcweir                                                const String& rString,
66cdf0e10cSrcweir                                                const EditTextObject* pData );
67cdf0e10cSrcweir                             ScInputStatusItem( const ScInputStatusItem& rItem );
68cdf0e10cSrcweir                             ~ScInputStatusItem();
69cdf0e10cSrcweir 
70cdf0e10cSrcweir     virtual String          GetValueText() const;
71cdf0e10cSrcweir 
72cdf0e10cSrcweir     virtual int             operator==( const SfxPoolItem& ) const;
73cdf0e10cSrcweir     virtual SfxPoolItem*    Clone( SfxItemPool *pPool = 0 ) const;
74cdf0e10cSrcweir 
GetPos() const75cdf0e10cSrcweir     const ScAddress&        GetPos() const      { return aCursorPos; }
GetStartPos() const76cdf0e10cSrcweir     const ScAddress&        GetStartPos() const { return aStartPos; }
GetEndPos() const77cdf0e10cSrcweir     const ScAddress&        GetEndPos() const   { return aEndPos; }
GetTab() const78cdf0e10cSrcweir     SCTAB                   GetTab() const      { return aCursorPos.Tab(); }
GetCol() const79cdf0e10cSrcweir     SCCOL                   GetCol() const      { return aCursorPos.Col(); }
GetRow() const80cdf0e10cSrcweir     SCROW                   GetRow() const      { return aCursorPos.Row(); }
GetStartCol() const81cdf0e10cSrcweir     SCCOL                   GetStartCol() const { return aStartPos.Col(); }
GetStartRow() const82cdf0e10cSrcweir     SCROW                   GetStartRow() const { return aStartPos.Row(); }
GetEndCol() const83cdf0e10cSrcweir     SCCOL                   GetEndCol() const   { return aEndPos.Col(); }
GetEndRow() const84cdf0e10cSrcweir     SCROW                   GetEndRow() const   { return aEndPos.Row(); }
85cdf0e10cSrcweir 
GetString() const86cdf0e10cSrcweir     const String&           GetString() const   { return aString; }
GetEditData() const87cdf0e10cSrcweir     const EditTextObject*   GetEditData() const { return pEditData; }
88cdf0e10cSrcweir };
89cdf0e10cSrcweir 
90cdf0e10cSrcweir 
91cdf0e10cSrcweir #define SC_TAB_INSERTED     1
92cdf0e10cSrcweir #define SC_TAB_DELETED      2
93cdf0e10cSrcweir #define SC_TAB_MOVED        3
94cdf0e10cSrcweir #define SC_TAB_COPIED       4
95cdf0e10cSrcweir #define SC_TAB_HIDDEN       5
96cdf0e10cSrcweir 
97cdf0e10cSrcweir class ScTablesHint : public SfxHint
98cdf0e10cSrcweir {
99cdf0e10cSrcweir     sal_uInt16 nId;
100cdf0e10cSrcweir     SCTAB nTab1;
101cdf0e10cSrcweir     SCTAB nTab2;
102cdf0e10cSrcweir 
103cdf0e10cSrcweir public:
104cdf0e10cSrcweir                     TYPEINFO();
105cdf0e10cSrcweir                     ScTablesHint(sal_uInt16 nNewId, SCTAB nTable1, SCTAB nTable2=0);
106cdf0e10cSrcweir                     ~ScTablesHint();
107cdf0e10cSrcweir 
GetId() const108cdf0e10cSrcweir     sal_uInt16          GetId() const           { return nId; }
GetTab1() const109cdf0e10cSrcweir     SCTAB           GetTab1() const         { return nTab1; }
GetTab2() const110cdf0e10cSrcweir     SCTAB           GetTab2() const         { return nTab2; }
111cdf0e10cSrcweir };
112cdf0e10cSrcweir 
113cdf0e10cSrcweir class ScEditViewHint : public SfxHint
114cdf0e10cSrcweir {
115cdf0e10cSrcweir     ScEditEngineDefaulter*  pEditEngine;
116cdf0e10cSrcweir     ScAddress                   aCursorPos;
117cdf0e10cSrcweir 
118cdf0e10cSrcweir public:
119cdf0e10cSrcweir                     TYPEINFO();
120cdf0e10cSrcweir                     ScEditViewHint( ScEditEngineDefaulter* pEngine, const ScAddress& rCurPos );
121cdf0e10cSrcweir                     ~ScEditViewHint();
122cdf0e10cSrcweir 
GetCol() const123cdf0e10cSrcweir     SCCOL           GetCol() const      { return aCursorPos.Col(); }
GetRow() const124cdf0e10cSrcweir     SCROW           GetRow() const      { return aCursorPos.Row(); }
GetTab() const125cdf0e10cSrcweir     SCTAB           GetTab() const      { return aCursorPos.Tab(); }
GetEngine() const126cdf0e10cSrcweir     ScEditEngineDefaulter*  GetEngine() const   { return pEditEngine; }
127cdf0e10cSrcweir 
128cdf0e10cSrcweir private:
129cdf0e10cSrcweir     ScEditViewHint(); // disabled
130cdf0e10cSrcweir };
131cdf0e10cSrcweir 
132cdf0e10cSrcweir class ScIndexHint : public SfxHint
133cdf0e10cSrcweir {
134cdf0e10cSrcweir     sal_uInt16 nId;
135cdf0e10cSrcweir     sal_uInt16 nIndex;
136cdf0e10cSrcweir 
137cdf0e10cSrcweir public:
138cdf0e10cSrcweir                     TYPEINFO();
139cdf0e10cSrcweir                     ScIndexHint(sal_uInt16 nNewId, sal_uInt16 nIdx);
140cdf0e10cSrcweir                     ~ScIndexHint();
141cdf0e10cSrcweir 
GetId() const142cdf0e10cSrcweir     sal_uInt16          GetId() const           { return nId; }
GetIndex() const143cdf0e10cSrcweir     sal_uInt16          GetIndex() const        { return nIndex; }
144cdf0e10cSrcweir };
145cdf0e10cSrcweir 
146cdf0e10cSrcweir //----------------------------------------------------------------------------
147cdf0e10cSrcweir // Parameter-Item fuer den Sortierdialog:
148cdf0e10cSrcweir 
149cdf0e10cSrcweir class SC_DLLPUBLIC ScSortItem : public SfxPoolItem
150cdf0e10cSrcweir {
151cdf0e10cSrcweir public:
152cdf0e10cSrcweir                             TYPEINFO();
153cdf0e10cSrcweir                             ScSortItem( sal_uInt16              nWhich,
154cdf0e10cSrcweir                                         ScViewData*         ptrViewData,
155cdf0e10cSrcweir                                         const ScSortParam*  pSortData );
156cdf0e10cSrcweir                             ScSortItem( sal_uInt16              nWhich,
157cdf0e10cSrcweir                                         const ScSortParam*  pSortData );
158cdf0e10cSrcweir                             ScSortItem( const ScSortItem& rItem );
159cdf0e10cSrcweir                             ~ScSortItem();
160cdf0e10cSrcweir 
161cdf0e10cSrcweir     virtual String          GetValueText() const;
162cdf0e10cSrcweir     virtual int             operator==( const SfxPoolItem& ) const;
163cdf0e10cSrcweir     virtual SfxPoolItem*    Clone( SfxItemPool *pPool = 0 ) const;
164cdf0e10cSrcweir     virtual sal_Bool        QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberUd ) const;
165cdf0e10cSrcweir 
GetViewData() const166cdf0e10cSrcweir     ScViewData*         GetViewData () const { return pViewData; }
GetSortData() const167cdf0e10cSrcweir     const ScSortParam&  GetSortData () const { return theSortData; }
168cdf0e10cSrcweir 
169cdf0e10cSrcweir private:
170cdf0e10cSrcweir     ScViewData*     pViewData;
171cdf0e10cSrcweir     ScSortParam     theSortData;
172cdf0e10cSrcweir };
173cdf0e10cSrcweir 
174cdf0e10cSrcweir //----------------------------------------------------------------------------
175cdf0e10cSrcweir // Parameter-Item fuer den Filterdialog:
176cdf0e10cSrcweir 
177cdf0e10cSrcweir class SC_DLLPUBLIC ScQueryItem : public SfxPoolItem
178cdf0e10cSrcweir {
179cdf0e10cSrcweir public:
180cdf0e10cSrcweir                             TYPEINFO();
181cdf0e10cSrcweir                             ScQueryItem( sal_uInt16                 nWhich,
182cdf0e10cSrcweir                                          ScViewData*            ptrViewData,
183cdf0e10cSrcweir                                          const ScQueryParam*    pQueryData );
184cdf0e10cSrcweir                             ScQueryItem( sal_uInt16                 nWhich,
185cdf0e10cSrcweir                                          const ScQueryParam*    pQueryData );
186cdf0e10cSrcweir                             ScQueryItem( const ScQueryItem& rItem );
187cdf0e10cSrcweir                             ~ScQueryItem();
188cdf0e10cSrcweir 
189cdf0e10cSrcweir     virtual String          GetValueText() const;
190cdf0e10cSrcweir     virtual int             operator==( const SfxPoolItem& ) const;
191cdf0e10cSrcweir     virtual SfxPoolItem*    Clone( SfxItemPool *pPool = 0 ) const;
192cdf0e10cSrcweir 
GetViewData() const193cdf0e10cSrcweir     ScViewData*         GetViewData () const { return pViewData; }
GetQueryData() const194cdf0e10cSrcweir     const ScQueryParam& GetQueryData() const { return theQueryData; }
195cdf0e10cSrcweir 
196cdf0e10cSrcweir     sal_Bool        GetAdvancedQuerySource(ScRange& rSource) const;
197cdf0e10cSrcweir     void        SetAdvancedQuerySource(const ScRange* pSource);
198cdf0e10cSrcweir 
199cdf0e10cSrcweir private:
200cdf0e10cSrcweir     ScViewData*     pViewData;
201cdf0e10cSrcweir     ScQueryParam    theQueryData;
202cdf0e10cSrcweir     sal_Bool            bIsAdvanced;
203cdf0e10cSrcweir     ScRange         aAdvSource;
204cdf0e10cSrcweir };
205cdf0e10cSrcweir 
206cdf0e10cSrcweir //----------------------------------------------------------------------------
207cdf0e10cSrcweir // Parameter-Item fuer den Zwischenergebnisdialog:
208cdf0e10cSrcweir 
209cdf0e10cSrcweir class SC_DLLPUBLIC ScSubTotalItem : public SfxPoolItem
210cdf0e10cSrcweir {
211cdf0e10cSrcweir public:
212cdf0e10cSrcweir                 TYPEINFO();
213cdf0e10cSrcweir                 ScSubTotalItem( sal_uInt16                  nWhich,
214cdf0e10cSrcweir                                 ScViewData*             ptrViewData,
215cdf0e10cSrcweir                                 const ScSubTotalParam*  pSubTotalData );
216cdf0e10cSrcweir                 ScSubTotalItem( sal_uInt16                  nWhich,
217cdf0e10cSrcweir                                 const ScSubTotalParam*  pSubTotalData );
218cdf0e10cSrcweir                 ScSubTotalItem( const ScSubTotalItem&   rItem );
219cdf0e10cSrcweir                 ~ScSubTotalItem();
220cdf0e10cSrcweir 
221cdf0e10cSrcweir     virtual String          GetValueText() const;
222cdf0e10cSrcweir     virtual int             operator==( const SfxPoolItem& ) const;
223cdf0e10cSrcweir     virtual SfxPoolItem*    Clone( SfxItemPool *pPool = 0 ) const;
224cdf0e10cSrcweir     virtual sal_Bool        QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberUd ) const;
225cdf0e10cSrcweir 
GetViewData() const226cdf0e10cSrcweir     ScViewData*             GetViewData () const { return pViewData; }
GetSubTotalData() const227cdf0e10cSrcweir     const ScSubTotalParam&  GetSubTotalData() const { return theSubTotalData; }
228cdf0e10cSrcweir 
229cdf0e10cSrcweir private:
230cdf0e10cSrcweir     ScViewData*     pViewData;
231cdf0e10cSrcweir     ScSubTotalParam theSubTotalData;
232cdf0e10cSrcweir };
233cdf0e10cSrcweir 
234cdf0e10cSrcweir //----------------------------------------------------------------------------
235cdf0e10cSrcweir // Parameter-Item fuer die Benutzerlisten-TabPage:
236cdf0e10cSrcweir 
237cdf0e10cSrcweir class SC_DLLPUBLIC ScUserListItem : public SfxPoolItem
238cdf0e10cSrcweir {
239cdf0e10cSrcweir public:
240cdf0e10cSrcweir                 TYPEINFO();
241cdf0e10cSrcweir                 ScUserListItem( sal_uInt16 nWhich );
242cdf0e10cSrcweir                 ScUserListItem( const ScUserListItem& rItem );
243cdf0e10cSrcweir                 ~ScUserListItem();
244cdf0e10cSrcweir 
245cdf0e10cSrcweir     virtual String          GetValueText() const;
246cdf0e10cSrcweir     virtual int             operator==( const SfxPoolItem& ) const;
247cdf0e10cSrcweir     virtual SfxPoolItem*    Clone( SfxItemPool *pPool = 0 ) const;
248cdf0e10cSrcweir 
249cdf0e10cSrcweir     void        SetUserList ( const ScUserList& rUserList );
GetUserList() const250cdf0e10cSrcweir     ScUserList* GetUserList () const { return pUserList; }
251cdf0e10cSrcweir 
252cdf0e10cSrcweir private:
253cdf0e10cSrcweir     ScUserList* pUserList;
254cdf0e10cSrcweir };
255cdf0e10cSrcweir 
256cdf0e10cSrcweir //----------------------------------------------------------------------------
257cdf0e10cSrcweir // Parameter-Item fuer die Konsolidieren-Dialog
258cdf0e10cSrcweir 
259cdf0e10cSrcweir class ScConsolidateItem : public SfxPoolItem
260cdf0e10cSrcweir {
261cdf0e10cSrcweir public:
262cdf0e10cSrcweir                 TYPEINFO();
263cdf0e10cSrcweir                 ScConsolidateItem( sal_uInt16                    nWhich,
264cdf0e10cSrcweir                                    const ScConsolidateParam* pParam );
265cdf0e10cSrcweir                 ScConsolidateItem( const ScConsolidateItem& rItem );
266cdf0e10cSrcweir                 ~ScConsolidateItem();
267cdf0e10cSrcweir 
268cdf0e10cSrcweir     virtual String          GetValueText() const;
269cdf0e10cSrcweir     virtual int             operator==( const SfxPoolItem& ) const;
270cdf0e10cSrcweir     virtual SfxPoolItem*    Clone( SfxItemPool *pPool = 0 ) const;
271cdf0e10cSrcweir 
GetData() const272cdf0e10cSrcweir     const ScConsolidateParam& GetData() const { return theConsData; }
273cdf0e10cSrcweir 
274cdf0e10cSrcweir private:
275cdf0e10cSrcweir     ScConsolidateParam  theConsData;
276cdf0e10cSrcweir };
277cdf0e10cSrcweir 
278cdf0e10cSrcweir //----------------------------------------------------------------------------
279cdf0e10cSrcweir // Parameter-Item fuer den Pivot-Dialog
280cdf0e10cSrcweir 
281cdf0e10cSrcweir class ScPivotItem : public SfxPoolItem
282cdf0e10cSrcweir {
283cdf0e10cSrcweir public:
284cdf0e10cSrcweir                 TYPEINFO();
285cdf0e10cSrcweir                 ScPivotItem( sal_uInt16 nWhich, const ScDPSaveData* pData,
286cdf0e10cSrcweir                              const ScRange* pRange, sal_Bool bNew );
287cdf0e10cSrcweir                 ScPivotItem( const ScPivotItem& rItem );
288cdf0e10cSrcweir                 ~ScPivotItem();
289cdf0e10cSrcweir 
290cdf0e10cSrcweir     virtual String          GetValueText() const;
291cdf0e10cSrcweir     virtual int             operator==( const SfxPoolItem& ) const;
292cdf0e10cSrcweir     virtual SfxPoolItem*    Clone( SfxItemPool *pPool = 0 ) const;
293cdf0e10cSrcweir 
GetData() const294cdf0e10cSrcweir     const ScDPSaveData& GetData() const         { return *pSaveData; }
GetDestRange() const295cdf0e10cSrcweir     const ScRange&      GetDestRange() const    { return aDestRange; }
IsNewSheet() const296cdf0e10cSrcweir     sal_Bool                IsNewSheet() const      { return bNewSheet; }
297cdf0e10cSrcweir 
298cdf0e10cSrcweir private:
299cdf0e10cSrcweir     ScDPSaveData*   pSaveData;
300cdf0e10cSrcweir     ScRange         aDestRange;
301cdf0e10cSrcweir     sal_Bool            bNewSheet;
302cdf0e10cSrcweir };
303cdf0e10cSrcweir 
304cdf0e10cSrcweir //----------------------------------------------------------------------------
305cdf0e10cSrcweir // Parameter-Item fuer den Solver-Dialog
306cdf0e10cSrcweir 
307cdf0e10cSrcweir class ScSolveItem : public SfxPoolItem
308cdf0e10cSrcweir {
309cdf0e10cSrcweir public:
310cdf0e10cSrcweir                 TYPEINFO();
311cdf0e10cSrcweir                 ScSolveItem( sal_uInt16              nWhich,
312cdf0e10cSrcweir                              const ScSolveParam* pParam );
313cdf0e10cSrcweir                 ScSolveItem( const ScSolveItem& rItem );
314cdf0e10cSrcweir                 ~ScSolveItem();
315cdf0e10cSrcweir 
316cdf0e10cSrcweir     virtual String          GetValueText() const;
317cdf0e10cSrcweir     virtual int             operator==( const SfxPoolItem& ) const;
318cdf0e10cSrcweir     virtual SfxPoolItem*    Clone( SfxItemPool *pPool = 0 ) const;
319cdf0e10cSrcweir 
GetData() const320cdf0e10cSrcweir     const ScSolveParam& GetData() const { return theSolveData; }
321cdf0e10cSrcweir 
322cdf0e10cSrcweir private:
323cdf0e10cSrcweir     ScSolveParam    theSolveData;
324cdf0e10cSrcweir };
325cdf0e10cSrcweir 
326cdf0e10cSrcweir //----------------------------------------------------------------------------
327cdf0e10cSrcweir // Parameter-Item fuer den Mehrfachoperationen-Dialog
328cdf0e10cSrcweir 
329cdf0e10cSrcweir class ScTabOpItem : public SfxPoolItem
330cdf0e10cSrcweir {
331cdf0e10cSrcweir public:
332cdf0e10cSrcweir                 TYPEINFO();
333cdf0e10cSrcweir                 ScTabOpItem( sal_uInt16              nWhich,
334cdf0e10cSrcweir                              const ScTabOpParam* pParam );
335cdf0e10cSrcweir                 ScTabOpItem( const ScTabOpItem& rItem );
336cdf0e10cSrcweir                 ~ScTabOpItem();
337cdf0e10cSrcweir 
338cdf0e10cSrcweir     virtual String          GetValueText() const;
339cdf0e10cSrcweir     virtual int             operator==( const SfxPoolItem& ) const;
340cdf0e10cSrcweir     virtual SfxPoolItem*    Clone( SfxItemPool *pPool = 0 ) const;
341cdf0e10cSrcweir 
GetData() const342cdf0e10cSrcweir     const ScTabOpParam& GetData() const { return theTabOpData; }
343cdf0e10cSrcweir 
344cdf0e10cSrcweir private:
345cdf0e10cSrcweir     ScTabOpParam    theTabOpData;
346cdf0e10cSrcweir };
347cdf0e10cSrcweir 
348cdf0e10cSrcweir //----------------------------------------------------------------------------
349cdf0e10cSrcweir // Parameter-Item fuer den Dialog bedingte Formatierung
350cdf0e10cSrcweir 
351cdf0e10cSrcweir class ScCondFrmtItem : public SfxPoolItem
352cdf0e10cSrcweir {
353cdf0e10cSrcweir public:
354cdf0e10cSrcweir                 TYPEINFO();
355cdf0e10cSrcweir                 ScCondFrmtItem( sal_uInt16 nWhich,
356cdf0e10cSrcweir //!                             const ScConditionalFormat* pCondFrmt );
357cdf0e10cSrcweir                                 const ScConditionalFormat& rCondFrmt );
358cdf0e10cSrcweir                 ScCondFrmtItem( const ScCondFrmtItem& rItem );
359cdf0e10cSrcweir                 ~ScCondFrmtItem();
360cdf0e10cSrcweir 
361cdf0e10cSrcweir     virtual String          GetValueText() const;
362cdf0e10cSrcweir     virtual int             operator==( const SfxPoolItem& ) const;
363cdf0e10cSrcweir     virtual SfxPoolItem*    Clone( SfxItemPool *pPool = 0 ) const;
364cdf0e10cSrcweir 
GetData() const365cdf0e10cSrcweir     const ScConditionalFormat&  GetData() const { return theCondFrmtData; }
366cdf0e10cSrcweir 
367cdf0e10cSrcweir private:
368cdf0e10cSrcweir     ScConditionalFormat theCondFrmtData;
369cdf0e10cSrcweir };
370cdf0e10cSrcweir 
371cdf0e10cSrcweir 
372cdf0e10cSrcweir 
373cdf0e10cSrcweir #endif
374