|
|
#include "PythonQtWrapper_QTextDocumentFragment.h"
|
|
|
|
|
|
#include <PythonQtSignalReceiver.h>
|
|
|
#include <PythonQtMethodInfo.h>
|
|
|
#include <PythonQtConversion.h>
|
|
|
#include <QVariant>
|
|
|
#include <qbytearray.h>
|
|
|
#include <qtextcursor.h>
|
|
|
#include <qtextdocument.h>
|
|
|
#include <qtextdocumentfragment.h>
|
|
|
|
|
|
QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment()
|
|
|
{
|
|
|
return new QTextDocumentFragment(); }
|
|
|
|
|
|
QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment(const QTextCursor& range)
|
|
|
{
|
|
|
return new QTextDocumentFragment(range); }
|
|
|
|
|
|
QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment(const QTextDocument* document)
|
|
|
{
|
|
|
return new QTextDocumentFragment(document); }
|
|
|
|
|
|
QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment(const QTextDocumentFragment& rhs)
|
|
|
{
|
|
|
return new QTextDocumentFragment(rhs); }
|
|
|
|
|
|
QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider)
|
|
|
{
|
|
|
return (QTextDocumentFragment::fromHtml(html, resourceProvider));
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QTextDocumentFragment::toPlainText(QTextDocumentFragment* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->toPlainText());
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QTextDocumentFragment::toHtml(QTextDocumentFragment* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->toHtml());
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QTextDocumentFragment::isEmpty(QTextDocumentFragment* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->isEmpty());
|
|
|
}
|
|
|
|
|
|
QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromPlainText(const QString& plainText)
|
|
|
{
|
|
|
return (QTextDocumentFragment::fromPlainText(plainText));
|
|
|
}
|
|
|
|
|
|
QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromHtml(const QString& html)
|
|
|
{
|
|
|
return (QTextDocumentFragment::fromHtml(html));
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QTextDocumentFragment::toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const
|
|
|
{
|
|
|
return ( theWrappedObject->toHtml(encoding));
|
|
|
}
|
|
|
|
|
|
|