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