/**************************************************************
 * 
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the 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
