Re: Question about RLIB

Bob Doan <[email protected]> Thu, 08 Jun 2006 16:59:14 -0400
Newsgroups gmane.text.rlib.user
Message-ID <[email protected]>
> what's the plan about deploying the PDF compression?
> I thought about something like introducing a new
> top-level section:

It's an output parameter.. Set "compress" to true (pdf.c 278)

> 
> <GlobalOptions>
>     <GlobalOption name="compression" value="'true'"/>
> </Globals>
> 
> For text and HTML output, it will be a no-op for now or
> maybe txt.gz and CHM format could also be produced.
> There may be a need for other global options, too.

Right now only PDF looks at it.

> 
> And another idea with another top-level section:
> 
> <Queries>
>   <Query name="'query1'">select * from table1;</Query>
>   <Query name="'query2'">select * from table2;</Query>
> </Queries>


Yea.. We should really do this at some point.  It's probably an easy
feature enhancement.

> 
> <Report query="'query1'">
> ...
> </Report>
> 
> It would be useful for the long term (read: self-contained
> reports, visual report editor)  to be able to specify
> the queries in the report XML, sometimes you don't
> need to modify the report's query at all. Two new
> API calls can be also added, to get and set the query.
> (E.g. Crystal Reports has this feature.)
> Although I wonder about the trickier cases, where the
> "</Query>" literal occurs inside a string constant
> within the SQL query.

Yup ;)

Thanks!

- bob