|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hai,
We are trying to generate a report in Web Focus. Output format is HTML. we have many sections in the report with -HTMLFORM BEGIN HTMLCODE -HTMLFORM END and also I have set HTMLCSS=ON But, when i'm trying to set style for each of the columns like column width, wrap, sueeze, The report is not being rendered correctly. has anyone faced a similar issue? Any workaround for this? |
||
|
|
Silver Member |
I had the same problem some weeks ago.
And I came to the conclusion that those styling options only work with the PDF output type for example and not in HTML. Same for page breaking by the way. |
|||
|
|
Master |
? have you got an ACROSS in the report request
TYPE=REPORT, COLUMN=N1, WRAP=6.000000, $ Works fine for HTML/HTMLTABLE output Except when there is an across. |
|||
|
|
Platinum Member |
Does anyone have a clue as to what SET HTMLCSS=ON does?
Or is there any documentation on the IBI site about what is contained in this "internal stylesheet"? I looked, but couldn't find what I wanted. Or is it an actual file hiding somewhere among the many files installed by WebFOCUS? We couldn't get a very simple .sty file to work correctly without SETting HTMLCSS=ON. The 2 columns being used in the heading kept running into each other. But your advice, Pietro, is to not use it at all. After reading the many chapters on stylesheets, I came away with the impression that ONLY WebFOCUS stylesheets could be made to work with all 3 output formats--web, pdf, and excel. |
|||
|
|
Expert |
suzy...i applaud your comment. "style sheets " needs to be a whole topic a summit and a whole special doc area. "everything you ever wanted to know about..."
Pietro is my best source for help with style sheet problems. We need a handle on what each focus command does and how to xlate it to what happens in real html. |
|||
|
| <Pietro De Santis>
|
HTMLCSS "Creates an inline Cascading Style Sheet command in the HTML page that displays the report output"
It creates one, it does use an existing one. Set it to ON and view the source of the resulting HTML page. Somewhere near the top you will see an embedded CSS style sheet that was created by WebFOCUS. Here's an example on how to wrap a column using CSS styling. SET HTMLCSS=OFF -RUN TABLE FILE CAR PRINT MODEL BY COUNTRY BY CAR HEADING " " ON TABLE SET PAGE NOLEAD ON TABLE HOLD AS HOLD01 FORMAT HTMTABLE ON TABLE SET STYLESHEET * TYPE=REPORT, GRID=OFF, $ TYPE=DATA, COLUMN=MODEL, CLASS=CSS_MODEL, $ ENDSTYLE END -RUN -HTMLFORM BEGIN !IBI.FIL.HOLD01; This message has been edited. Last edited by: <Mabel>, |
||
|
|
Platinum Member |
Thanks for the tip and the example, Pietro. I'll look at what WF generates and see whether we can duplicate the functionality in our external css.
Suzy |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

