LibreOffice Module svtools (master) 1
Functions
prnsetup.cxx File Reference
#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>
Include dependency graph for prnsetup.cxx:

Go to the source code of this file.

Functions

void ImplFillPrnDlgListBox (const Printer *pPrinter, weld::ComboBox *pBox, weld::Button *pPropBtn)
 
void ImplFreePrnDlgListBox (weld::ComboBox *pBox, bool bClear)
 
PrinterImplPrnDlgListBoxSelect (const weld::ComboBox *pBox, weld::Button *pPropBtn, Printer const *pPrinter, Printer *pTempPrinterIn)
 
PrinterImplPrnDlgUpdatePrinter (Printer const *pPrinter, Printer *pTempPrinterIn)
 
void ImplPrnDlgUpdateQueueInfo (const weld::ComboBox *pBox, QueueInfo &rInfo)
 
static OUString ImplPrnDlgAddString (const OUString &rStr, std::u16string_view rAddStr)
 
static OUString ImplPrnDlgAddResString (const OUString &rStr, TranslateId pResId)
 
OUString ImplPrnDlgGetStatusText (const QueueInfo &rInfo)
 
 IMPL_LINK_NOARG (PrinterSetupDialog, ImplStatusHdl, Timer *, void)
 
 IMPL_LINK_NOARG (PrinterSetupDialog, ImplPropertiesHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (PrinterSetupDialog, ImplChangePrinterHdl, weld::ComboBox &, void)
 
 IMPL_LINK (PrinterSetupDialog, ImplGetFocusHdl, weld::Widget &, rWidget, void)
 
 IMPL_LINK (PrinterSetupDialog, ImplDataChangedHdl, VclSimpleEvent &, rEvt, void)
 

Function Documentation

◆ IMPL_LINK() [1/2]

IMPL_LINK ( PrinterSetupDialog  ,
ImplDataChangedHdl  ,
VclSimpleEvent ,
rEvt  ,
void   
)

Definition at line 305 of file prnsetup.cxx.

References GetData, ImplFillPrnDlgListBox(), ImplPrnDlgUpdatePrinter(), and pData.

◆ IMPL_LINK() [2/2]

IMPL_LINK ( PrinterSetupDialog  ,
ImplGetFocusHdl  ,
weld::Widget ,
rWidget  ,
void   
)

Definition at line 299 of file prnsetup.cxx.

◆ IMPL_LINK_NOARG() [1/3]

IMPL_LINK_NOARG ( PrinterSetupDialog  ,
ImplChangePrinterHdl  ,
weld::ComboBox ,
void   
)

Definition at line 292 of file prnsetup.cxx.

References ImplPrnDlgListBoxSelect().

◆ IMPL_LINK_NOARG() [2/3]

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() [3/3]

IMPL_LINK_NOARG ( PrinterSetupDialog  ,
ImplStatusHdl  ,
Timer ,
void   
)

Definition at line 277 of file prnsetup.cxx.

References ImplPrnDlgGetStatusText(), and ImplPrnDlgUpdateQueueInfo().

◆ ImplFillPrnDlgListBox()

void ImplFillPrnDlgListBox ( const Printer pPrinter,
weld::ComboBox pBox,
weld::Button pPropBtn 
)

◆ ImplFreePrnDlgListBox()

void ImplFreePrnDlgListBox ( weld::ComboBox pBox,
bool  bClear 
)

◆ ImplPrnDlgAddResString()

static OUString ImplPrnDlgAddResString ( const OUString &  rStr,
TranslateId  pResId 
)
static

Definition at line 137 of file prnsetup.cxx.

References ImplPrnDlgAddString(), and SvtResId().

Referenced by ImplPrnDlgGetStatusText().

◆ ImplPrnDlgAddString()

static OUString ImplPrnDlgAddString ( const OUString &  rStr,
std::u16string_view  rAddStr 
)
static

Definition at line 128 of file prnsetup.cxx.

References aStr.

Referenced by ImplPrnDlgAddResString(), and ImplPrnDlgGetStatusText().

◆ ImplPrnDlgGetStatusText()

OUString ImplPrnDlgGetStatusText ( const QueueInfo rInfo)

◆ ImplPrnDlgListBoxSelect()

Printer * ImplPrnDlgListBoxSelect ( const weld::ComboBox pBox,
weld::Button pPropBtn,
Printer const *  pPrinter,
Printer pTempPrinterIn 
)

◆ ImplPrnDlgUpdatePrinter()

Printer * ImplPrnDlgUpdatePrinter ( Printer const *  pPrinter,
Printer pTempPrinterIn 
)

◆ ImplPrnDlgUpdateQueueInfo()

void ImplPrnDlgUpdateQueueInfo ( const weld::ComboBox pBox,
QueueInfo rInfo 
)