LibreOffice Module sfx2 (master) 1
|
#include <printhelper.hxx>
Public Member Functions | |
SfxPrintHelper () | |
virtual | ~SfxPrintHelper () override |
void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &aArguments) 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 css::uno::Sequence< css::beans::PropertyValue > SAL_CALL | getPrinter () override |
virtual void SAL_CALL | setPrinter (const css::uno::Sequence< css::beans::PropertyValue > &seqPrinter) override |
virtual void SAL_CALL | print (const css::uno::Sequence< css::beans::PropertyValue > &seqOptions) override |
Private Member Functions | |
void | impl_setPrinter (const css::uno::Sequence< css::beans::PropertyValue > &rPrinter, VclPtr< SfxPrinter > &pPrinter, SfxPrinterChangeFlags &nChangeFlags, SfxViewShell *&pViewSh) |
Private Attributes | |
std::unique_ptr< IMPL_PrintListener_DataContainer > | m_pData |
Definition at line 40 of file printhelper.hxx.
SfxPrintHelper::SfxPrintHelper | ( | ) |
Definition at line 144 of file printhelper.cxx.
References m_pData.
|
overridevirtual |
Definition at line 161 of file printhelper.cxx.
|
overridevirtual |
Definition at line 785 of file printhelper.cxx.
References m_pData.
|
overridevirtual |
Definition at line 248 of file printhelper.cxx.
References SfxViewShell::GetActivePrinter(), SfxViewFrame::GetFirst(), Printer::GetName(), SfxViewFrame::GetNext(), Printer::GetOrientation(), Printer::GetPaper(), Printer::GetPaperSize(), SfxViewShell::GetPrinter(), SfxShell::GetViewShell(), Printer::HasSupport(), impl_Size_Object2Struct(), Printer::IsPrinting(), m_pData, and comphelper::makePropertyValue().
|
private |
Definition at line 287 of file printhelper.cxx.
References aName, CHG_ORIENTATION, CHG_SIZE, VclPtr< class reference_type >::Create(), SfxViewFrame::GetFirst(), SfxViewShell::GetPrinter(), SfxShell::GetViewShell(), impl_Size_Struct2Object(), Printer::IsPrinting(), Application::IsQuit(), m_pData, nCount, NONE, PRINTER, Size::Width(), and Application::Yield().
Referenced by setPrinter().
|
override |
Definition at line 149 of file printhelper.cxx.
References aArguments, SfxObjectShell::GetShellFromComponent(), m_pData, and xModel.
|
overridevirtual |
Definition at line 536 of file printhelper.cxx.
References utl::TempFileNamed::EnableKillingFile(), SfxViewShell::ExecPrint(), utl::TempFileNamed::GetFileName(), SfxViewFrame::GetFirst(), SfxViewShell::GetPrinter(), INetURLObject::GetProtocol(), Application::GetSettings(), SfxShell::GetViewShell(), Printer::IsPrinting(), and m_pData.
|
overridevirtual |
Definition at line 791 of file printhelper.cxx.
References m_pData.
|
overridevirtual |
Definition at line 414 of file printhelper.cxx.
References impl_setPrinter(), NONE, and SfxViewShell::SetPrinter().
|
private |
Definition at line 59 of file printhelper.hxx.
Referenced by addPrintJobListener(), getPrinter(), impl_setPrinter(), initialize(), print(), removePrintJobListener(), and SfxPrintHelper().