LibreOffice Module xmloff (master) 1
Public Member Functions | Private Attributes | List of all members
ProgressBarHelper Class Reference

#include <ProgressBarHelper.hxx>

Public Member Functions

 ProgressBarHelper (css::uno::Reference< css::task::XStatusIndicator > xStatusIndicator, const bool bStrict)
 
 ~ProgressBarHelper ()
 
void SetRange (sal_Int32 nVal)
 
void SetReference (sal_Int32 nVal)
 
void SetValue (sal_Int32 nValue)
 
void SetRepeat (bool bValue)
 
void Increment (sal_Int32 nInc=1)
 
void End ()
 
void ChangeReference (sal_Int32 nNewReference)
 
sal_Int32 GetReference () const
 
sal_Int32 GetValue () const
 
bool GetRepeat () const
 

Private Attributes

css::uno::Reference< css::task::XStatusIndicator > m_xStatusIndicator
 
sal_Int32 m_nRange
 
sal_Int32 m_nReference
 
sal_Int32 m_nValue
 
double m_fOldPercent
 
bool m_bStrict
 
bool m_bRepeat
 
bool m_bFailure
 

Detailed Description

Definition at line 32 of file ProgressBarHelper.hxx.

Constructor & Destructor Documentation

◆ ProgressBarHelper()

ProgressBarHelper::ProgressBarHelper ( css::uno::Reference< css::task::XStatusIndicator >  xStatusIndicator,
const bool  bStrict 
)

Definition at line 30 of file ProgressBarHelper.cxx.

◆ ~ProgressBarHelper()

ProgressBarHelper::~ProgressBarHelper ( )

Definition at line 45 of file ProgressBarHelper.cxx.

Member Function Documentation

◆ ChangeReference()

void ProgressBarHelper::ChangeReference ( sal_Int32  nNewReference)

Definition at line 49 of file ProgressBarHelper.cxx.

References m_nReference, and m_nValue.

◆ End()

void ProgressBarHelper::End ( )
inline

Definition at line 56 of file ProgressBarHelper.hxx.

◆ GetReference()

sal_Int32 ProgressBarHelper::GetReference ( ) const
inline

Definition at line 62 of file ProgressBarHelper.hxx.

◆ GetRepeat()

bool ProgressBarHelper::GetRepeat ( ) const
inline

Definition at line 64 of file ProgressBarHelper.hxx.

◆ GetValue()

sal_Int32 ProgressBarHelper::GetValue ( ) const
inline

◆ Increment()

void ProgressBarHelper::Increment ( sal_Int32  nInc = 1)
inline

Definition at line 55 of file ProgressBarHelper.hxx.

References SetValue().

Referenced by XMLShapeExport::exportShape().

◆ SetRange()

void ProgressBarHelper::SetRange ( sal_Int32  nVal)
inline

Definition at line 51 of file ProgressBarHelper.hxx.

◆ SetReference()

void ProgressBarHelper::SetReference ( sal_Int32  nVal)
inline

Definition at line 52 of file ProgressBarHelper.hxx.

Referenced by SdXMLExport::setSourceDocument().

◆ SetRepeat()

void ProgressBarHelper::SetRepeat ( bool  bValue)
inline

Definition at line 54 of file ProgressBarHelper.hxx.

◆ SetValue()

void ProgressBarHelper::SetValue ( sal_Int32  nValue)

Member Data Documentation

◆ m_bFailure

bool ProgressBarHelper::m_bFailure
private

Definition at line 44 of file ProgressBarHelper.hxx.

Referenced by SetValue().

◆ m_bRepeat

bool ProgressBarHelper::m_bRepeat
private

Definition at line 41 of file ProgressBarHelper.hxx.

Referenced by SetValue().

◆ m_bStrict

bool ProgressBarHelper::m_bStrict
private

Definition at line 39 of file ProgressBarHelper.hxx.

Referenced by SetValue().

◆ m_fOldPercent

double ProgressBarHelper::m_fOldPercent
private

Definition at line 38 of file ProgressBarHelper.hxx.

Referenced by SetValue().

◆ m_nRange

sal_Int32 ProgressBarHelper::m_nRange
private

Definition at line 35 of file ProgressBarHelper.hxx.

Referenced by SetValue().

◆ m_nReference

sal_Int32 ProgressBarHelper::m_nReference
private

Definition at line 36 of file ProgressBarHelper.hxx.

Referenced by ChangeReference(), and SetValue().

◆ m_nValue

sal_Int32 ProgressBarHelper::m_nValue
private

Definition at line 37 of file ProgressBarHelper.hxx.

Referenced by ChangeReference(), and SetValue().

◆ m_xStatusIndicator

css::uno::Reference< css::task::XStatusIndicator > ProgressBarHelper::m_xStatusIndicator
private

Definition at line 34 of file ProgressBarHelper.hxx.

Referenced by SetValue().


The documentation for this class was generated from the following files: