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