2018-08-02 Fred Gleason <fredg@paravelsystems.com>

* Modified reports in rdlibrary(1) to display UTF-8 strings
	correctly.
This commit is contained in:
Fred Gleason
2018-08-02 16:03:29 -04:00
parent 4e125e2de7
commit 7d54bc3691
15 changed files with 256 additions and 192 deletions

View File

@@ -93,11 +93,11 @@ class RDReport
static bool multipleDaysAllowed(RDReport::ExportFilter filter);
static bool multipleMonthsAllowed(RDReport::ExportFilter filter);
static QString errorText(RDReport::ErrorCode code);
static QString leftJustify(const QString &str,int width);
static QString rightJustify(const QString &str,int width);
static QString center(const QString &str,int width);
private:
QString LeftJustify(const QString &str,int width) const;
QString RightJustify(const QString &str,int width) const;
QString Center(const QString &str,int width) const;
bool ExportDeltaflex(const QString &filename,const QDate &startdate,
const QDate &enddate,const QString &mixtable);
bool ExportTextLog(const QString &filename,const QDate &startdate,