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