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

#include <ProgressBarHelper.hxx>

Public Member Functions

 ProgressBarHelper (const 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 > xStatusIndicator
 
sal_Int32 nRange
 
sal_Int32 nReference
 
sal_Int32 nValue
 
double fOldPercent
 
bool bStrict
 
bool bRepeat
 
bool bFailure
 

Detailed Description

Definition at line 32 of file ProgressBarHelper.hxx.

Constructor & Destructor Documentation

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

Definition at line 29 of file ProgressBarHelper.cxx.

References nValue.

ProgressBarHelper::~ProgressBarHelper ( )

Definition at line 44 of file ProgressBarHelper.cxx.

Member Function Documentation

void ProgressBarHelper::ChangeReference ( sal_Int32  nNewReference)

Definition at line 48 of file ProgressBarHelper.cxx.

References nReference, and nValue.

void ProgressBarHelper::End ( )
inline

Definition at line 56 of file ProgressBarHelper.hxx.

sal_Int32 ProgressBarHelper::GetReference ( ) const
inline

Definition at line 62 of file ProgressBarHelper.hxx.

bool ProgressBarHelper::GetRepeat ( ) const
inline

Definition at line 64 of file ProgressBarHelper.hxx.

sal_Int32 ProgressBarHelper::GetValue ( ) const
inline
void ProgressBarHelper::Increment ( sal_Int32  nInc = 1)
inline
void ProgressBarHelper::SetRange ( sal_Int32  nVal)
inline

Definition at line 51 of file ProgressBarHelper.hxx.

void ProgressBarHelper::SetReference ( sal_Int32  nVal)
inline
void ProgressBarHelper::SetRepeat ( bool  bValue)
inline

Definition at line 54 of file ProgressBarHelper.hxx.

Referenced by SvXMLImport::SetStatistics().

void ProgressBarHelper::SetValue ( sal_Int32  nValue)

Member Data Documentation

bool ProgressBarHelper::bFailure
private

Definition at line 44 of file ProgressBarHelper.hxx.

Referenced by SetValue().

bool ProgressBarHelper::bRepeat
private

Definition at line 41 of file ProgressBarHelper.hxx.

Referenced by SetValue().

bool ProgressBarHelper::bStrict
private

Definition at line 39 of file ProgressBarHelper.hxx.

Referenced by SetValue().

double ProgressBarHelper::fOldPercent
private

Definition at line 38 of file ProgressBarHelper.hxx.

Referenced by SetValue().

sal_Int32 ProgressBarHelper::nRange
private

Definition at line 35 of file ProgressBarHelper.hxx.

Referenced by SetValue().

sal_Int32 ProgressBarHelper::nReference
private

Definition at line 36 of file ProgressBarHelper.hxx.

Referenced by ChangeReference(), and SetValue().

sal_Int32 ProgressBarHelper::nValue
private

Definition at line 37 of file ProgressBarHelper.hxx.

Referenced by ChangeReference(), and SetValue().

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

Definition at line 34 of file ProgressBarHelper.hxx.

Referenced by SetValue().


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