#include <ProgressBarHelper.hxx>
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 |
Definition at line 41 of file ProgressBarHelper.hxx.
| 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.
| void ProgressBarHelper::SetText | ( | ::rtl::OUString & | rText | ) | [inline] |
Definition at line 60 of file ProgressBarHelper.hxx.
| void ProgressBarHelper::SetRange | ( | sal_Int32 | nVal | ) | [inline] |
Definition at line 61 of file ProgressBarHelper.hxx.
Referenced by SvXMLImport::GetProgressBarHelper(), and SvXMLExport::GetProgressBarHelper().
| void ProgressBarHelper::SetReference | ( | sal_Int32 | nVal | ) | [inline] |
Definition at line 62 of file ProgressBarHelper.hxx.
Referenced by SvXMLImport::GetProgressBarHelper(), and SvXMLExport::GetProgressBarHelper().
| void ProgressBarHelper::SetValue | ( | sal_Int32 | nValue | ) |
Definition at line 91 of file ProgressBarHelper.cxx.
References bFailure, bRepeat, bStrict, xmloff::token::DecRescheduleCount(), xmloff::token::IncRescheduleCount(), nRange, nReference, nValue, and xStatusIndicator.
Referenced by XMLTextParagraphExport::exportStyleAttributes(), SvXMLImport::GetProgressBarHelper(), and SvXMLExport::GetProgressBarHelper().
| void ProgressBarHelper::SetRepeat | ( | sal_Bool | bValue | ) | [inline] |
Definition at line 64 of file ProgressBarHelper.hxx.
Referenced by SvXMLImport::GetProgressBarHelper(), and SvXMLExport::GetProgressBarHelper().
| void ProgressBarHelper::Increment | ( | sal_Int32 | nInc = 1 |
) | [inline] |
| void ProgressBarHelper::End | ( | ) | [inline] |
Definition at line 66 of file ProgressBarHelper.hxx.
| sal_Int32 ProgressBarHelper::ChangeReference | ( | sal_Int32 | nNewReference | ) |
| 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] |
Definition at line 73 of file ProgressBarHelper.hxx.
References nValue.
Referenced by SvXMLImport::endDocument(), XMLTextParagraphExport::exportStyleAttributes(), and SvXMLExport::~SvXMLExport().
| sal_Bool ProgressBarHelper::GetRepeat | ( | ) | [inline] |
Definition at line 74 of file ProgressBarHelper.hxx.
Referenced by SvXMLImport::endDocument(), and SvXMLExport::~SvXMLExport().
::com::sun::star::uno::Reference< ::com::sun::star::task::XStatusIndicator > ProgressBarHelper::xStatusIndicator [private] |
sal_Int32 ProgressBarHelper::nRange [private] |
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().
double ProgressBarHelper::fOldPercent [private] |
Definition at line 47 of file ProgressBarHelper.hxx.
sal_Bool ProgressBarHelper::bStrict [private] |
sal_Bool ProgressBarHelper::bRepeat [private] |
sal_Bool ProgressBarHelper::bFailure [private] |
1.5.6