From: Franco S. <fr...@ti...> - 2004-01-26 12:38:07
|
I have a report without report detail and with a group (break) Can I put BreakFooter output (only 2 numbers) on same line and get a new line when reach 80 cols ? As: g1 n1 g2 n2 g3 n3 g4 n4 g5 n5 g6 n6 g7 n7 g8 n8 ..... Regards Franco Spinelli |
From: Bob D. <bd...@si...> - 2004-01-28 13:16:59
|
Hi, You can have a report with out detail Currently It would be hard to do the limit @ 80 columns.. as RLIB is more of a fixed layout engine right now.. it is in our plans to make another layout engine in rlib that would be more freeflow.. however that would be kinda far off Chet has on his TODO list to implement line wrapping.. for MEMO fields.. that would also help you do your BreakFooter... but I can't say when he is going to get to that.. as it stands right now.. it might be a little while.. as we @ SICOM have prioritized l10n and i18n stuff ahead of that due to paying customers needs ;) For right now you could just specify a width for all of your fields and lay them out manually... until we get around to some other sutff - Bob On Sun, 2004-01-25 at 11:38, Franco Spinelli wrote: > I have a report without report detail and with a group (break) > Can I put BreakFooter output (only 2 numbers) on same line and > get a new line when reach 80 cols ? > > As: > > g1 n1 g2 n2 g3 n3 g4 n4 g5 n5 g6 n6 > g7 n7 g8 n8 ..... > > Regards > > Franco Spinelli > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users |
From: Bob D. <bd...@si...> - 2004-01-28 23:31:52
|
> In current layout of rlib every output is in a <Output> tag and every > line is in a <Line> tag. > So there is no <field> or <literal> without <Line> tag. > In this layout every detail record start at a new line and also every > group break. > So there is no possibility to put two or more records on the same line. > I am not a C guru but, watching in code, now rlib put a "\n" at </line> > tag. > A solution can be a parameter for <Line> tag for "non break" (default is > obviously break) and put <fields> fron different records an same line. > When there is a <Line> tag without "nobreak" attribute, then rlib could > output a "\n" and begin a new phisical line. Well.. not exactly ;) RLIB has 4 output engines inside our current layout engine.. So whats really going on is: PDF: Lines are done w/ pixel heights based on font size HTML: Lines are done w/ tables and PRE TEXT: Lines are done with the good old \n CSV: Lines are done by output.. not by lines Also.. the problem is more complicated.. For PDF: Paper sizes, port vs land scape HTML.. has no concept of real "pages" TEXT.. can be done easily CSV: Does not apply So in order to solve the problem the Report element would need to either be told an amount of characters (but this doesn't always work because rlib will soon support different non fixed fonts besides courier) or maybe some % of the page... I think.. you might be used to (and I could be wrong).. being able to define a table <table> <tr> <td>lots and lots and lots and lots and lots of content</td> </tr> </table> And having the browser automatically resize it to span multiple rows BTW.. are you trying to use rlib just for the TXT output so you can send it to a dot matrix printer or something? - bob > > Another little problem: > In version 1.1.7 there is a problem with python port (python 2.2 on RH9) > there is a > > #define SWIG_init init_librlib > > #define SWIG_name "_librlib" > > When starting a python file python complain with a "initrlib" not found > Correcting above lines as > > #define SWIG_init initlibrlib > > #define SWIG_name "librlib" > > resolve problem. Thanks.. I'll look into this - Bob |
From: Bob D. <bd...@si...> - 2004-01-30 14:55:37
|
> It can be but, if you put a "3" as parameter and you have 5 detail > records, you have to put 3 records on first line and 2 records on second > line. > Ummm... rlib would automatically do it... > > How does oracle do this? > > Developer 2000 from Oracle is a GUI tool and developer design his sheet > using containers. A container is a "shape" containing fields or literal. > Each container have a "flow" attribute. Vertical flow means "a line for > each record" and horizontal flow means "a column for each record until > filled line" > Could you put up a few screen shots of this somewhere.. so I can see more about it... - Bob |
From: Bob D. <bd...@si...> - 2004-01-31 00:58:51
|
Hi, Ohhhhhhhhhhh.. I think I get it.. you want to put multiple rows (detail rows) on one line right????? And then be able to break the line after a certian number of characters?? I think we have a slight english/italian language barrier here ;) - Bob > > Yes, if you let engine decide end of line, you can get a very long line. > But a report layout need a "flow direction" directive. > > My current job with Rlib is converting some reports made about 5 years > ago using Developer 2000 from Oracle. In Report designer of Oracle there > is a "flow layout" for a group (but also for detail) so you can decide > if put different detail records on the same line, in a tabular form. > > Now I am using rlib for a report showing how work every user have done > for every job > > I have a record for each user with job number, date and time spent > I group by user and by job so I can get a line for each user and a line > for each job he/she as done and a total for user. > Each job line is only 2 number: job code and time approx 10 chars. > I will put 6 jobs/line, reducing to 1/6 printed lines. I get my report > on a browser (where there is no or little need for line reducing), in > PDF format for printing and in TXT format for save on local disk. > > Regards > > Franco Spinelli > |