New Report Text

Historical record of a forum that was for discussion of the setup, configuration, and use of OnePacs for research and educational purposes (non-clinical use).

Please direct any support inquiries through the standard OnePacs ticketing and support system.

The "Announcements" forum will continue to be active and contain announcements related to the OnePacs system.
Locked
kgoodarzi
Posts: 50
Joined: Wed Oct 12, 2011 11:44 am

New Report Text

Post by kgoodarzi » Tue Oct 15, 2013 8:02 pm

Hello,
Does the HTML code in Standard Report Text support Stylesheets or CSS by any chance? Also, can I put anything there that is supported by my browser? Thanks,

justin
Posts: 371
Joined: Wed Nov 26, 2008 2:34 pm

Re: New Report Text

Post by justin » Wed Oct 16, 2013 12:06 am

Hi,

For security reasons, OnePacs only allows inline style properties but not style tags or css/javascript imports.

For example, the following style could be used inline to make text red:

Code: Select all

<div style="color: red"> test1 </div>

We strongly recommend NOT specifying a font in standard reporting texts. Instead, it is recommended that the report template specify the font for consistency. That way the standard report texts' font will match the font of text entered manually in the report editor.

To a lesser extent, this is also recommended for font size. The "default" font size should be defined in the report template and the standard reporting texts should only include size values for text that is larger - like headers, for example.

Best,

Justin

Locked