1*1d2dbeb0SAndrew Rist /**************************************************************
2cdf0e10cSrcweir *
3*1d2dbeb0SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*1d2dbeb0SAndrew Rist * or more contributor license agreements. See the NOTICE file
5*1d2dbeb0SAndrew Rist * distributed with this work for additional information
6*1d2dbeb0SAndrew Rist * regarding copyright ownership. The ASF licenses this file
7*1d2dbeb0SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*1d2dbeb0SAndrew Rist * "License"); you may not use this file except in compliance
9*1d2dbeb0SAndrew Rist * with the License. You may obtain a copy of the License at
10*1d2dbeb0SAndrew Rist *
11*1d2dbeb0SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0
12*1d2dbeb0SAndrew Rist *
13*1d2dbeb0SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*1d2dbeb0SAndrew Rist * software distributed under the License is distributed on an
15*1d2dbeb0SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*1d2dbeb0SAndrew Rist * KIND, either express or implied. See the License for the
17*1d2dbeb0SAndrew Rist * specific language governing permissions and limitations
18*1d2dbeb0SAndrew Rist * under the License.
19*1d2dbeb0SAndrew Rist *
20*1d2dbeb0SAndrew Rist *************************************************************/
21*1d2dbeb0SAndrew Rist
22*1d2dbeb0SAndrew Rist
23cdf0e10cSrcweir #ifndef _GRFATR_HXX
24cdf0e10cSrcweir #define _GRFATR_HXX
25cdf0e10cSrcweir
26cdf0e10cSrcweir #include <hintids.hxx> // fuer die WhichIds @@@ must be included first @@@
27cdf0e10cSrcweir #include <tools/gen.hxx>
28cdf0e10cSrcweir #include <svl/eitem.hxx>
29cdf0e10cSrcweir #include <svl/intitem.hxx>
30cdf0e10cSrcweir #include <svx/grfcrop.hxx>
31cdf0e10cSrcweir #include "swdllapi.h"
32cdf0e10cSrcweir #include <swatrset.hxx> // fuer inlines
33cdf0e10cSrcweir #include <format.hxx> // fuer inlines
34cdf0e10cSrcweir
35cdf0e10cSrcweir /******************************************************************************
36cdf0e10cSrcweir * class SwMirrorGrf
37cdf0e10cSrcweir ******************************************************************************/
38cdf0e10cSrcweir
39cdf0e10cSrcweir enum MirrorGraph
40cdf0e10cSrcweir {
41cdf0e10cSrcweir RES_MIRROR_GRAPH_BEGIN,
42cdf0e10cSrcweir RES_MIRROR_GRAPH_DONT = RES_MIRROR_GRAPH_BEGIN,
43cdf0e10cSrcweir RES_MIRROR_GRAPH_VERT,
44cdf0e10cSrcweir RES_MIRROR_GRAPH_HOR,
45cdf0e10cSrcweir RES_MIRROR_GRAPH_BOTH,
46cdf0e10cSrcweir RES_MIRROR_GRAPH_END
47cdf0e10cSrcweir };
48cdf0e10cSrcweir
49cdf0e10cSrcweir class SW_DLLPUBLIC SwMirrorGrf : public SfxEnumItem
50cdf0e10cSrcweir {
51cdf0e10cSrcweir sal_Bool bGrfToggle; // auf geraden Seiten Grafiken spiegeln
52cdf0e10cSrcweir
53cdf0e10cSrcweir public:
SwMirrorGrf(MirrorGraph eMiro=RES_MIRROR_GRAPH_DONT)54cdf0e10cSrcweir SwMirrorGrf( MirrorGraph eMiro = RES_MIRROR_GRAPH_DONT )
55cdf0e10cSrcweir : SfxEnumItem( RES_GRFATR_MIRRORGRF, static_cast< sal_uInt16 >(eMiro) ), bGrfToggle( sal_False )
56cdf0e10cSrcweir {}
SwMirrorGrf(const SwMirrorGrf & rMirrorGrf)57cdf0e10cSrcweir SwMirrorGrf( const SwMirrorGrf &rMirrorGrf )
58cdf0e10cSrcweir : SfxEnumItem( RES_GRFATR_MIRRORGRF, rMirrorGrf.GetValue()),
59cdf0e10cSrcweir bGrfToggle( rMirrorGrf.IsGrfToggle() )
60cdf0e10cSrcweir {}
61cdf0e10cSrcweir
62cdf0e10cSrcweir // pure virtual-Methoden von SfxPoolItem
63cdf0e10cSrcweir virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
64cdf0e10cSrcweir
65cdf0e10cSrcweir // pure virtual-Methiden von SfxEnumItem
66cdf0e10cSrcweir virtual sal_uInt16 GetValueCount() const;
67cdf0e10cSrcweir virtual int operator==( const SfxPoolItem& ) const;
68cdf0e10cSrcweir virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
69cdf0e10cSrcweir SfxMapUnit eCoreMetric,
70cdf0e10cSrcweir SfxMapUnit ePresMetric,
71cdf0e10cSrcweir String &rText,
72cdf0e10cSrcweir const IntlWrapper* pIntl = 0 ) const;
73cdf0e10cSrcweir
74cdf0e10cSrcweir virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal,
75cdf0e10cSrcweir sal_uInt8 nMemberId = 0 ) const;
76cdf0e10cSrcweir virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal,
77cdf0e10cSrcweir sal_uInt8 nMemberId = 0 );
78cdf0e10cSrcweir
operator =(const SwMirrorGrf & rMirrorGrf)79cdf0e10cSrcweir inline SwMirrorGrf& operator=( const SwMirrorGrf& rMirrorGrf )
80cdf0e10cSrcweir {
81cdf0e10cSrcweir SfxEnumItem::SetValue( rMirrorGrf.GetValue() );
82cdf0e10cSrcweir bGrfToggle = rMirrorGrf.IsGrfToggle();
83cdf0e10cSrcweir return *this;
84cdf0e10cSrcweir }
85cdf0e10cSrcweir
IsGrfToggle() const86cdf0e10cSrcweir inline sal_Bool IsGrfToggle() const { return bGrfToggle; }
SetGrfToggle(sal_Bool bNew)87cdf0e10cSrcweir inline void SetGrfToggle( sal_Bool bNew ) { bGrfToggle = bNew; }
88cdf0e10cSrcweir };
89cdf0e10cSrcweir
90cdf0e10cSrcweir
91cdf0e10cSrcweir /******************************************************************************
92cdf0e10cSrcweir * class SwAttrCropGrf
93cdf0e10cSrcweir ******************************************************************************/
94cdf0e10cSrcweir
95cdf0e10cSrcweir class SW_DLLPUBLIC SwCropGrf : public SvxGrfCrop
96cdf0e10cSrcweir {
97cdf0e10cSrcweir public:
98cdf0e10cSrcweir TYPEINFO();
99cdf0e10cSrcweir SwCropGrf();
100cdf0e10cSrcweir SwCropGrf( sal_Int32 nLeft, sal_Int32 nRight,
101cdf0e10cSrcweir sal_Int32 nTop, sal_Int32 nBottom );
102cdf0e10cSrcweir
103cdf0e10cSrcweir // "pure virtual Methoden" vom SfxPoolItem
104cdf0e10cSrcweir virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
105cdf0e10cSrcweir };
106cdf0e10cSrcweir
107cdf0e10cSrcweir class SwRotationGrf : public SfxUInt16Item
108cdf0e10cSrcweir {
109cdf0e10cSrcweir Size aUnrotatedSize;
110cdf0e10cSrcweir public:
SwRotationGrf(sal_Int16 nVal=0)111cdf0e10cSrcweir SwRotationGrf( sal_Int16 nVal = 0 )
112cdf0e10cSrcweir : SfxUInt16Item( RES_GRFATR_ROTATION, nVal )
113cdf0e10cSrcweir {}
SwRotationGrf(sal_Int16 nVal,const Size & rSz)114cdf0e10cSrcweir SwRotationGrf( sal_Int16 nVal, const Size& rSz )
115cdf0e10cSrcweir : SfxUInt16Item( RES_GRFATR_ROTATION, nVal ), aUnrotatedSize( rSz )
116cdf0e10cSrcweir {}
117cdf0e10cSrcweir
118cdf0e10cSrcweir // pure virtual-Methiden from SfxInt16Item
119cdf0e10cSrcweir virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
120cdf0e10cSrcweir virtual int operator==( const SfxPoolItem& ) const;
121cdf0e10cSrcweir virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
122cdf0e10cSrcweir SfxMapUnit eCoreMetric,
123cdf0e10cSrcweir SfxMapUnit ePresMetric,
124cdf0e10cSrcweir String &rText,
125cdf0e10cSrcweir const IntlWrapper* pIntl = 0 ) const;
126cdf0e10cSrcweir virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal,
127cdf0e10cSrcweir sal_uInt8 nMemberId = 0 ) const;
128cdf0e10cSrcweir virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal,
129cdf0e10cSrcweir sal_uInt8 nMemberId = 0 );
130cdf0e10cSrcweir
SetUnrotatedSize(const Size & rSz)131cdf0e10cSrcweir void SetUnrotatedSize( const Size& rSz ) { aUnrotatedSize = rSz; }
GetUnrotatedSize() const132cdf0e10cSrcweir const Size& GetUnrotatedSize() const { return aUnrotatedSize; }
133cdf0e10cSrcweir };
134cdf0e10cSrcweir
135cdf0e10cSrcweir class SW_DLLPUBLIC SwLuminanceGrf : public SfxInt16Item
136cdf0e10cSrcweir {
137cdf0e10cSrcweir public:
SwLuminanceGrf(sal_Int16 nVal=0)138cdf0e10cSrcweir SwLuminanceGrf( sal_Int16 nVal = 0 )
139cdf0e10cSrcweir : SfxInt16Item( RES_GRFATR_LUMINANCE, nVal )
140cdf0e10cSrcweir {}
141cdf0e10cSrcweir
142cdf0e10cSrcweir // pure virtual-Methiden from SfxInt16Item
143cdf0e10cSrcweir virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
144cdf0e10cSrcweir virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
145cdf0e10cSrcweir SfxMapUnit eCoreMetric,
146cdf0e10cSrcweir SfxMapUnit ePresMetric,
147cdf0e10cSrcweir String &rText,
148cdf0e10cSrcweir const IntlWrapper* pIntl = 0 ) const;
149cdf0e10cSrcweir };
150cdf0e10cSrcweir
151cdf0e10cSrcweir class SW_DLLPUBLIC SwContrastGrf : public SfxInt16Item
152cdf0e10cSrcweir {
153cdf0e10cSrcweir public:
SwContrastGrf(sal_Int16 nVal=0)154cdf0e10cSrcweir SwContrastGrf( sal_Int16 nVal = 0 )
155cdf0e10cSrcweir : SfxInt16Item( RES_GRFATR_CONTRAST, nVal )
156cdf0e10cSrcweir {}
157cdf0e10cSrcweir
158cdf0e10cSrcweir // pure virtual-Methiden from SfxInt16Item
159cdf0e10cSrcweir virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
160cdf0e10cSrcweir virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
161cdf0e10cSrcweir SfxMapUnit eCoreMetric,
162cdf0e10cSrcweir SfxMapUnit ePresMetric,
163cdf0e10cSrcweir String &rText,
164cdf0e10cSrcweir const IntlWrapper* pIntl = 0 ) const;
165cdf0e10cSrcweir };
166cdf0e10cSrcweir
167cdf0e10cSrcweir class SwChannelGrf : public SfxInt16Item
168cdf0e10cSrcweir {
169cdf0e10cSrcweir protected:
SwChannelGrf(sal_Int16 nVal,sal_uInt16 nWhichL)170cdf0e10cSrcweir SwChannelGrf( sal_Int16 nVal, sal_uInt16 nWhichL )
171cdf0e10cSrcweir : SfxInt16Item( nWhichL, nVal )
172cdf0e10cSrcweir {}
173cdf0e10cSrcweir
174cdf0e10cSrcweir public:
175cdf0e10cSrcweir // pure virtual-Methiden from SfxInt16Item
176cdf0e10cSrcweir virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
177cdf0e10cSrcweir SfxMapUnit eCoreMetric,
178cdf0e10cSrcweir SfxMapUnit ePresMetric,
179cdf0e10cSrcweir String &rText,
180cdf0e10cSrcweir const IntlWrapper* pIntl = 0 ) const;
181cdf0e10cSrcweir };
182cdf0e10cSrcweir
183cdf0e10cSrcweir class SwChannelRGrf : public SwChannelGrf
184cdf0e10cSrcweir {
185cdf0e10cSrcweir public:
SwChannelRGrf(sal_Int16 nVal=0)186cdf0e10cSrcweir SwChannelRGrf( sal_Int16 nVal = 0 )
187cdf0e10cSrcweir : SwChannelGrf( nVal, RES_GRFATR_CHANNELR )
188cdf0e10cSrcweir {}
189cdf0e10cSrcweir virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
190cdf0e10cSrcweir };
191cdf0e10cSrcweir class SwChannelGGrf : public SwChannelGrf
192cdf0e10cSrcweir {
193cdf0e10cSrcweir public:
SwChannelGGrf(sal_Int16 nVal=0)194cdf0e10cSrcweir SwChannelGGrf( sal_Int16 nVal = 0 )
195cdf0e10cSrcweir : SwChannelGrf( nVal, RES_GRFATR_CHANNELG )
196cdf0e10cSrcweir {}
197cdf0e10cSrcweir virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
198cdf0e10cSrcweir };
199cdf0e10cSrcweir class SwChannelBGrf : public SwChannelGrf
200cdf0e10cSrcweir {
201cdf0e10cSrcweir public:
SwChannelBGrf(sal_Int16 nVal=0)202cdf0e10cSrcweir SwChannelBGrf( sal_Int16 nVal = 0 )
203cdf0e10cSrcweir : SwChannelGrf( nVal, RES_GRFATR_CHANNELB )
204cdf0e10cSrcweir {}
205cdf0e10cSrcweir virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
206cdf0e10cSrcweir };
207cdf0e10cSrcweir
208cdf0e10cSrcweir class SW_DLLPUBLIC SwGammaGrf : public SfxPoolItem
209cdf0e10cSrcweir {
210cdf0e10cSrcweir double nValue;
211cdf0e10cSrcweir public:
212cdf0e10cSrcweir TYPEINFO();
SwGammaGrf()213cdf0e10cSrcweir SwGammaGrf() : SfxPoolItem( RES_GRFATR_GAMMA ), nValue( 1.0 )
214cdf0e10cSrcweir {}
215cdf0e10cSrcweir
SwGammaGrf(const double & rVal)216cdf0e10cSrcweir SwGammaGrf( const double& rVal )
217cdf0e10cSrcweir : SfxPoolItem( RES_GRFATR_GAMMA ), nValue( rVal )
218cdf0e10cSrcweir {}
219cdf0e10cSrcweir
operator =(const SwGammaGrf & rCopy)220cdf0e10cSrcweir inline SwGammaGrf& operator=( const SwGammaGrf& rCopy )
221cdf0e10cSrcweir {
222cdf0e10cSrcweir SetValue( rCopy.GetValue() );
223cdf0e10cSrcweir return *this;
224cdf0e10cSrcweir }
225cdf0e10cSrcweir
226cdf0e10cSrcweir // pure virtual-Methiden von SfxEnumItem
227cdf0e10cSrcweir virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
228cdf0e10cSrcweir virtual int operator==( const SfxPoolItem& ) const;
229cdf0e10cSrcweir virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
230cdf0e10cSrcweir SfxMapUnit eCoreMetric,
231cdf0e10cSrcweir SfxMapUnit ePresMetric,
232cdf0e10cSrcweir String &rText,
233cdf0e10cSrcweir const IntlWrapper* pIntl = 0 ) const;
234cdf0e10cSrcweir
235cdf0e10cSrcweir virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal,
236cdf0e10cSrcweir sal_uInt8 nMemberId = 0 ) const;
237cdf0e10cSrcweir virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal,
238cdf0e10cSrcweir sal_uInt8 nMemberId = 0 );
239cdf0e10cSrcweir
240cdf0e10cSrcweir
GetValue() const241cdf0e10cSrcweir const double& GetValue() const { return nValue; }
SetValue(const double & rVal)242cdf0e10cSrcweir void SetValue( const double& rVal ) { nValue = rVal; }
243cdf0e10cSrcweir };
244cdf0e10cSrcweir
245cdf0e10cSrcweir class SwInvertGrf: public SfxBoolItem
246cdf0e10cSrcweir {
247cdf0e10cSrcweir public:
SwInvertGrf(sal_Bool bVal=sal_False)248cdf0e10cSrcweir SwInvertGrf( sal_Bool bVal = sal_False )
249cdf0e10cSrcweir : SfxBoolItem( RES_GRFATR_INVERT, bVal )
250cdf0e10cSrcweir {}
251cdf0e10cSrcweir
252cdf0e10cSrcweir // pure virtual-Methiden from SfxInt16Item
253cdf0e10cSrcweir virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
254cdf0e10cSrcweir virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
255cdf0e10cSrcweir SfxMapUnit eCoreMetric,
256cdf0e10cSrcweir SfxMapUnit ePresMetric,
257cdf0e10cSrcweir String &rText,
258cdf0e10cSrcweir const IntlWrapper* pIntl = 0 ) const;
259cdf0e10cSrcweir };
260cdf0e10cSrcweir
261cdf0e10cSrcweir class SwTransparencyGrf : public SfxByteItem
262cdf0e10cSrcweir {
263cdf0e10cSrcweir public:
SwTransparencyGrf(sal_Int8 nVal=0)264cdf0e10cSrcweir SwTransparencyGrf( sal_Int8 nVal = 0 )
265cdf0e10cSrcweir : SfxByteItem( RES_GRFATR_TRANSPARENCY, nVal )
266cdf0e10cSrcweir {}
267cdf0e10cSrcweir
268cdf0e10cSrcweir // pure virtual-Methiden from SfxInt16Item
269cdf0e10cSrcweir virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
270cdf0e10cSrcweir virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
271cdf0e10cSrcweir SfxMapUnit eCoreMetric,
272cdf0e10cSrcweir SfxMapUnit ePresMetric,
273cdf0e10cSrcweir String &rText,
274cdf0e10cSrcweir const IntlWrapper* pIntl = 0 ) const;
275cdf0e10cSrcweir virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal,
276cdf0e10cSrcweir sal_uInt8 nMemberId = 0 ) const;
277cdf0e10cSrcweir virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal,
278cdf0e10cSrcweir sal_uInt8 nMemberId = 0 );
279cdf0e10cSrcweir };
280cdf0e10cSrcweir
281cdf0e10cSrcweir class SW_DLLPUBLIC SwDrawModeGrf : public SfxEnumItem
282cdf0e10cSrcweir {
283cdf0e10cSrcweir public:
SwDrawModeGrf(sal_uInt16 nMode=0)284cdf0e10cSrcweir SwDrawModeGrf( sal_uInt16 nMode = 0 )
285cdf0e10cSrcweir : SfxEnumItem( RES_GRFATR_DRAWMODE, nMode )
286cdf0e10cSrcweir {}
287cdf0e10cSrcweir
288cdf0e10cSrcweir // pure virtual-Methoden von SfxPoolItem
289cdf0e10cSrcweir virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
290cdf0e10cSrcweir
291cdf0e10cSrcweir // pure virtual-Methiden von SfxEnumItem
292cdf0e10cSrcweir virtual sal_uInt16 GetValueCount() const;
293cdf0e10cSrcweir virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
294cdf0e10cSrcweir SfxMapUnit eCoreMetric,
295cdf0e10cSrcweir SfxMapUnit ePresMetric,
296cdf0e10cSrcweir String &rText,
297cdf0e10cSrcweir const IntlWrapper* pIntl = 0 ) const;
298cdf0e10cSrcweir
299cdf0e10cSrcweir virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal,
300cdf0e10cSrcweir sal_uInt8 nMemberId = 0 ) const;
301cdf0e10cSrcweir virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal,
302cdf0e10cSrcweir sal_uInt8 nMemberId = 0 );
303cdf0e10cSrcweir };
304cdf0e10cSrcweir
305cdf0e10cSrcweir
306cdf0e10cSrcweir
307cdf0e10cSrcweir /******************************************************************************
308cdf0e10cSrcweir * Implementierung der GrafikAttribut Methoden vom SwAttrSet
309cdf0e10cSrcweir ******************************************************************************/
310cdf0e10cSrcweir
GetMirrorGrf(sal_Bool bInP) const311cdf0e10cSrcweir inline const SwMirrorGrf &SwAttrSet::GetMirrorGrf(sal_Bool bInP) const
312cdf0e10cSrcweir { return (const SwMirrorGrf&)Get( RES_GRFATR_MIRRORGRF,bInP); }
GetCropGrf(sal_Bool bInP) const313cdf0e10cSrcweir inline const SwCropGrf &SwAttrSet::GetCropGrf(sal_Bool bInP) const
314cdf0e10cSrcweir { return (const SwCropGrf&)Get( RES_GRFATR_CROPGRF,bInP); }
GetRotationGrf(sal_Bool bInP) const315cdf0e10cSrcweir inline const SwRotationGrf &SwAttrSet::GetRotationGrf(sal_Bool bInP) const
316cdf0e10cSrcweir { return (const SwRotationGrf&)Get( RES_GRFATR_ROTATION,bInP); }
GetLuminanceGrf(sal_Bool bInP) const317cdf0e10cSrcweir inline const SwLuminanceGrf &SwAttrSet::GetLuminanceGrf(sal_Bool bInP) const
318cdf0e10cSrcweir { return (const SwLuminanceGrf&)Get( RES_GRFATR_LUMINANCE,bInP); }
GetContrastGrf(sal_Bool bInP) const319cdf0e10cSrcweir inline const SwContrastGrf &SwAttrSet::GetContrastGrf(sal_Bool bInP) const
320cdf0e10cSrcweir { return (const SwContrastGrf&)Get( RES_GRFATR_CONTRAST,bInP); }
GetChannelRGrf(sal_Bool bInP) const321cdf0e10cSrcweir inline const SwChannelRGrf &SwAttrSet::GetChannelRGrf(sal_Bool bInP) const
322cdf0e10cSrcweir { return (const SwChannelRGrf&)Get( RES_GRFATR_CHANNELR,bInP); }
GetChannelGGrf(sal_Bool bInP) const323cdf0e10cSrcweir inline const SwChannelGGrf &SwAttrSet::GetChannelGGrf(sal_Bool bInP) const
324cdf0e10cSrcweir { return (const SwChannelGGrf&)Get( RES_GRFATR_CHANNELG,bInP); }
GetChannelBGrf(sal_Bool bInP) const325cdf0e10cSrcweir inline const SwChannelBGrf &SwAttrSet::GetChannelBGrf(sal_Bool bInP) const
326cdf0e10cSrcweir { return (const SwChannelBGrf&)Get( RES_GRFATR_CHANNELB,bInP); }
GetGammaGrf(sal_Bool bInP) const327cdf0e10cSrcweir inline const SwGammaGrf &SwAttrSet::GetGammaGrf(sal_Bool bInP) const
328cdf0e10cSrcweir { return (const SwGammaGrf&)Get( RES_GRFATR_GAMMA,bInP); }
GetInvertGrf(sal_Bool bInP) const329cdf0e10cSrcweir inline const SwInvertGrf &SwAttrSet::GetInvertGrf(sal_Bool bInP) const
330cdf0e10cSrcweir { return (const SwInvertGrf&)Get( RES_GRFATR_INVERT,bInP); }
GetTransparencyGrf(sal_Bool bInP) const331cdf0e10cSrcweir inline const SwTransparencyGrf &SwAttrSet::GetTransparencyGrf(sal_Bool bInP) const
332cdf0e10cSrcweir { return (const SwTransparencyGrf&)Get( RES_GRFATR_TRANSPARENCY,bInP); }
GetDrawModeGrf(sal_Bool bInP) const333cdf0e10cSrcweir inline const SwDrawModeGrf &SwAttrSet::GetDrawModeGrf(sal_Bool bInP) const
334cdf0e10cSrcweir { return (const SwDrawModeGrf&)Get( RES_GRFATR_DRAWMODE,bInP); }
335cdf0e10cSrcweir
336cdf0e10cSrcweir /******************************************************************************
337cdf0e10cSrcweir * Implementierung der GrafikAttribut Methoden vom SwFmt
338cdf0e10cSrcweir ******************************************************************************/
339cdf0e10cSrcweir
GetMirrorGrf(sal_Bool bInP) const340cdf0e10cSrcweir inline const SwMirrorGrf &SwFmt::GetMirrorGrf(sal_Bool bInP) const
341cdf0e10cSrcweir { return aSet.GetMirrorGrf(bInP); }
GetCropGrf(sal_Bool bInP) const342cdf0e10cSrcweir inline const SwCropGrf &SwFmt::GetCropGrf(sal_Bool bInP) const
343cdf0e10cSrcweir { return aSet.GetCropGrf(bInP); }
GetRotationGrf(sal_Bool bInP) const344cdf0e10cSrcweir inline const SwRotationGrf &SwFmt::GetRotationGrf(sal_Bool bInP) const
345cdf0e10cSrcweir { return aSet.GetRotationGrf(bInP); }
GetLuminanceGrf(sal_Bool bInP) const346cdf0e10cSrcweir inline const SwLuminanceGrf &SwFmt::GetLuminanceGrf(sal_Bool bInP) const
347cdf0e10cSrcweir { return aSet.GetLuminanceGrf( bInP); }
GetContrastGrf(sal_Bool bInP) const348cdf0e10cSrcweir inline const SwContrastGrf &SwFmt::GetContrastGrf(sal_Bool bInP) const
349cdf0e10cSrcweir { return aSet.GetContrastGrf( bInP); }
GetChannelRGrf(sal_Bool bInP) const350cdf0e10cSrcweir inline const SwChannelRGrf &SwFmt::GetChannelRGrf(sal_Bool bInP) const
351cdf0e10cSrcweir { return aSet.GetChannelRGrf( bInP); }
GetChannelGGrf(sal_Bool bInP) const352cdf0e10cSrcweir inline const SwChannelGGrf &SwFmt::GetChannelGGrf(sal_Bool bInP) const
353cdf0e10cSrcweir { return aSet.GetChannelGGrf( bInP); }
GetChannelBGrf(sal_Bool bInP) const354cdf0e10cSrcweir inline const SwChannelBGrf &SwFmt::GetChannelBGrf(sal_Bool bInP) const
355cdf0e10cSrcweir { return aSet.GetChannelBGrf( bInP); }
GetGammaGrf(sal_Bool bInP) const356cdf0e10cSrcweir inline const SwGammaGrf &SwFmt::GetGammaGrf(sal_Bool bInP) const
357cdf0e10cSrcweir { return aSet.GetGammaGrf( bInP); }
GetInvertGrf(sal_Bool bInP) const358cdf0e10cSrcweir inline const SwInvertGrf &SwFmt::GetInvertGrf(sal_Bool bInP) const
359cdf0e10cSrcweir { return aSet.GetInvertGrf( bInP); }
GetTransparencyGrf(sal_Bool bInP) const360cdf0e10cSrcweir inline const SwTransparencyGrf &SwFmt::GetTransparencyGrf(sal_Bool bInP) const
361cdf0e10cSrcweir { return aSet.GetTransparencyGrf( bInP); }
GetDrawModeGrf(sal_Bool bInP) const362cdf0e10cSrcweir inline const SwDrawModeGrf &SwFmt::GetDrawModeGrf(sal_Bool bInP) const
363cdf0e10cSrcweir { return aSet.GetDrawModeGrf(bInP); }
364cdf0e10cSrcweir
365cdf0e10cSrcweir
366cdf0e10cSrcweir #endif // _GRFATR_HXX
367