DOM::CSSCharsetRule
DOM::CSSCharsetRule Class Reference
#include <css_rule.h>
Inheritance diagram for DOM::CSSCharsetRule:

Public Member Functions | |
CSSCharsetRule (const CSSCharsetRule &other) | |
CSSCharsetRule (const CSSRule &other) | |
CSSCharsetRule (CSSCharsetRuleImpl *impl) | |
DOM::DOMString | encoding () const |
CSSCharsetRule & | operator= (const CSSCharsetRule &other) |
CSSCharsetRule & | operator= (const CSSRule &other) |
void | setEncoding (const DOM::DOMString &) |
![]() | |
CSSRule (const CSSRule &other) | |
CSSRule (CSSRuleImpl *impl) | |
DOM::DOMString | cssText () const |
CSSRuleImpl * | handle () const |
bool | isNull () const |
CSSRule & | operator= (const CSSRule &other) |
CSSRule | parentRule () const |
CSSStyleSheet | parentStyleSheet () const |
void | setCssText (const DOM::DOMString &) |
unsigned short | type () const |
Additional Inherited Members | |
![]() | |
enum | RuleType { UNKNOWN_RULE = 0, STYLE_RULE = 1, CHARSET_RULE = 2, IMPORT_RULE = 3, MEDIA_RULE = 4, FONT_FACE_RULE = 5, PAGE_RULE = 6, NAMESPACE_RULE = 10, QUIRKS_RULE = 100 } |
![]() | |
void | assignOther (const CSSRule &other, RuleType thisType) |
![]() | |
CSSRuleImpl * | impl |
Detailed Description
The CSSCharsetRule
interface a @charset rule in a CSS style sheet.
A @charset
rule can be used to define the encoding of the style sheet.
Definition at line 151 of file css_rule.h.
Member Function Documentation
◆ encoding()
DOMString CSSCharsetRule::encoding | ( | ) | const |
The encoding information used in this @charset
rule.
Definition at line 168 of file css_rule.cpp.
◆ setEncoding()
void CSSCharsetRule::setEncoding | ( | const DOM::DOMString & | value | ) |
see encoding
- Exceptions
-
CSSException SYNTAX_ERR: Raised if the specified encoding value has a syntax error and is unparsable. DOMException NO_MODIFICATION_ALLOWED_ERR: Raised if this encoding rule is readonly.
Definition at line 176 of file css_rule.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 23 2023 04:08:28 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 23 2023 04:08:28 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.