summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/dinfdlg.src
blob: 8f6ad2e9ac006dc2c52665203aa42c2f00deea55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#include <sfx2/sfx.hrc>
#include "helpid.hrc"
#include "sfxlocal.hrc"
#include "dinfdlg.hrc"
#include "dialog.hrc"

String STR_SFX_NEWOFFICEDOC
{
    Text [ en-US ] = "%PRODUCTNAME document" ;
};

ComboBox SFX_CB_PROPERTY_NAME
{
    Pos = MAP_APPFONT ( 0 , 2 ) ;
    Size = MAP_APPFONT ( 60 , 72 ) ;
    TabStop = TRUE ;
    DropDown = TRUE ;
    AutoSize = TRUE ;
    AutoHScroll = TRUE ;
    DDExtraWidth = TRUE ;
    QuickHelpText [ en-US ] = "Property Name" ;
    StringList [ en-US ] =
    {
        "Checked by";
        "Client";
        "Date completed";
        "Department";
        "Destinations";
        "Disposition";
        "Division";
        "Document number";
        "Editor";
        "E-Mail";
        "Forward to";
        "Group";
        "Info";
        "Language";
        "Mailstop";
        "Matter";
        "Office";
        "Owner";
        "Project";
        "Publisher";
        "Purpose";
        "Received from";
        "Recorded by";
        "Recorded date";
        "Reference";
        "Source";
        "Status";
        "Telephone number";
        "Typist";
        "URL";
    };
};
ListBox SFX_LB_PROPERTY_TYPE
{
    Pos = MAP_APPFONT ( 63 , 2 ) ;
    Size = MAP_APPFONT ( 60 , 80 ) ;
    DropDown = TRUE;
    Border = TRUE;
    CurPos = 0;
    StringList [ en-US ] =
    {
        < "Text"        ; CUSTOM_TYPE_TEXT ; > ;
        < "DateTime"    ; CUSTOM_TYPE_DATETIME ; > ;
        < "Date"        ; CUSTOM_TYPE_DATE ; > ;
        < "Duration"    ; CUSTOM_TYPE_DURATION ; > ;
        < "Number"      ; CUSTOM_TYPE_NUMBER ; > ;
        < "Yes or no"   ; CUSTOM_TYPE_BOOLEAN ; > ;
    };
};

Edit SFX_ED_PROPERTY_VALUE
{
    Border = TRUE ;
    Pos = MAP_APPFONT ( 127 , 2 ) ;
    Size = MAP_APPFONT ( 61 , RSC_CD_TEXTBOX_HEIGHT ) ;
    TabStop = TRUE ;
    Left = TRUE ;
};
DateField SFX_FLD_DATE
{
    Border = TRUE ;
    Pos = MAP_APPFONT ( 127 , 2 ) ;
    Size = MAP_APPFONT ( 29 , RSC_CD_TEXTBOX_HEIGHT ) ;
    TabStop = TRUE ;
    Left = TRUE ;
    Spin = TRUE;
};
TimeField SFX_FLD_TIME
{
    Border = TRUE ;
    Pos = MAP_APPFONT ( 159 , 2 ) ;
    Size = MAP_APPFONT ( 29 , RSC_CD_TEXTBOX_HEIGHT ) ;
    TabStop = TRUE ;
    Left = TRUE ;
    Spin = TRUE;
};

Edit SFX_FLD_DURATION
{
    Readonly = TRUE;
    Border = TRUE ;
    Pos = MAP_APPFONT ( 159 , 2 ) ;
    Size = MAP_APPFONT ( 61 - RSC_CD_TEXTBOX_HEIGHT - 2, RSC_CD_TEXTBOX_HEIGHT ) ;
    TabStop = TRUE ;
};
PushButton SFX_PB_EDIT
{
    Pos = MAP_APPFONT ( 159 , 2 ) ;
    Size = MAP_APPFONT ( RSC_CD_TEXTBOX_HEIGHT , RSC_CD_TEXTBOX_HEIGHT ) ;
    Text = "...";
};
String SFX_ST_DURATION_FORMAT
{
    Text [en-US] = " Y: %1 M: %2 D: %3 H: %4 M: %5 S: %6";
};

Control SFX_WIN_PROPERTY_YESNO
{
    HelpId = HID_CTRL_CUSTOMPROPS_YES_NO;
    OutputSize = TRUE ;
    Pos = MAP_APPFONT ( 127 , 2 ) ;
    Size = MAP_APPFONT ( 61 , RSC_CD_TEXTBOX_HEIGHT ) ;
    Border = TRUE ;
    DialogControl = TRUE ;
    RadioButton RB_PROPERTY_YES
    {
        TabStop = TRUE ;
        Pos = MAP_APPFONT( 1 , 1 ) ;
        Size = MAP_APPFONT( 28 , RSC_CD_RADIOBUTTON_HEIGHT ) ;
        Text [ en-US ] = "Yes" ;
    };
    RadioButton RB_PROPERTY_NO
    {
        TabStop = TRUE ;
        Pos = MAP_APPFONT( 32 , 1 ) ;
        Size = MAP_APPFONT( 29 , RSC_CD_RADIOBUTTON_HEIGHT ) ;
        Text [ en-US ] = "No" ;
    };
};

ImageButton SFX_PB_PROPERTY_REMOVE
{
    Pos = MAP_APPFONT( 190 , 1 );
    Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_HEIGHT, RSC_CD_PUSHBUTTON_HEIGHT );
    QuickHelpText [ en-US ] = "Remove Property" ;
};
Image SFX_IMG_PROPERTY_REMOVE
{
    ImageBitmap = Bitmap { File = "deleterow.bmp" ; };
    MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
};

QueryBox SFX_QB_WRONG_TYPE
{
    Buttons = WB_OK_CANCEL ;
    DefButton = WB_DEF_OK ;
    Message [ en-US ] = "The value entered does not match the specified type.\nThe value will be stored as text." ;
};

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */