1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef _CHART2_RES_TITLES_HXX
24 #define _CHART2_RES_TITLES_HXX
25 
26 #include "TitleDialogData.hxx"
27 #include <vcl/edit.hxx>
28 #include <vcl/fixed.hxx>
29 
30 //.............................................................................
31 namespace chart
32 {
33 //.............................................................................
34 
35 class TitleResources
36 {
37 public:
38 	TitleResources( Window* pParent, bool bShowSecondaryAxesTitle );
39 	virtual ~TitleResources();
40 
41     void writeToResources( const TitleDialogData& rInput );
42     void readFromResources( TitleDialogData& rOutput );
43 
44     void SetUpdateDataHdl( const Link& rLink );
45     bool IsModified();
46     void ClearModifyFlag();
47 
48 private:
49 	FixedText 			m_aFT_Main;
50 	Edit     			m_aEd_Main;
51 	FixedText 			m_aFT_Sub;
52 	Edit     			m_aEd_Sub;
53 
54     FixedLine           m_aFL_Axes;
55 	FixedText 			m_aFT_XAxis;
56 	Edit     			m_aEd_XAxis;
57 	FixedText 			m_aFT_YAxis;
58 	Edit     			m_aEd_YAxis;
59 	FixedText 			m_aFT_ZAxis;
60 	Edit     			m_aEd_ZAxis;
61 
62     FixedLine           m_aFL_SecondaryAxes;
63     FixedText           m_aFT_SecondaryXAxis;
64     Edit                m_aEd_SecondaryXAxis;
65     FixedText           m_aFT_SecondaryYAxis;
66     Edit                m_aEd_SecondaryYAxis;
67 };
68 
69 //.............................................................................
70 } //namespace chart
71 //.............................................................................
72 
73 #endif
74