1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27#include "DateTime.hrc"
28#include "RptResId.hrc"
29#include "helpids.hrc"
30#ifndef _GLOBLMN_HRC
31#include <svx/globlmn.hrc>
32#endif
33#ifndef _SBASLTID_HRC
34#include <svx/svxids.hrc>
35#endif
36
37
38ModalDialog RID_DATETIME_DLG
39{
40	OutputSize = TRUE ;
41	SVLook = TRUE ;
42    Size = MAP_APPFONT ( PAGE_WIDTH , PAGE_HEIGHT ) ;
43	Text [ en-US ] = "Date and Time" ;
44	HelpId = HID_RPT_DATETIME_DLG;
45	Moveable = TRUE ;
46	Closeable = TRUE ;
47
48	CheckBox CB_DATE
49	{
50	    HelpID = "reportdesign:CheckBox:RID_DATETIME_DLG:CB_DATE";
51		Pos = MAP_APPFONT ( UNRELATED_CONTROLS , RELATED_CONTROLS /* + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT */) ;
52		Size = MAP_APPFONT ( PAGE_WIDTH - 2*UNRELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ;
53		Check = TRUE;
54		Text [ en-US ] = "Include Date";
55	};
56
57	FixedText FT_DATE_FORMAT
58	{
59		Pos = MAP_APPFONT ( RELATED_CONTROLS + 2*UNRELATED_CONTROLS, RELATED_CONTROLS + UNRELATED_CONTROLS + CHECKBOX_HEIGHT );
60		Size = MAP_APPFONT( BUTTON_WIDTH - RELATED_CONTROLS, FIXEDTEXT_HEIGHT );
61		Text [ en-US ] = "Format";
62	};
63
64	ListBox LB_DATE_TYPE
65	{
66	    HelpID = "reportdesign:ListBox:RID_DATETIME_DLG:LB_DATE_TYPE";
67		Pos = MAP_APPFONT ( 2 * UNRELATED_CONTROLS + BUTTON_WIDTH, RELATED_CONTROLS + UNRELATED_CONTROLS + CHECKBOX_HEIGHT) ;
68		Size = MAP_APPFONT( PAGE_WIDTH - 3*UNRELATED_CONTROLS - BUTTON_WIDTH, 60 );
69		Border = TRUE;
70		DropDown = TRUE;
71		TabStop = TRUE;
72        Sort = FALSE;
73    };
74
75	FixedLine FL_SEPARATOR0
76	{
77		Pos = MAP_APPFONT ( RELATED_CONTROLS , RELATED_CONTROLS + 2*UNRELATED_CONTROLS + CHECKBOX_HEIGHT + LISTBOX_HEIGHT) ;
78		Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , 1 ) ;
79        //		Text [ en-US ] = "Time";
80	};
81	CheckBox CB_TIME
82	{
83	    HelpID = "reportdesign:CheckBox:RID_DATETIME_DLG:CB_TIME";
84		Pos = MAP_APPFONT ( UNRELATED_CONTROLS, RELATED_CONTROLS + 3*UNRELATED_CONTROLS + CHECKBOX_HEIGHT + LISTBOX_HEIGHT) ;
85		Size = MAP_APPFONT ( PAGE_WIDTH - 2*UNRELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ;
86		Check = TRUE;
87		Text [ en-US ] = "Include Time";
88	};
89
90	FixedText FT_TIME_FORMAT
91	{
92		Pos = MAP_APPFONT ( RELATED_CONTROLS + 2*UNRELATED_CONTROLS, RELATED_CONTROLS + 4*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + LISTBOX_HEIGHT);
93		Size = MAP_APPFONT( BUTTON_WIDTH - RELATED_CONTROLS, FIXEDTEXT_HEIGHT );
94		Text [ en-US ] = "Format";
95	};
96
97	ListBox LB_TIME_TYPE
98	{
99	    HelpID = "reportdesign:ListBox:RID_DATETIME_DLG:LB_TIME_TYPE";
100	 	Pos = MAP_APPFONT ( 2 * UNRELATED_CONTROLS + BUTTON_WIDTH, RELATED_CONTROLS + 4*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + LISTBOX_HEIGHT) ;
101		Size = MAP_APPFONT( PAGE_WIDTH - 3*UNRELATED_CONTROLS - BUTTON_WIDTH, 60 );
102		Border = TRUE;
103		DropDown = TRUE;
104		TabStop = TRUE;
105        Sort = FALSE;
106	};
107	FixedLine FL_SEPARATOR1
108	{
109		Pos = MAP_APPFONT ( RELATED_CONTROLS , RELATED_CONTROLS + 5*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + 2*LISTBOX_HEIGHT) ;
110		Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , 1 ) ;
111	};
112	OKButton PB_OK
113	{
114		Pos = MAP_APPFONT ( UNRELATED_CONTROLS, RELATED_CONTROLS + 6*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + 2*LISTBOX_HEIGHT +1) ;
115		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
116		TabStop = TRUE ;
117		DefButton = TRUE ;
118	};
119	CancelButton PB_CANCEL
120	{
121		Pos = MAP_APPFONT ( RELATED_CONTROLS + UNRELATED_CONTROLS + BUTTON_WIDTH , RELATED_CONTROLS + 6*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + 2*LISTBOX_HEIGHT +1) ;
122		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
123		TabStop = TRUE ;
124	};
125	HelpButton PB_HELP
126	{
127		TabStop	= TRUE ;
128		Pos = MAP_APPFONT ( RELATED_CONTROLS + 2*UNRELATED_CONTROLS + 2*BUTTON_WIDTH , RELATED_CONTROLS + 6*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + 2*LISTBOX_HEIGHT +1) ;
129		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
130        Text [ en-US ] = "~Help";
131	};
132};
133