java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QTextDocumentWriter
- All Implemented Interfaces:
QtObjectInterface
public class QTextDocumentWriter extends QtObject
Format-independent interface for writing a QTextDocument to files or other devices
Java wrapper for Qt class QTextDocumentWriter
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QTextDocumentWriter()
QTextDocumentWriter(QIODevice device, QByteArray format)
protected
QTextDocumentWriter(QtObject.QPrivateConstructor p)
Constructor for internal use only.QTextDocumentWriter(String fileName)
Overloaded constructor forQTextDocumentWriter(java.lang.String, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
.QTextDocumentWriter(String fileName, QByteArray format)
-
Method Summary
Modifier and Type Method Description QTextCodec
codec()
QIODevice
device()
String
fileName()
QByteArray
format()
void
setCodec(QTextCodec codec)
void
setDevice(QIODevice device)
void
setFileName(String fileName)
void
setFormat(QByteArray format)
static QList<QByteArray>
supportedDocumentFormats()
boolean
write(QTextDocument document)
boolean
write(QTextDocumentFragment fragment)
-
Constructor Details
-
QTextDocumentWriter
public QTextDocumentWriter() -
QTextDocumentWriter
-
QTextDocumentWriter
Overloaded constructor for
QTextDocumentWriter(java.lang.String, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
. -
QTextDocumentWriter
-
QTextDocumentWriter
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details