ProgressBarHelper Class Reference

#include <ProgressBarHelper.hxx>

List of all members.

Public Member Functions

 ProgressBarHelper (const ::com::sun::star::uno::Reference< ::com::sun::star::task::XStatusIndicator > &xStatusIndicator, const sal_Bool bStrict)
 ~ProgressBarHelper ()
void SetText (::rtl::OUString &rText)
void SetRange (sal_Int32 nVal)
void SetReference (sal_Int32 nVal)
void SetValue (sal_Int32 nValue)
void SetRepeat (sal_Bool bValue)
void Increment (sal_Int32 nInc=1)
void End ()
sal_Int32 ChangeReference (sal_Int32 nNewReference)
sal_Int32 GetReference ()
sal_Int32 GetValue ()
sal_Bool GetRepeat ()

Private Attributes

::com::sun::star::uno::Reference
< ::com::sun::star::task::XStatusIndicator > 
xStatusIndicator
sal_Int32 nRange
sal_Int32 nReference
sal_Int32 nValue
double fOldPercent
sal_Bool bStrict
sal_Bool bRepeat
sal_Bool bFailure


Detailed Description

Definition at line 41 of file ProgressBarHelper.hxx.


Constructor & Destructor Documentation

ProgressBarHelper::ProgressBarHelper ( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XStatusIndicator > &  xStatusIndicator,
const sal_Bool  bStrict 
)

Definition at line 47 of file ProgressBarHelper.cxx.

ProgressBarHelper::~ProgressBarHelper (  ) 

Definition at line 62 of file ProgressBarHelper.cxx.


Member Function Documentation

void ProgressBarHelper::SetText ( ::rtl::OUString rText  )  [inline]

Definition at line 60 of file ProgressBarHelper.hxx.

void ProgressBarHelper::SetRange ( sal_Int32  nVal  )  [inline]

void ProgressBarHelper::SetReference ( sal_Int32  nVal  )  [inline]

void ProgressBarHelper::SetValue ( sal_Int32  nValue  ) 

void ProgressBarHelper::SetRepeat ( sal_Bool  bValue  )  [inline]

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

Definition at line 65 of file ProgressBarHelper.hxx.

References nValue.

void ProgressBarHelper::End (  )  [inline]

Definition at line 66 of file ProgressBarHelper.hxx.

sal_Int32 ProgressBarHelper::ChangeReference ( sal_Int32  nNewReference  ) 

Definition at line 66 of file ProgressBarHelper.cxx.

References abs, nReference, and nValue.

sal_Int32 ProgressBarHelper::GetReference (  )  [inline]

Definition at line 72 of file ProgressBarHelper.hxx.

Referenced by SvXMLImport::endDocument(), and SvXMLExport::~SvXMLExport().

sal_Int32 ProgressBarHelper::GetValue (  )  [inline]

sal_Bool ProgressBarHelper::GetRepeat (  )  [inline]

Definition at line 74 of file ProgressBarHelper.hxx.

Referenced by SvXMLImport::endDocument(), and SvXMLExport::~SvXMLExport().


Member Data Documentation

::com::sun::star::uno::Reference< ::com::sun::star::task::XStatusIndicator > ProgressBarHelper::xStatusIndicator [private]

Definition at line 43 of file ProgressBarHelper.hxx.

Referenced by SetValue().

sal_Int32 ProgressBarHelper::nRange [private]

Definition at line 44 of file ProgressBarHelper.hxx.

Referenced by SetValue().

sal_Int32 ProgressBarHelper::nReference [private]

Definition at line 45 of file ProgressBarHelper.hxx.

Referenced by ChangeReference(), and SetValue().

sal_Int32 ProgressBarHelper::nValue [private]

Definition at line 46 of file ProgressBarHelper.hxx.

Referenced by ChangeReference(), and SetValue().

Definition at line 47 of file ProgressBarHelper.hxx.

sal_Bool ProgressBarHelper::bStrict [private]

Definition at line 48 of file ProgressBarHelper.hxx.

Referenced by SetValue().

sal_Bool ProgressBarHelper::bRepeat [private]

Definition at line 50 of file ProgressBarHelper.hxx.

Referenced by SetValue().

sal_Bool ProgressBarHelper::bFailure [private]

Definition at line 53 of file ProgressBarHelper.hxx.

Referenced by SetValue().


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

Generated on Thu Apr 29 14:36:42 2010 for ooo-build Module xmloff (ooo/OOO320_m15) by  doxygen 1.5.6