Skip to Main Content

Breadcrumb

May 4th

Question and Answer

Chris Saxon

Thanks for the question, Ahmad.

Asked: July 29, 2020 - 5:30 am UTC

Last updated: August 06, 2020 - 4:15 pm UTC

Version: 20.1

Viewed 1000+ times

You Asked

Greetings ,

Please inform me how to change The Column font Type and size In Apex classic report?

In legacy report Builder 6 it is easy Just Select The column and choose the font you want and the size for it
how this can be accomplished in APEX ?

Looking forward to hearing from you

and Connor said...

Fonts in browsers are controlled by styles

If you check the page source for an APAEX page, you see each region/item/etc has an associated class which is source from the template/theme options for your APEX app.

Head over to https://apex.oracle.com/ut to see how universal theme works, and discover the names of classes that you can tailor with templates and the like.

Also, here's an intro to templating in APEX


Rating

  (2 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

it is not the answer for my qyestion

A reader, July 30, 2020 - 10:50 am UTC

my question is how to change the font type for a column in a classic report in oracle apex for example how to let the column font be Tahoma

I need this because i want to print barcodes using font code 39

thank you

Best Regards

the actual solution

Ahmad Hussein, August 06, 2020 - 5:39 am UTC

I Found a way to change the font type Through the HTML Expression of the Column as following:-

1- adding font file to the shared component static files
2- adding the following HTML expression to the column

<span style="font-family:IDAutomationHC39M Free Version;src: url(#APP_IMAGES#IDAutomationHC39M Free Version.ttf);
background-color: yellow; color: red;">#BARCODE#</span>

Please Note the Font Family"IDAutomationHC39M Free Version" also Please note that the Url refers to the static file.
The Output will be The Bracodes In symbols


Chris Saxon
August 06, 2020 - 4:15 pm UTC

Glad you got it sorted

More to Explore

APEX

Keep your APEX skills fresh by attending their regular Office Hours sessions.