How to change default margin for dynamic HTML text? #2237
-
We recently changed the way we store formatted text in our DB from pseudo-HTML that we needed for Oracle Reports compatibility to normal HTML, the main difference being how line breaks are stored (OR interpreted But two adjacent paragraphs
The empty lines are not empty lines actually, they are caused by a default I could parse and modify the HTML text from the DB and eg. explicitly add But that would mean that I need to do this in all multi-line items in all reports, which means a huge amount of work. So the question is: Is it possible to override the default margin values BIRT uses without modifying analyzing and modifying the HTML from the DB? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi Henning, currently there is now common way to change the default. I can offer to a a userproperty at report level and/or add a systemproperty to add a common configuration. |
Beta Was this translation helpful? Give feedback.
-
If I understand correctly, part of the change in #2235 is that we explicitly set Hmm, yes, this would result in an output looking like this (didn't test):
which is way better, though it wouldn't perfectly match the previous behavior when we used I think we will give #2235 it a try in our application. Though I didn't actually test it, I'll mark your comment as answer. Regarding a userproperty or systemproperty, I think a better solution would be if we could use a system property that points to a resource file similar to a |
Beta Was this translation helpful? Give feedback.
Hi Henning, currently there is now common way to change the default.
But I have changed the P-behavior that the gap will be smaller - see #2234, there I added some example screen.
I can offer to a a userproperty at report level and/or add a systemproperty to add a common configuration.