From: Bob D. <bd...@si...> - 2003-12-04 15:29:07
|
Well... Right now rlib has a concept of "Output".. which contains "Images", "HorizontalLines", and "Lines".. "Lines" in turn contain "Text" and "Data".. Its as simple as that at the moment... You are asking for the ability to "Box" items... mainly "Text" and "Data" in lines.. so the "Line" we would add a property box="..some style..".. does this make sense? Therefor we would not add another output filter sound kinda ok? To implement this we would have to first settle in on what exactly the properties of boxing would be.. Chet.. Bob Kratz... any suggestions? - Bob On Thu, 2003-12-04 at 10:02, Jeff Kowalczyk wrote: > Bob Doan wrote: > > Implementing that would not be too hard.. however, rlib should also draw > > the boxes for HTML, and PDF... > > I'm only guessing by the sample reports, but doesn't the text mode omit > drawing lines that may be specified in the report definition? I don't > think you'd want the richer formats to use the borders if they have other > formatting defined. > > My idea was that the text mode could optionally use reST bordering as a > way to express information that is lost in comparison to other formats, > based on knowledge of the report definition elements. It would also make > rlib another useful generator of reST-compatible table text. I've been > using http://jefke.free.fr/soft/texttable/ (python module) for this. > > > Is this something you would like to try to implement yourself?? Do you > > know C? > >> I'd like to request a feature for rlib's text mode output to be able to > >> add borders to rows and columns in the style of reStructuredText. > > Unfortunately not fluent enough to be much help with an implementation. I > was using C# before finding python a few years ago, I kind of > bypassed/ducked C altogether. > > I took a brief look at rlib/libsrc/txt.c; (my compliments, rlib's C is > quite readable) would this involve a few more filters in > rlib_txt_new_output_filter(), or a modification of some other function > area? > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users |