xref: /trunk/main/sw/source/ui/envelp/envprt.src (revision 31d35622ee258902b338f9bfdfb2a2ed84b7bb6c)
18660f102SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
38660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
48660f102SAndrew Rist * or more contributor license agreements.  See the NOTICE file
58660f102SAndrew Rist * distributed with this work for additional information
68660f102SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
78660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the
88660f102SAndrew Rist * "License"); you may not use this file except in compliance
98660f102SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
118660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
138660f102SAndrew Rist * Unless required by applicable law or agreed to in writing,
148660f102SAndrew Rist * software distributed under the License is distributed on an
158660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
168660f102SAndrew Rist * KIND, either express or implied.  See the License for the
178660f102SAndrew Rist * specific language governing permissions and limitations
188660f102SAndrew Rist * under the License.
19cdf0e10cSrcweir *
208660f102SAndrew Rist *************************************************************/
218660f102SAndrew Rist
228660f102SAndrew Rist
23cdf0e10cSrcweir // #pragma *****************************************************************
24cdf0e10cSrcweir
25cdf0e10cSrcweir // #include ****************************************************************
26cdf0e10cSrcweir#include "envprt.hrc"
27cdf0e10cSrcweir#include "helpid.h"
28cdf0e10cSrcweir // TP_ENV_PRT ---------------------------------------------------------------
29cdf0e10cSrcweirTabPage TP_ENV_PRT
30cdf0e10cSrcweir{
31cdf0e10cSrcweir    HelpID = HID_ENV_PRT ;
32cdf0e10cSrcweir    Size = MAP_APPFONT ( 260 , 185 ) ;
33cdf0e10cSrcweir    Hide = TRUE ;
34cdf0e10cSrcweir    FixedLine FL_NONAME
35cdf0e10cSrcweir    {
36cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
37cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
38cdf0e10cSrcweir        Text [ en-US ] = "Envelope orientation";
39cdf0e10cSrcweir    };
40cdf0e10cSrcweir    ToolBox BOX_ALIGN
41cdf0e10cSrcweir    {
42cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 14 ) ;
43cdf0e10cSrcweir        ItemList =
44cdf0e10cSrcweir        {
45cdf0e10cSrcweir            ToolBoxItem
46cdf0e10cSrcweir            {
47cdf0e10cSrcweir                Identifier = ITM_HOR_LEFT ;
48cdf0e10cSrcweir                HelpID = HID_ITM_HOR_LEFT ;
49cdf0e10cSrcweir            };
50cdf0e10cSrcweir            ToolBoxItem
51cdf0e10cSrcweir            {
52cdf0e10cSrcweir                Identifier = ITM_HOR_CNTR ;
53cdf0e10cSrcweir                HelpID = HID_ITM_HOR_CNTR ;
54cdf0e10cSrcweir            };
55cdf0e10cSrcweir            ToolBoxItem
56cdf0e10cSrcweir            {
57cdf0e10cSrcweir                Identifier = ITM_HOR_RGHT ;
58cdf0e10cSrcweir                HelpID = HID_ITM_HOR_RGHT ;
59cdf0e10cSrcweir            };
60cdf0e10cSrcweir            ToolBoxItem
61cdf0e10cSrcweir            {
62cdf0e10cSrcweir                Identifier = ITM_VER_LEFT ;
63cdf0e10cSrcweir                HelpID = HID_ITM_VER_LEFT ;
64cdf0e10cSrcweir            };
65cdf0e10cSrcweir            ToolBoxItem
66cdf0e10cSrcweir            {
67cdf0e10cSrcweir                Identifier = ITM_VER_CNTR ;
68cdf0e10cSrcweir                HelpID = HID_ITM_VER_CNTR ;
69cdf0e10cSrcweir            };
70cdf0e10cSrcweir            ToolBoxItem
71cdf0e10cSrcweir            {
72cdf0e10cSrcweir                Identifier = ITM_VER_RGHT ;
73cdf0e10cSrcweir                HelpID = HID_ITM_VER_RGHT ;
74cdf0e10cSrcweir            };
75cdf0e10cSrcweir        };
76cdf0e10cSrcweir    };
77cdf0e10cSrcweir    RadioButton BTN_TOP
78cdf0e10cSrcweir    {
79cdf0e10cSrcweir        HelpID = "sw:RadioButton:TP_ENV_PRT:BTN_TOP";
80cdf0e10cSrcweir        Pos = MAP_APPFONT ( 18 , 42 ) ;
81cdf0e10cSrcweir        Size = MAP_APPFONT ( 179 , 10 ) ;
82cdf0e10cSrcweir        Text [ en-US ] = "~Print from top" ;
83cdf0e10cSrcweir        TabStop = TRUE ;
84cdf0e10cSrcweir        Group = TRUE ;
85cdf0e10cSrcweir        Check = TRUE ;
86cdf0e10cSrcweir    };
87cdf0e10cSrcweir    RadioButton BTN_BOTTOM
88cdf0e10cSrcweir    {
89cdf0e10cSrcweir        HelpID = "sw:RadioButton:TP_ENV_PRT:BTN_BOTTOM";
90cdf0e10cSrcweir        Pos = MAP_APPFONT ( 18 , 56 ) ;
91cdf0e10cSrcweir        Size = MAP_APPFONT ( 179 , 10 ) ;
92cdf0e10cSrcweir        Text [ en-US ] = "Print from ~bottom" ;
93cdf0e10cSrcweir        TabStop = TRUE ;
94cdf0e10cSrcweir    };
95cdf0e10cSrcweir    FixedText TXT_RIGHT
96cdf0e10cSrcweir    {
97cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 74 ) ;
98cdf0e10cSrcweir        Size = MAP_APPFONT ( 72 , 8 ) ;
99cdf0e10cSrcweir        Text [ en-US ] = "~Shift right" ;
100cdf0e10cSrcweir        Left = TRUE ;
101cdf0e10cSrcweir    };
102cdf0e10cSrcweir    MetricField FLD_RIGHT
103cdf0e10cSrcweir    {
104cdf0e10cSrcweir        HelpID = "sw:MetricField:TP_ENV_PRT:FLD_RIGHT";
105cdf0e10cSrcweir        Border = TRUE ;
106cdf0e10cSrcweir        Pos = MAP_APPFONT ( 86 , 72 ) ;
107cdf0e10cSrcweir        Size = MAP_APPFONT ( 40 , 12 ) ;
108cdf0e10cSrcweir        TabStop = TRUE ;
109cdf0e10cSrcweir        Left = TRUE ;
110cdf0e10cSrcweir        Repeat = TRUE ;
111cdf0e10cSrcweir        Spin = TRUE ;
112cdf0e10cSrcweir        Minimum = 0 ;
113cdf0e10cSrcweir        Maximum = 10000 ;
114cdf0e10cSrcweir        DecimalDigits = 2 ;
115cdf0e10cSrcweir        Unit = FUNIT_CM ;
116cdf0e10cSrcweir        First = 0 ;
117cdf0e10cSrcweir        Last = 10000 ;
118cdf0e10cSrcweir        SpinSize = 10 ;
119cdf0e10cSrcweir    };
120cdf0e10cSrcweir    FixedText TXT_DOWN
121cdf0e10cSrcweir    {
122cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 90 ) ;
123cdf0e10cSrcweir        Size = MAP_APPFONT ( 72 , 8 ) ;
124cdf0e10cSrcweir        Text [ en-US ] = "Shift ~down" ;
125cdf0e10cSrcweir        Left = TRUE ;
126cdf0e10cSrcweir    };
127cdf0e10cSrcweir    MetricField FLD_DOWN
128cdf0e10cSrcweir    {
129cdf0e10cSrcweir        HelpID = "sw:MetricField:TP_ENV_PRT:FLD_DOWN";
130cdf0e10cSrcweir        Border = TRUE ;
131cdf0e10cSrcweir        Pos = MAP_APPFONT ( 86 , 88 ) ;
132cdf0e10cSrcweir        Size = MAP_APPFONT ( 40 , 12 ) ;
133cdf0e10cSrcweir        TabStop = TRUE ;
134cdf0e10cSrcweir        Left = TRUE ;
135cdf0e10cSrcweir        Repeat = TRUE ;
136cdf0e10cSrcweir        Spin = TRUE ;
137cdf0e10cSrcweir        Minimum = 0 ;
138cdf0e10cSrcweir        Maximum = 10000 ;
139cdf0e10cSrcweir        DecimalDigits = 2 ;
140cdf0e10cSrcweir        Unit = FUNIT_CM ;
141cdf0e10cSrcweir        First = 0 ;
142cdf0e10cSrcweir        Last = 10000 ;
143cdf0e10cSrcweir        SpinSize = 10 ;
144cdf0e10cSrcweir    };
145cdf0e10cSrcweir    FixedLine FL_PRINTER
146cdf0e10cSrcweir    {
147cdf0e10cSrcweir        Pos = MAP_APPFONT ( 3 , 103 ) ;
148cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
149cdf0e10cSrcweir        Text [ en-US ] = "Current printer";
150cdf0e10cSrcweir    };
151cdf0e10cSrcweir    FixedText TXT_PRINTER
152cdf0e10cSrcweir    {
153cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 116 ) ;
154cdf0e10cSrcweir        Size = MAP_APPFONT ( 179 , 8 ) ;
155cdf0e10cSrcweir        Text [ en-US ] = "- No printer installed -" ;
156cdf0e10cSrcweir        Left = TRUE ;
157cdf0e10cSrcweir    };
158cdf0e10cSrcweir    PushButton BTN_PRTSETUP
159cdf0e10cSrcweir    {
160cdf0e10cSrcweir        HelpID = "sw:PushButton:TP_ENV_PRT:BTN_PRTSETUP";
161cdf0e10cSrcweir        Pos = MAP_APPFONT ( 198 , 114 ) ;
162cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
163cdf0e10cSrcweir        TabStop = TRUE ;
164cdf0e10cSrcweir        Text [ en-US ] = "Setup..." ;
165cdf0e10cSrcweir    };
166cdf0e10cSrcweir};
167cdf0e10cSrcweir // Bitmaps ******************************************************************
168cdf0e10cSrcweirBitmap BMP_HOR_LEFT_LOWER
169cdf0e10cSrcweir{
170*76b0e084Smseidel    File = "envhl_l.png" ;
171cdf0e10cSrcweir};
172cdf0e10cSrcweirBitmap BMP_HOR_LEFT_UPPER
173cdf0e10cSrcweir{
174*76b0e084Smseidel    File = "envhl_u.png" ;
175cdf0e10cSrcweir};
176cdf0e10cSrcweirBitmap BMP_HOR_CNTR_LOWER
177cdf0e10cSrcweir{
178*76b0e084Smseidel    File = "envhc_l.png" ;
179cdf0e10cSrcweir};
180cdf0e10cSrcweirBitmap BMP_HOR_CNTR_UPPER
181cdf0e10cSrcweir{
182*76b0e084Smseidel    File = "envhc_u.png" ;
183cdf0e10cSrcweir};
184cdf0e10cSrcweirBitmap BMP_HOR_RGHT_LOWER
185cdf0e10cSrcweir{
186*76b0e084Smseidel    File = "envhr_l.png" ;
187cdf0e10cSrcweir};
188cdf0e10cSrcweirBitmap BMP_HOR_RGHT_UPPER
189cdf0e10cSrcweir{
190*76b0e084Smseidel    File = "envhr_u.png" ;
191cdf0e10cSrcweir};
192cdf0e10cSrcweirBitmap BMP_VER_LEFT_LOWER
193cdf0e10cSrcweir{
194*76b0e084Smseidel    File = "envvl_l.png" ;
195cdf0e10cSrcweir};
196cdf0e10cSrcweirBitmap BMP_VER_LEFT_UPPER
197cdf0e10cSrcweir{
198*76b0e084Smseidel    File = "envvl_u.png" ;
199cdf0e10cSrcweir};
200cdf0e10cSrcweirBitmap BMP_VER_CNTR_LOWER
201cdf0e10cSrcweir{
202*76b0e084Smseidel    File = "envvc_l.png" ;
203cdf0e10cSrcweir};
204cdf0e10cSrcweirBitmap BMP_VER_CNTR_UPPER
205cdf0e10cSrcweir{
206*76b0e084Smseidel    File = "envvc_u.png" ;
207cdf0e10cSrcweir};
208cdf0e10cSrcweirBitmap BMP_VER_RGHT_LOWER
209cdf0e10cSrcweir{
210*76b0e084Smseidel    File = "envvr_l.png" ;
211cdf0e10cSrcweir};
212cdf0e10cSrcweirBitmap BMP_VER_RGHT_UPPER
213cdf0e10cSrcweir{
214*76b0e084Smseidel    File = "envvr_u.png" ;
215cdf0e10cSrcweir};
216cdf0e10cSrcweir// HighContrast Bitmaps
217cdf0e10cSrcweirBitmap BMP_HOR_LEFT_LOWER_H
218cdf0e10cSrcweir{
219*76b0e084Smseidel    File = "envhl_l_h.png" ;
220cdf0e10cSrcweir};
221cdf0e10cSrcweirBitmap BMP_HOR_LEFT_UPPER_H
222cdf0e10cSrcweir{
223*76b0e084Smseidel    File = "envhl_u_h.png" ;
224cdf0e10cSrcweir};
225cdf0e10cSrcweirBitmap BMP_HOR_CNTR_LOWER_H
226cdf0e10cSrcweir{
227*76b0e084Smseidel    File = "envhc_l_h.png" ;
228cdf0e10cSrcweir};
229cdf0e10cSrcweirBitmap BMP_HOR_CNTR_UPPER_H
230cdf0e10cSrcweir{
231*76b0e084Smseidel    File = "envhc_u_h.png" ;
232cdf0e10cSrcweir};
233cdf0e10cSrcweirBitmap BMP_HOR_RGHT_LOWER_H
234cdf0e10cSrcweir{
235*76b0e084Smseidel    File = "envhr_l_h.png" ;
236cdf0e10cSrcweir};
237cdf0e10cSrcweirBitmap BMP_HOR_RGHT_UPPER_H
238cdf0e10cSrcweir{
239*76b0e084Smseidel    File = "envhr_u_h.png" ;
240cdf0e10cSrcweir};
241cdf0e10cSrcweirBitmap BMP_VER_LEFT_LOWER_H
242cdf0e10cSrcweir{
243*76b0e084Smseidel    File = "envvl_l_h.png" ;
244cdf0e10cSrcweir};
245cdf0e10cSrcweirBitmap BMP_VER_LEFT_UPPER_H
246cdf0e10cSrcweir{
247*76b0e084Smseidel    File = "envvl_u_h.png" ;
248cdf0e10cSrcweir};
249cdf0e10cSrcweirBitmap BMP_VER_CNTR_LOWER_H
250cdf0e10cSrcweir{
251*76b0e084Smseidel    File = "envvc_l_h.png" ;
252cdf0e10cSrcweir};
253cdf0e10cSrcweirBitmap BMP_VER_CNTR_UPPER_H
254cdf0e10cSrcweir{
255*76b0e084Smseidel    File = "envvc_u_h.png" ;
256cdf0e10cSrcweir};
257cdf0e10cSrcweirBitmap BMP_VER_RGHT_LOWER_H
258cdf0e10cSrcweir{
259*76b0e084Smseidel    File = "envvr_l_h.png" ;
260cdf0e10cSrcweir};
261cdf0e10cSrcweirBitmap BMP_VER_RGHT_UPPER_H
262cdf0e10cSrcweir{
263*76b0e084Smseidel    File = "envvr_u_h.png" ;
264cdf0e10cSrcweir};
265