#include <QDebug>
#include <QApplication>
#include <QMap>
#include <QUrl>
#include <QBuffer>
#include <QDir>
#include <QDomDocument>
#include <QDomNode>
#include <QDomElement>
#include <QPainter>
#include <QTextCodec>
#include <klfbackend.h>
#include <klfguiutil.h>
#include "klfconfig.h"
#include "klflib.h"
#include "klfmime.h"
#include "klfmime_p.h"
Go to the source code of this file.
Macros | |
#define | OPENOFFICE_DRAWING_MIMETYPE "application/x-openoffice-drawing;windows_formatname=\"Drawing Format\"" |
Functions | |
void | __klf_init_the_macpasteboardmime () |
static QMap< QString, QByteArray > | get_qt_image_formats () |
QByteArray | klf_openoffice_drawing (const KLFBackend::klfOutput &klfoutput) |
static QString | toAttrTextS (const QString &sbase) |
static QByteArray | toAttrText (const QString &sbase) |
#define OPENOFFICE_DRAWING_MIMETYPE "application/x-openoffice-drawing;windows_formatname=\"Drawing Format\"" |
Definition at line 48 of file klfmime.cpp.
Referenced by KLFMimeExporterImage::data(), KLFMimeExporterImage::keys(), and KLFMimeExporterImage::windowsFormatName().
|
inline |
Definition at line 53 of file klfmime.cpp.
Referenced by KLFMimeData::KLFMimeData(), and main().
|
static |
Definition at line 623 of file klfmime.cpp.
References QString::fromLatin1(), QMap::key(), KLF_DEBUG_BLOCK, KLF_FUNC_NAME, QList::size(), and QImageWriter::supportedImageFormats().
Referenced by KLFMimeExporterImage::keys().
QByteArray klf_openoffice_drawing | ( | const KLFBackend::klfOutput & | klfoutput | ) |
Definition at line 916 of file klfmime.cpp.
References KLFBackend::klfSettings::bborderoffset, KLFBackend::klfInput::bg_color, KLFBackend::klfInput::dpi, KLFBackend::klfInput::fg_color, QImage::height(), KLFBackend::klfOutput::input, KLF_DEBUG_BLOCK, KLF_FUNC_NAME, klfDbg, KLFBackend::klfInput::latex, KLFBackend::klfSettings::lborderoffset, KLFBackend::klfInput::mathmode, QColor::name(), QString::number(), QFile::open(), KLFBackend::klfOutput::pngdata, KLFBackend::klfInput::preamble, KLFBackend::klfSettings::rborderoffset, QByteArray::replace(), KLFBackend::klfOutput::result, KLFBackend::klfOutput::settings, KLFBackend::klfSettings::tborderoffset, toAttrText(), QByteArray::toBase64(), QString::toLocal8Bit(), and QImage::width().
Referenced by KLFMimeExporterImage::data().
|
static |
Definition at line 853 of file klfmime.cpp.
References toAttrTextS(), and QString::toUtf8().
Referenced by klf_openoffice_drawing().
Definition at line 832 of file klfmime.cpp.
References QRegExp::cap(), QRegExp::indexIn(), klfDbg, QString::length(), QRegExp::matchedLength(), QString::mid(), QString::number(), and QString::replace().
Referenced by KLFMimeExporterHTML::data(), and toAttrText().