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

◆ ScfSimpleProgressBarPtr

Definition at line 217 of file fprogressbar.hxx.

Constructor & Destructor Documentation

◆ ScfStreamProgressBar()

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

Definition at line 217 of file fprogressbar.cxx.

References Init(), rStrm, and ScResId().

Member Function Documentation

◆ Init()

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

Initializes and starts the progress bar.

Definition at line 228 of file fprogressbar.cxx.

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

Referenced by ScfStreamProgressBar().

◆ Progress()

void ScfStreamProgressBar::Progress ( )

Sets the progress bar to the current stream position.

Definition at line 223 of file fprogressbar.cxx.

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

Referenced by generate_Opcodes(), Init(), ImportLotus::parse(), ImportLotus::Read(), and ScFormatFilterPluginImpl::ScImportDif().

Member Data Documentation

◆ mrStrm

SvStream& ScfStreamProgressBar::mrStrm
private

The used progress bar.

Definition at line 220 of file fprogressbar.hxx.

Referenced by Init(), and Progress().

◆ mxProgress

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: