File indexing completed on 2024-04-28 15:23:21
0001 /* This file is part of the KDE project 0002 * 0003 * Copyright (C) 2004 Leo Savernik <l.savernik@aon.at> 0004 * 0005 * This library is free software; you can redistribute it and/or 0006 * modify it under the terms of the GNU Library General Public 0007 * License as published by the Free Software Foundation; either 0008 * version 2 of the License, or (at your option) any later version. 0009 * 0010 * This library is distributed in the hope that it will be useful, 0011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0013 * Library General Public License for more details. 0014 * 0015 * You should have received a copy of the GNU Library General Public License 0016 * along with this library; see the file COPYING.LIB. If not, write to 0017 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 0018 * Boston, MA 02111-1307, USA. 0019 */ 0020 0021 #ifndef EDITOR_COMMAND_H 0022 #define EDITOR_COMMAND_H 0023 0024 namespace DOM 0025 { 0026 0027 /** 0028 * List of all supported built-in editor commands. 0029 */ 0030 enum EditorCommand { 0031 BackColorCommand, 0032 BoldCommand, 0033 CopyCommand, 0034 CutCommand, 0035 DeleteCommand, 0036 FontNameCommand, 0037 FontSizeCommand, 0038 ForeColorCommand, 0039 IndentCommand, 0040 InsertNewlineCommand, 0041 InsertParagraphCommand, 0042 InsertTextCommand, 0043 ItalicCommand, 0044 JustifyCenterCommand, 0045 JustifyFullCommand, 0046 JustifyLeftCommand, 0047 JustifyNoneCommand, 0048 JustifyRightCommand, 0049 OutdentCommand, 0050 PasteCommand, 0051 PrintCommand, 0052 RedoCommand, 0053 SelectAllCommand, 0054 SubscriptCommand, 0055 SuperscriptCommand, 0056 UndoCommand, 0057 UnselectCommand 0058 0059 // 0060 // The "unsupported" commands are listed here since they appear in the Microsoft 0061 // documentation used as the basis for the list. 0062 // 0063 0064 // 2d-position (not supported) 0065 // absolutePosition (not supported) 0066 // blockDirLTR (not supported) 0067 // blockDirRTL (not supported) 0068 // browseMode (not supported) 0069 // clearAuthenticationCache (not supported) 0070 // createBookmark (not supported) 0071 // createLink (not supported) 0072 // dirLTR (not supported) 0073 // dirRTL (not supported) 0074 // editMode (not supported) 0075 // formatBlock (not supported) 0076 // inlineDirLTR (not supported) 0077 // inlineDirRTL (not supported) 0078 // insertButton (not supported) 0079 // insertFieldSet (not supported) 0080 // insertHorizontalRule (not supported) 0081 // insertIFrame (not supported) 0082 // insertImage (not supported) 0083 // insertInputButton (not supported) 0084 // insertInputCheckbox (not supported) 0085 // insertInputFileUpload (not supported) 0086 // insertInputHidden (not supported) 0087 // insertInputImage (not supported) 0088 // insertInputPassword (not supported) 0089 // insertInputRadio (not supported) 0090 // insertInputReset (not supported) 0091 // insertInputSubmit (not supported) 0092 // insertInputText (not supported) 0093 // insertMarquee (not supported) 0094 // insertOrderedList (not supported) 0095 // insertSelectDropDown (not supported) 0096 // insertSelectListBox (not supported) 0097 // insertTextArea (not supported) 0098 // insertUnorderedList (not supported) 0099 // liveResize (not supported) 0100 // multipleSelection (not supported) 0101 // open (not supported) 0102 // overwrite (not supported) 0103 // playImage (not supported) 0104 // refresh (not supported) 0105 // removeFormat (not supported) 0106 // removeParaFormat (not supported) 0107 // saveAs (not supported) 0108 // sizeToControl (not supported) 0109 // sizeToControlHeight (not supported) 0110 // sizeToControlWidth (not supported) 0111 // stop (not supported) 0112 // stopimage (not supported) 0113 // strikethrough (not supported) 0114 // unbookmark (not supported) 0115 // underline (not supported) 0116 // unlink (not supported) 0117 }; 0118 0119 }/*namespace DOM*/ 0120 0121 #endif