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#ifndef RPTUI_PAGENUMBER_HRC
24#define RPTUI_PAGENUMBER_HRC
25
26#define FL_FORMAT					(1)
27#define RB_PAGE_N					(2)
28#define RB_PAGE_N_OF_M				(3)
29#define FL_POSITION					(4)
30#define RB_PAGE_TOPPAGE				(5)
31#define RB_PAGE_BOTTOMPAGE			(6)
32#define FL_ALIGNMENT				(7)
33#define LST_ALIGNMENT				(8)
34#define CB_SHOWNUMBERONFIRSTPAGE	(9)
35#define PB_OK						(10)
36#define PB_CANCEL					(11)
37#define PB_HELP						(12)
38#define FL_SEPARATOR1				(13)
39#define FL_MISC						(14)
40
41
42#define CHECKBOX_HEIGHT		 8
43#define FIXEDTEXT_HEIGHT	 8
44#define FIXEDTEXT_WIDTH		60
45#define RELATED_CONTROLS	 4
46#define UNRELATED_CONTROLS	 7
47#define EDIT_HEIGHT			12
48#define BUTTON_HEIGHT		14
49#define BUTTON_WIDTH		50
50#define BROWSER_HEIGHT		75
51#define PAGE_WIDTH			(RELATED_CONTROLS + 3*UNRELATED_CONTROLS + 3*BUTTON_WIDTH)
52#define PAGE_HEIGHT			( 8*RELATED_CONTROLS + 4*UNRELATED_CONTROLS + 9*FIXEDTEXT_HEIGHT + BUTTON_HEIGHT +1 )
53#define LISTBOX_WIDTH		PAGE_WIDTH - 3*UNRELATED_CONTROLS - FIXEDTEXT_WIDTH
54
55#endif // RPTUI_PAGENUMBER_HRC
56