Krita Source Code Documentation
Loading...
Searching...
No Matches
HtmlSavingContext Class Reference

The HtmlSavingContext class provides context for saving a flake-based document to html. More...

#include <HtmlSavingContext.h>

Classes

struct  Private
 

Public Member Functions

 HtmlSavingContext (QIODevice &shapeDevice)
 
KoXmlWritershapeWriter ()
 Provides access to the shape writer.
 
virtual ~HtmlSavingContext ()
 

Private Attributes

const QScopedPointer< Privated
 

Detailed Description

The HtmlSavingContext class provides context for saving a flake-based document to html.

Definition at line 23 of file HtmlSavingContext.h.

Constructor & Destructor Documentation

◆ HtmlSavingContext()

HtmlSavingContext::HtmlSavingContext ( QIODevice & shapeDevice)

Definition at line 26 of file HtmlSavingContext.cpp.

27 : d(new Private(&shapeDevice))
28{
29}
const QScopedPointer< Private > d

◆ ~HtmlSavingContext()

HtmlSavingContext::~HtmlSavingContext ( )
virtual

Definition at line 31 of file HtmlSavingContext.cpp.

32{
33 d->shapeDevice->write(d->shapeBuffer.data());
34}

References d.

Member Function Documentation

◆ shapeWriter()

KoXmlWriter & HtmlSavingContext::shapeWriter ( )

Provides access to the shape writer.

Definition at line 36 of file HtmlSavingContext.cpp.

37{
38 return *d->shapeWriter;
39}

References d.

Member Data Documentation

◆ d

const QScopedPointer<Private> HtmlSavingContext::d
private

Definition at line 34 of file HtmlSavingContext.h.


The documentation for this class was generated from the following files: