20#include "KReportRendererBase.h"
21#include "KReportScreenRenderer_p.h"
22#include "KReportPrintRenderer_p.h"
23#include "KReportKSpreadRenderer.h"
24#include "KReportHTMLTableRenderer_p.h"
25#include "KReportHTMLCSSRenderer_p.h"
39KReportRendererContext::Private::Private()
43KReportRendererContext::Private::~Private()
48KReportRendererContext::KReportRendererContext()
53KReportRendererContext::~KReportRendererContext()
58QPainter * KReportRendererContext::painter()
const
63QPrinter * KReportRendererContext::printer()
const
69QPainter * KReportRendererContext::painter()
74QPrinter * KReportRendererContext::printer()
79void KReportRendererContext::setUrl(
const QUrl& url)
81 d->destinationUrl = url;
84void KReportRendererContext::setPainter(
QPainter* painter)
89void KReportRendererContext::setPrinter(
QPrinter* printer)
94QUrl KReportRendererContext::url()
const
96 return d->destinationUrl;
100KReportRendererBase::KReportRendererBase()
104KReportRendererBase::~KReportRendererBase()
108class KReportRendererFactory::Private
114KReportRendererFactory::KReportRendererFactory() : d(new Private())
118KReportRendererFactory::~KReportRendererFactory()
127 return new KReportPrivate::ScreenRenderer();
130 return new KReportPrivate::PrintRenderer();
135 return new KReportKSpreadRenderer();
139 return new KReportPrivate::HTMLTableRenderer();
142 return new KReportPrivate::HTMLCSSRenderer();
147 return new KReportODTRenderer();
150 return new KReportOdtFrameReportRenderer();
Base class for report renderers.
KReportRendererBase * createInstance(const QString &key)
QString toLower() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:58 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.