1*2f531595SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*2f531595SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*2f531595SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*2f531595SAndrew Rist * distributed with this work for additional information
6*2f531595SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*2f531595SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*2f531595SAndrew Rist * "License"); you may not use this file except in compliance
9*2f531595SAndrew Rist * with the License.  You may obtain a copy of the License at
10*2f531595SAndrew Rist *
11*2f531595SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*2f531595SAndrew Rist *
13*2f531595SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*2f531595SAndrew Rist * software distributed under the License is distributed on an
15*2f531595SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*2f531595SAndrew Rist * KIND, either express or implied.  See the License for the
17*2f531595SAndrew Rist * specific language governing permissions and limitations
18*2f531595SAndrew Rist * under the License.
19*2f531595SAndrew Rist *
20*2f531595SAndrew Rist *************************************************************/
21*2f531595SAndrew Rist
22*2f531595SAndrew Rist
23cdf0e10cSrcweir#include "tp_DataSource.hrc"
24cdf0e10cSrcweir#include "HelpIds.hrc"
25cdf0e10cSrcweir
26cdf0e10cSrcweirTabPage TP_DATA_SOURCE
27cdf0e10cSrcweir{
28cdf0e10cSrcweir    HelpID = "chart2:TabPage:TP_DATA_SOURCE";
29cdf0e10cSrcweir    Hide = TRUE;
30cdf0e10cSrcweir    Size = MAP_APPFONT ( 248, 140 );
31cdf0e10cSrcweir    SVLook = TRUE ;
32cdf0e10cSrcweir
33cdf0e10cSrcweir    // ----------------------------------------
34cdf0e10cSrcweir
35cdf0e10cSrcweir    FixedText FT_CAPTION_FOR_WIZARD
36cdf0e10cSrcweir    {
37cdf0e10cSrcweir        Pos = MAP_APPFONT ( 5 , 8  ) ;
38cdf0e10cSrcweir        Size = MAP_APPFONT ( 238 , 10 ) ;
39cdf0e10cSrcweir        Text [ en-US ] = "Customize data ranges for individual data series" ;
40cdf0e10cSrcweir    };
41cdf0e10cSrcweir
42cdf0e10cSrcweir    FixedText FT_SERIES
43cdf0e10cSrcweir    {
44cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 6 , 22  );
45cdf0e10cSrcweir        Size = MAP_APPFONT ( 72 , 8 );
46cdf0e10cSrcweir
47cdf0e10cSrcweir        Text [ en-US ] = "Data ~series";
48cdf0e10cSrcweir    };
49cdf0e10cSrcweir    Control LB_SERIES
50cdf0e10cSrcweir    {
51cdf0e10cSrcweir        HelpID = HID_SCH_SERIES_LIST ;
52cdf0e10cSrcweir        Border = TRUE;
53cdf0e10cSrcweir        TabStop = TRUE;
54cdf0e10cSrcweir        // DropDown = FALSE;
55cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 6 , 32  );
56cdf0e10cSrcweir        Size = MAP_APPFONT ( 72 , 69 );
57cdf0e10cSrcweir    };
58cdf0e10cSrcweir
59cdf0e10cSrcweir    FixedText FT_ROLE
60cdf0e10cSrcweir    {
61cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 82 , 22  );
62cdf0e10cSrcweir        Size = MAP_APPFONT ( 160 , 8 );
63cdf0e10cSrcweir
64cdf0e10cSrcweir        Text [ en-US ] = "~Data ranges";
65cdf0e10cSrcweir    };
66cdf0e10cSrcweir    Control LB_ROLE
67cdf0e10cSrcweir    {
68cdf0e10cSrcweir        HelpID = HID_SCH_DATA_RANGES_LIST ;
69cdf0e10cSrcweir        Border = TRUE;
70cdf0e10cSrcweir        TabStop = TRUE;
71cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 82 , 32  );
72cdf0e10cSrcweir        Size = MAP_APPFONT ( 160 , 43 );
73cdf0e10cSrcweir    };
74cdf0e10cSrcweir
75cdf0e10cSrcweir    // ----------------------------------------
76cdf0e10cSrcweir
77cdf0e10cSrcweir    FixedText FT_RANGE
78cdf0e10cSrcweir    {
79cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 82 , 79  );
80cdf0e10cSrcweir        Size = MAP_APPFONT ( 160 , 8 );
81cdf0e10cSrcweir
82cdf0e10cSrcweir        Text [ en-US ] = "Ran~ge for %VALUETYPE";
83cdf0e10cSrcweir    };
84cdf0e10cSrcweir    Edit EDT_RANGE
85cdf0e10cSrcweir    {
86cdf0e10cSrcweir        HelpID = "chart2:Edit:TP_DATA_SOURCE:EDT_RANGE";
87cdf0e10cSrcweir        Border = TRUE;
88cdf0e10cSrcweir        TabStop = TRUE;
89cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 82 , 89  );
90cdf0e10cSrcweir        Size = MAP_APPFONT ( 144 , 12 );
91cdf0e10cSrcweir    };
92cdf0e10cSrcweir    ImageButton IMB_RANGE_MAIN
93cdf0e10cSrcweir    {
94cdf0e10cSrcweir        HelpID = "chart2:ImageButton:TP_DATA_SOURCE:IMB_RANGE_MAIN";
95cdf0e10cSrcweir        TabStop = TRUE;
96cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 228 , 88  );
97cdf0e10cSrcweir        Size = MAP_APPFONT ( 14 , 14 );
98cdf0e10cSrcweir    };
99cdf0e10cSrcweir
100cdf0e10cSrcweir    // ----------------------------------------
101cdf0e10cSrcweir
102cdf0e10cSrcweir    FixedText FT_CATEGORIES
103cdf0e10cSrcweir    {
104cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 82 , 107  );
105cdf0e10cSrcweir        Size = MAP_APPFONT ( 160 , 8 );
106cdf0e10cSrcweir
107cdf0e10cSrcweir        Text [ en-US ] = "~Categories";
108cdf0e10cSrcweir    };
109cdf0e10cSrcweir
110cdf0e10cSrcweir    FixedText FT_DATALABELS
111cdf0e10cSrcweir    {
112cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 82 , 107  );
113cdf0e10cSrcweir        Size = MAP_APPFONT ( 160 , 8 );
114cdf0e10cSrcweir
115cdf0e10cSrcweir        Text [ en-US ] = "Data ~labels" ;
116cdf0e10cSrcweir    };
117cdf0e10cSrcweir
118cdf0e10cSrcweir    Edit EDT_CATEGORIES
119cdf0e10cSrcweir    {
120cdf0e10cSrcweir        HelpID = "chart2:Edit:TP_DATA_SOURCE:EDT_CATEGORIES";
121cdf0e10cSrcweir        Border = TRUE;
122cdf0e10cSrcweir        TabStop = TRUE;
123cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 82 , 117  );
124cdf0e10cSrcweir        Size = MAP_APPFONT ( 144 , 12 );
125cdf0e10cSrcweir    };
126cdf0e10cSrcweir    ImageButton IMB_RANGE_CAT
127cdf0e10cSrcweir    {
128cdf0e10cSrcweir        HelpID = "chart2:ImageButton:TP_DATA_SOURCE:IMB_RANGE_CAT";
129cdf0e10cSrcweir        TabStop = TRUE;
130cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 228 , 116  );
131cdf0e10cSrcweir        Size = MAP_APPFONT ( 14 , 14 );
132cdf0e10cSrcweir    };
133cdf0e10cSrcweir
134cdf0e10cSrcweir    // ----------------------------------------
135cdf0e10cSrcweir
136cdf0e10cSrcweir    PushButton BTN_ADD
137cdf0e10cSrcweir    {
138cdf0e10cSrcweir        HelpID = "chart2:PushButton:TP_DATA_SOURCE:BTN_ADD";
139cdf0e10cSrcweir        TabStop = TRUE;
140cdf0e10cSrcweir        Disable = FALSE;
141cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 6 , 105  );
142cdf0e10cSrcweir        Size = MAP_APPFONT ( 54 , 14 );
143cdf0e10cSrcweir
144cdf0e10cSrcweir        Text [ en-US ] = "~Add";
145cdf0e10cSrcweir    };
146cdf0e10cSrcweir    PushButton BTN_REMOVE
147cdf0e10cSrcweir    {
148cdf0e10cSrcweir        HelpID = "chart2:PushButton:TP_DATA_SOURCE:BTN_REMOVE";
149cdf0e10cSrcweir        TabStop = TRUE;
150cdf0e10cSrcweir        Disable = TRUE;
151cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 6 , 121  );
152cdf0e10cSrcweir        Size = MAP_APPFONT ( 54 , 14 );
153cdf0e10cSrcweir
154cdf0e10cSrcweir        Text [ en-US ] = "~Remove";
155cdf0e10cSrcweir    };
156cdf0e10cSrcweir
157cdf0e10cSrcweir    // Note: Text is only a black triangle symbol
158cdf0e10cSrcweir    PushButton BTN_UP
159cdf0e10cSrcweir    {
160cdf0e10cSrcweir        HelpID = "chart2:PushButton:TP_DATA_SOURCE:BTN_UP";
161cdf0e10cSrcweir        TabStop = TRUE;
162cdf0e10cSrcweir        Disable = TRUE;
163cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 64 , 105  );
164cdf0e10cSrcweir        Size = MAP_APPFONT ( 14 , 14 );
165cdf0e10cSrcweir    };
166cdf0e10cSrcweir
167cdf0e10cSrcweir    // Note: Text is only a black triangle symbol
168cdf0e10cSrcweir    PushButton BTN_DOWN
169cdf0e10cSrcweir    {
170cdf0e10cSrcweir        HelpID = "chart2:PushButton:TP_DATA_SOURCE:BTN_DOWN";
171cdf0e10cSrcweir        TabStop = TRUE;
172cdf0e10cSrcweir        Disable = TRUE;
173cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 64 , 121  );
174cdf0e10cSrcweir        Size = MAP_APPFONT ( 14 , 14 );
175cdf0e10cSrcweir    };
176cdf0e10cSrcweir};
177