diff options
Diffstat (limited to 'chart2/source/controller/dialogs/res_ErrorBar_tmpl.hrc')
-rw-r--r-- | chart2/source/controller/dialogs/res_ErrorBar_tmpl.hrc | 228 |
1 files changed, 228 insertions, 0 deletions
diff --git a/chart2/source/controller/dialogs/res_ErrorBar_tmpl.hrc b/chart2/source/controller/dialogs/res_ErrorBar_tmpl.hrc new file mode 100644 index 000000000000..0f4cf70e30c7 --- /dev/null +++ b/chart2/source/controller/dialogs/res_ErrorBar_tmpl.hrc @@ -0,0 +1,228 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _CHART2_RESOURCE_ERRORBARS_HXX +#define _CHART2_RESOURCE_ERRORBARS_HXX + +#include "res_ErrorBar_IDs.hrc" +#define WORKAROUND \ +StringList [ en-US ] = \ + { \ + < "Standard Error" ; CHART_LB_FUNCTION_STD_ERROR ; >; \ + < "Standard Deviation" ; CHART_LB_FUNCTION_STD_DEV ; >; \ + < "Variance" ; CHART_LB_FUNCTION_VARIANCE ; >; \ + < "Error Margin" ; CHART_LB_FUNCTION_ERROR_MARGIN ; >; \ + }; + + +#define RESOURCE_ERRORBARS(availablewidth, yoffset) \ +FixedLine FL_ERROR \ +{ \ + Pos = MAP_APPFONT ( 6 , 6 ) ; \ + Size = MAP_APPFONT ( 116 , 8 ) ; \ + Text [ en-US ] = "Error Category" ; \ +}; \ +RadioButton RB_NONE \ +{ \ + HelpID = HID_SCH_STATISTIK_NO_ERROR; \ + Pos = MAP_APPFONT ( 12 , 20 ) ; \ + Size = MAP_APPFONT ( 110 , 10 ) ; \ + Text [ en-US ] = "~None" ; \ + TabStop = TRUE ; \ +}; \ +RadioButton RB_CONST \ +{ \ + HelpID = HID_SCH_STATISTIK_CONSTERROR; \ + Pos = MAP_APPFONT ( 12 , 20 + yoffset ) ; \ + Size = MAP_APPFONT ( 110 , 10 ) ; \ + Text [ en-US ] = "~Constant Value" ; \ + TabStop = TRUE ; \ +}; \ +RadioButton RB_PERCENT \ +{ \ + HelpID = HID_SCH_STATISTIK_PERCENT; \ + Pos = MAP_APPFONT ( 12 , 34 + yoffset ) ; \ + Size = MAP_APPFONT ( 110 , 10 ) ; \ + Text [ en-US ] = "~Percentage" ; \ + TabStop = TRUE ; \ +}; \ +RadioButton RB_FUNCTION \ +{ \ + HelpID = HID_SCH_STATISTIK_FUNCTION; \ + Pos = MAP_APPFONT ( 12 , 48 + yoffset ) ; \ + Size = MAP_APPFONT ( 12 , 10 ) ; \ + Text [ en-US ] = "" ; \ + TabStop = TRUE ; \ +}; \ +RadioButton RB_RANGE \ +{ \ + HelpID = HID_SCH_STATISTIK_RANGE; \ + Pos = MAP_APPFONT( 12, 62 + yoffset ) ; \ + Size = MAP_APPFONT( 110, 10 ) ; \ + Text [ en-US ] = "Cell ~Range" ; \ + TabStop = TRUE ; \ +}; \ +ListBox LB_FUNCTION \ +{ \ + HelpID = HID_SCH_STATISTIK_FUNCTION_LB; \ + Pos = MAP_APPFONT ( 22 , 46 + yoffset ) ; \ + Size = MAP_APPFONT ( 94 , 59 ) ; \ + DropDown = TRUE; \ + Border = TRUE; \ + WORKAROUND\ +}; \ +FixedLine FL_PARAMETERS \ +{ \ + Pos = MAP_APPFONT ( 6 , 82 + yoffset ) ; \ + Size = MAP_APPFONT ( availablewidth - 12, 8 ) ; \ + Text [ en-US ] = "Parameters" ; \ +}; \ +FixedText FT_POSITIVE \ +{ \ + Pos = MAP_APPFONT ( 12 , 94 + yoffset ) ; \ + Size = MAP_APPFONT ( 46 , 8 ) ; \ + Text [ en-US ] = "P~ositive (+)"; \ +}; \ +MetricField MF_POSITIVE \ +{ \ + HelpID = HID_SCH_STATISTIK_POSITIVE_VALUE; \ + Border = TRUE ; \ + Pos = MAP_APPFONT ( 60 , 92 + yoffset ) ; \ + Size = MAP_APPFONT ( 56 , 12 ) ; \ + TabStop = TRUE ; \ + Repeat = TRUE ; \ + Spin = TRUE ; \ + Minimum = 0 ; \ + StrictFormat = TRUE ; \ + Unit = FUNIT_CUSTOM ; \ + SpinSize = 100 ; \ + DecimalDigits = 2 ; \ +}; \ +Edit ED_RANGE_POSITIVE \ +{ \ + HelpID = HID_SCH_STATISTIK_POSITIVE_RANGE; \ + Border = TRUE ; \ + Hide = TRUE; \ + Pos = MAP_APPFONT ( 60 , 92 + yoffset ) ; \ + Size = MAP_APPFONT ( 90 , 12 ) ; \ +}; \ +ImageButton IB_RANGE_POSITIVE \ +{ \ + HelpID = HID_SCH_STATISTIK_POSITIVE_RANGE_CHOOSER; \ + Hide = TRUE; \ + Pos = MAP_APPFONT ( 152 , 91 + yoffset ) ; \ + Size = MAP_APPFONT ( 14 , 14 ) ; \ + TabStop = TRUE ; \ +}; \ +FixedText FT_NEGATIVE \ +{ \ + Pos = MAP_APPFONT ( 12 , 110 + yoffset ) ; \ + Size = MAP_APPFONT ( 46 , 8 ) ; \ + Text [ en-US ] = "~Negative (-)"; \ +}; \ +MetricField MF_NEGATIVE \ +{ \ + HelpID = HID_SCH_STATISTIK_NEGATIVE_VALUE; \ + Border = TRUE ; \ + Pos = MAP_APPFONT ( 60 , 108 + yoffset ) ; \ + Size = MAP_APPFONT ( 56 , 12 ) ; \ + TabStop = TRUE ; \ + Repeat = TRUE ; \ + Spin = TRUE ; \ + Minimum = 0 ; \ + StrictFormat = TRUE ; \ + Unit = FUNIT_CUSTOM ; \ + SpinSize = 100 ; \ + DecimalDigits = 2 ; \ +}; \ +Edit ED_RANGE_NEGATIVE \ +{ \ + HelpID = HID_SCH_STATISTIK_NEGATIVE_RANGE; \ + Border = TRUE ; \ + Hide = TRUE; \ + Pos = MAP_APPFONT ( 60 , 108 + yoffset ) ; \ + Size = MAP_APPFONT ( 90 , 12 ) ; \ +}; \ +ImageButton IB_RANGE_NEGATIVE \ +{ \ + HelpID = HID_SCH_STATISTIK_NEGATIVE_RANGE_CHOOSER; \ + Hide = TRUE; \ + Pos = MAP_APPFONT ( 152 , 107 + yoffset ) ; \ + Size = MAP_APPFONT ( 14 , 14 ) ; \ + TabStop = TRUE ; \ +}; \ +CheckBox CB_SYN_POS_NEG \ +{ \ + HelpID = HID_SCH_STATISTIK_SAME_FOR_BOTH; \ + Pos = MAP_APPFONT ( 12 , 126 + yoffset ); \ + Size = MAP_APPFONT ( availablewidth - 12 , 10 ); \ + TabStop = TRUE; \ + Text[ en-US ] = "Same value for both"; \ +}; \ +FixedLine FL_INDICATE \ +{ \ + Pos = MAP_APPFONT ( 130 , 6 ) ; \ + Size = MAP_APPFONT ( availablewidth - 136 , 8 ) ; \ + Text [ en-US ] = "Error Indicator" ; \ +}; \ +RadioButton RB_BOTH \ +{ \ + HelpID = HID_SCH_STATISTIK_SHOW_BOTH; \ + Pos = MAP_APPFONT ( 154 , 22 ); \ + Size = MAP_APPFONT ( 90 , 10 ); \ + Text[ en-US ] = "Positive ~and Negative"; \ +}; \ +RadioButton RB_POSITIVE \ +{ \ + HelpID = HID_SCH_STATISTIK_SHOW_POSITIVE; \ + Pos = MAP_APPFONT ( 154 , 43 ); \ + Size = MAP_APPFONT ( 90 , 10 ); \ + Text[ en-US ] = "Pos~itive"; \ +}; \ +RadioButton RB_NEGATIVE \ +{ \ + HelpID = HID_SCH_STATISTIK_SHOW_NEGATIVE; \ + Pos = MAP_APPFONT ( 154 , 64 ); \ + Size = MAP_APPFONT ( 90 , 10 ); \ + Text[ en-US ] = "Ne~gative"; \ +}; \ +FixedImage FI_BOTH \ +{ \ + Pos = MAP_APPFONT ( 134 , 18 ); \ + Size = MAP_APPFONT ( 18 , 18 ); \ +}; \ +FixedImage FI_POSITIVE \ +{ \ + Pos = MAP_APPFONT ( 134 , 39 ); \ + Size = MAP_APPFONT ( 18 , 18 ); \ +}; \ +FixedImage FI_NEGATIVE \ +{ \ + Pos = MAP_APPFONT ( 134 , 60 ); \ + Size = MAP_APPFONT ( 18 , 18 ); \ +}; + +#endif |