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