LibreOffice Module writerfilter (master) 1
rtfdocumentfactory.cxx
Go to the documentation of this file.
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
13{
15 css::uno::Reference<css::uno::XComponentContext> const& xContext,
16 css::uno::Reference<css::io::XInputStream> const& xInputStream,
17 css::uno::Reference<css::lang::XComponent> const& xDstDoc,
18 css::uno::Reference<css::frame::XFrame> const& xFrame,
19 css::uno::Reference<css::task::XStatusIndicator> const& xStatusIndicator,
20 const utl::MediaDescriptor& rMediaDescriptor)
21{
22 return new RTFDocumentImpl(xContext, xInputStream, xDstDoc, xFrame, xStatusIndicator,
23 rMediaDescriptor);
24}
25
26} // namespace writerfilter::rtftok
27
28/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
static RTFDocument::Pointer_t createDocument(css::uno::Reference< css::uno::XComponentContext > const &xContext, css::uno::Reference< css::io::XInputStream > const &xInputStream, css::uno::Reference< css::lang::XComponent > const &xDstDoc, css::uno::Reference< css::frame::XFrame > const &xFrame, css::uno::Reference< css::task::XStatusIndicator > const &xStatusIndicator, const utl::MediaDescriptor &rMediaDescriptor)
Implementation of the RTFDocument interface.
Reference< XFrame > xFrame