forked from amazingfate/loongoffice
151 lines
4.3 KiB
Plaintext
151 lines
4.3 KiB
Plaintext
/*************************************************************************
|
|
*
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
*
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* This file is part of OpenOffice.org.
|
|
*
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
* only, as published by the Free Software Foundation.
|
|
*
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License version 3 for more details
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
* <http://www.openoffice.org/license.html>
|
|
* for a copy of the LGPLv3 License.
|
|
*
|
|
************************************************************************/
|
|
|
|
#include "cuires.hrc"
|
|
#include "thesdlg.hrc"
|
|
#include "helpid.hrc"
|
|
#include <svx/svxids.hrc> // SID_THESAURUS
|
|
|
|
|
|
// RID_SVXDLG_THES -------------------------------------------------------
|
|
ModalDialog RID_SVXDLG_THESAURUS
|
|
{
|
|
HelpId = CMD_SID_THESAURUS ;
|
|
OutputSize = TRUE ;
|
|
Size = MAP_APPFONT ( 235, 230 ) ;
|
|
Text [ en-US ] = "Thesaurus" ;
|
|
SvLook = TRUE ;
|
|
Moveable = TRUE ;
|
|
|
|
FixedImage IMG_VENDOR
|
|
{
|
|
Pos = MAP_APPFONT ( 0, 0 ) ;
|
|
Size = MAP_APPFONT ( 235, 0 ) ; // correct size will be applied at runtime
|
|
Hide = TRUE;
|
|
};
|
|
|
|
ImageButton BTN_LEFT
|
|
{
|
|
HelpID = "cui:ImageButton:RID_SVXDLG_THESAURUS:BTN_LEFT";
|
|
Pos = MAP_APPFONT ( 5 , 15 ) ;
|
|
Size = MAP_APPFONT ( 14 , 14 ) ;
|
|
TABSTOP = TRUE ;
|
|
SYMBOL = IMAGEBUTTON_ARROW_LEFT ;
|
|
};
|
|
FixedText FT_WORD
|
|
{
|
|
Pos = MAP_APPFONT ( 24 , 5 ) ;
|
|
Size = MAP_APPFONT ( 143 , 8 ) ;
|
|
Text [ en-US ] = "~Current word" ;
|
|
LEFT = TRUE ;
|
|
};
|
|
ComboBox CB_WORD
|
|
{
|
|
HelpID = "cui:ComboBox:RID_SVXDLG_THESAURUS:CB_WORD";
|
|
DropDown = TRUE ;
|
|
Pos = MAP_APPFONT ( 24 , 16 ) ;
|
|
Size = MAP_APPFONT ( 141 , 60 ) ; // have drop down space for several lines
|
|
};
|
|
MenuButton MB_LANGUAGE
|
|
{
|
|
HelpID = "cui:MenuButton:RID_SVXDLG_THESAURUS:MB_LANGUAGE";
|
|
Pos = MAP_APPFONT ( 170 , 16 ) ;
|
|
Size = MAP_APPFONT ( 60 , 14 ) ;
|
|
Text [ en-US ] = "~Language" ;
|
|
};
|
|
|
|
FixedText FT_THES_ALTERNATIVES
|
|
{
|
|
Pos = MAP_APPFONT ( 5 , 33 ) ;
|
|
Size = MAP_APPFONT ( 255 , 8 ) ;
|
|
Text [ en-US ] = "~Alternatives" ;
|
|
LEFT = TRUE ;
|
|
};
|
|
Control CT_THES_ALTERNATIVES
|
|
{
|
|
HelpID = HID_CT_THES_ALTERNATIVES ; // also needed for automatic testing to find the control
|
|
Pos = MAP_APPFONT ( 5 , 45 ) ;
|
|
Size = MAP_APPFONT ( 225 , 121 ) ;
|
|
Border = TRUE;
|
|
TabStop = TRUE ;
|
|
};
|
|
|
|
FixedText FT_REPL
|
|
{
|
|
Pos = MAP_APPFONT ( 5 , 173 ) ;
|
|
Size = MAP_APPFONT ( 255 , 8 ) ;
|
|
Text [ en-US ] = "~Replace with" ;
|
|
LEFT = TRUE ;
|
|
};
|
|
Edit ED_REPL
|
|
{
|
|
HelpID = "cui:Edit:RID_SVXDLG_THESAURUS:ED_REPL";
|
|
BORDER = TRUE ;
|
|
Pos = MAP_APPFONT ( 5 , 184 ) ;
|
|
Size = MAP_APPFONT ( 225 , 12 ) ;
|
|
LEFT = TRUE ;
|
|
};
|
|
FixedLine FL_VAR
|
|
{
|
|
Pos = MAP_APPFONT ( 0 , 200 ) ;
|
|
Size = MAP_APPFONT ( 235 , 8 ) ;
|
|
};
|
|
|
|
HelpButton BTN_THES_HELP
|
|
{
|
|
Pos = MAP_APPFONT ( 5 , 210 ) ;
|
|
Size = MAP_APPFONT ( 60 , 14 ) ;
|
|
};
|
|
OkButton BTN_THES_OK
|
|
{
|
|
Pos = MAP_APPFONT ( 105 , 210 ) ;
|
|
Size = MAP_APPFONT ( 60 , 14 ) ;
|
|
Text [ en-US ] = "Replace" ;
|
|
DefButton = TRUE ;
|
|
};
|
|
CancelButton BTN_THES_CANCEL
|
|
{
|
|
Pos = MAP_APPFONT ( 170 , 210 ) ;
|
|
Size = MAP_APPFONT ( 60 , 14 ) ;
|
|
};
|
|
|
|
String STR_ERR_TEXTNOTFOUND
|
|
{
|
|
Text [ en-US ] = "No alternatives found." ;
|
|
};
|
|
|
|
Image IMG_DEFAULT_VENDOR
|
|
{
|
|
ImageBitmap = Bitmap { File = "vendor01.png"; };
|
|
};
|
|
Image IMG_DEFAULT_VENDOR_HC
|
|
{
|
|
ImageBitmap = Bitmap { File = "vendor01h.png"; };
|
|
};
|
|
};
|
|
|