1*dc900991SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*dc900991SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*dc900991SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*dc900991SAndrew Rist * distributed with this work for additional information
6*dc900991SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*dc900991SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*dc900991SAndrew Rist * "License"); you may not use this file except in compliance
9*dc900991SAndrew Rist * with the License.  You may obtain a copy of the License at
10*dc900991SAndrew Rist *
11*dc900991SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*dc900991SAndrew Rist *
13*dc900991SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*dc900991SAndrew Rist * software distributed under the License is distributed on an
15*dc900991SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*dc900991SAndrew Rist * KIND, either express or implied.  See the License for the
17*dc900991SAndrew Rist * specific language governing permissions and limitations
18*dc900991SAndrew Rist * under the License.
19*dc900991SAndrew Rist *
20*dc900991SAndrew Rist *************************************************************/
21*dc900991SAndrew Rist
22*dc900991SAndrew Rist
23cdf0e10cSrcweir#include "DateTime.hrc"
24cdf0e10cSrcweir#include "RptResId.hrc"
25cdf0e10cSrcweir#include "helpids.hrc"
26cdf0e10cSrcweir#ifndef _GLOBLMN_HRC
27cdf0e10cSrcweir#include <svx/globlmn.hrc>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir#ifndef _SBASLTID_HRC
30cdf0e10cSrcweir#include <svx/svxids.hrc>
31cdf0e10cSrcweir#endif
32cdf0e10cSrcweir
33cdf0e10cSrcweir
34cdf0e10cSrcweirModalDialog RID_DATETIME_DLG
35cdf0e10cSrcweir{
36cdf0e10cSrcweir	OutputSize = TRUE ;
37cdf0e10cSrcweir	SVLook = TRUE ;
38cdf0e10cSrcweir    Size = MAP_APPFONT ( PAGE_WIDTH , PAGE_HEIGHT ) ;
39cdf0e10cSrcweir	Text [ en-US ] = "Date and Time" ;
40cdf0e10cSrcweir	HelpId = HID_RPT_DATETIME_DLG;
41cdf0e10cSrcweir	Moveable = TRUE ;
42cdf0e10cSrcweir	Closeable = TRUE ;
43cdf0e10cSrcweir
44cdf0e10cSrcweir	CheckBox CB_DATE
45cdf0e10cSrcweir	{
46cdf0e10cSrcweir	    HelpID = "reportdesign:CheckBox:RID_DATETIME_DLG:CB_DATE";
47cdf0e10cSrcweir		Pos = MAP_APPFONT ( UNRELATED_CONTROLS , RELATED_CONTROLS /* + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT */) ;
48cdf0e10cSrcweir		Size = MAP_APPFONT ( PAGE_WIDTH - 2*UNRELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ;
49cdf0e10cSrcweir		Check = TRUE;
50cdf0e10cSrcweir		Text [ en-US ] = "Include Date";
51cdf0e10cSrcweir	};
52cdf0e10cSrcweir
53cdf0e10cSrcweir	FixedText FT_DATE_FORMAT
54cdf0e10cSrcweir	{
55cdf0e10cSrcweir		Pos = MAP_APPFONT ( RELATED_CONTROLS + 2*UNRELATED_CONTROLS, RELATED_CONTROLS + UNRELATED_CONTROLS + CHECKBOX_HEIGHT );
56cdf0e10cSrcweir		Size = MAP_APPFONT( BUTTON_WIDTH - RELATED_CONTROLS, FIXEDTEXT_HEIGHT );
57cdf0e10cSrcweir		Text [ en-US ] = "Format";
58cdf0e10cSrcweir	};
59cdf0e10cSrcweir
60cdf0e10cSrcweir	ListBox LB_DATE_TYPE
61cdf0e10cSrcweir	{
62cdf0e10cSrcweir	    HelpID = "reportdesign:ListBox:RID_DATETIME_DLG:LB_DATE_TYPE";
63cdf0e10cSrcweir		Pos = MAP_APPFONT ( 2 * UNRELATED_CONTROLS + BUTTON_WIDTH, RELATED_CONTROLS + UNRELATED_CONTROLS + CHECKBOX_HEIGHT) ;
64cdf0e10cSrcweir		Size = MAP_APPFONT( PAGE_WIDTH - 3*UNRELATED_CONTROLS - BUTTON_WIDTH, 60 );
65cdf0e10cSrcweir		Border = TRUE;
66cdf0e10cSrcweir		DropDown = TRUE;
67cdf0e10cSrcweir		TabStop = TRUE;
68cdf0e10cSrcweir        Sort = FALSE;
69cdf0e10cSrcweir    };
70cdf0e10cSrcweir
71cdf0e10cSrcweir	FixedLine FL_SEPARATOR0
72cdf0e10cSrcweir	{
73cdf0e10cSrcweir		Pos = MAP_APPFONT ( RELATED_CONTROLS , RELATED_CONTROLS + 2*UNRELATED_CONTROLS + CHECKBOX_HEIGHT + LISTBOX_HEIGHT) ;
74cdf0e10cSrcweir		Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , 1 ) ;
75cdf0e10cSrcweir        //		Text [ en-US ] = "Time";
76cdf0e10cSrcweir	};
77cdf0e10cSrcweir	CheckBox CB_TIME
78cdf0e10cSrcweir	{
79cdf0e10cSrcweir	    HelpID = "reportdesign:CheckBox:RID_DATETIME_DLG:CB_TIME";
80cdf0e10cSrcweir		Pos = MAP_APPFONT ( UNRELATED_CONTROLS, RELATED_CONTROLS + 3*UNRELATED_CONTROLS + CHECKBOX_HEIGHT + LISTBOX_HEIGHT) ;
81cdf0e10cSrcweir		Size = MAP_APPFONT ( PAGE_WIDTH - 2*UNRELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ;
82cdf0e10cSrcweir		Check = TRUE;
83cdf0e10cSrcweir		Text [ en-US ] = "Include Time";
84cdf0e10cSrcweir	};
85cdf0e10cSrcweir
86cdf0e10cSrcweir	FixedText FT_TIME_FORMAT
87cdf0e10cSrcweir	{
88cdf0e10cSrcweir		Pos = MAP_APPFONT ( RELATED_CONTROLS + 2*UNRELATED_CONTROLS, RELATED_CONTROLS + 4*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + LISTBOX_HEIGHT);
89cdf0e10cSrcweir		Size = MAP_APPFONT( BUTTON_WIDTH - RELATED_CONTROLS, FIXEDTEXT_HEIGHT );
90cdf0e10cSrcweir		Text [ en-US ] = "Format";
91cdf0e10cSrcweir	};
92cdf0e10cSrcweir
93cdf0e10cSrcweir	ListBox LB_TIME_TYPE
94cdf0e10cSrcweir	{
95cdf0e10cSrcweir	    HelpID = "reportdesign:ListBox:RID_DATETIME_DLG:LB_TIME_TYPE";
96cdf0e10cSrcweir	 	Pos = MAP_APPFONT ( 2 * UNRELATED_CONTROLS + BUTTON_WIDTH, RELATED_CONTROLS + 4*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + LISTBOX_HEIGHT) ;
97cdf0e10cSrcweir		Size = MAP_APPFONT( PAGE_WIDTH - 3*UNRELATED_CONTROLS - BUTTON_WIDTH, 60 );
98cdf0e10cSrcweir		Border = TRUE;
99cdf0e10cSrcweir		DropDown = TRUE;
100cdf0e10cSrcweir		TabStop = TRUE;
101cdf0e10cSrcweir        Sort = FALSE;
102cdf0e10cSrcweir	};
103cdf0e10cSrcweir	FixedLine FL_SEPARATOR1
104cdf0e10cSrcweir	{
105cdf0e10cSrcweir		Pos = MAP_APPFONT ( RELATED_CONTROLS , RELATED_CONTROLS + 5*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + 2*LISTBOX_HEIGHT) ;
106cdf0e10cSrcweir		Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , 1 ) ;
107cdf0e10cSrcweir	};
108cdf0e10cSrcweir	OKButton PB_OK
109cdf0e10cSrcweir	{
110cdf0e10cSrcweir		Pos = MAP_APPFONT ( UNRELATED_CONTROLS, RELATED_CONTROLS + 6*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + 2*LISTBOX_HEIGHT +1) ;
111cdf0e10cSrcweir		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
112cdf0e10cSrcweir		TabStop = TRUE ;
113cdf0e10cSrcweir		DefButton = TRUE ;
114cdf0e10cSrcweir	};
115cdf0e10cSrcweir	CancelButton PB_CANCEL
116cdf0e10cSrcweir	{
117cdf0e10cSrcweir		Pos = MAP_APPFONT ( RELATED_CONTROLS + UNRELATED_CONTROLS + BUTTON_WIDTH , RELATED_CONTROLS + 6*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + 2*LISTBOX_HEIGHT +1) ;
118cdf0e10cSrcweir		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
119cdf0e10cSrcweir		TabStop = TRUE ;
120cdf0e10cSrcweir	};
121cdf0e10cSrcweir	HelpButton PB_HELP
122cdf0e10cSrcweir	{
123cdf0e10cSrcweir		TabStop	= TRUE ;
124cdf0e10cSrcweir		Pos = MAP_APPFONT ( RELATED_CONTROLS + 2*UNRELATED_CONTROLS + 2*BUTTON_WIDTH , RELATED_CONTROLS + 6*UNRELATED_CONTROLS + 2*CHECKBOX_HEIGHT + 2*LISTBOX_HEIGHT +1) ;
125cdf0e10cSrcweir		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
126cdf0e10cSrcweir        Text [ en-US ] = "~Help";
127cdf0e10cSrcweir	};
128cdf0e10cSrcweir};
129