xref: /trunk/main/sfx2/source/view/view.src (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
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 ---------------------------------------------------------------
25#include "view.hrc"
26#include <sfx2/sfx.hrc>
27#include "helpid.hrc"
28#include "sfxlocal.hrc"
29
30// Strings ---------------------------------------------------------------
31String STR_NODEFPRINTER
32{
33    Text [ en-US ] = "No default printer found.\nPlease choose a printer and try again." ;
34};
35String STR_NOSTARTPRINTER
36{
37    Text [ en-US ] = "Could not start printer.\nPlease check your printer configuration." ;
38};
39String STR_PRINTER_NOTAVAIL
40{
41    Text [ en-US ] = "This document has been formatted for the printer $1. The specified printer is not available.\nDo you want to use the standard printer $2 ?" ;
42};
43String STR_PRINT_OPTIONS
44{
45    Text [ en-US ] = "Options..." ;
46};
47String STR_PRINT_OPTIONS_TITLE
48{
49    Text [ en-US ] = "Printer Options" ;
50};
51String STR_ERROR_PRINTER_BUSY
52{
53    Text [ en-US ] = "Printer busy" ;
54};
55String STR_ERROR_PRINT
56{
57    Text [ en-US ] = "Error while printing" ;
58};
59String STR_PRINTING
60{
61    Text [ en-US ] = "Printing" ;
62};
63String STR_PAGE
64{
65    Text [ en-US ] = "Page " ;
66};
67String STR_ERROR_SAVE_TEMPLATE
68{
69    Text [ en-US ] = "Error saving template " ;
70};
71String STR_READONLY
72{
73    Text [ en-US ] = " (read-only)" ;
74};
75String STR_PRINT_NEWORI
76{
77    Text [ en-US ] = "The page size and orientation have been modified.\nWould you like to save the new settings in the\nactive document?" ;
78};
79String STR_PRINT_NEWSIZE
80{
81    Text [ en-US ] = "The page size has been modified.\nShould the new settings be saved\nin the active document?" ;
82};
83String STR_PRINT_NEWORISIZE
84{
85    Text [ en-US ] = "The page size and orientation have been modified.\nWould you like to save the new settings in the\nactive document?" ;
86};
87String STR_PREVIEW_DOCINFO
88{
89    Text [ en-US ] = "<html><body BGCOLOR=\"#c0c0c0\"><font FACE=\"Arial\"><dl><dt><b>Title:</b><dd>$(TITEL)<dt><b>Subject:</b><dd>$(THEME)<dt><b>Keywords:</b><dd>$(KEYWORDS)<dt><b>Description:</b><dd>$(TEXT)</dl></font></body></html>" ;
90};
91String STR_PREVIEW_NODOCINFO
92{
93    Text [ en-US ] = "<HTML><BODY BGCOLOR=\"#c0c0c0\"><BR><BR><P><FONT FACE=\"Arial\"><B>No document properties found.</B></FONT></P></BODY></HTML>" ;
94};
95// -----------------------------------------------------------------------
96InfoBox MSG_CANT_CLOSE
97{
98    Message [ en-US ] = "The document cannot be closed because a\nprint job is being carried out." ;
99};
100// DLG_PRINTMONITOR ------------------------------------------------------
101
102#define DLG_PRINTMONITOR_TEXT \
103    Text [ en-US ] = "Print Monitor" ; \
104
105ModelessDialog DLG_PRINTMONITOR
106{
107    HelpID = HID_PRINTMONITOR ;
108    OutputSize = TRUE ;
109    SVLook = TRUE ;
110    Hide = TRUE ;
111    Moveable = TRUE ;
112    Size = MAP_APPFONT ( 112, 81 ) ;
113    DLG_PRINTMONITOR_TEXT
114    FixedText FT_DOCNAME
115    {
116        Pos = MAP_APPFONT ( 6, 6 ) ;
117        Size = MAP_APPFONT ( 100, 10 ) ;
118        Center = TRUE ;
119    };
120    FixedText FT_PRINTING
121    {
122        Pos = MAP_APPFONT ( 6, 19 ) ;
123        Size = MAP_APPFONT ( 100, 10 ) ;
124        Center = TRUE ;
125        Text [ en-US ] = "is being printed on" ;
126    };
127    FixedText FT_PRINTER
128    {
129        Pos = MAP_APPFONT ( 6, 32 ) ;
130        Size = MAP_APPFONT ( 100, 10 ) ;
131        Center = TRUE ;
132    };
133    FixedText FT_PRINTINFO
134    {
135        Pos = MAP_APPFONT ( 6, 45 ) ;
136        Size = MAP_APPFONT ( 100, 10 ) ;
137        Center = TRUE ;
138    };
139    CancelButton PB_CANCELPRNMON
140    {
141        Pos = MAP_APPFONT ( 31, 61 ) ;
142        Size = MAP_APPFONT ( 50, 14 ) ;
143    };
144    String STR_FT_PREPARATION
145    {
146        Text [ en-US ] = "is being prepared for printing" ;
147    };
148};
149
150// MSG_ERROR_SEND_MAIL ---------------------------------------------------
151
152InfoBox MSG_ERROR_SEND_MAIL
153{
154    BUTTONS = WB_OK ;
155    DEFBUTTON = WB_DEF_OK ;
156    Message [ en-US ] = "An error occurred in sending the message. Possible errors could be a missing user account or a defective setup.\nPlease check the %PRODUCTNAME settings or your e-mail program settings." ;
157};
158
159// QueryBox --------------------------------------------------------------
160QueryBox MSG_QUERY_OPENASTEMPLATE
161{
162    Buttons = WB_YES_NO ;
163    DefButton = WB_DEF_NO ;
164    Message [ en-US ] = "This document cannot be edited, possibly due to missing access rights. Do you want to edit a copy of the document?" ;
165};
166String STR_REPAIREDDOCUMENT
167{
168    Text [ en-US ] = " (repaired document)" ;
169};
170
171ErrorBox MSG_ERROR_NO_WEBBROWSER_FOUND
172{
173    BUTTONS = WB_OK ;
174    DEFBUTTON = WB_DEF_OK ;
175    Message [ en-US ] = "%PRODUCTNAME could not find a web browser on your system. Please check your desktop preferences or install a web browser (for example, Mozilla) in the default location requested during the browser installation." ;
176};
177
178// ********************************************************************** EOF
179