Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>Does anyone know what the requirements are for setting up a report to use a style in GENHTML.dbf instead of the default courier fonts? GENHTML works with the styles for tables but not reports.
>
>If I'm understanding you correctly, it is not possible to define the default font in a report with the styles stored in genhtml.dbf in conjunction with genhtml.prg. How genhtml works is this:
>
>DO genhtml WITH cOutPutFile (test.htm), vSourceFile (test.dbf), nShow (2), vIELink (.F.), cStyle (located in genhtml.dbf)
>
>Dave
Another point Dave;
The report layout doesn't make it easy to use class ids or tags to identify how the data should be printed. It would be handy if the columns in a report got formatted into a table by default. When doing genhtml using a table and a style, then the output does get formatted in that style. When changing the sourcefile to a report, the output is pretty plain HTML. It doesn't use font attributes for bold or italics, or font sizing either.
With Genrepox I can format the fields into columns, highlight the rows, etc. and have it print like normal in the print preview window, and differently has HTML.
I can understand the difficulty though, of outputting formatted HTML just from a report definition, even with a style sheet.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement