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 <mmdocselectpage.hrc>
24cdf0e10cSrcweir#include <dbui.hrc>
25cdf0e10cSrcweir#include <helpid.h>
26cdf0e10cSrcweirTabPage DLG_MM_DOCSELECT_PAGE
27cdf0e10cSrcweir{
28cdf0e10cSrcweir    HelpID = HID_MM_DOCSELECTPAGE ;
29cdf0e10cSrcweir    Size = MAP_APPFONT ( 260 , 250 ) ;
30cdf0e10cSrcweir    Hide = TRUE ;
31cdf0e10cSrcweir
32cdf0e10cSrcweir    FixedText FI_HEADER
33cdf0e10cSrcweir    {
34cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 8 ) ;
35cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
36cdf0e10cSrcweir        Text [ en-US ] = "Select starting document for the mail merge";
37cdf0e10cSrcweir    };
38cdf0e10cSrcweir    FixedText   FT_HOWTO
39cdf0e10cSrcweir    {
40cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 27 ) ;
41cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
42cdf0e10cSrcweir        Text [ en-US ] = "Select the document upon which to base the mail merge document";
43cdf0e10cSrcweir    };
44cdf0e10cSrcweir    RadioButton RB_CURRENTDOC
45cdf0e10cSrcweir    {
46cdf0e10cSrcweir        HelpID = "sw:RadioButton:DLG_MM_DOCSELECT_PAGE:RB_CURRENTDOC";
47cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 48 ) ;
48cdf0e10cSrcweir        Size = MAP_APPFONT ( 190 , 10 ) ;
49cdf0e10cSrcweir        Text[ en-US ] = "Use the current ~document";
50cdf0e10cSrcweir    };
51cdf0e10cSrcweir    RadioButton RB_NEWDOC
52cdf0e10cSrcweir    {
53cdf0e10cSrcweir        HelpID = "sw:RadioButton:DLG_MM_DOCSELECT_PAGE:RB_NEWDOC";
54cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 66 ) ;
55cdf0e10cSrcweir        Size = MAP_APPFONT ( 190 , 10 ) ;
56cdf0e10cSrcweir        Text[ en-US ] = "Create a ne~w document";
57cdf0e10cSrcweir    };
58cdf0e10cSrcweir    RadioButton RB_LOADDOC
59cdf0e10cSrcweir    {
60cdf0e10cSrcweir        HelpID = "sw:RadioButton:DLG_MM_DOCSELECT_PAGE:RB_LOADDOC";
61cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 ,  84) ;
62cdf0e10cSrcweir        Size = MAP_APPFONT ( 190 , 10 ) ;
63cdf0e10cSrcweir        Text[ en-US ] = "Start from ~existing document";
64cdf0e10cSrcweir    };
65cdf0e10cSrcweir    PushButton  PB_LOADDOC
66cdf0e10cSrcweir    {
67cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_MM_DOCSELECT_PAGE:PB_LOADDOC";
68cdf0e10cSrcweir        Pos = MAP_APPFONT ( 204 ,  80) ;
69cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
70cdf0e10cSrcweir        Text[ en-US ] = "B~rowse...";
71cdf0e10cSrcweir    };
72cdf0e10cSrcweir    RadioButton RB_LOADTEMPLATE
73cdf0e10cSrcweir    {
74cdf0e10cSrcweir        HelpID = "sw:RadioButton:DLG_MM_DOCSELECT_PAGE:RB_LOADTEMPLATE";
75cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 103 ) ;
76cdf0e10cSrcweir        Size = MAP_APPFONT ( 190 , 10 ) ;
77cdf0e10cSrcweir        Text[ en-US ] = "Start from a t~emplate";
78cdf0e10cSrcweir    };
79cdf0e10cSrcweir    PushButton  PB_BROWSETEMPLATE
80cdf0e10cSrcweir    {
81cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_MM_DOCSELECT_PAGE:PB_BROWSETEMPLATE";
82cdf0e10cSrcweir        Pos = MAP_APPFONT ( 204 , 99 ) ;
83cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
84cdf0e10cSrcweir        Text[ en-US ] = "B~rowse...";
85cdf0e10cSrcweir    };
86cdf0e10cSrcweir    RadioButton RB_RECENTDOC
87cdf0e10cSrcweir    {
88cdf0e10cSrcweir        HelpID = "sw:RadioButton:DLG_MM_DOCSELECT_PAGE:RB_RECENTDOC";
89cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 ,  120) ;
90cdf0e10cSrcweir        Size = MAP_APPFONT ( 190 , 10 ) ;
91cdf0e10cSrcweir        Text[ en-US ] = "Start fro~m a recently saved starting document";
92cdf0e10cSrcweir    };
93cdf0e10cSrcweir    ListBox     LB_RECENTDOC
94cdf0e10cSrcweir    {
95cdf0e10cSrcweir        HelpID = "sw:ListBox:DLG_MM_DOCSELECT_PAGE:LB_RECENTDOC";
96cdf0e10cSrcweir        Pos = MAP_APPFONT ( 20 , 134 ) ;
97cdf0e10cSrcweir        Size = MAP_APPFONT ( 180 , 50 ) ;
98cdf0e10cSrcweir        DropDown = TRUE;
99cdf0e10cSrcweir        Border = TRUE;
100cdf0e10cSrcweir    };
101cdf0e10cSrcweir};
102cdf0e10cSrcweir
103cdf0e10cSrcweir
104cdf0e10cSrcweir
105