templdlg.src (acbf353a) templdlg.src (745cba7f)
1/**************************************************************
1/**************************************************************
2 *
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
10 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
19 *
20 *************************************************************/
21
22
20 *************************************************************/
21
22
23 // include ---------------------------------------------------------------
23
24// include ---------------------------------------------------------------
24#include <sfx2/sfx.hrc>
25#include "dialog.hrc"
26#include "templdlg.hrc"
27#include "helpid.hrc"
28
29ImageList DLG_STYLE_DESIGNER
30{
25#include <sfx2/sfx.hrc>
26#include "dialog.hrc"
27#include "templdlg.hrc"
28#include "helpid.hrc"
29
30ImageList DLG_STYLE_DESIGNER
31{
31 Prefix = "sc";
32 MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
32 Prefix = "sc" ;
33 MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; } ;
33 IdList =
34 {
35 SID_STYLE_WATERCAN ;
36 SID_STYLE_NEW_BY_EXAMPLE ;
37 SID_STYLE_UPDATE_BY_EXAMPLE ;
38 };
34 IdList =
35 {
36 SID_STYLE_WATERCAN ;
37 SID_STYLE_NEW_BY_EXAMPLE ;
38 SID_STYLE_UPDATE_BY_EXAMPLE ;
39 };
39 IdCount = { 3 ; };
40 IdCount = { 3 ; } ;
40};
41ImageList IMG_LST_STYLE_DESIGNER_HC
42{
41};
42ImageList IMG_LST_STYLE_DESIGNER_HC
43{
43 Prefix = "sch";
44 MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
44 Prefix = "sch" ;
45 MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; } ;
45 IdList =
46 {
47 SID_STYLE_WATERCAN ;
48 SID_STYLE_NEW_BY_EXAMPLE ;
49 SID_STYLE_UPDATE_BY_EXAMPLE ;
50 };
46 IdList =
47 {
48 SID_STYLE_WATERCAN ;
49 SID_STYLE_NEW_BY_EXAMPLE ;
50 SID_STYLE_UPDATE_BY_EXAMPLE ;
51 };
51 IdCount = { 3 ; };
52 IdCount = { 3 ; } ;
52};
53};
53 // RID_STYLECATALOG ------------------------------------------------------
54// RID_STYLECATALOG ------------------------------------------------------
54ModalDialog RID_STYLECATALOG
55{
56 HelpId = CMD_SID_STYLE_CATALOG ;
57 OutputSize = TRUE ;
58 SVLook = TRUE ;
55ModalDialog RID_STYLECATALOG
56{
57 HelpId = CMD_SID_STYLE_CATALOG ;
58 OutputSize = TRUE ;
59 SVLook = TRUE ;
59 Size = MAP_APPFONT ( 181 , 134 ) ;
60 Size = MAP_APPFONT ( 181, 134 ) ;
60 Text [ en-US ] = "Style Catalog" ;
61 Moveable = TRUE ;
62 OKButton BT_OK
63 {
64 DefButton = TRUE ;
61 Text [ en-US ] = "Style Catalog" ;
62 Moveable = TRUE ;
63 OKButton BT_OK
64 {
65 DefButton = TRUE ;
65 Pos = MAP_APPFONT ( 123 , 6 ) ;
66 Size = MAP_APPFONT ( 50 , 14 ) ;
66 Pos = MAP_APPFONT ( 123, 6 ) ;
67 Size = MAP_APPFONT ( 50, 14 ) ;
67 TabStop = TRUE ;
68 };
69 CancelButton BT_CANCEL
70 {
68 TabStop = TRUE ;
69 };
70 CancelButton BT_CANCEL
71 {
71 Pos = MAP_APPFONT ( 123 , 23 ) ;
72 Size = MAP_APPFONT ( 50 , 14 ) ;
72 Pos = MAP_APPFONT ( 123, 23 ) ;
73 Size = MAP_APPFONT ( 50, 14 ) ;
73 TabStop = TRUE ;
74 };
75 PushButton BT_ORG
76 {
74 TabStop = TRUE ;
75 };
76 PushButton BT_ORG
77 {
77 HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_ORG";
78 Pos = MAP_APPFONT ( 123 , 97 ) ;
79 Size = MAP_APPFONT ( 50 , 14 ) ;
78 HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_ORG" ;
79 Pos = MAP_APPFONT ( 123, 97 ) ;
80 Size = MAP_APPFONT ( 50, 14 ) ;
80 Text [ en-US ] = "~Organizer..." ;
81 TabStop = TRUE ;
82 };
83 PushButton BT_DEL
84 {
81 Text [ en-US ] = "~Organizer..." ;
82 TabStop = TRUE ;
83 };
84 PushButton BT_DEL
85 {
85 HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_DEL";
86 Pos = MAP_APPFONT ( 123 , 78 ) ;
87 Size = MAP_APPFONT ( 50 , 14 ) ;
86 HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_DEL" ;
87 Pos = MAP_APPFONT ( 123, 78 ) ;
88 Size = MAP_APPFONT ( 50, 14 ) ;
88 Text [ en-US ] = "~Delete..." ;
89 TabStop = TRUE ;
90 };
91 PushButton BT_EDIT
92 {
89 Text [ en-US ] = "~Delete..." ;
90 TabStop = TRUE ;
91 };
92 PushButton BT_EDIT
93 {
93 HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_EDIT";
94 Pos = MAP_APPFONT ( 123 , 60 ) ;
95 Size = MAP_APPFONT ( 50 , 14 ) ;
94 HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_EDIT" ;
95 Pos = MAP_APPFONT ( 123, 60 ) ;
96 Size = MAP_APPFONT ( 50, 14 ) ;
96 Text [ en-US ] = "~Modify..." ;
97 TabStop = TRUE ;
98 };
99 PushButton BT_NEW
100 {
97 Text [ en-US ] = "~Modify..." ;
98 TabStop = TRUE ;
99 };
100 PushButton BT_NEW
101 {
101 HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_NEW";
102 Pos = MAP_APPFONT ( 123 , 43 ) ;
103 Size = MAP_APPFONT ( 50 , 14 ) ;
102 HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_NEW" ;
103 Pos = MAP_APPFONT ( 123, 43 ) ;
104 Size = MAP_APPFONT ( 50, 14 ) ;
104 Text [ en-US ] = "~New..." ;
105 TabStop = TRUE ;
106 };
107 HelpButton BT_HELP
108 {
105 Text [ en-US ] = "~New..." ;
106 TabStop = TRUE ;
107 };
108 HelpButton BT_HELP
109 {
109 Pos = MAP_APPFONT ( 123 , 114 ) ;
110 Size = MAP_APPFONT ( 50 , 14 ) ;
110 Pos = MAP_APPFONT ( 123, 114 ) ;
111 Size = MAP_APPFONT ( 50, 14 ) ;
111 TabStop = TRUE ;
112 };
113 ListBox BT_TOOL
114 {
112 TabStop = TRUE ;
113 };
114 ListBox BT_TOOL
115 {
115 HelpID = "sfx2:ListBox:RID_STYLECATALOG:BT_TOOL";
116 HelpID = "sfx2:ListBox:RID_STYLECATALOG:BT_TOOL" ;
116 Border = TRUE ;
117 Border = TRUE ;
117 Pos = MAP_APPFONT ( 6 , 6 ) ;
118 Size = MAP_APPFONT ( 110 , 55 ) ;
118 Pos = MAP_APPFONT ( 6, 6 ) ;
119 Size = MAP_APPFONT ( 110, 55 ) ;
119 TabStop = TRUE ;
120 DropDown = TRUE ;
121 };
122 Control BT_VLIST
123 {
124 HelpId = HID_TEMPLATE_FMT ;
125 Border = TRUE ;
120 TabStop = TRUE ;
121 DropDown = TRUE ;
122 };
123 Control BT_VLIST
124 {
125 HelpId = HID_TEMPLATE_FMT ;
126 Border = TRUE ;
126 Pos = MAP_APPFONT ( 6 , 23 ) ;
127 Size = MAP_APPFONT ( 110 , 89 ) ;
127 Pos = MAP_APPFONT ( 6, 23 ) ;
128 Size = MAP_APPFONT ( 110, 89 ) ;
128 TabStop = TRUE ;
129 };
130 ListBox BT_FLIST
131 {
129 TabStop = TRUE ;
130 };
131 ListBox BT_FLIST
132 {
132 HelpID = "sfx2:ListBox:RID_STYLECATALOG:BT_FLIST";
133 HelpID = "sfx2:ListBox:RID_STYLECATALOG:BT_FLIST" ;
133 Border = TRUE ;
134 Border = TRUE ;
134 Pos = MAP_APPFONT ( 6 , 114 ) ;
135 Size = MAP_APPFONT ( 110 , 77 ) ;
135 Pos = MAP_APPFONT ( 6, 114 ) ;
136 Size = MAP_APPFONT ( 110, 77 ) ;
136 TabStop = TRUE ;
137 Hide = TRUE ;
138 DropDown = TRUE ;
139 };
140};
137 TabStop = TRUE ;
138 Hide = TRUE ;
139 DropDown = TRUE ;
140 };
141};
141 // Strings ---------------------------------------------------------------
142// Strings ---------------------------------------------------------------
142String STR_STYLE_ELEMTLIST
143{
144 Text [ en-US ] = "Style List" ;
145};
146String STR_STYLE_FILTER_HIERARCHICAL
147{
148 Text [ en-US ] = "Hierarchical" ;
149};
143String STR_STYLE_ELEMTLIST
144{
145 Text [ en-US ] = "Style List" ;
146};
147String STR_STYLE_FILTER_HIERARCHICAL
148{
149 Text [ en-US ] = "Hierarchical" ;
150};
150 // DLG_STYLE_DESIGNER ----------------------------------------------------
151// DLG_STYLE_DESIGNER ----------------------------------------------------
151DockingWindow DLG_STYLE_DESIGNER
152{
153 Text [ en-US ] = "Styles and Formatting" ;
154
155 HelpId = CMD_SID_STYLE_DESIGNER ;
156 OutputSize = TRUE ;
157 Hide = TRUE ;
158 SVLook = TRUE ;
152DockingWindow DLG_STYLE_DESIGNER
153{
154 Text [ en-US ] = "Styles and Formatting" ;
155
156 HelpId = CMD_SID_STYLE_DESIGNER ;
157 OutputSize = TRUE ;
158 Hide = TRUE ;
159 SVLook = TRUE ;
159 Size = MAP_APPFONT ( 116 , 215 ) ;
160 Pos = MAP_APPFONT ( 0 , 0 ) ;
160 Size = MAP_APPFONT ( 116, 215 ) ;
161 Pos = MAP_APPFONT ( 0, 0 ) ;
161 Closeable = TRUE ;
162 Zoomable = TRUE ;
163 Sizeable = TRUE ;
164 Dockable = TRUE ;
165 EnableResizing = TRUE ;
162 Closeable = TRUE ;
163 Zoomable = TRUE ;
164 Sizeable = TRUE ;
165 Dockable = TRUE ;
166 EnableResizing = TRUE ;
166 // HideWhenDeactivate = TRUE;
167 // HideWhenDeactivate = TRUE ;
167 Border = TRUE ;
168 Moveable = TRUE ;
169 ToolBox TB_ACTION
170 {
168 Border = TRUE ;
169 Moveable = TRUE ;
170 ToolBox TB_ACTION
171 {
171 Pos = MAP_APPFONT ( 3 , 3 ) ;
172 Size = MAP_APPFONT ( 57 , 42 ) ;
172 Pos = MAP_APPFONT ( 3, 3 ) ;
173 Size = MAP_APPFONT ( 57, 42 ) ;
173 LineCount = 1 ;
174 ItemImageList = DLG_STYLE_DESIGNER ;
175 HelpId = HID_TEMPLDLG_TOOLBOX_RIGHT ;
176 ItemList =
177 {
178 ToolBoxItem
179 {
180 HelpId = HID_TEMPLDLG_WATERCAN ;

--- 11 unchanged lines hidden (view full) ---

192 HelpId = HID_TEMPLDLG_UPDATEBYEXAMPLE ;
193 Identifier = SID_STYLE_UPDATE_BY_EXAMPLE ;
194 Text [ en-US ] = "Update Style" ;
195 };
196 };
197 };
198};
199
174 LineCount = 1 ;
175 ItemImageList = DLG_STYLE_DESIGNER ;
176 HelpId = HID_TEMPLDLG_TOOLBOX_RIGHT ;
177 ItemList =
178 {
179 ToolBoxItem
180 {
181 HelpId = HID_TEMPLDLG_WATERCAN ;

--- 11 unchanged lines hidden (view full) ---

193 HelpId = HID_TEMPLDLG_UPDATEBYEXAMPLE ;
194 Identifier = SID_STYLE_UPDATE_BY_EXAMPLE ;
195 Text [ en-US ] = "Update Style" ;
196 };
197 };
198 };
199};
200
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
201// ********************************************************************** EOF