xref: /AOO41X/main/cui/source/dialogs/about.src (revision ca04f1111426b97321f3e097541943417074701d)
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
10cdf0e10cSrcweir *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
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.
19cdf0e10cSrcweir *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
220e2af6afSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "about.hrc"
25cdf0e10cSrcweir
26*ca04f111SAriel Constenla-Haile#define BTN_WIDTH   50
27*ca04f111SAriel Constenla-Haile#define BTN_HEIGHT  14
28*ca04f111SAriel Constenla-Haile
29cdf0e10cSrcweirModalDialog RID_DEFAULTABOUT
30cdf0e10cSrcweir{
31cdf0e10cSrcweir    HelpID = "cui:ModalDialog:RID_DEFAULTABOUT";
32cdf0e10cSrcweir    OutputSize = TRUE ;
33cdf0e10cSrcweir    Moveable = TRUE ;
34cdf0e10cSrcweir    SVLook = TRUE ;
35cdf0e10cSrcweir    Text [ en-US ] = "About %PRODUCTNAME" ;
3623c0a6f8SAriel Constenla-Haile    OKButton RID_CUI_ABOUT_BTN_OK
37cdf0e10cSrcweir    {
38cdf0e10cSrcweir        DefButton = TRUE ;
39*ca04f111SAriel Constenla-Haile        Size = MAP_APPFONT ( BTN_WIDTH , BTN_HEIGHT ) ;
40*ca04f111SAriel Constenla-Haile    };
41*ca04f111SAriel Constenla-Haile    PushButton RID_CUI_ABOUT_BTN_README
42*ca04f111SAriel Constenla-Haile    {
43*ca04f111SAriel Constenla-Haile        DefButton = FALSE ;
44*ca04f111SAriel Constenla-Haile        Size = MAP_APPFONT ( BTN_WIDTH , BTN_HEIGHT ) ;
45*ca04f111SAriel Constenla-Haile        Text [ en-US ] = "License..." ;
46cdf0e10cSrcweir    };
4723c0a6f8SAriel Constenla-Haile    FixedText RID_CUI_ABOUT_FTXT_VERSION
48cdf0e10cSrcweir    {
49cdf0e10cSrcweir        WordBreak = TRUE ;
50cdf0e10cSrcweir        Text = "%PRODUCTNAME %ABOUTBOXPRODUCTVERSION %PRODUCTEXTENSION" ;
51cdf0e10cSrcweir    };
5223c0a6f8SAriel Constenla-Haile    MultiLineEdit RID_CUI_ABOUT_FTXT_BUILDDATA
5323c0a6f8SAriel Constenla-Haile   {
5423c0a6f8SAriel Constenla-Haile        //HelpID = "cui:MultiLineEdit:RID_DEFAULTABOUT:ABOUT_FTXT_BUILDDATA";
5523c0a6f8SAriel Constenla-Haile        Border = FALSE ;
5623c0a6f8SAriel Constenla-Haile        IgnoreTab = TRUE ;
5723c0a6f8SAriel Constenla-Haile        ReadOnly = TRUE ;
5823c0a6f8SAriel Constenla-Haile        AutoVScroll = FALSE ;
5923c0a6f8SAriel Constenla-Haile    };
6023c0a6f8SAriel Constenla-Haile    MultiLineEdit RID_CUI_ABOUT_FTXT_COPYRIGHT
61cdf0e10cSrcweir    {
62cdf0e10cSrcweir        HelpID = "cui:MultiLineEdit:RID_DEFAULTABOUT:ABOUT_FTXT_COPYRIGHT";
63173e4882SAriel Constenla-Haile        Border = FALSE ;
64cdf0e10cSrcweir        IgnoreTab = TRUE ;
65cdf0e10cSrcweir        ReadOnly = TRUE ;
6623c0a6f8SAriel Constenla-Haile        AutoVScroll = FALSE ;
67cdf0e10cSrcweir    };
6823c0a6f8SAriel Constenla-Haile    FixedText RID_CUI_ABOUT_FTXT_WELCOME_LINK
69cdf0e10cSrcweir    {
7023c0a6f8SAriel Constenla-Haile        Left = TRUE ;
7123c0a6f8SAriel Constenla-Haile        Text = "http://www.openoffice.org/welcome/credits.html";
7223c0a6f8SAriel Constenla-Haile    };
7323c0a6f8SAriel Constenla-Haile    String RID_CUI_ABOUT_STR_COPYRIGHT
7423c0a6f8SAriel Constenla-Haile    {
7523c0a6f8SAriel 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";
76cdf0e10cSrcweir    };
77*ca04f111SAriel Constenla-Haile
78*ca04f111SAriel Constenla-Haile    Image RID_CUI_ABOUT_LOGO
79*ca04f111SAriel Constenla-Haile    {
80*ca04f111SAriel Constenla-Haile        ImageBitmap = Bitmap { File = "orb.png"; };
81*ca04f111SAriel Constenla-Haile    };
82*ca04f111SAriel Constenla-Haile};
83*ca04f111SAriel Constenla-Haile
84*ca04f111SAriel Constenla-Haile
85*ca04f111SAriel Constenla-Haile#define TAB_WIDTH   290
86*ca04f111SAriel Constenla-Haile#define TAB_HEIGHT  270
87*ca04f111SAriel Constenla-Haile
88*ca04f111SAriel Constenla-Haile#define CTRL_MARGIN 3
89*ca04f111SAriel Constenla-Haile#define DLG_WIDTH   CTRL_MARGIN + TAB_WIDTH + CTRL_MARGIN
90*ca04f111SAriel Constenla-Haile#define DLG_HEIGHT  CTRL_MARGIN + TAB_HEIGHT + CTRL_MARGIN + BTN_HEIGHT + CTRL_MARGIN
91*ca04f111SAriel Constenla-Haile
92*ca04f111SAriel Constenla-HaileModalDialog RID_CUI_README_DLG
93*ca04f111SAriel Constenla-Haile{
94*ca04f111SAriel Constenla-Haile    OutputSize = TRUE ;
95*ca04f111SAriel Constenla-Haile    SvLook = TRUE ;
96*ca04f111SAriel Constenla-Haile    Moveable = TRUE ;
97*ca04f111SAriel Constenla-Haile    Closeable = TRUE;
98*ca04f111SAriel Constenla-Haile    Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ;
99*ca04f111SAriel Constenla-Haile    Text [ en-US ] = "Readme, License and Notice" ;
100*ca04f111SAriel Constenla-Haile
101*ca04f111SAriel Constenla-Haile    TabControl RID_CUI_README_TBCTL
102*ca04f111SAriel Constenla-Haile    {
103*ca04f111SAriel Constenla-Haile        OutputSize = TRUE ;
104*ca04f111SAriel Constenla-Haile        Pos = MAP_APPFONT( CTRL_MARGIN , CTRL_MARGIN );
105*ca04f111SAriel Constenla-Haile        Size = MAP_APPFONT( TAB_WIDTH , TAB_HEIGHT );
106*ca04f111SAriel Constenla-Haile        PageList =
107*ca04f111SAriel Constenla-Haile        {
108*ca04f111SAriel Constenla-Haile            PageItem
109*ca04f111SAriel Constenla-Haile            {
110*ca04f111SAriel Constenla-Haile                Identifier = RID_CUI_READMEPAGE ;
111*ca04f111SAriel Constenla-Haile                PageResID = RID_CUI_README_TBPAGE ;
112*ca04f111SAriel Constenla-Haile                Text [ en-US ] = "Readme" ;
113*ca04f111SAriel Constenla-Haile            };
114*ca04f111SAriel Constenla-Haile            PageItem
115*ca04f111SAriel Constenla-Haile            {
116*ca04f111SAriel Constenla-Haile                Identifier = RID_CUI_LICENSEPAGE ;
117*ca04f111SAriel Constenla-Haile                PageResID = RID_CUI_README_TBPAGE ;
118*ca04f111SAriel Constenla-Haile                Text [ en-US ] = "License" ;
119*ca04f111SAriel Constenla-Haile            };
120*ca04f111SAriel Constenla-Haile            PageItem
121*ca04f111SAriel Constenla-Haile            {
122*ca04f111SAriel Constenla-Haile                Identifier = RID_CUI_NOTICEPAGE ;
123*ca04f111SAriel Constenla-Haile                PageResID = RID_CUI_README_TBPAGE ;
124*ca04f111SAriel Constenla-Haile                Text [ en-US ] = "Notice" ;
125*ca04f111SAriel Constenla-Haile            };
126*ca04f111SAriel Constenla-Haile        };
127*ca04f111SAriel Constenla-Haile    };
128*ca04f111SAriel Constenla-Haile
129*ca04f111SAriel Constenla-Haile    OKButton RID_CUI_README_OKBTN
130*ca04f111SAriel Constenla-Haile    {
131*ca04f111SAriel Constenla-Haile        DefButton = TRUE ;
132*ca04f111SAriel Constenla-Haile        Pos = MAP_APPFONT( 0, CTRL_MARGIN + TAB_HEIGHT + CTRL_MARGIN );
133*ca04f111SAriel Constenla-Haile        Size = MAP_APPFONT ( BTN_WIDTH , BTN_HEIGHT ) ;
134*ca04f111SAriel Constenla-Haile    };
135*ca04f111SAriel Constenla-Haile};
136*ca04f111SAriel Constenla-Haile
137*ca04f111SAriel Constenla-HaileTabPage RID_CUI_README_TBPAGE
138*ca04f111SAriel Constenla-Haile{
139*ca04f111SAriel Constenla-Haile    OutputSize = TRUE ;
140*ca04f111SAriel Constenla-Haile    SVLook = TRUE ;
141*ca04f111SAriel Constenla-Haile    Hide = TRUE ;
142*ca04f111SAriel Constenla-Haile    Size = MAP_APPFONT ( TAB_WIDTH , TAB_HEIGHT ) ;
143*ca04f111SAriel Constenla-Haile
144*ca04f111SAriel Constenla-Haile    MultiLineEdit RID_CUI_README_TBPAGE_EDIT
145*ca04f111SAriel Constenla-Haile   {
146*ca04f111SAriel Constenla-Haile        Border = TRUE ;
147*ca04f111SAriel Constenla-Haile        IgnoreTab = TRUE ;
148*ca04f111SAriel Constenla-Haile        ReadOnly = TRUE ;
149*ca04f111SAriel Constenla-Haile        AutoVScroll = TRUE ;
150*ca04f111SAriel Constenla-Haile        Pos = MAP_APPFONT( CTRL_MARGIN , CTRL_MARGIN );
151*ca04f111SAriel Constenla-Haile        Size = MAP_APPFONT( TAB_WIDTH - CTRL_MARGIN - CTRL_MARGIN, TAB_HEIGHT - CTRL_MARGIN - CTRL_MARGIN );
152*ca04f111SAriel Constenla-Haile    };
153cdf0e10cSrcweir};
154cdf0e10cSrcweir
155