20#ifndef INCLUDED_XMLOFF_PROGRESSBARHELPER_HXX
21#define INCLUDED_XMLOFF_PROGRESSBARHELPER_HXX
25#include <com/sun/star/task/XStatusIndicator.hpp>
47 ProgressBarHelper(css::uno::Reference < css::task::XStatusIndicator> xStatusIndicator,
51 void SetRange(sal_Int32 nVal) { m_nRange = nVal; }
56 void End() {
if (m_xStatusIndicator.is()) m_xStatusIndicator->end(); }
60 void ChangeReference(sal_Int32 nNewReference);
63 sal_Int32
GetValue()
const {
return m_nValue; }
constexpr OUStringLiteral XML_PROGRESSRANGE
constexpr OUStringLiteral XML_PROGRESSMAX
constexpr OUStringLiteral XML_PROGRESSCURRENT
constexpr OUStringLiteral XML_PROGRESSREPEAT
void SetRepeat(bool bValue)
css::uno::Reference< css::task::XStatusIndicator > m_xStatusIndicator
void SetReference(sal_Int32 nVal)
sal_Int32 GetReference() const
sal_Int32 GetValue() const
void Increment(sal_Int32 nInc=1)
void SetRange(sal_Int32 nVal)
virtual void SetValue(tools::Long nNew) override