73 pOptions(
std::move(pTheOptions) ),
82 Printer( rTheOrigJobSetup.GetPrinterName() ),
83 pOptions(
std::move(pTheOptions) )
94 const OUString& rPrinterName ) :
96 pOptions(
std::move(pTheOptions) ),
97 bKnown(
GetName() == rPrinterName )
106 pOptions( rPrinter.GetOptions().
Clone() ),
107 bKnown( rPrinter.IsKnown() )
122 pNewPrinter->SetPrinterProps(
this );
152 : GenericDialogController(pParent,
"sfx/ui/printeroptionsdialog.ui",
"PrinterOptionsDialog")
153 , pOptions(pSet->
Clone())
154 , m_xHelpBtn(m_xBuilder->weld_widget(
"help"))
175 short nRet = GenericDialogController::run();
Reference< XExecutableDialog > m_xDialog
OUString const & GetPrinterName() const
const MapMode & GetMapMode() const
bool SetPrinterProps(const Printer *pPrinter)
bool IsDefPrinter() const
bool SetJobSetup(const JobSetup &rSetup)
const OUString & GetName() const
const JobSetup & GetJobSetup() const
virtual void dispose() override
std::unique_ptr< SfxItemSet > pOptions
std::unique_ptr< SfxTabPage > m_xPage
std::unique_ptr< weld::Widget > m_xHelpBtn
virtual ~SfxPrintOptionsDialog() override
virtual short run() override
SfxPrintOptionsDialog(weld::Window *pParent, SfxViewShell *pViewShell, const SfxItemSet *rOptions)
SfxPrinter(std::unique_ptr< SfxItemSet > &&pTheOptions)
virtual void dispose() override
std::unique_ptr< SfxItemSet > pOptions
void Store(SvStream &rStream) const
VclPtr< SfxPrinter > Clone() const
static VclPtr< SfxPrinter > Create(SvStream &rStream, std::unique_ptr< SfxItemSet > &&pOptions)
virtual ~SfxPrinter() override
void SetOptions(const SfxItemSet &rNewOptions)
const SfxItemSet & GetOptions() const
One SfxViewShell more or less represents one edit window for a document, there can be multiple ones f...
static VclPtr< reference_type > Create(Arg &&... arg)
std::shared_ptr< weld::Dialog > m_xDialog
#define DBG_ASSERT(sCon, aError)
virtual OUString GetName() const override
SvStream & ReadJobSetup(SvStream &rIStream, JobSetup &rJobSetup)
SvStream & WriteJobSetup(SvStream &rOStream, const JobSetup &rJobSetup)
css::uno::Reference< css::animations::XAnimationNode > Clone(const css::uno::Reference< css::animations::XAnimationNode > &xSourceNode, const SdPage *pSource=nullptr, const SdPage *pTarget=nullptr)
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)
Reference< XNameAccess > m_xContainer
std::unique_ptr< SfxTabPage > CreatePrintOptionsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rOptions, bool bPreview)