LibreOffice Module svtools (master) 1
|
#include <sal/config.h>
#include <string_view>
#include <svtools/prnsetup.hxx>
#include <svtools/strings.hrc>
#include <svtools/svtresid.hxx>
#include <vcl/QueueInfo.hxx>
#include <vcl/svapp.hxx>
#include <vcl/print.hxx>
#include <vcl/event.hxx>
#include <sal/log.hxx>
Go to the source code of this file.
IMPL_LINK | ( | PrinterSetupDialog | , |
ImplDataChangedHdl | , | ||
VclSimpleEvent & | , | ||
rEvt | , | ||
void | |||
) |
Definition at line 305 of file prnsetup.cxx.
References GetData, ImplFillPrnDlgListBox(), ImplPrnDlgUpdatePrinter(), and pData.
IMPL_LINK | ( | PrinterSetupDialog | , |
ImplGetFocusHdl | , | ||
weld::Widget & | , | ||
rWidget | , | ||
void | |||
) |
Definition at line 299 of file prnsetup.cxx.
IMPL_LINK_NOARG | ( | PrinterSetupDialog | , |
ImplChangePrinterHdl | , | ||
weld::ComboBox & | , | ||
void | |||
) |
Definition at line 292 of file prnsetup.cxx.
References ImplPrnDlgListBoxSelect().
IMPL_LINK_NOARG | ( | PrinterSetupDialog | , |
ImplPropertiesHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 285 of file prnsetup.cxx.
References VclPtr< class reference_type >::Create(), and m_xDialog.
IMPL_LINK_NOARG | ( | PrinterSetupDialog | , |
ImplStatusHdl | , | ||
Timer * | , | ||
void | |||
) |
Definition at line 277 of file prnsetup.cxx.
References ImplPrnDlgGetStatusText(), and ImplPrnDlgUpdateQueueInfo().
void ImplFillPrnDlgListBox | ( | const Printer * | pPrinter, |
weld::ComboBox * | pBox, | ||
weld::Button * | pPropBtn | ||
) |
Definition at line 33 of file prnsetup.cxx.
References weld::ComboBox::append_text(), Printer::GetName(), Printer::GetPrinterQueues(), Printer::HasSupport(), i, ImplFreePrnDlgListBox(), nCount, weld::ComboBox::set_active_text(), weld::Widget::set_sensitive(), and weld::Widget::set_visible().
Referenced by IMPL_LINK(), and PrinterSetupDialog::run().
void ImplFreePrnDlgListBox | ( | weld::ComboBox * | pBox, |
bool | bClear | ||
) |
Definition at line 52 of file prnsetup.cxx.
References weld::ComboBox::clear().
Referenced by ImplFillPrnDlgListBox(), and PrinterSetupDialog::~PrinterSetupDialog().
|
static |
Definition at line 137 of file prnsetup.cxx.
References ImplPrnDlgAddString(), and SvtResId().
Referenced by ImplPrnDlgGetStatusText().
|
static |
Definition at line 128 of file prnsetup.cxx.
References aStr.
Referenced by ImplPrnDlgAddResString(), and ImplPrnDlgGetStatusText().
OUString ImplPrnDlgGetStatusText | ( | const QueueInfo & | rInfo | ) |
Definition at line 143 of file prnsetup.cxx.
References aStr, Printer::GetDefaultPrinterName(), QueueInfo::GetJobs(), QueueInfo::GetPrinterName(), QueueInfo::GetStatus(), ImplPrnDlgAddResString(), ImplPrnDlgAddString(), QUEUE_JOBS_DONTKNOW, and SvtResId().
Referenced by IMPL_LINK_NOARG(), and PrinterSetupDialog::ImplSetInfo().
Printer * ImplPrnDlgListBoxSelect | ( | const weld::ComboBox * | pBox, |
weld::Button * | pPropBtn, | ||
Printer const * | pPrinter, | ||
Printer * | pTempPrinterIn | ||
) |
Definition at line 59 of file prnsetup.cxx.
References VclPtr< class reference_type >::Create(), VclPtr< class reference_type >::disposeAndClear(), weld::ComboBox::get_active(), weld::ComboBox::get_active_text(), QueueInfo::GetDriver(), Printer::GetDriverName(), Printer::GetJobSetup(), Printer::GetName(), QueueInfo::GetPrinterName(), Printer::GetQueueInfo(), and weld::Widget::set_sensitive().
Referenced by IMPL_LINK_NOARG().
Definition at line 98 of file prnsetup.cxx.
References VclPtr< class reference_type >::Create(), VclPtr< class reference_type >::disposeAndClear(), Printer::GetName(), and Printer::GetQueueInfo().
Referenced by IMPL_LINK().
void ImplPrnDlgUpdateQueueInfo | ( | const weld::ComboBox * | pBox, |
QueueInfo & | rInfo | ||
) |
Definition at line 117 of file prnsetup.cxx.
References weld::ComboBox::get_active(), weld::ComboBox::get_active_text(), and Printer::GetQueueInfo().
Referenced by IMPL_LINK_NOARG().