KHTML
DOM::Editor Class Reference
#include <editor.h>

Detailed Description
This class resembles the editing API when the associated khtml document is editable (in design mode), or contains editable elements.FIXME: document this thoroughly
API to Wysiwyg Markup-Editor.
Definition at line 58 of file editor.h.
Member Enumeration Documentation
Member Function Documentation
void Editor::appliedEditing | ( | khtml::EditCommand & | cmd | ) |
void DOM::Editor::applyStyle | ( | DOM::CSSStyleDeclarationImpl * | ) |
applies the given style to the current selection
bool Editor::canPaste | ( | ) | const |
bool Editor::canRedo | ( | ) | const |
bool Editor::canUndo | ( | ) | const |
void Editor::clearTypingStyle | ( | ) |
void Editor::copy | ( | ) |
void Editor::cut | ( | ) |
bool Editor::execCommand | ( | EditorCommand | command, | |
bool | userInterface, | |||
const DOMString & | value | |||
) |
Executes the given built-in editor command.
- Parameters:
-
EditorCommand index of command userInterface whether an user interface should be used to input data. This is command dependant. value value for command. Its semantic depends on the command.
Definition at line 136 of file editor.cpp.
Executes the given editor command.
- Parameters:
-
command name of command userInterface whether an user interface should be used to input data. This is command dependant. value value for command. Its semantic depends on the command.
Definition at line 100 of file editor.cpp.
EditCommand Editor::lastEditCommand | ( | ) | const |
void Editor::paste | ( | ) |
void Editor::print | ( | ) |
bool Editor::queryCommandEnabled | ( | EditorCommand | command | ) |
bool Editor::queryCommandIndeterm | ( | EditorCommand | command | ) |
Checks whether the given command's style is indeterminate.
Definition at line 148 of file editor.cpp.
Checks whether the given command's style is indeterminate.
Definition at line 112 of file editor.cpp.
bool Editor::queryCommandState | ( | EditorCommand | command | ) |
bool Editor::queryCommandSupported | ( | EditorCommand | command | ) |
Checks whether the given command is supported in the current context.
Definition at line 160 of file editor.cpp.
Checks whether the given command is supported in the current context.
Definition at line 124 of file editor.cpp.
DOMString Editor::queryCommandValue | ( | EditorCommand | command | ) |
void Editor::reappliedEditing | ( | khtml::EditCommand & | cmd | ) |
void Editor::redo | ( | ) |
DOM::CSSStyleDeclarationImpl* DOM::Editor::selectionComputedStyle | ( | DOM::NodeImpl *& | nodeToRemove | ) | const |
computed style of current selection
TriState DOM::Editor::selectionHasStyle | ( | DOM::CSSStyleDeclarationImpl * | ) | const |
returns whether the selection has got applied the given style
bool DOM::Editor::selectionStartHasStyle | ( | DOM::CSSStyleDeclarationImpl * | ) | const |
returns whether the selection has got applied the given style
DOMString Editor::selectionStartStylePropertyValue | ( | int | stylePropertyID | ) | const |
void DOM::Editor::setTypingStyle | ( | DOM::CSSStyleDeclarationImpl * | ) |
Sets the typing style for the document.
CSSStyleDeclarationImpl * Editor::typingStyle | ( | ) | const |
void Editor::unappliedEditing | ( | khtml::EditCommand & | cmd | ) |
void Editor::undo | ( | ) |
The documentation for this class was generated from the following files: