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#include "DateTime.hrc"
24#include "RptResId.hrc"
25#include "helpids.hrc"
26#ifndef _GLOBLMN_HRC
27#include <svx/globlmn.hrc>
28#endif
29#ifndef _SBASLTID_HRC
30#include <svx/svxids.hrc>
31#endif
32
33
34ModalDialog RID_DATETIME_DLG
35{
36	OutputSize = TRUE ;
37	SVLook = TRUE ;
38    Size = MAP_APPFONT ( PAGE_WIDTH , PAGE_HEIGHT ) ;
39	Text [ en-US ] = "Date and Time" ;
40	HelpId = HID_RPT_DATETIME_DLG;
41	Moveable = TRUE ;
42	Closeable = TRUE ;
43
44	CheckBox CB_DATE
45	{
46	    HelpID = "reportdesign:CheckBox:RID_DATETIME_DLG:CB_DATE";
47		Pos = MAP_APPFONT ( UNRELATED_CONTROLS , RELATED_CONTROLS /* + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT */) ;
48		Size = MAP_APPFONT ( PAGE_WIDTH - 2*UNRELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ;
49		Check = TRUE;
50		Text [ en-US ] = "Include Date";
51	};
52
53	FixedText FT_DATE_FORMAT
54	{
55		Pos = MAP_APPFONT ( RELATED_CONTROLS + 2*UNRELATED_CONTROLS, RELATED_CONTROLS + UNRELATED_CONTROLS + CHECKBOX_HEIGHT );
56		Size = MAP_APPFONT( BUTTON_WIDTH - RELATED_CONTROLS, FIXEDTEXT_HEIGHT );
57		Text [ en-US ] = "Format";
58	};
59
60	ListBox LB_DATE_TYPE
61	{
62	    HelpID = "reportdesign:ListBox:RID_DATETIME_DLG:LB_DATE_TYPE";
63		Pos = MAP_APPFONT ( 2 * UNRELATED_CONTROLS + BUTTON_WIDTH, RELATED_CONTROLS + UNRELATED_CONTROLS + CHECKBOX_HEIGHT) ;
64		Size = MAP_APPFONT( PAGE_WIDTH - 3*UNRELATED_CONTROLS - BUTTON_WIDTH, 60 );
65		Border = TRUE;
66		DropDown = TRUE;
67		TabStop = TRUE;
68        Sort = FALSE;
69    };
70
71	FixedLine FL_SEPARATOR0
72	{
73		Pos = MAP_APPFONT ( RELATED_CONTROLS , RELATED_CONTROLS + 2*UNRELATED_CONTROLS + CHECKBOX_HEIGHT + LISTBOX_HEIGHT) ;
74		Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , 1 ) ;
75        //		Text [ en-US ] = "Time";
76	};
77	CheckBox CB_TIME
78	{
79	    HelpID = "reportdesign:CheckBox:RID_DATETIME_DLG:CB_TIME";
80		Pos = MAP_APPFONT ( UNRELATED_CONTROLS, RELATED_CONTROLS + 3*UNRELATED_CONTROLS + CHECKBOX_HEIGHT + LISTBOX_HEIGHT) ;
81		Size = MAP_APPFONT ( PAGE_WIDTH - 2*UNRELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ;
82		Check = TRUE;
83		Text [ en-US ] = "Include Time";
84	};
85
86	FixedText FT_TIME_FORMAT
87	{
88		Pos = MAP_APPFONT ( RELATED_CONTROLS + 2*UNRELATED_CONTROLS, RELATED_CONTROLS + 4*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + LISTBOX_HEIGHT);
89		Size = MAP_APPFONT( BUTTON_WIDTH - RELATED_CONTROLS, FIXEDTEXT_HEIGHT );
90		Text [ en-US ] = "Format";
91	};
92
93	ListBox LB_TIME_TYPE
94	{
95	    HelpID = "reportdesign:ListBox:RID_DATETIME_DLG:LB_TIME_TYPE";
96	 	Pos = MAP_APPFONT ( 2 * UNRELATED_CONTROLS + BUTTON_WIDTH, RELATED_CONTROLS + 4*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + LISTBOX_HEIGHT) ;
97		Size = MAP_APPFONT( PAGE_WIDTH - 3*UNRELATED_CONTROLS - BUTTON_WIDTH, 60 );
98		Border = TRUE;
99		DropDown = TRUE;
100		TabStop = TRUE;
101        Sort = FALSE;
102	};
103	FixedLine FL_SEPARATOR1
104	{
105		Pos = MAP_APPFONT ( RELATED_CONTROLS , RELATED_CONTROLS + 5*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + 2*LISTBOX_HEIGHT) ;
106		Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , 1 ) ;
107	};
108	OKButton PB_OK
109	{
110		Pos = MAP_APPFONT ( UNRELATED_CONTROLS, RELATED_CONTROLS + 6*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + 2*LISTBOX_HEIGHT +1) ;
111		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
112		TabStop = TRUE ;
113		DefButton = TRUE ;
114	};
115	CancelButton PB_CANCEL
116	{
117		Pos = MAP_APPFONT ( RELATED_CONTROLS + UNRELATED_CONTROLS + BUTTON_WIDTH , RELATED_CONTROLS + 6*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + 2*LISTBOX_HEIGHT +1) ;
118		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
119		TabStop = TRUE ;
120	};
121	HelpButton PB_HELP
122	{
123		TabStop	= TRUE ;
124		Pos = MAP_APPFONT ( RELATED_CONTROLS + 2*UNRELATED_CONTROLS + 2*BUTTON_WIDTH , RELATED_CONTROLS + 6*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + 2*LISTBOX_HEIGHT +1) ;
125		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
126        Text [ en-US ] = "~Help";
127	};
128};
129