Posted by Hafed | Posted in Forms, oracle, PJCs/Javabeans | Posted on 19-02-2009
Frite is designed as an HTML editor for Oracle Forms and as such the content in the forms module when sent to report should also be available for output. The formats I had in mind are PDF and HTML.
Those beta-testing Frite did not encounter problems with reports in HTML format. For example, links are clickable and all HTML content is rendered properly.
However, as far as PDF format is concerned, there are problems which I already illustrated in the developer’s guide. Those are due to limitation with Oracle reports. If you remember how reports processes items containing HTML content, you have to set the item property “HTML content” in the report itself. But this is not sufficient because reports does not take into account all of the HTML tags. Only a limited subset is rendered properly, for example bold, italic and underline.
So, how do you go about taking care of the other HTML tags? Well, what I included in the example report is the procedure cleanHTML , it is one small example of how you would go about handling the HTML in the item.
if your format is PDF, then you would parse accordingly and then do the tags rendering conversion on the fly.
For the time being, that’s how I think I would do it but once Frite is made available to others, I will ask the community for ideas.
But definitely, I think we have a point there.