java.lang.Object
io.qt.QtObject
io.qt.gui.QTextDocumentWriter
- All Implemented Interfaces:
QtObjectInterface
Format-independent interface for writing a QTextDocument to files or other devices
Java wrapper for Qt class QTextDocumentWriter
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQTextDocumentWriter
(String fileName) Overloaded constructor forQTextDocumentWriter(java.lang.String, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
.QTextDocumentWriter
(String fileName, QByteArray format) QTextDocumentWriter
(QIODevice device, QByteArray format) -
Method Summary
Modifier and TypeMethodDescriptionfinal QIODevice
device()
final String
fileName()
final QByteArray
format()
final void
final void
setFileName
(String fileName) final void
setFormat
(QByteArray format) static QList<QByteArray>
final boolean
write
(QTextDocumentFragment fragment) final boolean
write
(QTextDocument document) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QTextDocumentWriter
public QTextDocumentWriter() -
QTextDocumentWriter
-
QTextDocumentWriter
-
QTextDocumentWriter
Overloaded constructor for
QTextDocumentWriter(java.lang.String, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
.
-
-
Method Details
-
device
-
fileName
-
format
-
setDevice
-
setFileName
-
setFormat
-
write
-
write
-
supportedDocumentFormats
-