xref: /trunk/main/cui/source/dialogs/about.src (revision 599cc5b4)
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 = "http://www.openoffice.org/welcome/credits.html";
73    };
74    String RID_CUI_ABOUT_STR_COPYRIGHT
75    {
76        Text[ en-US ] = "Copyright © 2012 Apache Software Foundation.\nAll rights reserved.\n\nThis product was created by %OOOVENDOR, based on Apache OpenOffice.\nApache OpenOffice acknowledges all community members, especially those mentioned at";
77    };
78};
79
80
81#define TAB_WIDTH   290
82#define TAB_HEIGHT  270
83
84#define CTRL_MARGIN 3
85#define DLG_WIDTH   CTRL_MARGIN + TAB_WIDTH + CTRL_MARGIN
86#define DLG_HEIGHT  CTRL_MARGIN + TAB_HEIGHT + CTRL_MARGIN + BTN_HEIGHT + CTRL_MARGIN
87
88ModalDialog RID_CUI_README_DLG
89{
90    OutputSize = TRUE ;
91    SvLook = TRUE ;
92    Moveable = TRUE ;
93    Closeable = TRUE;
94    Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ;
95    Text [ en-US ] = "Readme, License and Notice" ;
96
97    TabControl RID_CUI_README_TBCTL
98    {
99        OutputSize = TRUE ;
100        Pos = MAP_APPFONT( CTRL_MARGIN , CTRL_MARGIN );
101        Size = MAP_APPFONT( TAB_WIDTH , TAB_HEIGHT );
102        PageList =
103        {
104            PageItem
105            {
106                Identifier = RID_CUI_READMEPAGE ;
107                PageResID = RID_CUI_README_TBPAGE ;
108                Text [ en-US ] = "Readme" ;
109            };
110            PageItem
111            {
112                Identifier = RID_CUI_LICENSEPAGE ;
113                PageResID = RID_CUI_README_TBPAGE ;
114                Text [ en-US ] = "License" ;
115            };
116            PageItem
117            {
118                Identifier = RID_CUI_NOTICEPAGE ;
119                PageResID = RID_CUI_README_TBPAGE ;
120                Text [ en-US ] = "Notice" ;
121            };
122        };
123    };
124
125    OKButton RID_CUI_README_OKBTN
126    {
127        DefButton = TRUE ;
128        Pos = MAP_APPFONT( 0, CTRL_MARGIN + TAB_HEIGHT + CTRL_MARGIN );
129        Size = MAP_APPFONT ( BTN_WIDTH , BTN_HEIGHT ) ;
130    };
131};
132
133TabPage RID_CUI_README_TBPAGE
134{
135    OutputSize = TRUE ;
136    SVLook = TRUE ;
137    Hide = TRUE ;
138    Size = MAP_APPFONT ( TAB_WIDTH , TAB_HEIGHT ) ;
139
140    MultiLineEdit RID_CUI_README_TBPAGE_EDIT
141   {
142        Border = TRUE ;
143        IgnoreTab = TRUE ;
144        ReadOnly = TRUE ;
145        AutoVScroll = TRUE ;
146        Pos = MAP_APPFONT( CTRL_MARGIN , CTRL_MARGIN );
147        Size = MAP_APPFONT( TAB_WIDTH - CTRL_MARGIN - CTRL_MARGIN, TAB_HEIGHT - CTRL_MARGIN - CTRL_MARGIN );
148    };
149};
150
151