LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScfSimpleProgressBar Class Reference

A simplified progress bar with only one segment. More...

#include <fprogressbar.hxx>

Collaboration diagram for ScfSimpleProgressBar:
[legend]

Public Member Functions

 ScfSimpleProgressBar (std::size_t nSize, SfxObjectShell *pDocShell, const OUString &rText)
 
 ScfSimpleProgressBar (std::size_t nSize, SfxObjectShell *pDocShell, TranslateId pResId)
 
void ProgressAbs (std::size_t nPos)
 Set progress bar to the specified position. More...
 

Private Member Functions

void Init (std::size_t nSize)
 Initializes and starts the progress bar. More...
 

Private Attributes

ScfProgressBar maProgress
 

Detailed Description

A simplified progress bar with only one segment.

Definition at line 186 of file fprogressbar.hxx.

Constructor & Destructor Documentation

◆ ScfSimpleProgressBar() [1/2]

ScfSimpleProgressBar::ScfSimpleProgressBar ( std::size_t  nSize,
SfxObjectShell pDocShell,
const OUString &  rText 
)
explicit

Definition at line 198 of file fprogressbar.cxx.

References Init(), and maProgress.

◆ ScfSimpleProgressBar() [2/2]

ScfSimpleProgressBar::ScfSimpleProgressBar ( std::size_t  nSize,
SfxObjectShell pDocShell,
TranslateId  pResId 
)
explicit

Definition at line 204 of file fprogressbar.cxx.

References Init(), and maProgress.

Member Function Documentation

◆ Init()

void ScfSimpleProgressBar::Init ( std::size_t  nSize)
private

Initializes and starts the progress bar.

Definition at line 210 of file fprogressbar.cxx.

References ScfProgressBar::ActivateSegment(), ScfProgressBar::AddSegment(), and maProgress.

Referenced by ScfSimpleProgressBar().

◆ ProgressAbs()

void ScfSimpleProgressBar::ProgressAbs ( std::size_t  nPos)
inline

Set progress bar to the specified position.

Definition at line 193 of file fprogressbar.hxx.

References maProgress, nPos, and ScfProgressBar::ProgressAbs().

Member Data Documentation

◆ maProgress

ScfProgressBar ScfSimpleProgressBar::maProgress
private

Definition at line 200 of file fprogressbar.hxx.

Referenced by Init(), and ProgressAbs().


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