Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
src_gui_text_qtextdocumentwriter.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3#include <QTextDocumentWriter>
4
6
7void wrapper() {
10 writer.setFormat("odf"); // same as writer.setFormat("ODF");
12} // wrapper
13
14} // src_gui_text_qtextdocumentwriter
The QTextDocumentWriter class provides a format-independent interface for writing a QTextDocument to ...
void setFormat(const QByteArray &format)
Sets the format used to write documents to the format specified.