[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: report IDL
From: |
Anders Lindbäck |
Subject: |
Re: report IDL |
Date: |
Fri, 29 Sep 2000 09:59:07 +0200 (CEST) |
> >
> > /*
> > * Report output format
> > */
> > enum Converter {
> > TO_PDF,
> > TO_PS,
> > TO_HTML,
> > TO_LATEX
> > };
>
> Why don't add the TO_XML option as someone suggest before?, this option
> gaves us the report with all the data filled and if someone wants to
> play with it directly it could :-)
To furhter add to the confusion.
Which version of HTML ? Isn't HTML defined as an SGML DTD and should it not be
possible to tell which DTD to use ?
Many HTML document starts with the following line:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html40/loose.dtd">
Also is it good to have the converter as an enum that has to changed
added to every time a new format is created ? Why not simple
a string identifying which converter to use ?
Using enums is basically a no-no if one want to be able to
extend the system with user-written converters.
There is a need for a factory object where people can add their own
converters - for example when converting the report data to a propriatory
format for inclusion into a legaxy system.
Anders