blob: a55857cb88f9b3b21ed49fd6c9b6bac100a14571 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include <QTextDocumentWriter>
namespace src_gui_text_qtextdocumentwriter {
void wrapper() {
//! [0]
QTextDocumentWriter writer;
writer.setFormat("odf"); // same as writer.setFormat("ODF");
//! [0]
} // wrapper
} // src_gui_text_qtextdocumentwriter
|