1*8660f102SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*8660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*8660f102SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*8660f102SAndrew Rist * distributed with this work for additional information
6*8660f102SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*8660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*8660f102SAndrew Rist * "License"); you may not use this file except in compliance
9*8660f102SAndrew Rist * with the License.  You may obtain a copy of the License at
10*8660f102SAndrew Rist *
11*8660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*8660f102SAndrew Rist *
13*8660f102SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*8660f102SAndrew Rist * software distributed under the License is distributed on an
15*8660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*8660f102SAndrew Rist * KIND, either express or implied.  See the License for the
17*8660f102SAndrew Rist * specific language governing permissions and limitations
18*8660f102SAndrew Rist * under the License.
19*8660f102SAndrew Rist *
20*8660f102SAndrew Rist *************************************************************/
21*8660f102SAndrew Rist
22*8660f102SAndrew Rist
23cdf0e10cSrcweir#include <mmpreparemergepage.hrc>
24cdf0e10cSrcweir#include <dbui.hrc>
25cdf0e10cSrcweir#include <helpid.h>
26cdf0e10cSrcweir
27cdf0e10cSrcweirTabPage DLG_MM_PREPAREMERGE_PAGE
28cdf0e10cSrcweir{
29cdf0e10cSrcweir    HelpID = HID_MM_PREPAREMERGEPAGE ;
30cdf0e10cSrcweir    Size = MAP_APPFONT ( 260 , 250 ) ;
31cdf0e10cSrcweir    Hide = TRUE ;
32cdf0e10cSrcweir
33cdf0e10cSrcweir    FixedText FI_HEADER
34cdf0e10cSrcweir    {
35cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 8 ) ;
36cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
37cdf0e10cSrcweir        Text[ en-US ] = "Preview and edit the document";
38cdf0e10cSrcweir    };
39cdf0e10cSrcweir
40cdf0e10cSrcweir    FixedText   FI_PREVIEW
41cdf0e10cSrcweir    {
42cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 27 ) ;
43cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 26 ) ;
44cdf0e10cSrcweir        WordBreak = TRUE;
45cdf0e10cSrcweir        Text[ en-US ] = "The preview of a merged document is visible now. To see the preview of another document click one of the arrows.";
46cdf0e10cSrcweir    };
47cdf0e10cSrcweir    FixedText   FT_RECIPIENT
48cdf0e10cSrcweir    {
49cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 58 ) ;
50cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 8 ) ;
51cdf0e10cSrcweir        Text[ en-US ] = "~Recipient";
52cdf0e10cSrcweir    };
53cdf0e10cSrcweir
54cdf0e10cSrcweir    PushButton  PB_FIRST
55cdf0e10cSrcweir    {
56cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_MM_PREPAREMERGE_PAGE:PB_FIRST";
57cdf0e10cSrcweir        Pos = MAP_APPFONT ( 75 , 55 ) ;
58cdf0e10cSrcweir        Size = MAP_APPFONT ( 20 , 14 ) ;
59cdf0e10cSrcweir        Text = "|<" ;
60cdf0e10cSrcweir        QuickHelpText [en-US] = "First";
61cdf0e10cSrcweir    };
62cdf0e10cSrcweir    PushButton  PB_PREV
63cdf0e10cSrcweir    {
64cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_MM_PREPAREMERGE_PAGE:PB_PREV";
65cdf0e10cSrcweir        Pos = MAP_APPFONT ( 98 , 55 ) ;
66cdf0e10cSrcweir        Size = MAP_APPFONT ( 20 , 14 ) ;
67cdf0e10cSrcweir        Text = "<" ;
68cdf0e10cSrcweir        QuickHelpText [en-US] = "Previous";
69cdf0e10cSrcweir    };
70cdf0e10cSrcweir    NumericField ED_RECORD
71cdf0e10cSrcweir    {
72cdf0e10cSrcweir        HelpID = "sw:NumericField:DLG_MM_PREPAREMERGE_PAGE:ED_RECORD";
73cdf0e10cSrcweir        Pos = MAP_APPFONT ( 121 , 56 ) ;
74cdf0e10cSrcweir        Size = MAP_APPFONT ( 20 , 12 ) ;
75cdf0e10cSrcweir        Border = TRUE ;
76cdf0e10cSrcweir        Left = TRUE ;
77cdf0e10cSrcweir        First = 1 ;
78cdf0e10cSrcweir        Minimum = 1 ;
79cdf0e10cSrcweir        Repeat = TRUE ;
80cdf0e10cSrcweir        Spin = FALSE ;
81cdf0e10cSrcweir        TabStop = TRUE ;
82cdf0e10cSrcweir    };
83cdf0e10cSrcweir    PushButton  PB_NEXT
84cdf0e10cSrcweir    {
85cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_MM_PREPAREMERGE_PAGE:PB_NEXT";
86cdf0e10cSrcweir        Pos = MAP_APPFONT ( 144 , 55 ) ;
87cdf0e10cSrcweir        Size = MAP_APPFONT ( 20 , 14 ) ;
88cdf0e10cSrcweir        Text = ">" ;
89cdf0e10cSrcweir        QuickHelpText [en-US] = "Next";
90cdf0e10cSrcweir    };
91cdf0e10cSrcweir    PushButton  PB_LAST
92cdf0e10cSrcweir    {
93cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_MM_PREPAREMERGE_PAGE:PB_LAST";
94cdf0e10cSrcweir        Pos = MAP_APPFONT ( 167 , 55 ) ;
95cdf0e10cSrcweir        Size = MAP_APPFONT ( 20 , 14 ) ;
96cdf0e10cSrcweir        Text = ">|" ;
97cdf0e10cSrcweir        QuickHelpText [en-US] = "Last";
98cdf0e10cSrcweir    };
99cdf0e10cSrcweir    CheckBox CB_EXCLUDE
100cdf0e10cSrcweir    {
101cdf0e10cSrcweir        HelpID = "sw:CheckBox:DLG_MM_PREPAREMERGE_PAGE:CB_EXCLUDE";
102cdf0e10cSrcweir        Pos = MAP_APPFONT ( 75, 77 ) ;
103cdf0e10cSrcweir        Size = MAP_APPFONT ( 179 , 10 ) ;
104cdf0e10cSrcweir        Text[ en-US ] = "E~xclude this recipient";
105cdf0e10cSrcweir    };
106cdf0e10cSrcweir    FixedLine   FL_NOTEHEADER
107cdf0e10cSrcweir    {
108cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 100 ) ;
109cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
110cdf0e10cSrcweir        Text[ en-US ] = "Edit Document";
111cdf0e10cSrcweir    };
112cdf0e10cSrcweir    FixedText   FI_EDIT
113cdf0e10cSrcweir    {
114cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 122 ) ;
115cdf0e10cSrcweir        Size = MAP_APPFONT ( 242 , 60 ) ;
116cdf0e10cSrcweir        WordBreak = TRUE;
117cdf0e10cSrcweir        Text[ en-US ] = "Write or edit your document now if you have not already done so. The changes will effect all merged documents.\n\nClicking 'Edit Document...' will temporarily reduce the wizard to a small window so you can edit the mail merge document. After editing the document, return to the wizard by clicking 'Return to Mail Merge Wizard' in the small window." ;
118cdf0e10cSrcweir    };
119cdf0e10cSrcweir    PushButton  PB_EDIT
120cdf0e10cSrcweir    {
121cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_MM_PREPAREMERGE_PAGE:PB_EDIT";
122cdf0e10cSrcweir        Pos = MAP_APPFONT ( 90 , 185 ) ;
123cdf0e10cSrcweir        Size = MAP_APPFONT ( 80 , 14 ) ;
124cdf0e10cSrcweir        Text[ en-US ] = "~Edit Document...";
125cdf0e10cSrcweir    };
126cdf0e10cSrcweir};
127cdf0e10cSrcweir
128cdf0e10cSrcweir
129