is there a function to apper text in bold

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
smohd1338
Premium Member
Premium Member
Posts: 28
Joined: Fri Aug 03, 2012 1:09 pm

is there a function to apper text in bold

Post by smohd1338 »

Hi, In transformer am writing down a text, but i want some of the strings of teh text to be bold? is there a fucntion to taht?
sameer
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You want them to be bold where? Your target would need to be something that supported bolded fonts...
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There is only a single typeface choice in the client tools.

If you know the target's technique for handling "bold on" and "bold off" you could include those in the generating expression, for example
svBoldON <-- Char(27) : "[5"
svBoldOFF <-- Char(27) : "[0"
Expression: "I am very " : svBoldON : "emphatic" : svBoldOFF : " about this".

But beware that such sequences are very terminal/printer specific.

A better, though more complex, approach would be to get the values out of something like a termcap database.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply