You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2023/06/15 08:18:02 UTC
[openoffice] branch AOO42X updated: Maintenance cleanup
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push:
new adac709629 Maintenance cleanup
adac709629 is described below
commit adac7096298acbdd944dd298139431859122d37a
Author: mseidel <ms...@apache.org>
AuthorDate: Thu Jun 15 10:17:03 2023 +0200
Maintenance cleanup
(cherry picked from commit 4dc4eaf19a015b5d2bc15f685fbad0ab7bd7d908)
---
main/svx/inc/svx/xlncapit.hxx | 44 +++++++++++++++++++-----------------
main/svx/inc/svx/xsflclit.hxx | 15 +++++++------
main/svx/inc/svx/xtextit.hxx | 9 ++++----
main/svx/inc/svx/xtextit0.hxx | 28 +++++++++++------------
main/svx/inc/svx/zoom_def.hxx | 14 +++++++-----
main/svx/inc/svx/zoomctrl.hxx | 14 +++++++-----
main/svx/inc/svx/zoomitem.hxx | 35 ++++++++++++++++-------------
main/svx/inc/svx/zoomsliderctrl.hxx | 29 ++++++++++++------------
main/svx/inc/svx/zoomslideritem.hxx | 45 ++++++++++++++++++++-----------------
9 files changed, 124 insertions(+), 109 deletions(-)
diff --git a/main/svx/inc/svx/xlncapit.hxx b/main/svx/inc/svx/xlncapit.hxx
index c87dcca8d4..243eba2f06 100644
--- a/main/svx/inc/svx/xlncapit.hxx
+++ b/main/svx/inc/svx/xlncapit.hxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,18 +7,20 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
+
+
#ifndef _SVX_XLNCAPIT_HXX
#define _SVX_XLNCAPIT_HXX
@@ -34,24 +36,24 @@
class SVX_DLLPUBLIC XLineCapItem : public SfxEnumItem
{
public:
- TYPEINFO();
- XLineCapItem(com::sun::star::drawing::LineCap eLineCap = com::sun::star::drawing::LineCap_BUTT);
- XLineCapItem(SvStream& rIn);
-
- virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
- virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
-
- virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
- virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
- SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric,
- String &rText, const IntlWrapper * = 0 ) const;
-
- virtual sal_uInt16 GetValueCount() const;
- com::sun::star::drawing::LineCap GetValue() const;
+ TYPEINFO();
+ XLineCapItem(com::sun::star::drawing::LineCap eLineCap = com::sun::star::drawing::LineCap_BUTT);
+ XLineCapItem(SvStream& rIn);
+
+ virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
+ virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
+
+ virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
+ virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
+ SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric,
+ String &rText, const IntlWrapper * = 0 ) const;
+
+ virtual sal_uInt16 GetValueCount() const;
+ com::sun::star::drawing::LineCap GetValue() const;
};
#endif // _SVX_XLNCAPIT_HXX
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/svx/inc/svx/xsflclit.hxx b/main/svx/inc/svx/xsflclit.hxx
index e5e844db7a..febb31ce99 100644
--- a/main/svx/inc/svx/xsflclit.hxx
+++ b/main/svx/inc/svx/xsflclit.hxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -38,13 +38,13 @@ public:
XSecondaryFillColorItem(const String& rName, const Color& rTheColor);
SVX_DLLPRIVATE XSecondaryFillColorItem(SvStream& rIn);
- SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
+ SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
SVX_DLLPRIVATE virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
- String &rText, const IntlWrapper * = 0 ) const;
+ String &rText, const IntlWrapper * = 0 ) const;
SVX_DLLPRIVATE virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
@@ -52,3 +52,4 @@ public:
#endif
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/svx/inc/svx/xtextit.hxx b/main/svx/inc/svx/xtextit.hxx
index 4517019e47..c528968a4d 100644
--- a/main/svx/inc/svx/xtextit.hxx
+++ b/main/svx/inc/svx/xtextit.hxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -41,3 +41,4 @@
#endif
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/svx/inc/svx/xtextit0.hxx b/main/svx/inc/svx/xtextit0.hxx
index 558e735fe5..6837d508db 100644
--- a/main/svx/inc/svx/xtextit0.hxx
+++ b/main/svx/inc/svx/xtextit0.hxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -29,9 +29,7 @@
#include "svx/svxdllapi.h"
/*************************************************************************
-|*
|* FormText-StyleItem
-|*
\************************************************************************/
class SVX_DLLPUBLIC XFormTextStyleItem : public SfxEnumItem
@@ -40,19 +38,17 @@ public:
TYPEINFO();
XFormTextStyleItem(XFormTextStyle = XFT_NONE);
XFormTextStyleItem(SvStream& rIn);
- virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- virtual sal_uInt16 GetValueCount() const;
+ virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const;
XFormTextStyle GetValue() const { return (XFormTextStyle) SfxEnumItem::GetValue(); }
// #FontWork#
- virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
- virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
+ virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
/*************************************************************************
-|*
|* FormText-HideFormItem
-|*
\************************************************************************/
class SVX_DLLPUBLIC XFormTextHideFormItem : public SfxBoolItem
@@ -61,8 +57,10 @@ public:
TYPEINFO();
XFormTextHideFormItem(sal_Bool bHide = sal_False);
XFormTextHideFormItem(SvStream& rIn);
- virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
};
#endif
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/svx/inc/svx/zoom_def.hxx b/main/svx/inc/svx/zoom_def.hxx
index fcd6ad3fad..5fa1e5fcec 100644
--- a/main/svx/inc/svx/zoom_def.hxx
+++ b/main/svx/inc/svx/zoom_def.hxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,23 +7,27 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
+
+
#ifndef _SVX_ZOOM_DEF_HXX
#define _SVX_ZOOM_DEF_HXX
-#define ZOOMBTN_OPTIMAL ((sal_uInt16)0x0001)
+#define ZOOMBTN_OPTIMAL ((sal_uInt16)0x0001)
#define ZOOMBTN_PAGEWIDTH ((sal_uInt16)0x0002)
#define ZOOMBTN_WHOLEPAGE ((sal_uInt16)0x0004)
#endif
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/svx/inc/svx/zoomctrl.hxx b/main/svx/inc/svx/zoomctrl.hxx
index 89b5958cef..b613ed6073 100644
--- a/main/svx/inc/svx/zoomctrl.hxx
+++ b/main/svx/inc/svx/zoomctrl.hxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,19 +7,20 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
+
#ifndef _SVX_ZOOMCTRL_HXX
#define _SVX_ZOOMCTRL_HXX
@@ -34,12 +35,12 @@ class SVX_DLLPUBLIC SvxZoomStatusBarControl : public SfxStatusBarControl
{
private:
sal_uInt16 nZoom;
- sal_uInt16 nValueSet;
+ sal_uInt16 nValueSet;
public:
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
- virtual void Paint( const UserDrawEvent& rEvt );
+ virtual void Paint( const UserDrawEvent& rEvt );
virtual void Command( const CommandEvent& rCEvt );
SFX_DECL_STATUSBAR_CONTROL();
@@ -53,3 +54,4 @@ public:
#endif
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/svx/inc/svx/zoomitem.hxx b/main/svx/inc/svx/zoomitem.hxx
index 9c4fd4f2bc..2c0baa45a0 100644
--- a/main/svx/inc/svx/zoomitem.hxx
+++ b/main/svx/inc/svx/zoomitem.hxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,19 +7,20 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
+
#ifndef _SVX_ZOOMITEM_HXX
#define _SVX_ZOOMITEM_HXX
@@ -33,18 +34,18 @@
enum SvxZoomType
{
- SVX_ZOOM_PERCENT, // GetValue() ist kein besonderer prozentualer Wert
- SVX_ZOOM_OPTIMAL, // GetValue() entspricht der optimalen Gr"o\se
- SVX_ZOOM_WHOLEPAGE, // GetValue() entspricht der ganzen Seite
- SVX_ZOOM_PAGEWIDTH, // GetValue() entspricht der Seitenbreite
- SVX_ZOOM_PAGEWIDTH_NOBORDER // GetValue() pagewidth without border
+ SVX_ZOOM_PERCENT, // GetValue() ist kein besonderer prozentualer Wert
+ SVX_ZOOM_OPTIMAL, // GetValue() entspricht der optimalen Gr"o\se
+ SVX_ZOOM_WHOLEPAGE, // GetValue() entspricht der ganzen Seite
+ SVX_ZOOM_PAGEWIDTH, // GetValue() entspricht der Seitenbreite
+ SVX_ZOOM_PAGEWIDTH_NOBORDER // GetValue() pagewidth without border
};
//-------------------------------------------------------------------------
class SVX_DLLPUBLIC SvxZoomItem: public SfxUInt16Item
{
- sal_uInt16 nValueSet; // erlaubte Werte (siehe #defines unten)
+ sal_uInt16 nValueSet; // erlaubte Werte (siehe #defines unten)
SvxZoomType eType;
public:
@@ -60,7 +61,7 @@ public:
FASTBOOL IsValueAllowed( sal_uInt16 nValue ) const
{ return nValue == ( nValue & nValueSet ); }
- SvxZoomType GetType() const { return eType; }
+ SvxZoomType GetType() const { return eType; }
void SetType( SvxZoomType eNewType )
{ eType = eNewType; }
@@ -68,20 +69,22 @@ public:
virtual SfxPoolItem* Create( SvStream& rStrm, sal_uInt16 nVersion ) const;
virtual SvStream& Store( SvStream& rStrm , sal_uInt16 nItemVersion ) const;
virtual int operator==( const SfxPoolItem& ) const;
- virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
- virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
+ virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
//------------------------------------------------------------------------
-#define SVX_ZOOM_ENABLE_50 0x0001
-#define SVX_ZOOM_ENABLE_75 0x0002
+#define SVX_ZOOM_ENABLE_50 0x0001
+#define SVX_ZOOM_ENABLE_75 0x0002
#define SVX_ZOOM_ENABLE_100 0x0004
#define SVX_ZOOM_ENABLE_150 0x0008
#define SVX_ZOOM_ENABLE_200 0x0010
#define SVX_ZOOM_ENABLE_OPTIMAL 0x1000
#define SVX_ZOOM_ENABLE_WHOLEPAGE 0x2000
#define SVX_ZOOM_ENABLE_PAGEWIDTH 0x4000
-#define SVX_ZOOM_ENABLE_ALL 0x701F
+#define SVX_ZOOM_ENABLE_ALL 0x701F
#endif
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/svx/inc/svx/zoomsliderctrl.hxx b/main/svx/inc/svx/zoomsliderctrl.hxx
index 721a921fa3..dce2c5a1bd 100644
--- a/main/svx/inc/svx/zoomsliderctrl.hxx
+++ b/main/svx/inc/svx/zoomsliderctrl.hxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -35,24 +35,25 @@ class SVX_DLLPUBLIC SvxZoomSliderControl : public SfxStatusBarControl
{
private:
- struct SvxZoomSliderControl_Impl;
- SvxZoomSliderControl_Impl* mpImpl;
+ struct SvxZoomSliderControl_Impl;
+ SvxZoomSliderControl_Impl* mpImpl;
- sal_uInt16 Offset2Zoom( long nOffset ) const;
- long Zoom2Offset( sal_uInt16 nZoom ) const;
+ sal_uInt16 Offset2Zoom( long nOffset ) const;
+ long Zoom2Offset( sal_uInt16 nZoom ) const;
public:
SFX_DECL_STATUSBAR_CONTROL();
- SvxZoomSliderControl( sal_uInt16 _nSlotId, sal_uInt16 _nId, StatusBar& _rStb );
- ~SvxZoomSliderControl();
+ SvxZoomSliderControl( sal_uInt16 _nSlotId, sal_uInt16 _nId, StatusBar& _rStb );
+ ~SvxZoomSliderControl();
- virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
- virtual void Paint( const UserDrawEvent& rEvt );
- virtual sal_Bool MouseButtonDown( const MouseEvent & );
- virtual sal_Bool MouseMove( const MouseEvent & rEvt );
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
+ virtual void Paint( const UserDrawEvent& rEvt );
+ virtual sal_Bool MouseButtonDown( const MouseEvent & );
+ virtual sal_Bool MouseMove( const MouseEvent & rEvt );
};
#endif
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/svx/inc/svx/zoomslideritem.hxx b/main/svx/inc/svx/zoomslideritem.hxx
index 178cfe6cb9..f1b505809b 100644
--- a/main/svx/inc/svx/zoomslideritem.hxx
+++ b/main/svx/inc/svx/zoomslideritem.hxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,19 +7,20 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
+
#ifndef _SVX_ZOOMSLIDERITEM_HXX
#define _SVX_ZOOMSLIDERITEM_HXX
@@ -34,31 +35,33 @@
class SVX_DLLPUBLIC SvxZoomSliderItem: public SfxUInt16Item
{
- com::sun::star::uno::Sequence < sal_Int32 > maValues;
- sal_uInt16 mnMinZoom;
- sal_uInt16 mnMaxZoom;
+ com::sun::star::uno::Sequence < sal_Int32 > maValues;
+ sal_uInt16 mnMinZoom;
+ sal_uInt16 mnMaxZoom;
public:
TYPEINFO();
- SvxZoomSliderItem( sal_uInt16 nCurrentZoom = 100, sal_uInt16 nMinZoom = 20, sal_uInt16 nMaxZoom = 600, sal_uInt16 nWhich = SID_ATTR_ZOOMSLIDER );
- SvxZoomSliderItem( const SvxZoomSliderItem& );
- ~SvxZoomSliderItem();
+ SvxZoomSliderItem( sal_uInt16 nCurrentZoom = 100, sal_uInt16 nMinZoom = 20, sal_uInt16 nMaxZoom = 600, sal_uInt16 nWhich = SID_ATTR_ZOOMSLIDER );
+ SvxZoomSliderItem( const SvxZoomSliderItem& );
+ ~SvxZoomSliderItem();
- void AddSnappingPoint( sal_Int32 nNew );
- const com::sun::star::uno::Sequence < sal_Int32 >& GetSnappingPoints() const;
- sal_uInt16 GetMinZoom() const {return mnMinZoom;}
- sal_uInt16 GetMaxZoom() const {return mnMaxZoom;}
+ void AddSnappingPoint( sal_Int32 nNew );
+ const com::sun::star::uno::Sequence < sal_Int32 >& GetSnappingPoints() const;
+ sal_uInt16 GetMinZoom() const {return mnMinZoom;}
+ sal_uInt16 GetMaxZoom() const {return mnMaxZoom;}
- // "pure virtual Methoden" vom SfxPoolItem
- virtual int operator==( const SfxPoolItem& ) const;
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual SfxPoolItem* Create( SvStream& rStrm, sal_uInt16 nVersion ) const; // leer
- virtual SvStream& Store( SvStream& rStrm , sal_uInt16 nItemVersion ) const; // leer
- virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; // leer
- virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); // leer
+ // "pure virtual methods" from SfxPoolItem
+ virtual int operator==( const SfxPoolItem& ) const;
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
+ virtual SfxPoolItem* Create( SvStream& rStrm, sal_uInt16 nVersion ) const; // empty
+ virtual SvStream& Store( SvStream& rStrm , sal_uInt16 nItemVersion ) const; // empty
+ virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; // empty
+ virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); // empty
};
//------------------------------------------------------------------------
#endif
+
+/* vim: set noet sw=4 ts=4: */