20#ifndef INCLUDED_SW_SOURCE_FILTER_WW8_RTFEXPORTFILTER_HXX
21#define INCLUDED_SW_SOURCE_FILTER_WW8_RTFEXPORTFILTER_HXX
23#include <com/sun/star/document/XFilter.hpp>
24#include <com/sun/star/document/XExporter.hpp>
25#include <com/sun/star/lang/XServiceInfo.hpp>
31class XComponentContext;
43 :
public cppu::WeakImplHelper<css::document::XFilter, css::document::XExporter,
44 css::lang::XServiceInfo>
46 css::uno::Reference<css::uno::XComponentContext>
m_xCtx;
47 css::uno::Reference<css::lang::XComponent>
m_xSrcDoc;
51 explicit RtfExportFilter(css::uno::Reference<css::uno::XComponentContext> xCtx);
56 filter(
const css::uno::Sequence<css::beans::PropertyValue>& aDescriptor)
override;
57 void SAL_CALL
cancel()
override;
61 setSourceDocument(
const css::uno::Reference<css::lang::XComponent>& xDoc)
override;
The physical access to the RTF document (for writing).
RtfExportFilter(css::uno::Reference< css::uno::XComponentContext > xCtx)
sal_Bool SAL_CALL supportsService(OUString const &ServiceName) override
OUString SAL_CALL getImplementationName() override
void SAL_CALL setSourceDocument(const css::uno::Reference< css::lang::XComponent > &xDoc) override
~RtfExportFilter() override
css::uno::Reference< css::uno::XComponentContext > m_xCtx
sal_Bool SAL_CALL filter(const css::uno::Sequence< css::beans::PropertyValue > &aDescriptor) override
void SAL_CALL cancel() override
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
css::uno::Reference< css::lang::XComponent > m_xSrcDoc
Dummy Writer implementation to be able to use the string format methods of the base class.
ErrCode WriteStream() override