Custom Reports
- Integrated new View in place of Table for all custom reports. - Implemented legacy field mapping for columns and sort fields. - Implemented rc.indent.report. - Implemented rc.row.padding. - Implemented rc.column.padding. - Implemented rc.color.label. - Modified default rc.indent.annotation from 1 to 2. - Implemented urgency value caching. - Implemented View truncation by line and row. - Columns now know which report thy belong to, so they can use the rc.report.<report>.dateformat override. - Assorted bugs remain.
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
class Column
|
||||
{
|
||||
public:
|
||||
static Column* factory (const std::string&);
|
||||
static Column* factory (const std::string&, const std::string&);
|
||||
|
||||
Column ();
|
||||
Column (const Column&);
|
||||
@@ -47,8 +47,9 @@ public:
|
||||
std::string getLabel () { return _label; }
|
||||
std::string type () const { return _type; }
|
||||
|
||||
virtual void setStyle (const std::string& value) { _style = value; }
|
||||
virtual void setLabel (const std::string& value) { _label = value; }
|
||||
virtual void setStyle (const std::string& value) { _style = value; }
|
||||
virtual void setLabel (const std::string& value) { _label = value; }
|
||||
virtual void setReport (const std::string& value) { _report = value; }
|
||||
|
||||
virtual void measure (Task&, int&, int&) = 0;
|
||||
virtual void renderHeader (std::vector <std::string>&, int, Color&);
|
||||
@@ -58,6 +59,7 @@ protected:
|
||||
std::string _type;
|
||||
std::string _style;
|
||||
std::string _label;
|
||||
std::string _report;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user