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
5
namespace
src_gui_text_qtextdocumentwriter
{
6
7
void
wrapper
() {
9
QTextDocumentWriter
writer;
10
writer.
setFormat
(
"odf"
);
// same as writer.setFormat("ODF");
12
}
// wrapper
13
14
}
// src_gui_text_qtextdocumentwriter
QTextDocumentWriter
The QTextDocumentWriter class provides a format-independent interface for writing a QTextDocument to ...
Definition
qtextdocumentwriter.h:19
QTextDocumentWriter::setFormat
void setFormat(const QByteArray &format)
Sets the format used to write documents to the format specified.
Definition
qtextdocumentwriter.cpp:127
src_gui_text_qtextdocumentwriter
Definition
src_gui_text_qtextdocumentwriter.cpp:5
src_gui_text_qtextdocumentwriter::wrapper
void wrapper()
Definition
src_gui_text_qtextdocumentwriter.cpp:7
qtbase
src
gui
doc
snippets
code
src_gui_text_qtextdocumentwriter.cpp
Generated by
1.9.7