Logo Search packages:      
Sourcecode: taskjuggler version File versions  Download package

HTMLStatusReport Class Reference

#include <HTMLStatusReport.h>

Inheritance diagram for HTMLStatusReport:

HTMLReport Report HTMLPrimitives

List of all members.


Detailed Description

A class that generates HTML status reports.

Author:
Chris Schlaeger <cs@kde.org>

Definition at line 26 of file HTMLStatusReport.h.


Public Member Functions

void addReportColumn (const QString &c)
void addScenario (int sc)
void clearColumns ()
void clearScenarios ()
const QString & columnsAt (uint idx)
bool filterAccountList (AccountList &filteredList, AccountType at, ExpressionTree *hideExp, ExpressionTree *rollUpExp) const
bool filterResourceList (ResourceList &filteredList, const Task *t, ExpressionTree *hideExp, ExpressionTree *rollUpExp) const
bool filterTaskList (TaskList &filteredList, const Resource *r, ExpressionTree *hideExp, ExpressionTree *rollUpExp) const
bool generate ()
void generateFooter ()
void generateHeader (const QString &title)
int getAccountSorting (int level) const
const QString & getCaption () const
const RealFormat & getCurrencyFormat () const
const QString & getDefinitionFile () const
uint getDefinitionLine () const
time_t getEnd () const
const QString & getFileName () const
QString getFullFileName () const
const QString & getHeadline () const
ExpressionTreegetHideAccount () const
ExpressionTreegetHideResource () const
ExpressionTreegetHideTask () const
LoadUnit getLoadUnit () const
const RealFormat & getNumberFormat () const
const ProjectgetProject () const
int getResourceSorting (int level) const
ExpressionTreegetRollUpAccount () const
ExpressionTreegetRollUpResource () const
ExpressionTreegetRollUpTask () const
int getScenario (int sc) const
uint getScenarioCount () const
const QString & getShortTimeFormat () const
bool getShowPIDs () const
time_t getStart () const
HTMLReportElementgetTable (int tabIdx) const
const QString & getTaskRoot () const
int getTaskSorting (int level) const
const QString & getTimeFormat () const
bool getTimeStamp () const
virtual const char * getType () const
bool getWeekStartsMonday () const
bool hasStyleSheet () const
QString htmlFilter (const QString &s) const
 HTMLStatusReport (Project *p, const QString &f, const QString &df, int dl)
bool isHidden (const CoreAttributes *c, ExpressionTree *et) const
bool isRolledUp (const CoreAttributes *c, ExpressionTree *et) const
bool open ()
void puts (const QString &str)
bool setAccountSorting (int sc, int level)
void setCaption (const QString &c)
void setCurrencyFormat (const RealFormat &rf)
void setEnd (time_t e)
void setHeadline (const QString &hl)
void setHideAccount (ExpressionTree *et)
void setHideResource (ExpressionTree *et)
void setHideTask (ExpressionTree *et)
bool setLoadUnit (const QString &u)
void setNumberFormat (const RealFormat &rf)
void setRawHead (const QString &head)
void setRawStyleSheet (const QString &ss)
void setRawTail (const QString &tail)
bool setResourceSorting (int sc, int level)
void setRollUpAccount (ExpressionTree *et)
void setRollUpResource (ExpressionTree *et)
void setRollUpTask (ExpressionTree *et)
void setShortTimeFormat (const QString &tf)
void setShowPIDs (bool s)
void setStart (time_t s)
void setTable (int tabIdx, HTMLReportElement *tab)
void setTaskRoot (const QString &root)
bool setTaskSorting (int sc, int level)
void setTimeFormat (const QString &tf)
void setTimeStamp (bool t)
void setWeekStartsMonday (bool wsm)
void sortAccountList (AccountList &filteredList)
void sortResourceList (ResourceList &filteredList)
void sortTaskList (TaskList &filteredList)
QTextStream & stream ()

Protected Member Functions

void errorMessage (const char *msg,...)
QString stripTaskRoot (QString taskId) const

Protected Attributes

int accountSortCriteria [CoreAttributesList::maxSortingLevel]
QString caption
QStringList columns
RealFormat currencyFormat
int defFileLine
QString defFileName
time_t end
QFile f
QString fileName
QString headline
ExpressionTreehideAccount
ExpressionTreehideResource
ExpressionTreehideTask
LoadUnit loadUnit
uint maxDepthAccountList
uint maxDepthResourceList
uint maxDepthTaskList
RealFormat numberFormat
const Projectproject
QString rawHead
QString rawStyleSheet
QString rawTail
int resourceSortCriteria [CoreAttributesList::maxSortingLevel]
ExpressionTreerollUpAccount
ExpressionTreerollUpResource
ExpressionTreerollUpTask
QTextStream s
QValueList< int > scenarios
QString shortTimeFormat
bool showPIDs
time_t start
QString taskRoot
int taskSortCriteria [CoreAttributesList::maxSortingLevel]
QString timeFormat
bool timeStamp
bool weekStartsMonday

Private Attributes

HTMLReportElementtables [tablesCount]

Static Private Attributes

static const int tablesCount = 4

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

Generated by  Doxygen 1.6.0   Back to index