summaryrefslogtreecommitdiff
path: root/svx/inc/svx/sxcikitm.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-04-11 15:32:50 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-04-11 15:32:50 +0000
commit8d631549ef1d7567852c4b4b62fe6d344aa5c7d6 (patch)
treed97516ca2f2576f4c6a488fe064095c225790221 /svx/inc/svx/sxcikitm.hxx
parent95a7f0b6a57e38e59bbf5234720023a6020aaeab (diff)
INTEGRATION: CWS hedaburemove01 (1.1.2); FILE ADDED
2007/02/09 16:54:01 vg 1.1.2.1: #72503# get rid of hedabu procedure: Moving headers to svx/inc/svx and correspondent necessary changes
Diffstat (limited to 'svx/inc/svx/sxcikitm.hxx')
-rw-r--r--svx/inc/svx/sxcikitm.hxx68
1 files changed, 68 insertions, 0 deletions
diff --git a/svx/inc/svx/sxcikitm.hxx b/svx/inc/svx/sxcikitm.hxx
new file mode 100644
index 000000000000..d0d99069723f
--- /dev/null
+++ b/svx/inc/svx/sxcikitm.hxx
@@ -0,0 +1,68 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: sxcikitm.hxx,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: vg $ $Date: 2007-04-11 16:32:50 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+#ifndef _SXCIKITM_HXX
+#define _SXCIKITM_HXX
+
+#ifndef _SVDDEF_HXX //autogen
+#include <svx/svddef.hxx>
+#endif
+
+#ifndef _SFXENUMITEM_HXX //autogen
+#include <svtools/eitem.hxx>
+#endif
+
+enum SdrCircKind {SDRCIRC_FULL,
+ SDRCIRC_SECT,
+ SDRCIRC_CUT,
+ SDRCIRC_ARC};
+
+class SdrCircKindItem: public SfxEnumItem {
+public:
+ TYPEINFO();
+ SdrCircKindItem(SdrCircKind eKind=SDRCIRC_FULL): SfxEnumItem(SDRATTR_CIRCKIND,sal::static_int_cast< USHORT >(eKind)) {}
+ SdrCircKindItem(SvStream& rIn) : SfxEnumItem(SDRATTR_CIRCKIND,rIn) {}
+ virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual USHORT GetValueCount() const; // { return 4; }
+ SdrCircKind GetValue() const { return (SdrCircKind)SfxEnumItem::GetValue(); }
+
+ virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+ virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+
+ virtual String GetValueTextByPos(USHORT nPos) const;
+ virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
+};
+
+#endif