Hello Youri,

I just wrote a sample application showing you the basics of what I 
meant (xml report with css built-in).  I don't know how to pass a 
string of text to the htmlviewer of Realbasic so I had to save it as 
an external file.  It seems that the htmlviewer, at least in windows, 
already has a print preview which I did not know about.  

I will let you know the link once I have loaded the realbasic file 
somewhere.  

Using it you would build the xml file yourself from the output of a 
sql query or somesuch, tagging the files as you see fit (table, 
header, totals) and apply formatting through the css code inside the 
html file itself (which is in the XSL).  You would save one file as 
preview.html and after letting the user see it, prompt them with a 
dialog to save it to their own html file.

I will try to document it as much as I have time for.  This is my 
last day of vacation and I am hoping to find some snow nearby to take 
the kids out :)

There's tons of stuff you can do with the css (spacing, fonts, 
colors, alternating row colors).  I do not know if the builtin 
htmlviewer supports floats and divs (really nice for formatting).

Sincerely,
Shawn

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to