1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: res_ErrorBar_tmpl.hrc,v $
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_RESOURCE_ERRORBARS_HXX
31 #define _CHART2_RESOURCE_ERRORBARS_HXX
33 #include "res_ErrorBar_IDs.hrc"
35 StringList [ en-US ] = \
37 < "Standard Error" ; CHART_LB_FUNCTION_STD_ERROR ; >; \
38 < "Standard Deviation" ; CHART_LB_FUNCTION_STD_DEV ; >; \
39 < "Variance" ; CHART_LB_FUNCTION_VARIANCE ; >; \
40 < "Error Margin" ; CHART_LB_FUNCTION_ERROR_MARGIN ; >; \
44 #define RESOURCE_ERRORBARS(availablewidth, yoffset) \
47 Pos = MAP_APPFONT ( 6 , 6 ) ; \
48 Size = MAP_APPFONT ( 116 , 8 ) ; \
49 Text [ en-US ] = "Error Category" ; \
53 HelpID = HID_SCH_STATISTIK_NO_ERROR; \
54 Pos = MAP_APPFONT ( 12 , 20 ) ; \
55 Size = MAP_APPFONT ( 110 , 10 ) ; \
56 Text [ en-US ] = "~None" ; \
59 RadioButton RB_CONST \
61 HelpID = HID_SCH_STATISTIK_CONSTERROR; \
62 Pos = MAP_APPFONT ( 12 , 20 + yoffset ) ; \
63 Size = MAP_APPFONT ( 110 , 10 ) ; \
64 Text [ en-US ] = "~Constant Value" ; \
67 RadioButton RB_PERCENT \
69 HelpID = HID_SCH_STATISTIK_PERCENT; \
70 Pos = MAP_APPFONT ( 12 , 34 + yoffset ) ; \
71 Size = MAP_APPFONT ( 110 , 10 ) ; \
72 Text [ en-US ] = "~Percentage" ; \
75 RadioButton RB_FUNCTION \
77 HelpID = HID_SCH_STATISTIK_FUNCTION; \
78 Pos = MAP_APPFONT ( 12 , 48 + yoffset ) ; \
79 Size = MAP_APPFONT ( 12 , 10 ) ; \
80 Text [ en-US ] = "" ; \
83 RadioButton RB_RANGE \
85 HelpID = HID_SCH_STATISTIK_RANGE; \
86 Pos = MAP_APPFONT( 12, 62 + yoffset ) ; \
87 Size = MAP_APPFONT( 110, 10 ) ; \
88 Text [ en-US ] = "Cell ~Range" ; \
93 HelpID = HID_SCH_STATISTIK_FUNCTION_LB; \
94 Pos = MAP_APPFONT ( 22 , 46 + yoffset ) ; \
95 Size = MAP_APPFONT ( 94 , 59 ) ; \
100 FixedLine FL_PARAMETERS \
102 Pos = MAP_APPFONT ( 6 , 82 + yoffset ) ; \
103 Size = MAP_APPFONT ( availablewidth - 12, 8 ) ; \
104 Text [ en-US ] = "Parameters" ; \
106 FixedText FT_POSITIVE \
108 Pos = MAP_APPFONT ( 12 , 94 + yoffset ) ; \
109 Size = MAP_APPFONT ( 46 , 8 ) ; \
110 Text [ en-US ] = "P~ositive (+)"; \
112 MetricField MF_POSITIVE \
114 HelpID = HID_SCH_STATISTIK_POSITIVE_VALUE; \
116 Pos = MAP_APPFONT ( 60 , 92 + yoffset ) ; \
117 Size = MAP_APPFONT ( 56 , 12 ) ; \
122 StrictFormat = TRUE ; \
123 Unit = FUNIT_CUSTOM ; \
125 DecimalDigits = 2 ; \
127 Edit ED_RANGE_POSITIVE \
129 HelpID = HID_SCH_STATISTIK_POSITIVE_RANGE; \
132 Pos = MAP_APPFONT ( 60 , 92 + yoffset ) ; \
133 Size = MAP_APPFONT ( 90 , 12 ) ; \
135 ImageButton IB_RANGE_POSITIVE \
137 HelpID = HID_SCH_STATISTIK_POSITIVE_RANGE_CHOOSER; \
139 Pos = MAP_APPFONT ( 152 , 91 + yoffset ) ; \
140 Size = MAP_APPFONT ( 14 , 14 ) ; \
143 FixedText FT_NEGATIVE \
145 Pos = MAP_APPFONT ( 12 , 110 + yoffset ) ; \
146 Size = MAP_APPFONT ( 46 , 8 ) ; \
147 Text [ en-US ] = "~Negative (-)"; \
149 MetricField MF_NEGATIVE \
151 HelpID = HID_SCH_STATISTIK_NEGATIVE_VALUE; \
153 Pos = MAP_APPFONT ( 60 , 108 + yoffset ) ; \
154 Size = MAP_APPFONT ( 56 , 12 ) ; \
159 StrictFormat = TRUE ; \
160 Unit = FUNIT_CUSTOM ; \
162 DecimalDigits = 2 ; \
164 Edit ED_RANGE_NEGATIVE \
166 HelpID = HID_SCH_STATISTIK_NEGATIVE_RANGE; \
169 Pos = MAP_APPFONT ( 60 , 108 + yoffset ) ; \
170 Size = MAP_APPFONT ( 90 , 12 ) ; \
172 ImageButton IB_RANGE_NEGATIVE \
174 HelpID = HID_SCH_STATISTIK_NEGATIVE_RANGE_CHOOSER; \
176 Pos = MAP_APPFONT ( 152 , 107 + yoffset ) ; \
177 Size = MAP_APPFONT ( 14 , 14 ) ; \
180 CheckBox CB_SYN_POS_NEG \
182 HelpID = HID_SCH_STATISTIK_SAME_FOR_BOTH; \
183 Pos = MAP_APPFONT ( 12 , 126 + yoffset ); \
184 Size = MAP_APPFONT ( availablewidth - 12 , 10 ); \
186 Text[ en-US ] = "Same value for both"; \
188 FixedLine FL_INDICATE \
190 Pos = MAP_APPFONT ( 130 , 6 ) ; \
191 Size = MAP_APPFONT ( availablewidth - 136 , 8 ) ; \
192 Text [ en-US ] = "Error Indicator" ; \
194 RadioButton RB_BOTH \
196 HelpID = HID_SCH_STATISTIK_SHOW_BOTH; \
197 Pos = MAP_APPFONT ( 154 , 22 ); \
198 Size = MAP_APPFONT ( 90 , 10 ); \
199 Text[ en-US ] = "Positive ~and Negative"; \
201 RadioButton RB_POSITIVE \
203 HelpID = HID_SCH_STATISTIK_SHOW_POSITIVE; \
204 Pos = MAP_APPFONT ( 154 , 43 ); \
205 Size = MAP_APPFONT ( 90 , 10 ); \
206 Text[ en-US ] = "Pos~itive"; \
208 RadioButton RB_NEGATIVE \
210 HelpID = HID_SCH_STATISTIK_SHOW_NEGATIVE; \
211 Pos = MAP_APPFONT ( 154 , 64 ); \
212 Size = MAP_APPFONT ( 90 , 10 ); \
213 Text[ en-US ] = "Ne~gative"; \
217 Pos = MAP_APPFONT ( 134 , 18 ); \
218 Size = MAP_APPFONT ( 18 , 18 ); \
220 FixedImage FI_POSITIVE \
222 Pos = MAP_APPFONT ( 134 , 39 ); \
223 Size = MAP_APPFONT ( 18 , 18 ); \
225 FixedImage FI_NEGATIVE \
227 Pos = MAP_APPFONT ( 134 , 60 ); \
228 Size = MAP_APPFONT ( 18 , 18 ); \