Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtextodfwriter.cpp File Reference

(2ea3d577818d212854c94e834685131ebeb5e5da)

#include <qglobal.h>
#include "qtextodfwriter_p.h"
#include <QImageReader>
#include <QImageWriter>
#include <QTextListFormat>
#include <QTextList>
#include <QBuffer>
#include <QUrl>
#include <QtCore/QXmlStreamWriter>
#include "qtextdocument_p.h"
#include "qtexttable.h"
#include "qtextcursor.h"
#include "qtextimagehandler_p.h"
#include <QDebug>
#include "qzipwriter_p.h"
Include dependency graph for qtextodfwriter.cpp:

Go to the source code of this file.

Classes

class  QOutputStrategy
class  QXmlStreamStrategy
class  QZipStreamStrategy

Functions

static QString pixelToPoint (qreal pixels)
 Convert pixels to postscript point units.
static QStringView bulletChar (QTextListFormat::Style style)
static QStringView borderStyleName (QTextFrameFormat::BorderStyle style)
static bool probeImageData (QIODevice *device, QImage *image, QString *mimeType, qreal *width, qreal *height)

Function Documentation

◆ borderStyleName()

QStringView borderStyleName ( QTextFrameFormat::BorderStyle style)
inlinestatic

Definition at line 152 of file qtextodfwriter.cpp.

◆ bulletChar()

QStringView bulletChar ( QTextListFormat::Style style)
inlinestatic

Definition at line 129 of file qtextodfwriter.cpp.

◆ pixelToPoint()

QString pixelToPoint ( qreal pixels)
inlinestatic

Convert pixels to postscript point units.

Definition at line 31 of file qtextodfwriter.cpp.

◆ probeImageData()

bool probeImageData ( QIODevice * device,
QImage * image,
QString * mimeType,
qreal * width,
qreal * height )
static

Definition at line 377 of file qtextodfwriter.cpp.