xref: /aoo41x/main/cui/source/dialogs/about.src (revision 325547ba)
10e2af6afSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
30e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
40e2af6afSAndrew Rist * or more contributor license agreements.  See the NOTICE file
50e2af6afSAndrew Rist * distributed with this work for additional information
60e2af6afSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
70e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the
80e2af6afSAndrew Rist * "License"); you may not use this file except in compliance
90e2af6afSAndrew Rist * with the License.  You may obtain a copy of the License at
100e2af6afSAndrew Rist *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
120e2af6afSAndrew Rist *
130e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing,
140e2af6afSAndrew Rist * software distributed under the License is distributed on an
150e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
160e2af6afSAndrew Rist * KIND, either express or implied.  See the License for the
170e2af6afSAndrew Rist * specific language governing permissions and limitations
180e2af6afSAndrew Rist * under the License.
190e2af6afSAndrew Rist *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
220e2af6afSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "about.hrc"
25cdf0e10cSrcweir
26ca04f111SAriel Constenla-Haile#define BTN_WIDTH   50
27ca04f111SAriel Constenla-Haile#define BTN_HEIGHT  14
28ca04f111SAriel Constenla-Haile
29cdf0e10cSrcweirModalDialog RID_DEFAULTABOUT
30cdf0e10cSrcweir{
31cdf0e10cSrcweir    HelpID = "cui:ModalDialog:RID_DEFAULTABOUT";
32cdf0e10cSrcweir    OutputSize = TRUE ;
33cdf0e10cSrcweir    Moveable = TRUE ;
34cdf0e10cSrcweir    SVLook = TRUE ;
35*325547baSAriel Constenla-Haile    Size = MAP_APPFONT ( 200 , 150 ) ;
36cdf0e10cSrcweir    Text [ en-US ] = "About %PRODUCTNAME" ;
3723c0a6f8SAriel Constenla-Haile    OKButton RID_CUI_ABOUT_BTN_OK
38cdf0e10cSrcweir    {
39cdf0e10cSrcweir        DefButton = TRUE ;
40ca04f111SAriel Constenla-Haile        Size = MAP_APPFONT ( BTN_WIDTH , BTN_HEIGHT ) ;
41ca04f111SAriel Constenla-Haile    };
42ca04f111SAriel Constenla-Haile    PushButton RID_CUI_ABOUT_BTN_README
43ca04f111SAriel Constenla-Haile    {
44ca04f111SAriel Constenla-Haile        DefButton = FALSE ;
45ca04f111SAriel Constenla-Haile        Size = MAP_APPFONT ( BTN_WIDTH , BTN_HEIGHT ) ;
46ca04f111SAriel Constenla-Haile        Text [ en-US ] = "License..." ;
47cdf0e10cSrcweir    };
4823c0a6f8SAriel Constenla-Haile    FixedText RID_CUI_ABOUT_FTXT_VERSION
49cdf0e10cSrcweir    {
50cdf0e10cSrcweir        WordBreak = TRUE ;
51cdf0e10cSrcweir        Text = "%PRODUCTNAME %ABOUTBOXPRODUCTVERSION %PRODUCTEXTENSION" ;
52cdf0e10cSrcweir    };
5323c0a6f8SAriel Constenla-Haile    MultiLineEdit RID_CUI_ABOUT_FTXT_BUILDDATA
5423c0a6f8SAriel Constenla-Haile   {
5523c0a6f8SAriel Constenla-Haile        //HelpID = "cui:MultiLineEdit:RID_DEFAULTABOUT:ABOUT_FTXT_BUILDDATA";
5623c0a6f8SAriel Constenla-Haile        Border = FALSE ;
5723c0a6f8SAriel Constenla-Haile        IgnoreTab = TRUE ;
5823c0a6f8SAriel Constenla-Haile        ReadOnly = TRUE ;
5923c0a6f8SAriel Constenla-Haile        AutoVScroll = FALSE ;
6023c0a6f8SAriel Constenla-Haile    };
6123c0a6f8SAriel Constenla-Haile    MultiLineEdit RID_CUI_ABOUT_FTXT_COPYRIGHT
62cdf0e10cSrcweir    {
63cdf0e10cSrcweir        HelpID = "cui:MultiLineEdit:RID_DEFAULTABOUT:ABOUT_FTXT_COPYRIGHT";
64173e4882SAriel Constenla-Haile        Border = FALSE ;
65cdf0e10cSrcweir        IgnoreTab = TRUE ;
66cdf0e10cSrcweir        ReadOnly = TRUE ;
6723c0a6f8SAriel Constenla-Haile        AutoVScroll = FALSE ;
6823c0a6f8SAriel Constenla-Haile    };
6923c0a6f8SAriel Constenla-Haile    FixedText RID_CUI_ABOUT_FTXT_WELCOME_LINK
7023c0a6f8SAriel Constenla-Haile    {
7123c0a6f8SAriel Constenla-Haile        Left = TRUE ;
7223c0a6f8SAriel Constenla-Haile        Text = "http://www.openoffice.org/welcome/credits.html";
73cdf0e10cSrcweir    };
7423c0a6f8SAriel Constenla-Haile    String RID_CUI_ABOUT_STR_COPYRIGHT
75cdf0e10cSrcweir    {
7623c0a6f8SAriel Constenla-Haile        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";
77cdf0e10cSrcweir    };
78ca04f111SAriel Constenla-Haile};
79ca04f111SAriel Constenla-Haile
80ca04f111SAriel Constenla-Haile
81ca04f111SAriel Constenla-Haile#define TAB_WIDTH   290
82ca04f111SAriel Constenla-Haile#define TAB_HEIGHT  270
83ca04f111SAriel Constenla-Haile
84ca04f111SAriel Constenla-Haile#define CTRL_MARGIN 3
85ca04f111SAriel Constenla-Haile#define DLG_WIDTH   CTRL_MARGIN + TAB_WIDTH + CTRL_MARGIN
86ca04f111SAriel Constenla-Haile#define DLG_HEIGHT  CTRL_MARGIN + TAB_HEIGHT + CTRL_MARGIN + BTN_HEIGHT + CTRL_MARGIN
87ca04f111SAriel Constenla-Haile
88ca04f111SAriel Constenla-HaileModalDialog RID_CUI_README_DLG
89ca04f111SAriel Constenla-Haile{
90ca04f111SAriel Constenla-Haile    OutputSize = TRUE ;
91ca04f111SAriel Constenla-Haile    SvLook = TRUE ;
92ca04f111SAriel Constenla-Haile    Moveable = TRUE ;
93ca04f111SAriel Constenla-Haile    Closeable = TRUE;
94ca04f111SAriel Constenla-Haile    Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ;
95ca04f111SAriel Constenla-Haile    Text [ en-US ] = "Readme, License and Notice" ;
96ca04f111SAriel Constenla-Haile
97ca04f111SAriel Constenla-Haile    TabControl RID_CUI_README_TBCTL
98ca04f111SAriel Constenla-Haile    {
99ca04f111SAriel Constenla-Haile        OutputSize = TRUE ;
100ca04f111SAriel Constenla-Haile        Pos = MAP_APPFONT( CTRL_MARGIN , CTRL_MARGIN );
101ca04f111SAriel Constenla-Haile        Size = MAP_APPFONT( TAB_WIDTH , TAB_HEIGHT );
102ca04f111SAriel Constenla-Haile        PageList =
103ca04f111SAriel Constenla-Haile        {
104ca04f111SAriel Constenla-Haile            PageItem
105ca04f111SAriel Constenla-Haile            {
106ca04f111SAriel Constenla-Haile                Identifier = RID_CUI_READMEPAGE ;
107ca04f111SAriel Constenla-Haile                PageResID = RID_CUI_README_TBPAGE ;
108ca04f111SAriel Constenla-Haile                Text [ en-US ] = "Readme" ;
109ca04f111SAriel Constenla-Haile            };
110ca04f111SAriel Constenla-Haile            PageItem
111ca04f111SAriel Constenla-Haile            {
112ca04f111SAriel Constenla-Haile                Identifier = RID_CUI_LICENSEPAGE ;
113ca04f111SAriel Constenla-Haile                PageResID = RID_CUI_README_TBPAGE ;
114ca04f111SAriel Constenla-Haile                Text [ en-US ] = "License" ;
115ca04f111SAriel Constenla-Haile            };
116ca04f111SAriel Constenla-Haile            PageItem
117ca04f111SAriel Constenla-Haile            {
118ca04f111SAriel Constenla-Haile                Identifier = RID_CUI_NOTICEPAGE ;
119ca04f111SAriel Constenla-Haile                PageResID = RID_CUI_README_TBPAGE ;
120ca04f111SAriel Constenla-Haile                Text [ en-US ] = "Notice" ;
121ca04f111SAriel Constenla-Haile            };
122ca04f111SAriel Constenla-Haile        };
123ca04f111SAriel Constenla-Haile    };
124ca04f111SAriel Constenla-Haile
125ca04f111SAriel Constenla-Haile    OKButton RID_CUI_README_OKBTN
126ca04f111SAriel Constenla-Haile    {
127ca04f111SAriel Constenla-Haile        DefButton = TRUE ;
128ca04f111SAriel Constenla-Haile        Pos = MAP_APPFONT( 0, CTRL_MARGIN + TAB_HEIGHT + CTRL_MARGIN );
129ca04f111SAriel Constenla-Haile        Size = MAP_APPFONT ( BTN_WIDTH , BTN_HEIGHT ) ;
130ca04f111SAriel Constenla-Haile    };
131ca04f111SAriel Constenla-Haile};
132ca04f111SAriel Constenla-Haile
133ca04f111SAriel Constenla-HaileTabPage RID_CUI_README_TBPAGE
134ca04f111SAriel Constenla-Haile{
135ca04f111SAriel Constenla-Haile    OutputSize = TRUE ;
136ca04f111SAriel Constenla-Haile    SVLook = TRUE ;
137ca04f111SAriel Constenla-Haile    Hide = TRUE ;
138ca04f111SAriel Constenla-Haile    Size = MAP_APPFONT ( TAB_WIDTH , TAB_HEIGHT ) ;
139ca04f111SAriel Constenla-Haile
140ca04f111SAriel Constenla-Haile    MultiLineEdit RID_CUI_README_TBPAGE_EDIT
141ca04f111SAriel Constenla-Haile   {
142ca04f111SAriel Constenla-Haile        Border = TRUE ;
143ca04f111SAriel Constenla-Haile        IgnoreTab = TRUE ;
144ca04f111SAriel Constenla-Haile        ReadOnly = TRUE ;
145ca04f111SAriel Constenla-Haile        AutoVScroll = TRUE ;
146ca04f111SAriel Constenla-Haile        Pos = MAP_APPFONT( CTRL_MARGIN , CTRL_MARGIN );
147ca04f111SAriel Constenla-Haile        Size = MAP_APPFONT( TAB_WIDTH - CTRL_MARGIN - CTRL_MARGIN, TAB_HEIGHT - CTRL_MARGIN - CTRL_MARGIN );
148ca04f111SAriel Constenla-Haile    };
149cdf0e10cSrcweir};
150cdf0e10cSrcweir
151