LibreOffice Module sfx2 (master) 1
|
Public Member Functions | |
SfxPrinterController (const VclPtr< Printer > &i_rPrinter, Any i_Complete, Any i_Selection, const Any &i_rViewProp, const Reference< view::XRenderable > &i_xRender, bool i_bApi, bool i_bDirect, SfxViewShell *pView, const uno::Sequence< beans::PropertyValue > &rProps) | |
virtual void | Notify (SfxBroadcaster &, const SfxHint &) override |
virtual int | getPageCount () const override |
virtual Sequence< beans::PropertyValue > | getPageParameters (int i_nPage) const override |
virtual void | printPage (int i_nPage) const override |
virtual void | jobStarted () override |
virtual void | jobFinished (css::view::PrintableState) override |
Public Member Functions inherited from vcl::PrinterController | |
virtual | ~PrinterController () |
const VclPtr< Printer > & | getPrinter () const |
weld::Window * | getWindow () const |
css::uno::Sequence< css::beans::PropertyValue > | getJobProperties (const css::uno::Sequence< css::beans::PropertyValue > &i_rMergeList) const |
css::beans::PropertyValue * | getValue (const OUString &i_rPropertyName) |
const css::beans::PropertyValue * | getValue (const OUString &i_rPropertyName) const |
bool | getBoolProperty (const OUString &i_rPropertyName, bool i_bFallback) const |
sal_Int32 | getIntProperty (const OUString &i_rPropertyName, sal_Int32 i_nFallback) const |
void | setValue (const OUString &i_rPropertyName, const css::uno::Any &i_rValue) |
void | setValue (const css::beans::PropertyValue &i_rValue) |
const css::uno::Sequence< css::beans::PropertyValue > & | getUIOptions () const |
void | setUIOptions (const css::uno::Sequence< css::beans::PropertyValue > &) |
bool | isUIOptionEnabled (const OUString &rPropName) const |
bool | isUIChoiceEnabled (const OUString &rPropName, sal_Int32 nChoice) const |
OUString | makeEnabled (const OUString &rPropName) |
virtual int | getPageCount () const=0 |
virtual css::uno::Sequence< css::beans::PropertyValue > | getPageParameters (int i_nPage) const=0 |
virtual void | printPage (int i_nPage) const=0 |
virtual void | jobStarted () |
virtual void | jobFinished (css::view::PrintableState) |
css::view::PrintableState | getJobState () const |
void | abortJob () |
bool | isShowDialogs () const |
bool | isDirectPrint () const |
void | dialogsParentClosing () |
int | getFilteredPageCount () const |
VCL_DLLPRIVATE PageSize | getPageFile (int i_inUnfilteredPage, GDIMetaFile &rMtf, bool i_bMayUseCache=false) |
PageSize | getFilteredPageFile (int i_nFilteredPage, GDIMetaFile &o_rMtf, bool i_bMayUseCache=false) |
void | printFilteredPage (int i_nPage) |
VCL_DLLPRIVATE void | setPrinter (const VclPtr< Printer > &) |
void | createProgressDialog () |
bool | isProgressCanceled () const |
VCL_DLLPRIVATE void | setMultipage (const MultiPageSetup &) |
VCL_DLLPRIVATE const MultiPageSetup & | getMultipage () const |
void | setLastPage (bool i_bLastPage) |
VCL_DLLPRIVATE void | setReversePrint (bool i_bReverse) |
VCL_DLLPRIVATE void | setPapersizeFromSetup (bool i_bPapersizeFromSetup) |
VCL_DLLPRIVATE bool | getPapersizeFromSetup () const |
VCL_DLLPRIVATE void | setPaperSizeFromUser (Size i_aUserSize) |
VCL_DLLPRIVATE void | setOrientationFromUser (Orientation eOrientation, bool set) |
void | setPrinterModified (bool i_bPapersizeFromSetup) |
bool | getPrinterModified () const |
VCL_DLLPRIVATE void | pushPropertiesToPrinter () |
VCL_DLLPRIVATE void | resetPaperToLastConfigured () |
void | setJobState (css::view::PrintableState) |
VCL_DLLPRIVATE void | setupPrinter (weld::Window *i_pDlgParent) |
VCL_DLLPRIVATE int | getPageCountProtected () const |
VCL_DLLPRIVATE css::uno::Sequence< css::beans::PropertyValue > | getPageParametersProtected (int i_nPage) const |
VCL_DLLPRIVATE DrawModeFlags | removeTransparencies (GDIMetaFile const &i_rIn, GDIMetaFile &o_rOut) |
VCL_DLLPRIVATE void | resetPrinterOptions (bool i_bFileOutput) |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Private Member Functions | |
Sequence< beans::PropertyValue > | getMergedOptions () const |
const Any & | getSelectionObject () const |
Private Attributes | |
Any | maCompleteSelection |
Any | maSelection |
Reference< view::XRenderable > | mxRenderable |
VclPtr< Printer > | mpLastPrinter |
Reference< awt::XDevice > | mxDevice |
SfxViewShell * | mpViewShell |
SfxObjectShell * | mpObjectShell |
bool | m_bOrigStatus |
bool | m_bNeedsChange |
bool | m_bApi |
bool | m_bTempPrinter |
util::DateTime | m_aLastPrinted |
OUString | m_aLastPrintedBy |
Additional Inherited Members | |
Protected Member Functions inherited from vcl::PrinterController | |
PrinterController (const VclPtr< Printer > &, weld::Window *pDialogParent) | |
Definition at line 62 of file viewprn.cxx.
SfxPrinterController::SfxPrinterController | ( | const VclPtr< Printer > & | i_rPrinter, |
Any | i_Complete, | ||
Any | i_Selection, | ||
const Any & | i_rViewProp, | ||
const Reference< view::XRenderable > & | i_xRender, | ||
bool | i_bApi, | ||
bool | i_bDirect, | ||
SfxViewShell * | pView, | ||
const uno::Sequence< beans::PropertyValue > & | rProps | ||
) |
Definition at line 101 of file viewprn.cxx.
References Any, GetFrameWeld(), SfxViewShell::GetObjectShell(), getSelectionObject(), comphelper::makePropertyValue(), mpObjectShell, mpViewShell, mxRenderable, vcl::PrinterController::setUIOptions(), vcl::PrinterController::setValue(), and SfxListener::StartListening().
|
private |
Definition at line 201 of file viewprn.cxx.
References VclPtr< class reference_type >::get(), vcl::PrinterController::getJobProperties(), vcl::PrinterController::getPrinter(), comphelper::makePropertyValue(), mpLastPrinter, and mxDevice.
Referenced by getPageCount(), getPageParameters(), and printPage().
|
overridevirtual |
Implements vcl::PrinterController.
Definition at line 219 of file viewprn.cxx.
References getMergedOptions(), vcl::PrinterController::getPrinter(), getSelectionObject(), mxRenderable, SAL_WARN, and vcl::PrinterController::setJobState().
|
overridevirtual |
Implements vcl::PrinterController.
Definition at line 240 of file viewprn.cxx.
References getMergedOptions(), vcl::PrinterController::getPrinter(), getSelectionObject(), mxRenderable, SAL_WARN, and vcl::PrinterController::setJobState().
|
private |
Definition at line 183 of file viewprn.cxx.
References Any, vcl::PrinterController::getValue(), maCompleteSelection, and maSelection.
Referenced by getPageCount(), getPageParameters(), printPage(), and SfxPrinterController().
|
overridevirtual |
Reimplemented from vcl::PrinterController.
Definition at line 326 of file viewprn.cxx.
References SfxBroadcaster::Broadcast(), SfxItemSet::Clone(), VclPtr< class reference_type >::Create(), Application::CreateMessageDialog(), SfxObjectShell::EnableSetModified(), SfxViewFrame::GetBindings(), SfxObjectShell::getDocProperties(), SfxViewShell::GetFrameWeld(), Printer::GetName(), GetName(), SfxPrinter::GetOptions(), vcl::PrinterController::getPrinter(), SfxViewShell::GetPrinter(), SfxViewShell::GetViewFrame(), SfxBindings::Invalidate(), JOBSETUP, m_aLastPrinted, m_aLastPrintedBy, m_bApi, m_bNeedsChange, m_bOrigStatus, m_bTempPrinter, mpObjectShell, mpViewShell, nState, SfxViewShell::pImpl, PRINTER, Printer::SetJobSetup(), SfxViewShell::SetPrinter(), and SfxResId().
|
overridevirtual |
Reimplemented from vcl::PrinterController.
Definition at line 289 of file viewprn.cxx.
References SfxBroadcaster::Broadcast(), SfxObjectShell::EnableSetModified(), SfxViewShell::GetController(), SfxObjectShell::getDocProperties(), vcl::PrinterController::getJobProperties(), DateTime::GetUNODateTime(), SfxObjectShell::IsEnableSetModified(), SfxObjectShell::IsUseUserData(), m_aLastPrinted, m_aLastPrintedBy, m_bNeedsChange, m_bOrigStatus, mpObjectShell, mpViewShell, now, DateTime::SYSTEM, and xController.
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 171 of file viewprn.cxx.
References vcl::PrinterController::dialogsParentClosing(), SfxListener::EndListening(), SfxHint::GetId(), mpObjectShell, and mpViewShell.
|
overridevirtual |
Implements vcl::PrinterController.
Definition at line 265 of file viewprn.cxx.
References getMergedOptions(), vcl::PrinterController::getPrinter(), getSelectionObject(), mxRenderable, SAL_WARN, and vcl::PrinterController::setJobState().
|
private |
Definition at line 75 of file viewprn.cxx.
Referenced by jobFinished(), and jobStarted().
|
private |
Definition at line 76 of file viewprn.cxx.
Referenced by jobFinished(), and jobStarted().
|
private |
Definition at line 73 of file viewprn.cxx.
Referenced by jobFinished().
|
private |
Definition at line 72 of file viewprn.cxx.
Referenced by jobFinished(), and jobStarted().
|
private |
Definition at line 71 of file viewprn.cxx.
Referenced by jobFinished(), and jobStarted().
|
private |
Definition at line 74 of file viewprn.cxx.
Referenced by jobFinished().
|
private |
Definition at line 64 of file viewprn.cxx.
Referenced by getSelectionObject().
|
private |
Definition at line 65 of file viewprn.cxx.
Referenced by getSelectionObject().
Definition at line 67 of file viewprn.cxx.
Referenced by getMergedOptions().
|
private |
Definition at line 70 of file viewprn.cxx.
Referenced by jobFinished(), jobStarted(), Notify(), and SfxPrinterController().
|
private |
Definition at line 69 of file viewprn.cxx.
Referenced by jobFinished(), jobStarted(), Notify(), and SfxPrinterController().
|
mutableprivate |
Definition at line 68 of file viewprn.cxx.
Referenced by getMergedOptions().
|
private |
Definition at line 66 of file viewprn.cxx.
Referenced by getPageCount(), getPageParameters(), printPage(), and SfxPrinterController().