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 > 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::ProgressBarHelper ( css::uno::Reference< css::task::XStatusIndicator >  xStatusIndicator,
const bool  bStrict 
)

Definition at line 30 of file ProgressBarHelper.cxx.

References nValue.

◆ ~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 nReference, and 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

◆ SetRange()

void ProgressBarHelper::SetRange ( sal_Int32  nVal)
inline

Definition at line 51 of file ProgressBarHelper.hxx.

◆ SetReference()

void ProgressBarHelper::SetReference ( sal_Int32  nVal)
inline

◆ SetRepeat()

void ProgressBarHelper::SetRepeat ( bool  bValue)
inline

Definition at line 54 of file ProgressBarHelper.hxx.

Referenced by SvXMLImport::SetStatistics().

◆ SetValue()

void ProgressBarHelper::SetValue ( sal_Int32  nValue)

Member Data Documentation

◆ bFailure

bool ProgressBarHelper::bFailure
private

Definition at line 44 of file ProgressBarHelper.hxx.

Referenced by SetValue().

◆ bRepeat

bool ProgressBarHelper::bRepeat
private

Definition at line 41 of file ProgressBarHelper.hxx.

Referenced by SetValue().

◆ bStrict

bool ProgressBarHelper::bStrict
private

Definition at line 39 of file ProgressBarHelper.hxx.

Referenced by SetValue().

◆ fOldPercent

double ProgressBarHelper::fOldPercent
private

Definition at line 38 of file ProgressBarHelper.hxx.

Referenced by SetValue().

◆ nRange

sal_Int32 ProgressBarHelper::nRange
private

Definition at line 35 of file ProgressBarHelper.hxx.

Referenced by SetValue().

◆ nReference

sal_Int32 ProgressBarHelper::nReference
private

Definition at line 36 of file ProgressBarHelper.hxx.

Referenced by ChangeReference(), and SetValue().

◆ nValue

sal_Int32 ProgressBarHelper::nValue
private

Definition at line 37 of file ProgressBarHelper.hxx.

Referenced by ChangeReference(), and SetValue().

◆ xStatusIndicator

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: