KHTML
jsediting.cpp
Go to the documentation of this file.
123 // =============================================================================================
177 // =============================================================================================
218 // This should handle sizes 1-7 like <font> does. Who the heck designed this interface? (Rhetorical question)
249 static bool execInsertNewline(KHTMLPart *part, bool /*userInterface*/, const DOMString &/*value*/)
255 static bool execInsertParagraph(KHTMLPart * /*part*/, bool /*userInterface*/, const DOMString &/*value*/)
267 static bool execInsertOrderedList(KHTMLPart *part, bool /*userInterface*/, const DOMString &/*value*/)
273 static bool execInsertUnorderedList(KHTMLPart *part, bool /*userInterface*/, const DOMString &/*value*/)
275 InsertListCommandImpl::insertList(KPAC::xmlDocImpl(part), InsertListCommandImpl::UnorderedList);
285 static bool execJustifyCenter(KHTMLPart *part, bool /*userInterface*/, const DOMString &/*value*/)
290 static bool execJustifyFull(KHTMLPart *part, bool /*userInterface*/, const DOMString &/*value*/)
295 static bool execJustifyLeft(KHTMLPart *part, bool /*userInterface*/, const DOMString &/*value*/)
300 static bool execJustifyRight(KHTMLPart *part, bool /*userInterface*/, const DOMString &/*value*/)
339 static bool execStrikeThrough(KHTMLPart *part, bool /*userInterface*/, const DOMString &/*value*/)
350 static bool execSuperscript(KHTMLPart *part, bool /*userInterface*/, const DOMString &/*value*/)
373 // =============================================================================================
417 // =============================================================================================
469 // =============================================================================================
499 // =============================================================================================
519 { "insertUnorderedList", { execInsertUnorderedList, enabledAnySelection, stateNone, valueNull } },
static bool execJustifyCenter(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:285
static bool execFontSize(KHTMLPart *part, bool, const DOMString &value)
Definition: jsediting.cpp:216
static bool execBackColor(KHTMLPart *part, bool, const DOMString &value)
Definition: jsediting.cpp:182
static bool execPrint(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:321
static bool execSubscript(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:345
static Editor::TriState stateSubscript(KHTMLPart *part)
Definition: jsediting.cpp:454
bool execCommand(const CommandImp *, bool userInterface, const DOMString &value)
Definition: jsediting.cpp:63
static bool execCopy(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:193
static bool execPaste(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:313
static bool execJustifyLeft(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:295
static bool execDelete(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:205
static bool execBold(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:187
static bool execJustifyRight(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:300
static bool execCut(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:199
const char * name(StandardAction id)
bool selectionStartHasStyle(DOM::CSSStyleDeclarationImpl *) const
returns whether the selection has got applied the given style
Definition: editor.cpp:308
bool queryCommandIndeterm(const CommandImp *)
Definition: jsediting.cpp:85
static bool execItalic(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:279
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
bool queryCommandEnabled(const CommandImp *)
Definition: jsediting.cpp:74
static bool execForeColor(KHTMLPart *part, bool, const DOMString &value)
Definition: jsediting.cpp:238
static bool execUnselect(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:367
bool queryCommandState(const CommandImp *)
Definition: jsediting.cpp:96
static bool enabledRangeSelection(KHTMLPart *part)
Definition: jsediting.cpp:402
bool canPaste() const
returns whether clipboard contains data to be pasted
Definition: editor.cpp:198
static CommandDict createCommandDictionary()
Definition: jsediting.cpp:602
static bool execStrikeThrough(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:339
DOM::Editor * editor() const
Returns the instance of the attached html editor interface.
Definition: khtml_part.cpp:3503
DOM::DOMString selectionStartStylePropertyValue(int stylePropertyID) const
?
Definition: editor.cpp:341
Definition: editor.h:71
static bool execFontName(KHTMLPart *part, bool, const DOMString &value)
Definition: jsediting.cpp:211
static bool execInsertUnorderedList(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:273
void applyStyle(DOM::CSSStyleDeclarationImpl *)
applies the given style to the current selection
Definition: editor.cpp:230
static bool execInsertNewline(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:249
static bool execInsertText(KHTMLPart *part, bool, const DOMString &value)
Definition: jsediting.cpp:261
static bool execUndo(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:355
Definition: htmlediting_impl.h:592
static Editor::TriState stateUnderline(KHTMLPart *part)
Definition: jsediting.cpp:464
KGuiItem ok()
static bool selectionStartHasStyle(KHTMLPart *part, int propertyID, const char *desiredValue)
Definition: jsediting.cpp:162
static bool execJustifyFull(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:290
static bool execInsertOrderedList(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:267
static Editor::TriState stateSuperscript(KHTMLPart *part)
Definition: jsediting.cpp:459
static bool execUnderline(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:361
static DOMString valueStyle(KHTMLPart *part, int propertyID)
Definition: jsediting.cpp:172
static bool execInsertParagraph(KHTMLPart *, bool, const DOMString &)
Definition: jsediting.cpp:255
static bool execOutdent(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:305
static bool execIndent(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:243
static bool execRedo(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:327
bool queryCommandSupported(const CommandImp *)
Definition: jsediting.cpp:107
static bool execSuperscript(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:350
static bool execStyleChange(KHTMLPart *part, int propertyID, const DOMString &propertyValue)
Definition: jsediting.cpp:127
const CommandImp * commandImp(const DOMString &command)
Definition: jsediting.cpp:613
TriState selectionHasStyle(DOM::CSSStyleDeclarationImpl *) const
returns whether the selection has got applied the given style
Definition: editor.cpp:271
static Editor::TriState stateStyle(KHTMLPart *part, int propertyID, const char *desiredValue)
Definition: jsediting.cpp:152
static bool execSelectAll(KHTMLPart *part, bool, const DOMString &)
Definition: jsediting.cpp:333
Definition: editor.h:71
static bool enabledAnySelection(KHTMLPart *part)
Definition: jsediting.cpp:388
DOMString queryCommandValue(const CommandImp *)
Definition: jsediting.cpp:112
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.