sync master with lastest vba changes
[ooovba.git] / binfilter / inc / bf_sch / axisid.hxx
blob3f05af40990e4faa7c1690393d134d8ea68a4634
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: axisid.hxx,v $
10 * $Revision: 1.5 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _SCH_AXISID_HXX
32 #define _SCH_AXISID_HXX
34 #define SCH_AXIS_ID_X 1
35 #define SCH_AXIS_ID_Y 2
36 #define SCH_AXIS_ID_Z 3
38 #ifndef _SVDOBJ_HXX //autogen
39 #include <bf_svx/svdobj.hxx>
40 #endif
42 #ifndef _SVDITER_HXX //autogen
43 #include <bf_svx/svditer.hxx>
44 #endif
45 namespace binfilter {
47 /*************************************************************************
49 |* Id-Objekt fuer Chart-Grafik-Objekte
51 \************************************************************************/
53 class SchAxisId : public SdrObjUserData
55 long nAxisId;
57 public:
58 SchAxisId ();
59 SchAxisId (long nId);
61 virtual SdrObjUserData* Clone(SdrObject *pObj) const;
63 virtual void WriteData(SvStream& rOut);
64 virtual void ReadData(SvStream& rIn);
66 long &AxisId ()
68 return nAxisId;
71 long AxisId () const
73 return nAxisId;
77 /*************************************************************************
79 |* Tool-Funktionen fuer Objekt-Ids
81 \************************************************************************/
84 } //namespace binfilter
85 #endif // _SCH_OBJID_HXX