KHTML
Namespaces | |
namespace | XPath |
Typedefs | |
typedef QHash< QString, const CommandImp * > | CommandDict |
typedef unsigned long long | DOMTimeStamp |
Enumerations | |
enum | EditorCommand { BackColorCommand , BoldCommand , CopyCommand , CutCommand , DeleteCommand , FontNameCommand , FontSizeCommand , ForeColorCommand , IndentCommand , InsertNewlineCommand , InsertParagraphCommand , InsertTextCommand , ItalicCommand , JustifyCenterCommand , JustifyFullCommand , JustifyLeftCommand , JustifyNoneCommand , JustifyRightCommand , OutdentCommand , PasteCommand , PrintCommand , RedoCommand , SelectAllCommand , SubscriptCommand , SuperscriptCommand , UndoCommand , UnselectCommand } |
enum | XPathExceptionCode { INVALID_EXPRESSION_ERR = 51 , TYPE_ERR = 52 } |
Functions | |
static CommandDict | createCommandDictionary () |
static bool | enabled (KHTMLPart *) |
static bool | enabledAnySelection (KHTMLPart *part) |
static bool | enabledPaste (KHTMLPart *part) |
static bool | enabledRangeSelection (KHTMLPart *part) |
static bool | enabledRedo (KHTMLPart *part) |
static bool | enabledUndo (KHTMLPart *part) |
static bool | execBackColor (KHTMLPart *part, bool, const DOMString &value) |
static bool | execBold (KHTMLPart *part, bool, const DOMString &) |
static bool | execCopy (KHTMLPart *part, bool, const DOMString &) |
static bool | execCut (KHTMLPart *part, bool, const DOMString &) |
static bool | execDelete (KHTMLPart *part, bool, const DOMString &) |
static bool | execFontName (KHTMLPart *part, bool, const DOMString &value) |
static bool | execFontSize (KHTMLPart *part, bool, const DOMString &value) |
static bool | execForeColor (KHTMLPart *part, bool, const DOMString &value) |
static bool | execIndent (KHTMLPart *part, bool, const DOMString &) |
static bool | execInsertNewline (KHTMLPart *part, bool, const DOMString &) |
static bool | execInsertOrderedList (KHTMLPart *part, bool, const DOMString &) |
static bool | execInsertParagraph (KHTMLPart *, bool, const DOMString &) |
static bool | execInsertText (KHTMLPart *part, bool, const DOMString &value) |
static bool | execInsertUnorderedList (KHTMLPart *part, bool, const DOMString &) |
static bool | execItalic (KHTMLPart *part, bool, const DOMString &) |
static bool | execJustifyCenter (KHTMLPart *part, bool, const DOMString &) |
static bool | execJustifyFull (KHTMLPart *part, bool, const DOMString &) |
static bool | execJustifyLeft (KHTMLPart *part, bool, const DOMString &) |
static bool | execJustifyRight (KHTMLPart *part, bool, const DOMString &) |
static bool | execOutdent (KHTMLPart *part, bool, const DOMString &) |
static bool | execPaste (KHTMLPart *part, bool, const DOMString &) |
static bool | execPrint (KHTMLPart *part, bool, const DOMString &) |
static bool | execRedo (KHTMLPart *part, bool, const DOMString &) |
static bool | execSelectAll (KHTMLPart *part, bool, const DOMString &) |
static bool | execStrikeThrough (KHTMLPart *part, bool, const DOMString &) |
static bool | execStyleChange (KHTMLPart *part, int propertyID, const char *propertyValue) |
static bool | execStyleChange (KHTMLPart *part, int propertyID, const DOMString &propertyValue) |
static bool | execStyleChange (KHTMLPart *part, int propertyID, int propertyEnum) |
static bool | execSubscript (KHTMLPart *part, bool, const DOMString &) |
static bool | execSuperscript (KHTMLPart *part, bool, const DOMString &) |
static bool | execUnderline (KHTMLPart *part, bool, const DOMString &) |
static bool | execUndo (KHTMLPart *part, bool, const DOMString &) |
static bool | execUnselect (KHTMLPart *part, bool, const DOMString &) |
bool | operator!= (const DOMString &a, const char *b) |
bool | operator!= (const DOMString &a, const DOMString &b) |
bool | operator!= (const DOMString &a, const QString &b) |
QDebug | operator<< (QDebug stream, const DOMString &string) |
bool | operator== (const DOMString &a, const char *b) |
bool | operator== (const DOMString &a, const DOMString &b) |
bool | operator== (const DOMString &a, const QString &b) |
static bool | selectionStartHasStyle (KHTMLPart *part, int propertyID, const char *desiredValue) |
static Editor::TriState | stateBold (KHTMLPart *part) |
static Editor::TriState | stateItalic (KHTMLPart *part) |
static Editor::TriState | stateNone (KHTMLPart *) |
static Editor::TriState | stateStrike (KHTMLPart *part) |
static Editor::TriState | stateStyle (KHTMLPart *part, int propertyID, const char *desiredValue) |
static Editor::TriState | stateSubscript (KHTMLPart *part) |
static Editor::TriState | stateSuperscript (KHTMLPart *part) |
static Editor::TriState | stateUnderline (KHTMLPart *part) |
bool | strcasecmp (const DOMString &a, const char *b) |
bool | strcasecmp (const DOMString &a, const DOMString &b) |
bool | strcmp (const DOMString &a, const DOMString &b) |
static DOMString | valueBackColor (KHTMLPart *part) |
static DOMString | valueFontName (KHTMLPart *part) |
static DOMString | valueFontSize (KHTMLPart *part) |
static DOMString | valueForeColor (KHTMLPart *part) |
static DOMString | valueNull (KHTMLPart *) |
static DOMString | valueStyle (KHTMLPart *part, int propertyID) |
Variables | |
static const EditorCommandInfo | commands [] |
static const int | sMaxUndoSteps = 1000 |
Detailed Description
This library provides a full-featured HTML parser and widget.
It is used for rendering in all KDE applications which allow HTML viewing, including the Konqueror browser/file manager, KMail, and the KDE Help system.
This library provides support for HTML4/XHTML, embedded Java applets, cascading style sheets (CSS2), and JavaScript.
If you want to add to your application a widget that only needs simple text browsing, you can also use the KTextBrowser widget in kdeui.
KHTMLPart : The main part/widget for using khtml.
DOM : The dom implementation used in khtml. The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core functionality, and the HTMLDOM HTML DOM, which deals with the extensions needed for HTML.
Typedef Documentation
◆ CommandDict
typedef QHash<QString,const CommandImp*> DOM::CommandDict |
Definition at line 60 of file jsediting.cpp.
◆ DOMTimeStamp
typedef unsigned long long DOM::DOMTimeStamp |
A DOMTimeStamp represents a number of milliseconds.
Definition at line 1020 of file dom_node.h.
Enumeration Type Documentation
◆ EditorCommand
enum DOM::EditorCommand |
List of all supported built-in editor commands.
Definition at line 29 of file editor_command.h.
◆ XPathExceptionCode
Enumerator | |
---|---|
INVALID_EXPRESSION_ERR | |
TYPE_ERR |
Definition at line 51 of file dom3_xpath.h.
Function Documentation
◆ createCommandDictionary()
|
static |
Definition at line 602 of file jsediting.cpp.
◆ enabled()
|
static |
Definition at line 383 of file jsediting.cpp.
◆ enabledAnySelection()
|
static |
Definition at line 388 of file jsediting.cpp.
◆ enabledPaste()
|
static |
Definition at line 395 of file jsediting.cpp.
◆ enabledRangeSelection()
|
static |
Definition at line 402 of file jsediting.cpp.
◆ enabledRedo()
|
static |
Definition at line 407 of file jsediting.cpp.
◆ enabledUndo()
|
static |
Definition at line 412 of file jsediting.cpp.
◆ execBackColor()
Definition at line 182 of file jsediting.cpp.
◆ execBold()
Definition at line 187 of file jsediting.cpp.
◆ execCopy()
Definition at line 193 of file jsediting.cpp.
◆ execCut()
Definition at line 199 of file jsediting.cpp.
◆ execDelete()
Definition at line 205 of file jsediting.cpp.
◆ execFontName()
Definition at line 211 of file jsediting.cpp.
◆ execFontSize()
Definition at line 216 of file jsediting.cpp.
◆ execForeColor()
Definition at line 238 of file jsediting.cpp.
◆ execIndent()
Definition at line 243 of file jsediting.cpp.
◆ execInsertNewline()
Definition at line 249 of file jsediting.cpp.
◆ execInsertOrderedList()
Definition at line 267 of file jsediting.cpp.
◆ execInsertParagraph()
Definition at line 255 of file jsediting.cpp.
◆ execInsertText()
Definition at line 261 of file jsediting.cpp.
◆ execInsertUnorderedList()
Definition at line 273 of file jsediting.cpp.
◆ execItalic()
Definition at line 279 of file jsediting.cpp.
◆ execJustifyCenter()
Definition at line 285 of file jsediting.cpp.
◆ execJustifyFull()
Definition at line 290 of file jsediting.cpp.
◆ execJustifyLeft()
Definition at line 295 of file jsediting.cpp.
◆ execJustifyRight()
Definition at line 300 of file jsediting.cpp.
◆ execOutdent()
Definition at line 305 of file jsediting.cpp.
◆ execPaste()
Definition at line 313 of file jsediting.cpp.
◆ execPrint()
Definition at line 321 of file jsediting.cpp.
◆ execRedo()
Definition at line 327 of file jsediting.cpp.
◆ execSelectAll()
Definition at line 333 of file jsediting.cpp.
◆ execStrikeThrough()
Definition at line 339 of file jsediting.cpp.
◆ execStyleChange() [1/3]
|
static |
Definition at line 147 of file jsediting.cpp.
◆ execStyleChange() [2/3]
|
static |
Definition at line 127 of file jsediting.cpp.
◆ execStyleChange() [3/3]
|
static |
Definition at line 137 of file jsediting.cpp.
◆ execSubscript()
Definition at line 345 of file jsediting.cpp.
◆ execSuperscript()
Definition at line 350 of file jsediting.cpp.
◆ execUnderline()
Definition at line 361 of file jsediting.cpp.
◆ execUndo()
Definition at line 355 of file jsediting.cpp.
◆ execUnselect()
Definition at line 367 of file jsediting.cpp.
◆ operator!=() [1/3]
|
inline |
Definition at line 168 of file dom_string.h.
◆ operator!=() [2/3]
Definition at line 166 of file dom_string.h.
◆ operator!=() [3/3]
|
inline |
Definition at line 167 of file dom_string.h.
◆ operator<<()
|
inline |
Definition at line 159 of file dom_string.h.
◆ operator==() [1/3]
bool DOM::operator== | ( | const DOMString & | a, |
const char * | b | ||
) |
Definition at line 434 of file dom_string.cpp.
◆ operator==() [2/3]
Definition at line 418 of file dom_string.cpp.
◆ operator==() [3/3]
bool DOM::operator== | ( | const DOMString & | a, |
const QString & | b | ||
) |
Definition at line 423 of file dom_string.cpp.
◆ selectionStartHasStyle()
|
static |
Definition at line 162 of file jsediting.cpp.
◆ stateBold()
|
static |
Definition at line 439 of file jsediting.cpp.
◆ stateItalic()
|
static |
Definition at line 444 of file jsediting.cpp.
◆ stateNone()
|
static |
Definition at line 434 of file jsediting.cpp.
◆ stateStrike()
|
static |
Definition at line 449 of file jsediting.cpp.
◆ stateStyle()
|
static |
Definition at line 152 of file jsediting.cpp.
◆ stateSubscript()
|
static |
Definition at line 454 of file jsediting.cpp.
◆ stateSuperscript()
|
static |
Definition at line 459 of file jsediting.cpp.
◆ stateUnderline()
|
static |
Definition at line 464 of file jsediting.cpp.
◆ strcasecmp() [1/2]
bool DOM::strcasecmp | ( | const DOMString & | a, |
const char * | b | ||
) |
Definition at line 353 of file dom_string.cpp.
◆ strcasecmp() [2/2]
Definition at line 348 of file dom_string.cpp.
◆ strcmp()
Definition at line 169 of file dom_string.h.
◆ valueBackColor()
Definition at line 479 of file jsediting.cpp.
◆ valueFontName()
Definition at line 484 of file jsediting.cpp.
◆ valueFontSize()
Definition at line 489 of file jsediting.cpp.
◆ valueForeColor()
Definition at line 494 of file jsediting.cpp.
◆ valueNull()
Definition at line 474 of file jsediting.cpp.
◆ valueStyle()
Definition at line 172 of file jsediting.cpp.
Variable Documentation
◆ commands
|
static |
Definition at line 504 of file jsediting.cpp.
◆ sMaxUndoSteps
|
static |
Definition at line 68 of file editor.cpp.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.