Update ooo320-m1
[ooovba.git] / chart2 / source / controller / dialogs / res_BarGeometry.hxx
blobcd3b989d6ee019b7012c6c0c58b275ac97f2dff7
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: res_BarGeometry.hxx,v $
10 * $Revision: 1.3.44.1 $
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 ************************************************************************/
30 #ifndef _CHART2_RES_BARGEOMETRY_HXX
31 #define _CHART2_RES_BARGEOMETRY_HXX
33 // header for class FixedText
34 #include <vcl/fixed.hxx>
35 // header for class ListBox
36 #include <vcl/lstbox.hxx>
38 //.............................................................................
39 namespace chart
41 //.............................................................................
43 class BarGeometryResources
45 public:
46 BarGeometryResources( Window* pParent );
47 virtual ~BarGeometryResources();
49 void SetPosPixel( const Point& rPosition );
50 Size GetSizePixel() const;
52 void Show( bool bShow );
53 void Enable( bool bEnable );
55 USHORT GetSelectEntryCount() const;
56 USHORT GetSelectEntryPos() const;
57 void SelectEntryPos( USHORT nPos );
59 void SetSelectHdl( const Link& rLink );
61 private:
62 FixedText m_aFT_Geometry;
63 ListBox m_aLB_Geometry;
66 //.............................................................................
67 } //namespace chart
68 //.............................................................................
70 #endif