00001 /* -*- mode: C++; tab-width: 4; c-basic-offset: 4; -*- */ 00002 00003 /* AbiWord 00004 * Copyright (C) 1998-2000 AbiSource, Inc. 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation; either version 2 00009 * of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00019 * 02110-1301 USA. 00020 */ 00021 00022 #ifdef HAVE_CONFIG_H 00023 #include "config.h" 00024 #endif 00025 00026 /***************************************************************** 00027 ****************************************************************** 00028 ** IT IS IMPORTANT THAT THIS FILE ALLOW ITSELF TO BE INCLUDED 00029 ** MORE THAN ONE TIME. 00030 ****************************************************************** 00031 *****************************************************************/ 00032 00033 BeginLayout(FileEditOps, AP_STRING_ID_TB_Standard, AP_PREF_KEY_StandardBarVisible) 00034 00035 ToolbarItem(AP_TOOLBAR_ID_FILE_NEW) 00036 ToolbarItem(AP_TOOLBAR_ID_FILE_OPEN) 00037 ToolbarItem(AP_TOOLBAR_ID_FILE_SAVE) 00038 #ifdef ENABLE_PRINT 00039 Spacer() 00040 #if defined(TOOLKIT_GTK_ALL) || defined (TOOLKIT_WIN) 00041 ToolbarItem(AP_TOOLBAR_ID_FILE_PRINT_PREVIEW) 00042 #endif 00043 ToolbarItem(AP_TOOLBAR_ID_FILE_PRINT) 00044 #endif 00045 00046 Spacer() 00047 ToolbarItem(AP_TOOLBAR_ID_EDIT_UNDO) 00048 ToolbarItem(AP_TOOLBAR_ID_EDIT_REDO) 00049 00050 Spacer() 00051 ToolbarItem(AP_TOOLBAR_ID_EDIT_CUT) 00052 ToolbarItem(AP_TOOLBAR_ID_EDIT_COPY) 00053 ToolbarItem(AP_TOOLBAR_ID_EDIT_PASTE) 00054 ToolbarItem(AP_TOOLBAR_ID_FMTPAINTER) 00055 00056 Spacer() 00057 #ifdef ENABLE_SPELL 00058 ToolbarItem(AP_TOOLBAR_ID_SPELLCHECK) 00059 Spacer() 00060 #endif 00061 ToolbarItem(AP_TOOLBAR_ID_ZOOM) 00062 00063 #ifndef TOOLKIT_WIN 00064 ToolbarItem(AP_TOOLBAR_ID_REVISIONS_NEW) 00065 ToolbarItem(AP_TOOLBAR_ID_REVISIONS_SELECT) 00066 ToolbarItem(AP_TOOLBAR_ID_REVISIONS_SHOW_FINAL) 00067 ToolbarItem(AP_TOOLBAR_ID_REVISIONS_FIND_PREV) 00068 ToolbarItem(AP_TOOLBAR_ID_REVISIONS_FIND_NEXT) 00069 #endif 00070 00071 EndLayout()