xref: /trunk/main/cui/source/dialogs/about.src (revision a3cbd3e50c1a12e759959b66e76b58b3aeb2b2af)
1/**************************************************************
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
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
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.
19 *
20 *************************************************************/
21
22#include "about.hrc"
23
24#define BTN_WIDTH   50
25#define BTN_HEIGHT  14
26
27ModalDialog RID_DEFAULTABOUT
28{
29    HelpID = "cui:ModalDialog:RID_DEFAULTABOUT" ;
30    OutputSize = TRUE ;
31    Moveable = TRUE ;
32    SVLook = TRUE ;
33    Size = MAP_APPFONT ( 200, 150 ) ;
34    Text [ en-US ] = "About %FULLPRODUCTNAME" ;
35    OKButton RID_CUI_ABOUT_BTN_OK
36    {
37        DefButton = TRUE ;
38        Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGHT ) ;
39    };
40    PushButton RID_CUI_ABOUT_BTN_README
41    {
42        DefButton = FALSE ;
43        Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGHT ) ;
44        Text [ en-US ] = "License..." ;
45    };
46    FixedText RID_CUI_ABOUT_FTXT_VERSION
47    {
48        WordBreak = TRUE ;
49        Text = "%FULLPRODUCTNAME %ABOUTBOXPRODUCTVERSION %PRODUCTEXTENSION" ;
50    };
51    MultiLineEdit RID_CUI_ABOUT_FTXT_BUILDDATA
52    {
53        //HelpID = "cui:MultiLineEdit:RID_DEFAULTABOUT:ABOUT_FTXT_BUILDDATA" ;
54        Border = FALSE ;
55        IgnoreTab = TRUE ;
56        ReadOnly = TRUE ;
57        AutoVScroll = FALSE ;
58    };
59    MultiLineEdit RID_CUI_ABOUT_FTXT_COPYRIGHT
60    {
61        HelpID = "cui:MultiLineEdit:RID_DEFAULTABOUT:ABOUT_FTXT_COPYRIGHT" ;
62        Border = FALSE ;
63        IgnoreTab = TRUE ;
64        ReadOnly = TRUE ;
65        AutoVScroll = FALSE ;
66    };
67    FixedText RID_CUI_ABOUT_FTXT_WELCOME_LINK
68    {
69        Left = TRUE ;
70        Text = "https://www.openoffice.org/welcome/credits.html" ;
71    };
72    String RID_CUI_ABOUT_STR_COPYRIGHT_VENDOR
73    {
74        Text = "%OOOVENDOR" ;
75    };
76    String RID_CUI_ABOUT_STR_CREATED
77    {
78        Text [ en-US ] = "This product was created by the OpenOffice community." ;
79    };
80    String RID_CUI_ABOUT_STR_CREATED_VENDOR
81    {
82        Text [ en-US ] = "This product was created by %OOOVENDOR, based on Apache OpenOffice." ;
83    };
84    String RID_CUI_ABOUT_STR_ACKNOWLEDGE
85    {
86        Text [ en-US ] = "The OpenOffice community acknowledges all contributing members, especially those mentioned at" ;
87    };
88};
89
90
91#define TAB_WIDTH   290
92#define TAB_HEIGHT  270
93
94#define CTRL_MARGIN 3
95#define DLG_WIDTH   CTRL_MARGIN + TAB_WIDTH + CTRL_MARGIN
96#define DLG_HEIGHT  CTRL_MARGIN + TAB_HEIGHT + CTRL_MARGIN + BTN_HEIGHT + CTRL_MARGIN
97
98ModalDialog RID_CUI_README_DLG
99{
100    OutputSize = TRUE ;
101    SvLook = TRUE ;
102    Moveable = TRUE ;
103    Closeable = TRUE ;
104    Size = MAP_APPFONT ( DLG_WIDTH, DLG_HEIGHT ) ;
105    Text [ en-US ] = "Readme, License and Notice" ;
106
107    TabControl RID_CUI_README_TBCTL
108    {
109        OutputSize = TRUE ;
110        Pos = MAP_APPFONT ( CTRL_MARGIN, CTRL_MARGIN ) ;
111        Size = MAP_APPFONT ( TAB_WIDTH, TAB_HEIGHT ) ;
112        PageList =
113        {
114            PageItem
115            {
116                Identifier = RID_CUI_READMEPAGE ;
117                PageResID = RID_CUI_README_TBPAGE ;
118                Text [ en-US ] = "Readme" ;
119            };
120            PageItem
121            {
122                Identifier = RID_CUI_LICENSEPAGE ;
123                PageResID = RID_CUI_README_TBPAGE ;
124                Text [ en-US ] = "License" ;
125            };
126            PageItem
127            {
128                Identifier = RID_CUI_NOTICEPAGE ;
129                PageResID = RID_CUI_README_TBPAGE ;
130                Text [ en-US ] = "Notice" ;
131            };
132        };
133    };
134
135    OKButton RID_CUI_README_OKBTN
136    {
137        DefButton = TRUE ;
138        Pos = MAP_APPFONT ( 0, CTRL_MARGIN + TAB_HEIGHT + CTRL_MARGIN ) ;
139        Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGHT ) ;
140    };
141};
142
143TabPage RID_CUI_README_TBPAGE
144{
145    OutputSize = TRUE ;
146    SVLook = TRUE ;
147    Hide = TRUE ;
148    Size = MAP_APPFONT ( TAB_WIDTH, TAB_HEIGHT ) ;
149
150    MultiLineEdit RID_CUI_README_TBPAGE_EDIT
151    {
152        Border = TRUE ;
153        IgnoreTab = TRUE ;
154        ReadOnly = TRUE ;
155        AutoVScroll = TRUE ;
156        Pos = MAP_APPFONT ( CTRL_MARGIN, CTRL_MARGIN ) ;
157        Size = MAP_APPFONT ( TAB_WIDTH - CTRL_MARGIN - CTRL_MARGIN, TAB_HEIGHT - CTRL_MARGIN - CTRL_MARGIN ) ;
158    };
159};
160
161// ********************************************************************** EOF
162