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