20#ifndef INCLUDED_OOX_HELPER_PROGRESSBAR_HXX
21#define INCLUDED_OOX_HELPER_PROGRESSBAR_HXX
25#include <com/sun/star/uno/Reference.hxx>
27#include <rtl/ustring.hxx>
30 namespace task {
class XStatusIndicator; }
86 const css::uno::Reference< css::task::XStatusIndicator >& rxIndicator,
87 const OUString& rText );
92 virtual double getPosition()
const override;
94 virtual void setPosition(
double fPosition )
override;
97 css::uno::Reference< css::task::XStatusIndicator >
109 const css::uno::Reference< css::task::XStatusIndicator >& rxIndicator,
110 const OUString& rText );
113 virtual double getPosition()
const override;
115 virtual void setPosition(
double fPosition )
override;
118 virtual double getFreeLength()
const override;
Interface for progress bar classes.
virtual double getPosition() const =0
Returns the current position of the progress bar.
virtual void setPosition(double fPosition)=0
Sets the current position of the progress bar.
Interface for a segment in a progress bar, that is able to create sub segments from itself.
virtual double getFreeLength() const =0
Returns the length that is still free for creating sub segments.
virtual ISegmentProgressBarRef createSegment(double fLength)=0
Adds a new segment with the specified length.
css::uno::Reference< css::task::XStatusIndicator > mxIndicator
ProgressBar(const css::uno::Reference< css::task::XStatusIndicator > &rxIndicator, const OUString &rText)
A progress bar containing several independent segments.
std::shared_ptr< ISegmentProgressBar > ISegmentProgressBarRef