forked from amazingfate/loongoffice
181 lines
4.7 KiB
Plaintext
181 lines
4.7 KiB
Plaintext
/* -*- 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; };
|
|
};
|
|
|
|
String STR_SFX_QUERY_WRONG_TYPE
|
|
{
|
|
Text [ 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: */
|