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