21#ifndef INCLUDED_SDEXT_SOURCE_PDFIMPORT_TEST_OUTPUTWRAP_HXX
22#define INCLUDED_SDEXT_SOURCE_PDFIMPORT_TEST_OUTPUTWRAP_HXX
26#include <com/sun/star/io/XOutputStream.hpp>
27#include <osl/file.hxx>
28#include <rtl/strbuf.hxx>
33typedef ::cppu::WeakComponentImplHelper<
44 maFile.open(osl_File_OpenFlag_Create|osl_File_OpenFlag_Write);
47 virtual void SAL_CALL
writeBytes(
const css::uno::Sequence< ::sal_Int8 >& aData )
override
50 sal_uInt64 nBytesWritten(0);
54 virtual void SAL_CALL
flush()
override
75 virtual void SAL_CALL
writeBytes(
const css::uno::Sequence< ::sal_Int8 >& aData)
override
77 maBuffer.append(
reinterpret_cast<const char *
>(
aData.getConstArray()),
aData.getLength());
80 virtual void SAL_CALL
flush()
override
mutable::osl::Mutex m_aMutex
OutputWrapString(OString &rString)
virtual void SAL_CALL closeOutput() override
virtual void SAL_CALL flush() override
virtual void SAL_CALL writeBytes(const css::uno::Sequence< ::sal_Int8 > &aData) override
virtual void SAL_CALL closeOutput() override
OutputWrap(const OUString &rURL)
virtual void SAL_CALL writeBytes(const css::uno::Sequence< ::sal_Int8 > &aData) override
virtual void SAL_CALL flush() override
constexpr OUStringLiteral aData
::cppu::WeakComponentImplHelper< css::io::XOutputStream > OutputWrapBase