Home » U++ Library support » RichText,QTF,RTF... » Random missing separating lines(V or H) in report table display
Random missing separating lines(V or H) in report table display [message #13033] |
Thu, 06 December 2007 09:38 |
fuqr
Messages: 16 Registered: July 2007 Location: Singapore
|
Promising Member |
|
|
Hi UPP experts,
The report example at UPP web site is very good and stright forward. But I noticed some separating lines (V & H) are missing random in display window. And it will change when you change the size of window. But the printed paper is O.K.
Same error occured in my program even if I output to PDF format.
If it's a bug in called Report package?
===============================================
#include <Report/Report.h>
using namespace Upp;
GUI_APP_MAIN
{
Report r;
r.Header("[A2> Page $$P");
r << "This is some [* QTF text";
r << "&&Let's report some table:";
String tab;
tab << "{{1:1:1:1:1:1:2 A:: B:: C:: D:: E:: F:: G (wider)";
for(int row = 0; row < 20; row++)
for(int column = 0; column < 7; column++)
tab << ":: " << row << ":" << column;
r << tab;
r.NewPage();
int y = r.GetY();
r.DrawEllipse(300, y + 50, 3000, 2000, LtRed, 20);
r.DrawText(500, y + 50 + 950, "Some free drawing in this page!", Arial(100));
r.SetY(y + 50 + 3000);
r << "More of [/ QTF] [C6* text";
Perform(r);
}
=====================================================
Thanks for your help!
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Apr 19 05:16:30 CEST 2024
Total time taken to generate the page: 2.02037 seconds
|