LibreOffice Module writerfilter (master) 1
RTFDocument.hxx
Go to the documentation of this file.
1/*
2 * This file is part of the LibreOffice project.
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 */
8
9#pragma once
10
12#include <com/sun/star/uno/XComponentContext.hpp>
13#include <com/sun/star/io/XInputStream.hpp>
14#include <com/sun/star/lang/XComponent.hpp>
15#include <com/sun/star/frame/XFrame.hpp>
16#include <com/sun/star/task/XStatusIndicator.hpp>
18
20{
23{
24public:
27
29 void resolve(Stream& rHandler) override = 0;
30};
31
34{
35public:
37 createDocument(css::uno::Reference<css::uno::XComponentContext> const& xContext,
38 css::uno::Reference<css::io::XInputStream> const& xInputStream,
39 css::uno::Reference<css::lang::XComponent> const& xDstDoc,
40 css::uno::Reference<css::frame::XFrame> const& xFrame,
41 css::uno::Reference<css::task::XStatusIndicator> const& xStatusIndicator,
42 const utl::MediaDescriptor& rMediaDescriptor);
43};
44} // namespace writerfilter::rtftok
45
46/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Reference to a resource that generates events and sends them to a handler.
Handler for a stream.
Interface to create an RTFDocument instance.
Definition: RTFDocument.hxx:34
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)
The RTFDocument opens and resolves the RTF document.
Definition: RTFDocument.hxx:23
void resolve(Stream &rHandler) override=0
Resolves this document to a stream handler.
The classes in this file define the interfaces for the resource model of the DocTokenizer:
Reference< XFrame > xFrame