376 lines
10 KiB
Text
376 lines
10 KiB
Text
/*************************************************************************
|
|
*
|
|
* 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 <svx/svxids.hrc>
|
|
#include "svx/fmresids.hrc"
|
|
#include "fmexpl.hrc"
|
|
#include "globlmn_tmpl.hrc"
|
|
#include <svx/svxcommands.h>
|
|
#include "fmhelp.hrc"
|
|
|
|
Menu RID_FMEXPLORER_POPUPMENU
|
|
{
|
|
ItemList =
|
|
{
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_NEW ;
|
|
HelpId = HID_FM_NEW ;
|
|
Text [ en-US ] = "~New" ;
|
|
SubMenu = Menu
|
|
{
|
|
ItemList =
|
|
{
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_NEW_FORM ;
|
|
HelpId = HID_FM_NEW_FORM ;
|
|
Text [ en-US ] = "Form" ;
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_NEW_HIDDEN ;
|
|
HelpId = HID_FM_NEW_HIDDEN ;
|
|
Text [ en-US ] = "Hidden Control" ;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CHANGECONTROLTYPE ;
|
|
HelpId = CMD_SID_FM_CHANGECONTROLTYPE ;
|
|
Text [ en-US ] = "Replace with";
|
|
};
|
|
MenuItem { ITEM_EDIT_CUT };
|
|
MenuItem { ITEM_EDIT_COPY };
|
|
MenuItem { ITEM_EDIT_PASTE };
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_DELETE ;
|
|
HelpId = HID_FM_DELETE ;
|
|
Text [ en-US ] = "~Delete" ;
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_TAB_DIALOG ;
|
|
HelpId = CMD_SID_FM_TAB_DIALOG ;
|
|
Text [ en-US ] = "Tab Order..." ;
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_RENAME_OBJECT ;
|
|
HelpId = HID_FM_RENAME_OBJECT ;
|
|
Text [ en-US ] = "~Rename" ;
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_SHOW_PROPERTY_BROWSER ;
|
|
HelpId = CMD_SID_FM_SHOW_PROPERTY_BROWSER ;
|
|
Text [ en-US ] = "Propert~ies" ;
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_OPEN_READONLY ;
|
|
HelpId = CMD_SID_FM_OPEN_READONLY ;
|
|
Text [ en-US ] = "Open in Design Mode" ;
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_AUTOCONTROLFOCUS ;
|
|
HelpId = CMD_SID_FM_AUTOCONTROLFOCUS ;
|
|
Text [ en-US ] = "Automatic Control Focus";
|
|
};
|
|
};
|
|
};
|
|
|
|
Menu RID_FMSHELL_CONVERSIONMENU
|
|
{
|
|
ItemList =
|
|
{
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_EDIT ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_EDIT ;
|
|
Command = ".uno:ConvertToEdit" ;
|
|
Text [ en-US ] = "~Text Box";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_BUTTON ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_BUTTON ;
|
|
Command = ".uno:ConvertToButton" ;
|
|
Text [ en-US ] = "~Button";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_FIXEDTEXT ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_FIXEDTEXT ;
|
|
Command = ".uno:ConvertToFixed" ;
|
|
Text [ en-US ] = "La~bel field";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_GROUPBOX ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_GROUPBOX ;
|
|
Command = ".uno:ConvertToGroup" ;
|
|
Text [ en-US ] = "G~roup Box";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_LISTBOX ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_LISTBOX ;
|
|
Command = ".uno:ConvertToList" ;
|
|
Text [ en-US ] = "L~ist Box";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_CHECKBOX ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_CHECKBOX ;
|
|
Command = ".uno:ConvertToCheckBox" ;
|
|
Text [ en-US ] = "~Check Box";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_RADIOBUTTON ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_RADIOBUTTON ;
|
|
Command = ".uno:ConvertToRadio" ;
|
|
Text [ en-US ] = "~Radio Button";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_COMBOBOX ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_COMBOBOX ;
|
|
Command = ".uno:ConvertToCombo" ;
|
|
Text [ en-US ] = "Combo Bo~x";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_IMAGEBUTTON ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_IMAGEBUTTON ;
|
|
Command = ".uno:ConvertToImageBtn" ;
|
|
Text [ en-US ] = "I~mage Button";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_FILECONTROL ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_FILECONTROL ;
|
|
Command = ".uno:ConvertToFileControl" ;
|
|
Text [ en-US ] = "~File Selection";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_DATE ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_DATE ;
|
|
Command = ".uno:ConvertToDate" ;
|
|
Text [ en-US ] = "~Date Field";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_TIME ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_TIME ;
|
|
Command = ".uno:ConvertToTime" ;
|
|
Text [ en-US ] = "Tim~e Field";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_NUMERIC ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_NUMERIC ;
|
|
Command = ".uno:ConvertToNumeric" ;
|
|
Text [ en-US ] = "~Numerical Field";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_CURRENCY ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_CURRENCY ;
|
|
Command = ".uno:ConvertToCurrency" ;
|
|
Text [ en-US ] = "C~urrency Field";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_PATTERN ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_PATTERN ;
|
|
Command = ".uno:ConvertToPattern" ;
|
|
Text [ en-US ] = "~Pattern Field";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_IMAGECONTROL ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_IMAGECONTROL ;
|
|
Command = ".uno:ConvertToImageControl" ;
|
|
Text [ en-US ] = "Ima~ge Control";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_FORMATTED ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_FORMATTED ;
|
|
Command = ".uno:ConvertToFormatted" ;
|
|
Text [ en-US ] = "Fo~rmatted Field";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_SCROLLBAR ;
|
|
HelpId = CMD_SID_FM_CONVERTTO_SCROLLBAR ;
|
|
Command = ".uno:ConvertToScrollBar" ;
|
|
Text [ en-US ] = "Scroll bar";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_SPINBUTTON;
|
|
HelpId = CMD_SID_FM_CONVERTTO_SPINBUTTON;
|
|
Command = ".uno:ConvertToSpinButton" ;
|
|
Text [ en-US ] = "Spin Button";
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = SID_FM_CONVERTTO_NAVIGATIONBAR;
|
|
HelpId = CMD_SID_FM_CONVERTTO_NAVIGATIONBAR;
|
|
Command = ".uno:ConvertToNavigationBar" ;
|
|
Text [ en-US ] = "Navigation Bar" ;
|
|
};
|
|
};
|
|
};
|
|
|
|
#define NAVIGATOR_IMAGEIDS \
|
|
IdList = \
|
|
{ \
|
|
RID_SVXIMG_BUTTON ; \
|
|
RID_SVXIMG_RADIOBUTTON ; \
|
|
RID_SVXIMG_CHECKBOX ; \
|
|
RID_SVXIMG_FIXEDTEXT ; \
|
|
RID_SVXIMG_GROUPBOX ; \
|
|
RID_SVXIMG_EDIT ; \
|
|
RID_SVXIMG_LISTBOX ; \
|
|
RID_SVXIMG_COMBOBOX ; \
|
|
RID_SVXIMG_NAVIGATIONBAR ; \
|
|
RID_SVXIMG_CONTROL ; \
|
|
RID_SVXIMG_FORM ; \
|
|
RID_SVXIMG_FORMS ; \
|
|
RID_SVXIMG_COLLAPSEDNODE ; \
|
|
RID_SVXIMG_EXPANDEDNODE ; \
|
|
RID_SVXIMG_IMAGEBUTTON ; \
|
|
RID_SVXIMG_FILECONTROL ; \
|
|
RID_SVXIMG_DATEFIELD ; \
|
|
RID_SVXIMG_TIMEFIELD ; \
|
|
RID_SVXIMG_NUMERICFIELD ; \
|
|
RID_SVXIMG_CURRENCYFIELD ; \
|
|
RID_SVXIMG_PATTERNFIELD ; \
|
|
RID_SVXIMG_HIDDEN ; \
|
|
RID_SVXIMG_IMAGECONTROL ; \
|
|
RID_SVXIMG_GRID ; \
|
|
RID_SVXIMG_FILTER ; \
|
|
RID_SVXIMG_FORMATTEDFIELD ; \
|
|
RID_SVXIMG_DATE_N_TIME_FIELDS ; \
|
|
RID_SVXIMG_FIELD ; \
|
|
RID_SVXIMG_SCROLLBAR; \
|
|
RID_SVXIMG_SPINBUTTON; \
|
|
}; \
|
|
IdCount = 30
|
|
|
|
ImageList RID_SVXIMGLIST_FMEXPL
|
|
{
|
|
Prefix = "sx";
|
|
MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
|
|
NAVIGATOR_IMAGEIDS;
|
|
};
|
|
|
|
ModalDialog RID_SVXDLG_SETFORM
|
|
{
|
|
HelpID = "svx:ModalDialog:RID_SVXDLG_SETFORM";
|
|
OutputSize = TRUE ;
|
|
SVLook = TRUE ;
|
|
Size = MAP_APPFONT ( 200 , 200 ) ;
|
|
Moveable = TRUE ;
|
|
Closeable = TRUE ;
|
|
GroupBox GB_PATH
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 149 ) ;
|
|
Size = MAP_APPFONT ( 188 , 25 ) ;
|
|
Text [ en-US ] = "Path" ;
|
|
};
|
|
FixedText FT_PATH
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 155 ) ;
|
|
Size = MAP_APPFONT ( 156 , 15 ) ;
|
|
};
|
|
OKButton PB_OK
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 180 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
TabStop = TRUE ;
|
|
};
|
|
CancelButton PB_CANCEL
|
|
{
|
|
Pos = MAP_APPFONT ( 59 , 180 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
TabStop = TRUE ;
|
|
};
|
|
HelpButton PB_HELP
|
|
{
|
|
Pos = MAP_APPFONT ( 123 , 180 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
TabStop = TRUE ;
|
|
};
|
|
Text [ en-US ] = "Select form" ;
|
|
};
|
|
DockingWindow RID_SVX_FMEXPLORER
|
|
{
|
|
HelpID = "svx:DockingWindow:RID_SVX_FMEXPLORER";
|
|
OutputSize = TRUE ;
|
|
SVLook = TRUE ;
|
|
Size = MAP_APPFONT ( 200 , 200 ) ;
|
|
Moveable = TRUE ;
|
|
Closeable = TRUE ;
|
|
Text [ en-US ] = "Form Navigator" ;
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|