xref: /aoo42x/main/sfx2/source/view/view.src (revision acbf353a)
1*acbf353aSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*acbf353aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*acbf353aSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*acbf353aSAndrew Rist * distributed with this work for additional information
6*acbf353aSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*acbf353aSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*acbf353aSAndrew Rist * "License"); you may not use this file except in compliance
9*acbf353aSAndrew Rist * with the License.  You may obtain a copy of the License at
10*acbf353aSAndrew Rist *
11*acbf353aSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*acbf353aSAndrew Rist *
13*acbf353aSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*acbf353aSAndrew Rist * software distributed under the License is distributed on an
15*acbf353aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*acbf353aSAndrew Rist * KIND, either express or implied.  See the License for the
17*acbf353aSAndrew Rist * specific language governing permissions and limitations
18*acbf353aSAndrew Rist * under the License.
19*acbf353aSAndrew Rist *
20*acbf353aSAndrew Rist *************************************************************/
21*acbf353aSAndrew Rist
22*acbf353aSAndrew Rist
23cdf0e10cSrcweir // include ---------------------------------------------------------------
24cdf0e10cSrcweir#include "view.hrc"
25cdf0e10cSrcweir#include <sfx2/sfx.hrc>
26cdf0e10cSrcweir#include "helpid.hrc"
27cdf0e10cSrcweir#include "sfxlocal.hrc"
28cdf0e10cSrcweir
29cdf0e10cSrcweir // Strings ---------------------------------------------------------------
30cdf0e10cSrcweirString STR_NODEFPRINTER
31cdf0e10cSrcweir{
32cdf0e10cSrcweir	Text [ en-US ] = "No default printer found.\nPlease choose a printer and try again." ;
33cdf0e10cSrcweir};
34cdf0e10cSrcweirString STR_NOSTARTPRINTER
35cdf0e10cSrcweir{
36cdf0e10cSrcweir	Text [ en-US ] = "Could not start printer.\nPlease check your printer configuration." ;
37cdf0e10cSrcweir};
38cdf0e10cSrcweirString STR_PRINTER_NOTAVAIL
39cdf0e10cSrcweir{
40cdf0e10cSrcweir	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 ?" ;
41cdf0e10cSrcweir};
42cdf0e10cSrcweirString STR_PRINT_OPTIONS
43cdf0e10cSrcweir{
44cdf0e10cSrcweir	Text [ en-US ] = "Options..." ;
45cdf0e10cSrcweir};
46cdf0e10cSrcweirString STR_PRINT_OPTIONS_TITLE
47cdf0e10cSrcweir{
48cdf0e10cSrcweir	Text [ en-US ] = "Printer Options" ;
49cdf0e10cSrcweir};
50cdf0e10cSrcweirString STR_ERROR_PRINTER_BUSY
51cdf0e10cSrcweir{
52cdf0e10cSrcweir	Text [ en-US ] = "Printer busy" ;
53cdf0e10cSrcweir};
54cdf0e10cSrcweirString STR_ERROR_PRINT
55cdf0e10cSrcweir{
56cdf0e10cSrcweir	Text [ en-US ] = "Error while printing" ;
57cdf0e10cSrcweir};
58cdf0e10cSrcweirString STR_PRINTING
59cdf0e10cSrcweir{
60cdf0e10cSrcweir	Text [ en-US ] = "Printing" ;
61cdf0e10cSrcweir};
62cdf0e10cSrcweirString STR_PAGE
63cdf0e10cSrcweir{
64cdf0e10cSrcweir	Text [ en-US ] = "Page " ;
65cdf0e10cSrcweir};
66cdf0e10cSrcweirString STR_ERROR_SAVE_TEMPLATE
67cdf0e10cSrcweir{
68cdf0e10cSrcweir	Text [ en-US ] = "Error saving template " ;
69cdf0e10cSrcweir};
70cdf0e10cSrcweirString STR_READONLY
71cdf0e10cSrcweir{
72cdf0e10cSrcweir	Text [ en-US ] = " (read-only)" ;
73cdf0e10cSrcweir};
74cdf0e10cSrcweirString STR_PRINT_NEWORI
75cdf0e10cSrcweir{
76cdf0e10cSrcweir	Text [ en-US ] = "The page size and orientation have been modified.\nWould you like to save the new settings in the\nactive document?" ;
77cdf0e10cSrcweir};
78cdf0e10cSrcweirString STR_PRINT_NEWSIZE
79cdf0e10cSrcweir{
80cdf0e10cSrcweir	Text [ en-US ] = "The page size has been modified.\nShould the new settings be saved\nin the active document?" ;
81cdf0e10cSrcweir};
82cdf0e10cSrcweirString STR_PRINT_NEWORISIZE
83cdf0e10cSrcweir{
84cdf0e10cSrcweir	Text [ en-US ] = "The page size and orientation have been modified.\nWould you like to save the new settings in the\nactive document?" ;
85cdf0e10cSrcweir};
86cdf0e10cSrcweirString STR_PREVIEW_DOCINFO
87cdf0e10cSrcweir{
88cdf0e10cSrcweir	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>" ;
89cdf0e10cSrcweir};
90cdf0e10cSrcweirString STR_PREVIEW_NODOCINFO
91cdf0e10cSrcweir{
92cdf0e10cSrcweir	Text [ en-US ] = "<HTML><BODY BGCOLOR=\"#c0c0c0\"><BR><BR><P><FONT FACE=\"Arial\"><B>No document properties found.</B></FONT></P></BODY></HTML>" ;
93cdf0e10cSrcweir};
94cdf0e10cSrcweir // -----------------------------------------------------------------------
95cdf0e10cSrcweirInfoBox MSG_CANT_CLOSE
96cdf0e10cSrcweir{
97cdf0e10cSrcweir	Message [ en-US ] = "The document cannot be closed because a\n print job is being carried out." ;
98cdf0e10cSrcweir};
99cdf0e10cSrcweir // DLG_PRINTMONITOR ------------------------------------------------------
100cdf0e10cSrcweir
101cdf0e10cSrcweir#define	DLG_PRINTMONITOR_TEXT \
102cdf0e10cSrcweir    Text [ en-US ] = "Print Monitor" ; \
103cdf0e10cSrcweir
104cdf0e10cSrcweirModelessDialog DLG_PRINTMONITOR
105cdf0e10cSrcweir{
106cdf0e10cSrcweir	HelpID = HID_PRINTMONITOR ;
107cdf0e10cSrcweir	OutputSize = TRUE ;
108cdf0e10cSrcweir	SVLook = TRUE ;
109cdf0e10cSrcweir	Hide = TRUE ;
110cdf0e10cSrcweir	Moveable = TRUE;
111cdf0e10cSrcweir	Size = MAP_APPFONT ( 112 , 81 ) ;
112cdf0e10cSrcweir	DLG_PRINTMONITOR_TEXT
113cdf0e10cSrcweir	FixedText FT_DOCNAME
114cdf0e10cSrcweir	{
115cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 6 ) ;
116cdf0e10cSrcweir		Size = MAP_APPFONT ( 100 , 10 ) ;
117cdf0e10cSrcweir		Center = TRUE ;
118cdf0e10cSrcweir	};
119cdf0e10cSrcweir	FixedText FT_PRINTING
120cdf0e10cSrcweir	{
121cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 19 ) ;
122cdf0e10cSrcweir		Size = MAP_APPFONT ( 100 , 10 ) ;
123cdf0e10cSrcweir		Center = TRUE ;
124cdf0e10cSrcweir		Text [ en-US ] = "is being printed on" ;
125cdf0e10cSrcweir	};
126cdf0e10cSrcweir	FixedText FT_PRINTER
127cdf0e10cSrcweir	{
128cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 32 ) ;
129cdf0e10cSrcweir		Size = MAP_APPFONT ( 100 , 10 ) ;
130cdf0e10cSrcweir		Center = TRUE ;
131cdf0e10cSrcweir	};
132cdf0e10cSrcweir	FixedText FT_PRINTINFO
133cdf0e10cSrcweir	{
134cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 45 ) ;
135cdf0e10cSrcweir		Size = MAP_APPFONT ( 100 , 10 ) ;
136cdf0e10cSrcweir		Center = TRUE ;
137cdf0e10cSrcweir	};
138cdf0e10cSrcweir	CancelButton PB_CANCELPRNMON
139cdf0e10cSrcweir	{
140cdf0e10cSrcweir		Pos = MAP_APPFONT ( 31 , 61 ) ;
141cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
142cdf0e10cSrcweir	};
143cdf0e10cSrcweir    String STR_FT_PREPARATION
144cdf0e10cSrcweir    {
145cdf0e10cSrcweir        Text [ en-US ] = "is being prepared for printing";
146cdf0e10cSrcweir    };
147cdf0e10cSrcweir};
148cdf0e10cSrcweir
149cdf0e10cSrcweir // MSG_ERROR_SEND_MAIL ---------------------------------------------------
150cdf0e10cSrcweir
151cdf0e10cSrcweirInfoBox MSG_ERROR_SEND_MAIL
152cdf0e10cSrcweir{
153cdf0e10cSrcweir	BUTTONS = WB_OK ;
154cdf0e10cSrcweir	DEFBUTTON = WB_DEF_OK ;
155cdf0e10cSrcweir	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." ;
156cdf0e10cSrcweir};
157cdf0e10cSrcweir
158cdf0e10cSrcweir // QueryBoxen ------------------------------------------------------------
159cdf0e10cSrcweirQueryBox MSG_QUERY_OPENASTEMPLATE
160cdf0e10cSrcweir{
161cdf0e10cSrcweir	Buttons = WB_YES_NO ;
162cdf0e10cSrcweir	DefButton = WB_DEF_NO ;
163cdf0e10cSrcweir	Message [ en-US ] = "This document cannot be edited, possibly due to missing access rights. Do you want to edit a copy of the document?" ;
164cdf0e10cSrcweir};
165cdf0e10cSrcweirString STR_REPAIREDDOCUMENT
166cdf0e10cSrcweir{
167cdf0e10cSrcweir	Text [ en-US ] = " (repaired document)" ;
168cdf0e10cSrcweir};
169cdf0e10cSrcweir
170cdf0e10cSrcweirErrorBox MSG_ERROR_NO_WEBBROWSER_FOUND
171cdf0e10cSrcweir{
172cdf0e10cSrcweir	BUTTONS = WB_OK ;
173cdf0e10cSrcweir	DEFBUTTON = WB_DEF_OK ;
174cdf0e10cSrcweir	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." ;
175cdf0e10cSrcweir};
176cdf0e10cSrcweir
177cdf0e10cSrcweir
178cdf0e10cSrcweir
179cdf0e10cSrcweir
180cdf0e10cSrcweir
181cdf0e10cSrcweir
182cdf0e10cSrcweir
183cdf0e10cSrcweir
184cdf0e10cSrcweir
185cdf0e10cSrcweir
186cdf0e10cSrcweir
187