InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SubTaskFoldupProgressBar Class Reference

#include <ProgressBar.h>

Inheritance diagram for SubTaskFoldupProgressBar:
BaseProgressBarCProgressBar

Public Member Functions

 SubTaskFoldupProgressBar (const PMString &strText, int32 startRange, int32 endRange)
 
void SetTaskText (const PMString &strText, bool16 forceRedraw=kTrue)
 
- Public Member Functions inherited from BaseProgressBar
bool16 WasCancelled (bool8 setGlobalErrorState=kTrue)
 
void Abort ()
 
void DisableChildProgressBars (bool16 disable)
 
bool16 WasRegisterSuccessful ()
 
void SetPosition (int32 newPosition)
 

Additional Inherited Members

- Protected Member Functions inherited from BaseProgressBar
 BaseProgressBar (int32 nType, const PMString &progressDialogTitle, int32 taskStart, int32 taskEnd, bool8 showImmediate, bool8 showCancel, IProgressBarControlData *customProgress, bool32 useTwoBars)
 
- Protected Attributes inherited from BaseProgressBar
IProgressBarManagerfProgressMgr
 
int32 fnBarID
 

Detailed Description

Sub task progress bar. This progress bar variant is only useful if you have already declared on of the other progress bars above you on the stack.

It doesn't display anything by itself. Instead, it:

1. Causes the next progress bar up to move through its current task smoothly as this progress bar goes to completion



2. Usually cause its text to be appended to the text that is currently displayed in the next progress bar up



3. Moves the next progress bar up one step forward when it reaches completion.

Intended to be used as a stack based object, the lifetime of the progress bar corresponding to the scope of the object.

Constructor & Destructor Documentation

SubTaskFoldupProgressBar::SubTaskFoldupProgressBar (const PMStringstrText,
int32 startRange,
int32 endRange 
)

Constructor

Parameters
titleIN dialog title
startRangeIN value corresponding to the start of the bar
endRangeIN value corresponding to the end of the bar

Member Function Documentation

void SubTaskFoldupProgressBar::SetTaskText (const PMStringstrText,
bool16 forceRedraw = kTrue 
)

Set the task text for the current task.