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

A simplified progress bar based on the stream position of an existing stream. More...

#include <fprogressbar.hxx>

Collaboration diagram for ScfStreamProgressBar:
[legend]

Public Member Functions

 ScfStreamProgressBar (SvStream &rStrm, SfxObjectShell *pDocShell)
 
void Progress ()
 Sets the progress bar to the current stream position. More...
 

Private Types

typedef ::std::unique_ptr< ScfSimpleProgressBarScfSimpleProgressBarPtr
 

Private Member Functions

void Init (SfxObjectShell *pDocShell, const OUString &rText)
 Initializes and starts the progress bar. More...
 

Private Attributes

ScfSimpleProgressBarPtr mxProgress
 
SvStreammrStrm
 The used progress bar. More...
 

Detailed Description

A simplified progress bar based on the stream position of an existing stream.

Definition at line 204 of file fprogressbar.hxx.

Member Typedef Documentation

Definition at line 217 of file fprogressbar.hxx.

Constructor & Destructor Documentation

ScfStreamProgressBar::ScfStreamProgressBar ( SvStream rStrm,
SfxObjectShell pDocShell 
)
explicit

Definition at line 216 of file fprogressbar.cxx.

References Init(), and ScResId().

Member Function Documentation

void ScfStreamProgressBar::Init ( SfxObjectShell pDocShell,
const OUString &  rText 
)
private

Initializes and starts the progress bar.

Definition at line 227 of file fprogressbar.cxx.

References mrStrm, mxProgress, Progress(), and SvStream::TellEnd().

Referenced by ScfStreamProgressBar().

void ScfStreamProgressBar::Progress ( )

Sets the progress bar to the current stream position.

Definition at line 222 of file fprogressbar.cxx.

References mrStrm, mxProgress, and SvStream::Tell().

Referenced by generate_Opcodes(), and Init().

Member Data Documentation

SvStream& ScfStreamProgressBar::mrStrm
private

The used progress bar.

Definition at line 220 of file fprogressbar.hxx.

Referenced by Init(), and Progress().

ScfSimpleProgressBarPtr ScfStreamProgressBar::mxProgress
private

Definition at line 219 of file fprogressbar.hxx.

Referenced by Init(), and Progress().


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