#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.
Defines | |
#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().
void __klf_init_the_macpasteboardmime | ( | ) | [inline] |
Definition at line 53 of file klfmime.cpp.
Referenced by KLFMimeData::KLFMimeData(), and main().
static QMap<QString,QByteArray> get_qt_image_formats | ( | ) | [static] |
Definition at line 622 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 910 of file klfmime.cpp.
References QImage::height(), KLFBackend::klfOutput::input, KLF_DEBUG_BLOCK, KLF_FUNC_NAME, klfDbg, QColor::name(), QString::number(), QFile::open(), KLFBackend::klfOutput::pngdata, QByteArray::replace(), KLFBackend::klfOutput::result, KLFBackend::klfOutput::settings, toAttrText(), QByteArray::toBase64(), QString::toLocal8Bit(), and QImage::width().
Referenced by KLFMimeExporterImage::data().
static QByteArray toAttrText | ( | const QString & | sbase | ) | [static] |
Definition at line 852 of file klfmime.cpp.
References toAttrTextS(), and QString::toUtf8().
Referenced by klf_openoffice_drawing().
Definition at line 831 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().