java.lang.Object
io.qt.internal.QtJambiObject
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
ModifierConstructorDescriptionQTextDocumentWriter
(QIODevice device, QByteArray format) protected
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 TypeMethodDescriptionfinal QTextCodec
codec()
final QIODevice
device()
final String
fileName()
final QByteArray
format()
final void
setCodec
(QTextCodec codec) final void
final void
setFileName
(String fileName) final void
setFormat
(QByteArray format) static QList<QByteArray>
final boolean
write
(QTextDocument document) final boolean
write
(QTextDocumentFragment fragment) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
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
-
codec
-
device
-
fileName
-
format
-
setCodec
-
setDevice
-
setFileName
-
setFormat
-
write
-
write
-
supportedDocumentFormats
-