20#ifndef INCLUDED_SFX2_SOURCE_DOC_PRINTHELPER_HXX
21#define INCLUDED_SFX2_SOURCE_DOC_PRINTHELPER_HXX
28#include <com/sun/star/view/XPrintable.hpp>
29#include <com/sun/star/view/XPrintJobBroadcaster.hpp>
30#include <com/sun/star/uno/Sequence.hxx>
31#include <com/sun/star/uno/Reference.hxx>
32#include <com/sun/star/uno/Any.hxx>
33#include <com/sun/star/lang/XInitialization.hpp>
41 < css::view::XPrintable
42 , css::view::XPrintJobBroadcaster
43 , css::lang::XInitialization >
51 virtual void SAL_CALL
addPrintJobListener(
const css::uno::Reference< css::view::XPrintJobListener >& xListener )
override;
52 virtual void SAL_CALL
removePrintJobListener(
const css::uno::Reference< css::view::XPrintJobListener >& xListener )
override;
53 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
getPrinter()
override;
54 virtual void SAL_CALL
setPrinter(
const css::uno::Sequence< css::beans::PropertyValue >& seqPrinter )
override;
55 virtual void SAL_CALL
print(
const css::uno::Sequence< css::beans::PropertyValue >& seqOptions )
override;
59 std::unique_ptr<IMPL_PrintListener_DataContainer>
m_pData ;
60 void impl_setPrinter(
const css::uno::Sequence< css::beans::PropertyValue >& rPrinter,
std::unique_ptr< IMPL_PrintListener_DataContainer > m_pData
void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) override
virtual void SAL_CALL print(const css::uno::Sequence< css::beans::PropertyValue > &seqOptions) override
void impl_setPrinter(const css::uno::Sequence< css::beans::PropertyValue > &rPrinter, VclPtr< SfxPrinter > &pPrinter, SfxPrinterChangeFlags &nChangeFlags, SfxViewShell *&pViewSh)
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPrinter() override
virtual void SAL_CALL addPrintJobListener(const css::uno::Reference< css::view::XPrintJobListener > &xListener) override
virtual void SAL_CALL removePrintJobListener(const css::uno::Reference< css::view::XPrintJobListener > &xListener) override
virtual ~SfxPrintHelper() override
virtual void SAL_CALL setPrinter(const css::uno::Sequence< css::beans::PropertyValue > &seqPrinter) override
One SfxViewShell more or less represents one edit window for a document, there can be multiple ones f...
Sequence< PropertyValue > aArguments