KTextEditor
htmlexporter.cpp
42 m_output << "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"DTD/xhtml1-strict.dtd\">\n";
63 .arg(QLatin1String("color:") + toHtmlRgbaString(m_defaultAttribute->foreground().color()) + QLatin1Char(';'))
64 .arg(QLatin1String("background-color:") + toHtmlRgbaString(m_defaultAttribute->background().color()) + QLatin1Char(';'))
109 && (!m_defaultAttribute || attrib->foreground().color() != m_defaultAttribute->foreground().color());
111 && (!m_defaultAttribute || attrib->background().color() != m_defaultAttribute->background().color());
115 .arg(writeForeground ? QString(QLatin1String("color:") + toHtmlRgbaString(attrib->foreground().color()) + QLatin1Char(';')) : QString())
116 .arg(writeBackground ? QString(QLatin1String("background:") + toHtmlRgbaString(attrib->background().color()) + QLatin1Char(';'))
virtual QString highlightingMode() const =0
Return the name of the currently used mode.
virtual Document * document() const =0
Get the view's document, that means the view is a view of the returned document.
int alpha() const const
float alphaF() const const
int blue() const const
int green() const const
QString name(NameFormat format) const const
int red() const const
QString & append(QChar ch)
QString number(double n, char format, int precision)
QString toHtmlEscaped() const const
ForegroundBrush
void flush()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.