Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : */
9 :
10 : #include <rtfdocumentimpl.hxx>
11 :
12 : namespace writerfilter
13 : {
14 : namespace rtftok
15 : {
16 :
17 460 : RTFDocument::Pointer_t RTFDocumentFactory::createDocument(css::uno::Reference< css::uno::XComponentContext > const& xContext,
18 : css::uno::Reference< css::io::XInputStream > const& xInputStream,
19 : css::uno::Reference< css::lang::XComponent > const& xDstDoc,
20 : css::uno::Reference< css::frame::XFrame > const& xFrame,
21 : css::uno::Reference< css::task::XStatusIndicator > const& xStatusIndicator,
22 : bool bIsNewDoc)
23 : {
24 460 : return std::make_shared<RTFDocumentImpl>(xContext, xInputStream, xDstDoc, xFrame, xStatusIndicator, bIsNewDoc);
25 : }
26 :
27 : } // namespace rtftok
28 72 : } // namespace writerfilter
29 :
30 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|