xref: /aoo41x/main/svx/inc/svx/chrtitem.hxx (revision 3334a7e6)
1*3334a7e6SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*3334a7e6SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*3334a7e6SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*3334a7e6SAndrew Rist  * distributed with this work for additional information
6*3334a7e6SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*3334a7e6SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*3334a7e6SAndrew Rist  * "License"); you may not use this file except in compliance
9*3334a7e6SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*3334a7e6SAndrew Rist  *
11*3334a7e6SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*3334a7e6SAndrew Rist  *
13*3334a7e6SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*3334a7e6SAndrew Rist  * software distributed under the License is distributed on an
15*3334a7e6SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*3334a7e6SAndrew Rist  * KIND, either express or implied.  See the License for the
17*3334a7e6SAndrew Rist  * specific language governing permissions and limitations
18*3334a7e6SAndrew Rist  * under the License.
19*3334a7e6SAndrew Rist  *
20*3334a7e6SAndrew Rist  *************************************************************/
21*3334a7e6SAndrew Rist 
22*3334a7e6SAndrew Rist 
23cdf0e10cSrcweir #ifndef _SVX_CHRTITEM_HXX
24cdf0e10cSrcweir #define _SVX_CHRTITEM_HXX
25cdf0e10cSrcweir 
26cdf0e10cSrcweir // include ---------------------------------------------------------------
27cdf0e10cSrcweir 
28cdf0e10cSrcweir #include <svl/eitem.hxx>
29cdf0e10cSrcweir #include "svx/svxdllapi.h"
30cdf0e10cSrcweir 
31cdf0e10cSrcweir //------------------------------------------------------------------------
32cdf0e10cSrcweir 
33cdf0e10cSrcweir enum SvxChartStyle
34cdf0e10cSrcweir {
35cdf0e10cSrcweir 	CHSTYLE_2D_LINE,
36cdf0e10cSrcweir 	CHSTYLE_2D_STACKEDLINE,
37cdf0e10cSrcweir 	CHSTYLE_2D_PERCENTLINE,
38cdf0e10cSrcweir 	CHSTYLE_2D_COLUMN,
39cdf0e10cSrcweir 	CHSTYLE_2D_STACKEDCOLUMN,
40cdf0e10cSrcweir 	CHSTYLE_2D_PERCENTCOLUMN,
41cdf0e10cSrcweir 	CHSTYLE_2D_BAR,
42cdf0e10cSrcweir 	CHSTYLE_2D_STACKEDBAR,
43cdf0e10cSrcweir 	CHSTYLE_2D_PERCENTBAR,
44cdf0e10cSrcweir 	CHSTYLE_2D_AREA,
45cdf0e10cSrcweir 	CHSTYLE_2D_STACKEDAREA,
46cdf0e10cSrcweir 	CHSTYLE_2D_PERCENTAREA,
47cdf0e10cSrcweir 	CHSTYLE_2D_PIE,
48cdf0e10cSrcweir 	CHSTYLE_3D_STRIPE,
49cdf0e10cSrcweir 	CHSTYLE_3D_COLUMN,
50cdf0e10cSrcweir 	CHSTYLE_3D_FLATCOLUMN,
51cdf0e10cSrcweir 	CHSTYLE_3D_STACKEDFLATCOLUMN,
52cdf0e10cSrcweir 	CHSTYLE_3D_PERCENTFLATCOLUMN,
53cdf0e10cSrcweir 	CHSTYLE_3D_AREA,
54cdf0e10cSrcweir 	CHSTYLE_3D_STACKEDAREA,
55cdf0e10cSrcweir 	CHSTYLE_3D_PERCENTAREA,
56cdf0e10cSrcweir 	CHSTYLE_3D_SURFACE,
57cdf0e10cSrcweir 	CHSTYLE_3D_PIE,
58cdf0e10cSrcweir 	CHSTYLE_2D_XY,
59cdf0e10cSrcweir 	CHSTYLE_3D_XYZ,
60cdf0e10cSrcweir 	CHSTYLE_2D_LINESYMBOLS,
61cdf0e10cSrcweir 	CHSTYLE_2D_STACKEDLINESYM,
62cdf0e10cSrcweir 	CHSTYLE_2D_PERCENTLINESYM,
63cdf0e10cSrcweir 	CHSTYLE_2D_XYSYMBOLS,
64cdf0e10cSrcweir 	CHSTYLE_3D_XYZSYMBOLS,
65cdf0e10cSrcweir 	CHSTYLE_2D_DONUT1,
66cdf0e10cSrcweir 	CHSTYLE_2D_DONUT2,
67cdf0e10cSrcweir 	CHSTYLE_3D_BAR,
68cdf0e10cSrcweir 	CHSTYLE_3D_FLATBAR,
69cdf0e10cSrcweir 	CHSTYLE_3D_STACKEDFLATBAR,
70cdf0e10cSrcweir 	CHSTYLE_3D_PERCENTFLATBAR,
71cdf0e10cSrcweir 	CHSTYLE_2D_PIE_SEGOF1,
72cdf0e10cSrcweir 	CHSTYLE_2D_PIE_SEGOFALL,
73cdf0e10cSrcweir 	CHSTYLE_2D_NET,
74cdf0e10cSrcweir 	CHSTYLE_2D_NET_SYMBOLS,
75cdf0e10cSrcweir 	CHSTYLE_2D_NET_STACK,
76cdf0e10cSrcweir 	CHSTYLE_2D_NET_SYMBOLS_STACK,
77cdf0e10cSrcweir 	CHSTYLE_2D_NET_PERCENT,
78cdf0e10cSrcweir 	CHSTYLE_2D_NET_SYMBOLS_PERCENT,
79cdf0e10cSrcweir 	CHSTYLE_2D_CUBIC_SPLINE,
80cdf0e10cSrcweir 	CHSTYLE_2D_CUBIC_SPLINE_SYMBOL,
81cdf0e10cSrcweir 	CHSTYLE_2D_B_SPLINE,
82cdf0e10cSrcweir 	CHSTYLE_2D_B_SPLINE_SYMBOL,
83cdf0e10cSrcweir 	CHSTYLE_2D_CUBIC_SPLINE_XY,
84cdf0e10cSrcweir 	CHSTYLE_2D_CUBIC_SPLINE_SYMBOL_XY,
85cdf0e10cSrcweir 	CHSTYLE_2D_B_SPLINE_XY,
86cdf0e10cSrcweir 	CHSTYLE_2D_B_SPLINE_SYMBOL_XY,
87cdf0e10cSrcweir 	CHSTYLE_2D_XY_LINE,
88cdf0e10cSrcweir 	CHSTYLE_2D_LINE_COLUMN,
89cdf0e10cSrcweir 	CHSTYLE_2D_LINE_STACKEDCOLUMN,
90cdf0e10cSrcweir 	CHSTYLE_2D_STOCK_1,
91cdf0e10cSrcweir 	CHSTYLE_2D_STOCK_2,
92cdf0e10cSrcweir 	CHSTYLE_2D_STOCK_3,
93cdf0e10cSrcweir 	CHSTYLE_2D_STOCK_4,
94cdf0e10cSrcweir 	CHSTYLE_ADDIN
95cdf0e10cSrcweir };
96cdf0e10cSrcweir 
97cdf0e10cSrcweir #define CHSTYLE_COUNT   (CHSTYLE_ADDIN + 1)
98cdf0e10cSrcweir 
99cdf0e10cSrcweir enum SvxChartDataDescr
100cdf0e10cSrcweir {
101cdf0e10cSrcweir 	CHDESCR_NONE,
102cdf0e10cSrcweir 	CHDESCR_VALUE,
103cdf0e10cSrcweir 	CHDESCR_PERCENT,
104cdf0e10cSrcweir 	CHDESCR_TEXT,
105cdf0e10cSrcweir 	CHDESCR_TEXTANDPERCENT,
106cdf0e10cSrcweir 	CHDESCR_NUMFORMAT_PERCENT,
107cdf0e10cSrcweir 	CHDESCR_NUMFORMAT_VALUE,
108cdf0e10cSrcweir 	CHDESCR_TEXTANDVALUE
109cdf0e10cSrcweir };
110cdf0e10cSrcweir 
111cdf0e10cSrcweir #define CHDESCR_COUNT	(CHDESCR_TEXTANDVALUE + 1)
112cdf0e10cSrcweir 
113cdf0e10cSrcweir enum SvxChartTextOrder
114cdf0e10cSrcweir {
115cdf0e10cSrcweir 	CHTXTORDER_SIDEBYSIDE,
116cdf0e10cSrcweir 	CHTXTORDER_UPDOWN,
117cdf0e10cSrcweir 	CHTXTORDER_DOWNUP,
118cdf0e10cSrcweir 	CHTXTORDER_AUTO
119cdf0e10cSrcweir };
120cdf0e10cSrcweir 
121cdf0e10cSrcweir #define CHTXTORDER_COUNT	(CHTXTORDER_AUTO + 1)
122cdf0e10cSrcweir 
123cdf0e10cSrcweir enum SvxChartTextOrient
124cdf0e10cSrcweir {
125cdf0e10cSrcweir 	CHTXTORIENT_AUTOMATIC,
126cdf0e10cSrcweir 	CHTXTORIENT_STANDARD,
127cdf0e10cSrcweir 	CHTXTORIENT_BOTTOMTOP,
128cdf0e10cSrcweir 	CHTXTORIENT_STACKED,
129cdf0e10cSrcweir 	CHTXTORIENT_TOPBOTTOM
130cdf0e10cSrcweir };
131cdf0e10cSrcweir 
132cdf0e10cSrcweir #define CHTXTORIENT_COUNT	(CHTXTORIENT_TOPBOTTOM + 1)
133cdf0e10cSrcweir 
134cdf0e10cSrcweir enum SvxChartKindError
135cdf0e10cSrcweir {
136cdf0e10cSrcweir 	CHERROR_NONE,
137cdf0e10cSrcweir 	CHERROR_VARIANT,
138cdf0e10cSrcweir 	CHERROR_SIGMA,
139cdf0e10cSrcweir 	CHERROR_PERCENT,
140cdf0e10cSrcweir 	CHERROR_BIGERROR,
141cdf0e10cSrcweir 	CHERROR_CONST,
142cdf0e10cSrcweir     CHERROR_STDERROR,
143cdf0e10cSrcweir     CHERROR_RANGE
144cdf0e10cSrcweir };
145cdf0e10cSrcweir 
146cdf0e10cSrcweir #define CHERROR_COUNT	(CHERROR_RANGE + 1)
147cdf0e10cSrcweir 
148cdf0e10cSrcweir enum SvxChartIndicate
149cdf0e10cSrcweir {
150cdf0e10cSrcweir 	CHINDICATE_NONE,
151cdf0e10cSrcweir 	CHINDICATE_BOTH,
152cdf0e10cSrcweir 	CHINDICATE_UP,
153cdf0e10cSrcweir 	CHINDICATE_DOWN
154cdf0e10cSrcweir };
155cdf0e10cSrcweir 
156cdf0e10cSrcweir #define CHINDICATE_COUNT	(CHINDICATE_DOWN + 1)
157cdf0e10cSrcweir 
158cdf0e10cSrcweir enum SvxChartRegress
159cdf0e10cSrcweir {
160cdf0e10cSrcweir 	CHREGRESS_NONE,
161cdf0e10cSrcweir 	CHREGRESS_LINEAR,
162cdf0e10cSrcweir 	CHREGRESS_LOG,
163cdf0e10cSrcweir 	CHREGRESS_EXP,
164cdf0e10cSrcweir 	CHREGRESS_POWER
165cdf0e10cSrcweir };
166cdf0e10cSrcweir 
167cdf0e10cSrcweir #define CHREGRESS_COUNT	(CHREGRESS_POWER + 1)
168cdf0e10cSrcweir 
169cdf0e10cSrcweir //------------------------------------------------------------------
170cdf0e10cSrcweir 
171cdf0e10cSrcweir class SVX_DLLPUBLIC SvxChartStyleItem : public SfxEnumItem
172cdf0e10cSrcweir {
173cdf0e10cSrcweir public:
174cdf0e10cSrcweir 	TYPEINFO();
175cdf0e10cSrcweir     SvxChartStyleItem(SvxChartStyle eStyle /*= CHSTYLE_2D_LINE*/,
176cdf0e10cSrcweir                       sal_uInt16 nId );
177cdf0e10cSrcweir     SvxChartStyleItem(SvStream& rIn, sal_uInt16 nId );
178cdf0e10cSrcweir 
179cdf0e10cSrcweir 	virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
180cdf0e10cSrcweir 	virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
181cdf0e10cSrcweir 
GetValueCount() const182cdf0e10cSrcweir 	sal_uInt16 GetValueCount() const { return CHSTYLE_COUNT; }
GetValue() const183cdf0e10cSrcweir 	SvxChartStyle GetValue() const
184cdf0e10cSrcweir 		{ return (SvxChartStyle)SfxEnumItem::GetValue(); }
185cdf0e10cSrcweir };
186cdf0e10cSrcweir 
187cdf0e10cSrcweir //------------------------------------------------------------------
188cdf0e10cSrcweir 
189cdf0e10cSrcweir class SVX_DLLPUBLIC SvxChartRegressItem : public SfxEnumItem
190cdf0e10cSrcweir {
191cdf0e10cSrcweir public:
192cdf0e10cSrcweir 	TYPEINFO();
193cdf0e10cSrcweir     SvxChartRegressItem(SvxChartRegress eRegress /*= CHREGRESS_LINEAR*/,
194cdf0e10cSrcweir                         sal_uInt16 nId );
195cdf0e10cSrcweir     SvxChartRegressItem(SvStream& rIn, sal_uInt16 nId );
196cdf0e10cSrcweir 
197cdf0e10cSrcweir 	virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
198cdf0e10cSrcweir 	virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
199cdf0e10cSrcweir 
GetValueCount() const200cdf0e10cSrcweir 	sal_uInt16 GetValueCount() const { return CHREGRESS_COUNT; }
GetValue() const201cdf0e10cSrcweir 	SvxChartRegress GetValue() const
202cdf0e10cSrcweir 		{ return (SvxChartRegress)SfxEnumItem::GetValue(); }
203cdf0e10cSrcweir 	sal_uInt16 GetVersion (sal_uInt16 nFileFormatVersion) const;
204cdf0e10cSrcweir };
205cdf0e10cSrcweir 
206cdf0e10cSrcweir //------------------------------------------------------------------
207cdf0e10cSrcweir 
208cdf0e10cSrcweir class SVX_DLLPUBLIC SvxChartDataDescrItem : public SfxEnumItem
209cdf0e10cSrcweir {
210cdf0e10cSrcweir public:
211cdf0e10cSrcweir 	TYPEINFO();
212cdf0e10cSrcweir     SvxChartDataDescrItem(SvxChartDataDescr eDataDescr /*= CHDESCR_NONE*/,
213cdf0e10cSrcweir                           sal_uInt16 nId );
214cdf0e10cSrcweir 	SvxChartDataDescrItem(SvStream& rIn,
215cdf0e10cSrcweir                           sal_uInt16 nId );
216cdf0e10cSrcweir 
217cdf0e10cSrcweir 	virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
218cdf0e10cSrcweir 	virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
219cdf0e10cSrcweir 
GetValueCount() const220cdf0e10cSrcweir 	sal_uInt16 GetValueCount() const { return CHDESCR_COUNT; }
GetValue() const221cdf0e10cSrcweir 	SvxChartDataDescr GetValue() const
222cdf0e10cSrcweir 		{ return (SvxChartDataDescr)SfxEnumItem::GetValue(); }
223cdf0e10cSrcweir };
224cdf0e10cSrcweir 
225cdf0e10cSrcweir //------------------------------------------------------------------
226cdf0e10cSrcweir 
227cdf0e10cSrcweir class SVX_DLLPUBLIC SvxChartTextOrderItem : public SfxEnumItem
228cdf0e10cSrcweir {
229cdf0e10cSrcweir public:
230cdf0e10cSrcweir 	TYPEINFO();
231cdf0e10cSrcweir     SvxChartTextOrderItem(SvxChartTextOrder eOrder /*= CHTXTORDER_SIDEBYSIDE*/,
232cdf0e10cSrcweir                           sal_uInt16 nId );
233cdf0e10cSrcweir 	SvxChartTextOrderItem(SvStream& rIn,
234cdf0e10cSrcweir                           sal_uInt16 nId );
235cdf0e10cSrcweir 
236cdf0e10cSrcweir 	virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
237cdf0e10cSrcweir 	virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
238cdf0e10cSrcweir 
239cdf0e10cSrcweir 	virtual	sal_Bool        	 QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
240cdf0e10cSrcweir 	virtual	sal_Bool			 PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
241cdf0e10cSrcweir 
GetValueCount() const242cdf0e10cSrcweir 	sal_uInt16 GetValueCount() const { return CHTXTORDER_COUNT; }
GetValue() const243cdf0e10cSrcweir 	SvxChartTextOrder GetValue() const
244cdf0e10cSrcweir 		{ return (SvxChartTextOrder)SfxEnumItem::GetValue(); }
245cdf0e10cSrcweir };
246cdf0e10cSrcweir 
247cdf0e10cSrcweir //------------------------------------------------------------------
248cdf0e10cSrcweir 
249cdf0e10cSrcweir class SVX_DLLPUBLIC SvxChartTextOrientItem : public SfxEnumItem
250cdf0e10cSrcweir {
251cdf0e10cSrcweir public:
252cdf0e10cSrcweir 	TYPEINFO();
253cdf0e10cSrcweir     SvxChartTextOrientItem(SvxChartTextOrient /*eOrient = CHTXTORIENT_STANDARD*/,
254cdf0e10cSrcweir                            sal_uInt16 nId );
255cdf0e10cSrcweir 	SvxChartTextOrientItem(SvStream& rIn,
256cdf0e10cSrcweir                            sal_uInt16 nId );
257cdf0e10cSrcweir 
258cdf0e10cSrcweir 	virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
259cdf0e10cSrcweir 	virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
260cdf0e10cSrcweir 
GetValueCount() const261cdf0e10cSrcweir 	sal_uInt16 GetValueCount() const { return CHTXTORDER_COUNT; }
GetValue() const262cdf0e10cSrcweir 	SvxChartTextOrient GetValue() const
263cdf0e10cSrcweir 		{ return (SvxChartTextOrient)SfxEnumItem::GetValue(); }
264cdf0e10cSrcweir };
265cdf0e10cSrcweir 
266cdf0e10cSrcweir //------------------------------------------------------------------
267cdf0e10cSrcweir 
268cdf0e10cSrcweir class SVX_DLLPUBLIC SvxChartKindErrorItem : public SfxEnumItem
269cdf0e10cSrcweir {
270cdf0e10cSrcweir public:
271cdf0e10cSrcweir 	TYPEINFO();
272cdf0e10cSrcweir     SvxChartKindErrorItem(SvxChartKindError /*eOrient = CHERROR_NONE*/,
273cdf0e10cSrcweir                            sal_uInt16 nId );
274cdf0e10cSrcweir 	SvxChartKindErrorItem(SvStream& rIn,
275cdf0e10cSrcweir                            sal_uInt16 nId );
276cdf0e10cSrcweir 
277cdf0e10cSrcweir 	virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
278cdf0e10cSrcweir 	virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
279cdf0e10cSrcweir 
GetValueCount() const280cdf0e10cSrcweir 	sal_uInt16 GetValueCount() const { return CHERROR_COUNT; }
GetValue() const281cdf0e10cSrcweir 	SvxChartKindError GetValue() const
282cdf0e10cSrcweir 		{ return (SvxChartKindError)SfxEnumItem::GetValue(); }
283cdf0e10cSrcweir 
284cdf0e10cSrcweir 	sal_uInt16 GetVersion (sal_uInt16 nFileFormatVersion) const;
285cdf0e10cSrcweir };
286cdf0e10cSrcweir 
287cdf0e10cSrcweir //------------------------------------------------------------------
288cdf0e10cSrcweir 
289cdf0e10cSrcweir class SVX_DLLPUBLIC SvxChartIndicateItem : public SfxEnumItem
290cdf0e10cSrcweir {
291cdf0e10cSrcweir public:
292cdf0e10cSrcweir 	TYPEINFO();
293cdf0e10cSrcweir     SvxChartIndicateItem(SvxChartIndicate eOrient /*= CHINDICATE_NONE*/,
294cdf0e10cSrcweir                            sal_uInt16 nId );
295cdf0e10cSrcweir 	SvxChartIndicateItem(SvStream& rIn,
296cdf0e10cSrcweir                            sal_uInt16 nId );
297cdf0e10cSrcweir 
298cdf0e10cSrcweir 	virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
299cdf0e10cSrcweir 	virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
300cdf0e10cSrcweir 
GetValueCount() const301cdf0e10cSrcweir 	sal_uInt16 GetValueCount() const { return CHINDICATE_COUNT; }
GetValue() const302cdf0e10cSrcweir 	SvxChartIndicate GetValue() const
303cdf0e10cSrcweir 		{ return (SvxChartIndicate)SfxEnumItem::GetValue(); }
304cdf0e10cSrcweir 
305cdf0e10cSrcweir 	sal_uInt16 GetVersion (sal_uInt16 nFileFormatVersion) const;
306cdf0e10cSrcweir };
307cdf0e10cSrcweir 
308cdf0e10cSrcweir //------------------------------------------------------------------
309cdf0e10cSrcweir 
310cdf0e10cSrcweir class SVX_DLLPUBLIC SvxDoubleItem : public SfxPoolItem
311cdf0e10cSrcweir {
312cdf0e10cSrcweir 	double fVal;
313cdf0e10cSrcweir 
314cdf0e10cSrcweir public:
315cdf0e10cSrcweir 	TYPEINFO();
316cdf0e10cSrcweir     SvxDoubleItem(double fValue /*= 0.0*/, sal_uInt16 nId );
317cdf0e10cSrcweir     SvxDoubleItem(SvStream& rIn, sal_uInt16 nId );
318cdf0e10cSrcweir 	SvxDoubleItem(const SvxDoubleItem& rItem);
319cdf0e10cSrcweir 
320cdf0e10cSrcweir 
321cdf0e10cSrcweir 	virtual	sal_Bool        	 QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
322cdf0e10cSrcweir 	virtual	sal_Bool			 PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
323cdf0e10cSrcweir 
324cdf0e10cSrcweir 
325cdf0e10cSrcweir 
326cdf0e10cSrcweir 	virtual String GetValueText() const;
327cdf0e10cSrcweir 	virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres,
328cdf0e10cSrcweir 									SfxMapUnit eCoreMetric,
329cdf0e10cSrcweir 									SfxMapUnit ePresMetric,
330cdf0e10cSrcweir                                     String &rText, const IntlWrapper * = 0) const;
331cdf0e10cSrcweir 
332cdf0e10cSrcweir 	virtual int 			 operator == (const SfxPoolItem&) const;
333cdf0e10cSrcweir 	virtual SfxPoolItem* Clone(SfxItemPool *pPool = NULL) const;
334cdf0e10cSrcweir 	virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVersion) const;
335cdf0e10cSrcweir 	virtual SvStream& Store(SvStream& rOut, sal_uInt16 nItemVersion ) const;
336cdf0e10cSrcweir 
337cdf0e10cSrcweir 	virtual double GetMin() const;
338cdf0e10cSrcweir 	virtual double GetMax() const;
339cdf0e10cSrcweir 
340cdf0e10cSrcweir 	virtual SfxFieldUnit GetUnit() const;
341cdf0e10cSrcweir 
GetValue() const342cdf0e10cSrcweir 	double GetValue() const { return fVal; }
SetValue(double fNewVal)343cdf0e10cSrcweir 	void SetValue(double fNewVal) { fVal = fNewVal; }
344cdf0e10cSrcweir };
345cdf0e10cSrcweir 
346cdf0e10cSrcweir #endif	 // _SVX_CHRTITEM_HXX
347cdf0e10cSrcweir 
348