LibreOffice Module oox (master)  1
Public Member Functions | Private Attributes | List of all members
oox::ProgressBar Class Referencefinal

A simple progress bar. More...

#include <progressbar.hxx>

Inheritance diagram for oox::ProgressBar:
[legend]
Collaboration diagram for oox::ProgressBar:
[legend]

Public Member Functions

 ProgressBar (const css::uno::Reference< css::task::XStatusIndicator > &rxIndicator, const OUString &rText)
 
virtual ~ProgressBar () override
 
virtual double getPosition () const override
 Returns the current position of the progress bar. More...
 
virtual void setPosition (double fPosition) override
 Sets the current position of the progress bar. More...
 
- Public Member Functions inherited from oox::IProgressBar
virtual ~IProgressBar ()
 

Private Attributes

css::uno::Reference< css::task::XStatusIndicator > mxIndicator
 
double mfPosition
 

Detailed Description

A simple progress bar.

Definition at line 82 of file progressbar.hxx.

Constructor & Destructor Documentation

oox::ProgressBar::ProgressBar ( const css::uno::Reference< css::task::XStatusIndicator > &  rxIndicator,
const OUString &  rText 
)
explicit
oox::ProgressBar::~ProgressBar ( )
overridevirtual

Definition at line 54 of file progressbar.cxx.

References mxIndicator.

Member Function Documentation

double oox::ProgressBar::getPosition ( ) const
overridevirtual

Returns the current position of the progress bar.

Implements oox::IProgressBar.

Definition at line 60 of file progressbar.cxx.

References mfPosition.

Referenced by oox::SegmentProgressBar::getPosition().

void oox::ProgressBar::setPosition ( double  fPosition)
overridevirtual

Sets the current position of the progress bar.

Implements oox::IProgressBar.

Definition at line 65 of file progressbar.cxx.

References mfPosition, mxIndicator, and SAL_WARN_IF.

Referenced by oox::SegmentProgressBar::setPosition().

Member Data Documentation

double oox::ProgressBar::mfPosition
private

Definition at line 99 of file progressbar.hxx.

Referenced by getPosition(), and setPosition().

css::uno::Reference< css::task::XStatusIndicator > oox::ProgressBar::mxIndicator
private

Definition at line 98 of file progressbar.hxx.

Referenced by setPosition(), and ~ProgressBar().


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