From: Bob D. <bd...@si...> - 2007-03-16 22:57:15
|
Nabil, Pagination is done by what fits on a page. In PDF mode the page footer and the page header approach each other, when the two meet it is time for a new page. Hints: in txt.c in: void rlib_txt_new_output_filter(rlib *r) OUTPUT(r)->paginate = FALSE; will need to be TRUE rlib_txt_end_page you may want to do something here..... in reportgen.c get_output_size HINT: Some of this logic will have to be moved down into the output filters. Cheers, - Bob On Fri, 2007-03-16 at 16:21 -0400, Nabil wrote: > For those of you who dont read the rlib-users list I am trying to > make rlib page-aware when the output format is text. I have been > reading over the source code but I am still lost over how to go about > the implementation. One of the first things that needs to be > implemented is a line counter.. in text.c I see no mention of a line > counter but in reportgen.c there seems to be one, is that line > counter reliable? In rlib_make_report why is end_page called twice is > a row? Is there a version of the source code that has comments? Thank > you in advance for your help. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Rlib-devel mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-devel |