20 #ifndef VCL_INC_NEWPRINTDLG_HXX
21 #define VCL_INC_NEWPRINTDLG_HXX
66 virtual void Resize()
override;
69 const OUString& i_rPaperName,
70 const OUString& i_rNoPageString,
71 sal_Int32 i_nDPIX, sal_Int32 i_nDPIY,
90 mnOrderMode = i_nOrderMode;
92 mnColumns = i_nColumns;
191 std::vector<std::unique_ptr<weld::Widget>>
194 std::map<weld::Widget*, OUString>
196 std::map<OUString, std::vector<weld::Widget*>>
198 std::map<weld::Widget*, sal_Int32>
249 void updateNup(
bool i_bMayUseCache =
true );
279 #endif // VCL_INC_NEWPRINTDLG_HXX
PrintPreviewWindow(PrintDialog *pDialog)
void setPaperOrientation(Orientation eOrientation)
std::unique_ptr< weld::Widget > mxCustom
std::unique_ptr< weld::CheckButton > mxBorderCB
border around each page
OUString maPrintToFileText
std::unique_ptr< weld::Button > mxBackwardBtn
std::unique_ptr< weld::ComboBox > mxNupPagesBox
std::shared_ptr< PrinterController > maPController
std::unique_ptr< weld::MetricSpinButton > mxPageMarginEdt
std::unique_ptr< weld::RadioButton > mxBrochureBtn
virtual ~PrintPreviewWindow() override
void checkOptionalControlDependencies()
std::unique_ptr< weld::Button > mxHelpButton
std::unique_ptr< weld::Button > mxFirstBtn
void showAdvancedControls(bool)
void updateNupFromPages(bool i_bMayUseCache=true)
void checkPaperSize(Size &rPaperSize)
std::unique_ptr< weld::CheckButton > mxSingleJobsBox
std::unique_ptr< weld::ComboBox > mxNupOrderBox
std::unique_ptr< weld::Label > mxPageMarginTxt2
std::unique_ptr< weld::Button > mxForwardBtn
void setPreview(const GDIMetaFile &, const Size &i_rPaperSize, const OUString &i_rPaperName, const OUString &i_rNoPageString, sal_Int32 i_nDPIX, sal_Int32 i_nDPIY, bool i_bGreyscale)
std::unique_ptr< ShowNupOrderWindow > mxNupOrder
std::unique_ptr< weld::RadioButton > mxPageRangesRadioButton
std::unique_ptr< weld::Expander > mxRangeExpander
virtual ~PrintDialog() override
std::unique_ptr< weld::Expander > mxLayoutExpander
Idle maUpdatePreviewNoCacheIdle
std::unique_ptr< weld::RadioButton > mxPagesBtn
std::map< OUString, std::vector< weld::Widget * > > maPropertyToWindowMap
DECL_LINK(updatePreviewIdle, Timer *, void)
std::unique_ptr< weld::CheckButton > mxReverseOrderBox
std::unique_ptr< weld::Button > mxCancelButton
void makeEnabled(weld::Widget *)
virtual void Resize() override
std::unique_ptr< weld::ComboBox > mxPaperSidesBox
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
void setProgress(int i_nCurrent)
std::vector< std::unique_ptr< weld::Widget > > maExtraControls
void updateOrientationBox(bool bAutomatic=true)
std::unique_ptr< weld::Button > mxSetupButton
Size const & getJobPageSize()
std::unique_ptr< weld::ComboBox > mxOrientationBox
void initFromMultiPageSetup(const vcl::PrinterController::MultiPageSetup &)
PrintProgressDialog(weld::Window *i_pParent, int i_nMax)
std::unique_ptr< weld::Entry > mxPageRangeEdit
std::unique_ptr< weld::ComboBox > mxPrinters
std::unique_ptr< weld::SpinButton > mxNupRowsEdt
std::unique_ptr< weld::CustomWeld > mxPreviewWindow
std::unique_ptr< weld::ProgressBar > mxProgress
virtual bool Command(const CommandEvent &) override
std::unique_ptr< weld::Label > mxSheetMarginTxt2
std::unique_ptr< weld::SpinButton > mxCopyCountField
std::unique_ptr< weld::Button > mxLastBtn
void checkControlDependencies()
bool hasOrientationChanged() const
std::unique_ptr< weld::Notebook > mxTabCtrl
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
friend class MoreOptionsDialog
std::unique_ptr< weld::Label > mxNumPagesText
bool isPrintToFile() const
std::unique_ptr< weld::CheckButton > mxCollateBox
std::unique_ptr< weld::Builder > mxCustomOptionsUIBuilder
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
std::unique_ptr< weld::CheckButton > mxPreviewBox
std::unique_ptr< weld::Label > mxNupNumPagesTxt
std::unique_ptr< weld::Label > mxPageMarginTxt1
void setValues(NupOrderType i_nOrderMode, int i_nColumns, int i_nRows)
std::unique_ptr< weld::Frame > mxPageLayoutFrame
std::map< weld::Widget *, OUString > maControlToPropertyMap
std::unique_ptr< weld::Entry > mxPageEdit
std::unique_ptr< weld::ScrolledWindow > mxScrolledWindow
std::unique_ptr< weld::Label > mxStatusTxt
A widget used to choose from a list of items.
std::unique_ptr< weld::Label > mxPagesBoxTitleTxt
void preparePreviewBitmap()
void updateWindowFromProperty(const OUString &)
css::beans::PropertyValue * getValueForWindow(weld::Widget *) const
void enableNupControls(bool bEnable)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
std::unique_ptr< weld::CustomWeld > mxNupOrderWin
void updateNup(bool i_bMayUseCache=true)
std::unique_ptr< PrintPreviewWindow > mxPreview
std::unique_ptr< weld::MetricSpinButton > mxSheetMarginEdt
std::unique_ptr< weld::Label > mxNupOrderTxt
std::unique_ptr< weld::Label > mxSheetMarginTxt1
std::unique_ptr< weld::Image > mxCollateImage
std::unique_ptr< weld::Button > mxMoreOptionsBtn
std::unique_ptr< weld::Label > mxNupTimesTxt
std::unique_ptr< weld::Button > mxOKButton
std::map< weld::Widget *, sal_Int32 > maControlToNumValMap
std::unique_ptr< weld::ComboBox > mxPaperSizeBox
std::unique_ptr< weld::Button > mxButton
DECL_LINK(ClickHdl, weld::Button &, void)
bool isSingleJobs() const
void setupPaperSidesBox()
std::unique_ptr< weld::SpinButton > mxNupColEdt
Size maFirstPageSize
internal, used for automatic Nup-Portrait/landscape
PrintDialog(weld::Window *, const std::shared_ptr< PrinterController > &)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &) override
An idle is a timer to be scheduled immediately.
void preparePreview(bool i_bMayUseCache)
virtual ~PrintProgressDialog() override
std::unique_ptr< weld::Label > mxText
OUString maReplacementString