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_DataLabel_tmpl.hrc,v $
10 * $Revision: 1.11.20.2 $
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_DATALABEL_HXX
31 #define _CHART2_RESOURCE_DATALABEL_HXX
33 #include "HelpIds.hrc"
34 #include "res_DataLabel_IDs.hrc"
37 StringList [ en-US ] = \
55 #define RESOURCE_DATALABEL( xpos, ypos ) \
56 CheckBox CB_VALUE_AS_NUMBER \
58 HelpID = HID_SCH_DATALABEL_VALUE; \
59 Pos = MAP_APPFONT ( xpos , ypos ) ; \
60 Size = MAP_APPFONT ( 136 , 10 ) ; \
62 Text [ en-US ] = "Show value as ~number" ; \
64 PushButton PB_NUMBERFORMAT \
66 HelpID = HID_SCH_PB_NUMBERFORMAT; \
68 Pos = MAP_APPFONT ( xpos+100 , ypos-3 ) ; \
69 Size = MAP_APPFONT ( 100 , 14 ) ; \
70 Text [ en-US ] = "Number ~format..." ; \
72 CheckBox CB_VALUE_AS_PERCENTAGE \
74 HelpID = HID_SCH_DATALABEL_PERCENT; \
75 Pos = MAP_APPFONT ( xpos , ypos+17 ) ; \
76 Size = MAP_APPFONT ( 136 , 10 ) ; \
78 Text [ en-US ] = "Show value as ~percentage" ; \
80 PushButton PB_PERCENT_NUMBERFORMAT \
82 HelpID = HID_SCH_PB_PERCENT_NUMBERFORMAT; \
84 Pos = MAP_APPFONT ( xpos+100 , ypos+17-3 ) ; \
85 Size = MAP_APPFONT ( 100 , 14 ) ; \
86 Text [ en-US ] = "Percentage f~ormat..." ; \
88 CheckBox CB_CATEGORY \
90 HelpID = HID_SCH_DATALABEL_TEXT; \
91 Pos = MAP_APPFONT ( xpos , ypos+33 ); \
92 Size = MAP_APPFONT ( 254 , 10 ); \
94 Text [ en-US ] = "Show ~category"; \
98 HelpID = HID_SCH_DATALABEL_SYMBOL; \
99 Pos = MAP_APPFONT ( xpos , ypos+49 ) ; \
100 Size = MAP_APPFONT ( 254 , 10 ) ; \
102 Text [ en-US ] = "Show ~legend key" ; \
104 FixedText FT_LABEL_PLACEMENT \
106 Pos = MAP_APPFONT ( xpos , ypos+84 ) ; \
107 Size = MAP_APPFONT ( 182 , 10 ) ; \
109 Text [ en-US ] = "Place~ment"; \
111 ListBox LB_LABEL_PLACEMENT \
113 HelpID = HID_SCH_DATALABEL_PLACEMENT; \
115 AutoHScroll = TRUE ; \
116 Pos = MAP_APPFONT ( xpos+100 , ypos+82 ) ; \
117 Size = MAP_APPFONT ( 89 , 12 ) ; \
121 DDExtraWidth = TRUE ; \
124 FixedLine FL_LABEL_ROTATE \
126 Pos = MAP_APPFONT ( xpos, ypos+103 ) ; \
127 Size = MAP_APPFONT ( 248, 8 ) ; \
128 Text [ en-US ] = "Rotate Text" ; \
130 Control CT_LABEL_DIAL \
132 HelpId = HID_SCH_DATALABEL_ROTATION_KNOB ; \
133 Pos = MAP_APPFONT ( xpos+6 , ypos+116 ) ; \
134 Size = MAP_APPFONT ( 43 , 43 ) ; \
137 FixedText FT_LABEL_DEGREES \
139 Pos = MAP_APPFONT ( xpos+87 , ypos+133 ) ; \
140 Size = MAP_APPFONT ( 46, 8 ) ; \
141 Text [ en-US ] = "~Degrees" ; \
143 NumericField NF_LABEL_DEGREES \
145 HelpId = HID_SCH_DATALABEL_ROTATION_EDIT ; \
146 Pos = MAP_APPFONT ( xpos+55 , ypos+131 ) ; \
147 Size = MAP_APPFONT ( 28 , 12 ) ; \
156 FixedText FT_LABEL_TEXTDIR \
158 Pos = MAP_APPFONT ( xpos , ypos+162 ) ; \
159 Size = MAP_APPFONT ( 64 , 8 ) ; \
160 Text [ en-US ] = "Te~xt direction" ; \
162 ListBox LB_LABEL_TEXTDIR \
164 HelpID = HID_SCH_TEXTDIRECTION; \
165 Pos = MAP_APPFONT ( xpos+66 , ypos+160 ) ; \
166 Size = MAP_APPFONT ( 170 , 100 ) ; \