23 : GenericDialogController(pParent,
"modules/swriter/ui/savemonitordialog.ui",
25 , m_xDocName(m_xBuilder->weld_label(
"docname"))
26 , m_xPrinter(m_xBuilder->weld_label(
"printer"))
27 , m_xPrintInfo(m_xBuilder->weld_label(
"printinfo"))
36 : GenericDialogController(pParent,
"modules/swriter/ui/printmonitordialog.ui",
38 , m_xPrinter(m_xBuilder->weld_label(
"printer"))
39 , m_xPrintInfo(m_xBuilder->weld_label(
"printinfo"))
49 : GenericDialogController(pParent,
"modules/swriter/ui/mmcreatingdialog.ui",
52 , m_nCurrentPosition(0)
53 , m_xCounting(m_xBuilder->weld_label(
"progress"))
65 constexpr OUStringLiteral sVariable_Total(
u"%Y");
66 constexpr OUStringLiteral sVariable_Position(
u"%X");
69 sText = sText.replaceAll( sVariable_Total, OUString::number(
m_nTotalCount ) );
70 sText = sText.replaceAll( sVariable_Position, OUString::number(
m_nCurrentPosition ) );
OUString m_sCountingPattern
void UpdateCountingText()
virtual ~CreateMonitor() override
void SetTotalCount(sal_Int32 nTotal)
void SetCurrentPosition(sal_Int32 nCurrent)
CreateMonitor(weld::Window *pParent)
std::unique_ptr< weld::Label > m_xCounting
sal_Int32 m_nCurrentPosition
virtual ~PrintMonitor() override
PrintMonitor(weld::Window *pParent)
SaveMonitor(weld::Window *pParent)
virtual ~SaveMonitor() override