xref: /AOO41X/main/chart2/source/controller/dialogs/res_Trendline_tmpl.hrc (revision e38fe63c57a44e8889a36af33f82cca42a95b52a)
1*e38fe63cSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*e38fe63cSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*e38fe63cSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*e38fe63cSAndrew Rist * distributed with this work for additional information
6*e38fe63cSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*e38fe63cSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*e38fe63cSAndrew Rist * "License"); you may not use this file except in compliance
9*e38fe63cSAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11*e38fe63cSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13*e38fe63cSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*e38fe63cSAndrew Rist * software distributed under the License is distributed on an
15*e38fe63cSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*e38fe63cSAndrew Rist * KIND, either express or implied.  See the License for the
17*e38fe63cSAndrew Rist * specific language governing permissions and limitations
18*e38fe63cSAndrew Rist * under the License.
19cdf0e10cSrcweir *
20*e38fe63cSAndrew Rist *************************************************************/
21*e38fe63cSAndrew Rist
22*e38fe63cSAndrew Rist
23cdf0e10cSrcweir#ifndef _CHART2_RESOURCE_TRENDLINE_HXX
24cdf0e10cSrcweir#define _CHART2_RESOURCE_TRENDLINE_HXX
25cdf0e10cSrcweir
26cdf0e10cSrcweir#include "res_Trendline_IDs.hrc"
27cdf0e10cSrcweir#include "HelpIds.hrc"
28cdf0e10cSrcweir
29cdf0e10cSrcweir#define RESOURCE_TRENDLINE(availablewidth, yoffset) \
30cdf0e10cSrcweirFixedLine FL_TYPE \
31cdf0e10cSrcweir{ \
32cdf0e10cSrcweir    Pos = MAP_APPFONT( 6 ,6  ); \
33cdf0e10cSrcweir    Size = MAP_APPFONT( availablewidth - 12 ,8 ); \
34cdf0e10cSrcweir    Text[ en-US ] = "Regression Type"; \
35cdf0e10cSrcweir}; \
36cdf0e10cSrcweirRadioButton RB_NONE \
37cdf0e10cSrcweir{ \
38cdf0e10cSrcweir    HelpId = HID_SCH_TRENDLINE_RB_NONE; \
39cdf0e10cSrcweir    Pos = MAP_APPFONT( 29, 22  ); \
40cdf0e10cSrcweir    Size = MAP_APPFONT( 100, 10 ); \
41cdf0e10cSrcweir    Text[ en-US ] = "~None"; \
42cdf0e10cSrcweir}; \
43cdf0e10cSrcweirRadioButton RB_LINEAR \
44cdf0e10cSrcweir{ \
45cdf0e10cSrcweir    HelpId = HID_SCH_TRENDLINE_RB_LINEAR; \
46cdf0e10cSrcweir    Pos = MAP_APPFONT( 29, 22 + yoffset ); \
47cdf0e10cSrcweir    Size = MAP_APPFONT( 100, 10 ); \
48cdf0e10cSrcweir    Text[ en-US ] = "~Linear"; \
49cdf0e10cSrcweir}; \
50cdf0e10cSrcweirRadioButton RB_LOGARITHMIC \
51cdf0e10cSrcweir{ \
52cdf0e10cSrcweir    HelpId = HID_SCH_TRENDLINE_RB_LOGARITHMIC; \
53cdf0e10cSrcweir    Pos = MAP_APPFONT( 29, 44  + yoffset ); \
54cdf0e10cSrcweir    Size = MAP_APPFONT( 100, 10 ); \
55cdf0e10cSrcweir    Text[ en-US ] = "L~ogarithmic"; \
56cdf0e10cSrcweir}; \
57cdf0e10cSrcweirRadioButton RB_EXPONENTIAL \
58cdf0e10cSrcweir{ \
59cdf0e10cSrcweir    HelpId = HID_SCH_TRENDLINE_RB_EXPONENTIAL; \
60cdf0e10cSrcweir    Pos = MAP_APPFONT( 29, 66 + yoffset  ); \
61cdf0e10cSrcweir    Size = MAP_APPFONT( 100, 10 ); \
62cdf0e10cSrcweir    Text[ en-US ] = "E~xponential"; \
63cdf0e10cSrcweir}; \
64cdf0e10cSrcweirRadioButton RB_POWER \
65cdf0e10cSrcweir{ \
66cdf0e10cSrcweir    HelpId = HID_SCH_TRENDLINE_RB_POWER; \
67cdf0e10cSrcweir    Pos = MAP_APPFONT( 29, 88 + yoffset ); \
68cdf0e10cSrcweir    Size = MAP_APPFONT( 100, 10 ); \
69cdf0e10cSrcweir    Text[ en-US ] = "~Power"; \
70cdf0e10cSrcweir}; \
71cdf0e10cSrcweirFixedImage FI_NONE \
72cdf0e10cSrcweir{ \
73cdf0e10cSrcweir    Pos = MAP_APPFONT( 10, 18 ); \
74cdf0e10cSrcweir    Size = MAP_APPFONT( 18, 18 ); \
75cdf0e10cSrcweir}; \
76cdf0e10cSrcweirFixedImage FI_LINEAR \
77cdf0e10cSrcweir{ \
78cdf0e10cSrcweir    Pos = MAP_APPFONT( 10, 18 + yoffset ); \
79cdf0e10cSrcweir    Size = MAP_APPFONT( 18, 18 ); \
80cdf0e10cSrcweir}; \
81cdf0e10cSrcweirFixedImage FI_LOGARITHMIC \
82cdf0e10cSrcweir{ \
83cdf0e10cSrcweir    Pos = MAP_APPFONT( 10, 40 + yoffset ); \
84cdf0e10cSrcweir    Size = MAP_APPFONT( 18, 18 ); \
85cdf0e10cSrcweir}; \
86cdf0e10cSrcweirFixedImage FI_EXPONENTIAL \
87cdf0e10cSrcweir{ \
88cdf0e10cSrcweir    Pos = MAP_APPFONT( 10, 62 + yoffset ); \
89cdf0e10cSrcweir    Size = MAP_APPFONT( 18, 18 ); \
90cdf0e10cSrcweir}; \
91cdf0e10cSrcweirFixedImage FI_POWER \
92cdf0e10cSrcweir{ \
93cdf0e10cSrcweir    Pos = MAP_APPFONT( 10, 84 + yoffset ); \
94cdf0e10cSrcweir    Size = MAP_APPFONT( 18, 18 ); \
95cdf0e10cSrcweir}; \
96cdf0e10cSrcweirFixedLine FL_EQUATION \
97cdf0e10cSrcweir{ \
98cdf0e10cSrcweir    Pos = MAP_APPFONT( 6, 108 + yoffset ); \
99cdf0e10cSrcweir    Size = MAP_APPFONT( availablewidth - 12, 8 ); \
100cdf0e10cSrcweir    Text[ en-US ] = "Equation"; \
101cdf0e10cSrcweir}; \
102cdf0e10cSrcweirCheckBox CB_SHOW_EQUATION \
103cdf0e10cSrcweir{ \
104cdf0e10cSrcweir    HelpId = HID_SCH_TRENDLINE_SHOW_EQUATION; \
105cdf0e10cSrcweir    Pos = MAP_APPFONT( 10, 120 + yoffset ); \
106cdf0e10cSrcweir    Size = MAP_APPFONT( availablewidth - 20, 10 ); \
107cdf0e10cSrcweir    TabStop = TRUE; \
108cdf0e10cSrcweir    Text[ en-US ] = "Show ~equation"; \
109cdf0e10cSrcweir}; \
110cdf0e10cSrcweirCheckBox CB_SHOW_CORRELATION_COEFF \
111cdf0e10cSrcweir{ \
112cdf0e10cSrcweir    HelpId = HID_SCH_TRENDLINE_SHOW_R_SQUARED; \
113cdf0e10cSrcweir    Pos = MAP_APPFONT( 10, 134 + yoffset ); \
114cdf0e10cSrcweir    Size = MAP_APPFONT( availablewidth - 20, 10 ); \
115cdf0e10cSrcweir    TabStop = TRUE; \
116cdf0e10cSrcweir    Text[ en-US ] = "Show ~coefficient of determination (R²)"; \
117cdf0e10cSrcweir};
118cdf0e10cSrcweir
119cdf0e10cSrcweir#endif
120