Update ooo320-m1
[ooovba.git] / chart2 / source / controller / dialogs / res_Titles.hxx
blob8ffa5025d9dd76324dfe79ef260fd1c650c68fc9
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_Titles.hxx,v $
10 * $Revision: 1.4 $
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_TITLES_HXX
31 #define _CHART2_RES_TITLES_HXX
33 #include "TitleDialogData.hxx"
34 #include <vcl/edit.hxx>
35 #include <vcl/fixed.hxx>
37 //.............................................................................
38 namespace chart
40 //.............................................................................
42 class TitleResources
44 public:
45 TitleResources( Window* pParent, bool bShowSecondaryAxesTitle );
46 virtual ~TitleResources();
48 void writeToResources( const TitleDialogData& rInput );
49 void readFromResources( TitleDialogData& rOutput );
51 void SetUpdateDataHdl( const Link& rLink );
52 bool IsModified();
53 void ClearModifyFlag();
55 private:
56 FixedText m_aFT_Main;
57 Edit m_aEd_Main;
58 FixedText m_aFT_Sub;
59 Edit m_aEd_Sub;
61 FixedLine m_aFL_Axes;
62 FixedText m_aFT_XAxis;
63 Edit m_aEd_XAxis;
64 FixedText m_aFT_YAxis;
65 Edit m_aEd_YAxis;
66 FixedText m_aFT_ZAxis;
67 Edit m_aEd_ZAxis;
69 FixedLine m_aFL_SecondaryAxes;
70 FixedText m_aFT_SecondaryXAxis;
71 Edit m_aEd_SecondaryXAxis;
72 FixedText m_aFT_SecondaryYAxis;
73 Edit m_aEd_SecondaryYAxis;
76 //.............................................................................
77 } //namespace chart
78 //.............................................................................
80 #endif