LibreOffice Module oox (master) 1
|
A simple progress bar. More...
#include <progressbar.hxx>
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 () |
virtual double | getPosition () const =0 |
Returns the current position of the progress bar. More... | |
virtual void | setPosition (double fPosition)=0 |
Sets the current position of the progress bar. More... | |
Private Attributes | |
css::uno::Reference< css::task::XStatusIndicator > | mxIndicator |
double | mfPosition |
A simple progress bar.
Definition at line 82 of file progressbar.hxx.
|
explicit |
|
overridevirtual |
Definition at line 54 of file progressbar.cxx.
References mxIndicator.
|
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().
|
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().
|
private |
Definition at line 99 of file progressbar.hxx.
Referenced by getPosition(), and setPosition().
|
private |
Definition at line 98 of file progressbar.hxx.
Referenced by setPosition(), and ~ProgressBar().