KHTML
#include <css_rule.h>
Public Member Functions | |
CSSCharsetRule () | |
CSSCharsetRule (const CSSCharsetRule &other) | |
CSSCharsetRule (const CSSRule &other) | |
CSSCharsetRule (CSSCharsetRuleImpl *impl) | |
~CSSCharsetRule () | |
DOM::DOMString | encoding () const |
CSSCharsetRule & | operator= (const CSSCharsetRule &other) |
CSSCharsetRule & | operator= (const CSSRule &other) |
void | setEncoding (const DOM::DOMString &) |
Public Member Functions inherited from DOM::CSSRule | |
CSSRule () | |
CSSRule (const CSSRule &other) | |
CSSRule (CSSRuleImpl *impl) | |
~CSSRule () | |
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 | |
Public Types inherited from DOM::CSSRule | |
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 } |
Protected Member Functions inherited from DOM::CSSRule | |
void | assignOther (const CSSRule &other, RuleType thisType) |
Protected Attributes inherited from DOM::CSSRule | |
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 150 of file css_rule.h.
Constructor & Destructor Documentation
CSSCharsetRule::CSSCharsetRule | ( | ) |
Definition at line 111 of file css_rule.cpp.
CSSCharsetRule::CSSCharsetRule | ( | const CSSCharsetRule & | other | ) |
Definition at line 116 of file css_rule.cpp.
CSSCharsetRule::CSSCharsetRule | ( | const CSSRule & | other | ) |
Definition at line 120 of file css_rule.cpp.
CSSCharsetRule::CSSCharsetRule | ( | CSSCharsetRuleImpl * | impl | ) |
Definition at line 126 of file css_rule.cpp.
CSSCharsetRule::~CSSCharsetRule | ( | ) |
Definition at line 142 of file css_rule.cpp.
Member Function Documentation
DOMString CSSCharsetRule::encoding | ( | ) | const |
The encoding information used in this @charset
rule.
Definition at line 146 of file css_rule.cpp.
CSSCharsetRule & CSSCharsetRule::operator= | ( | const CSSCharsetRule & | other | ) |
Definition at line 130 of file css_rule.cpp.
CSSCharsetRule & CSSCharsetRule::operator= | ( | const CSSRule & | other | ) |
Definition at line 136 of file css_rule.cpp.
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.
- Exceptions
-
DOMException NO_MODIFICATION_ALLOWED_ERR: Raised if this encoding rule is readonly.
Definition at line 152 of file css_rule.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.