1*37e8fa01SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*37e8fa01SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*37e8fa01SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*37e8fa01SAndrew Rist * distributed with this work for additional information
6*37e8fa01SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*37e8fa01SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*37e8fa01SAndrew Rist * "License"); you may not use this file except in compliance
9*37e8fa01SAndrew Rist * with the License.  You may obtain a copy of the License at
10*37e8fa01SAndrew Rist *
11*37e8fa01SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*37e8fa01SAndrew Rist *
13*37e8fa01SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*37e8fa01SAndrew Rist * software distributed under the License is distributed on an
15*37e8fa01SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*37e8fa01SAndrew Rist * KIND, either express or implied.  See the License for the
17*37e8fa01SAndrew Rist * specific language governing permissions and limitations
18*37e8fa01SAndrew Rist * under the License.
19*37e8fa01SAndrew Rist *
20*37e8fa01SAndrew Rist *************************************************************/
21*37e8fa01SAndrew Rist
22*37e8fa01SAndrew Rist
23cdf0e10cSrcweir#ifndef RPTUI_PAGENUMBER_HRC
24cdf0e10cSrcweir#define RPTUI_PAGENUMBER_HRC
25cdf0e10cSrcweir
26cdf0e10cSrcweir#define FL_FORMAT					(1)
27cdf0e10cSrcweir#define RB_PAGE_N					(2)
28cdf0e10cSrcweir#define RB_PAGE_N_OF_M				(3)
29cdf0e10cSrcweir#define FL_POSITION					(4)
30cdf0e10cSrcweir#define RB_PAGE_TOPPAGE				(5)
31cdf0e10cSrcweir#define RB_PAGE_BOTTOMPAGE			(6)
32cdf0e10cSrcweir#define FL_ALIGNMENT				(7)
33cdf0e10cSrcweir#define LST_ALIGNMENT				(8)
34cdf0e10cSrcweir#define CB_SHOWNUMBERONFIRSTPAGE	(9)
35cdf0e10cSrcweir#define PB_OK						(10)
36cdf0e10cSrcweir#define PB_CANCEL					(11)
37cdf0e10cSrcweir#define PB_HELP						(12)
38cdf0e10cSrcweir#define FL_SEPARATOR1				(13)
39cdf0e10cSrcweir#define FL_MISC						(14)
40cdf0e10cSrcweir
41cdf0e10cSrcweir
42cdf0e10cSrcweir#define CHECKBOX_HEIGHT		 8
43cdf0e10cSrcweir#define FIXEDTEXT_HEIGHT	 8
44cdf0e10cSrcweir#define FIXEDTEXT_WIDTH		60
45cdf0e10cSrcweir#define RELATED_CONTROLS	 4
46cdf0e10cSrcweir#define UNRELATED_CONTROLS	 7
47cdf0e10cSrcweir#define EDIT_HEIGHT			12
48cdf0e10cSrcweir#define BUTTON_HEIGHT		14
49cdf0e10cSrcweir#define BUTTON_WIDTH		50
50cdf0e10cSrcweir#define BROWSER_HEIGHT		75
51cdf0e10cSrcweir#define PAGE_WIDTH			(RELATED_CONTROLS + 3*UNRELATED_CONTROLS + 3*BUTTON_WIDTH)
52cdf0e10cSrcweir#define PAGE_HEIGHT			( 8*RELATED_CONTROLS + 4*UNRELATED_CONTROLS + 9*FIXEDTEXT_HEIGHT + BUTTON_HEIGHT +1 )
53cdf0e10cSrcweir#define LISTBOX_WIDTH		PAGE_WIDTH - 3*UNRELATED_CONTROLS - FIXEDTEXT_WIDTH
54cdf0e10cSrcweir
55cdf0e10cSrcweir#endif // RPTUI_PAGENUMBER_HRC
56