cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with bold formatting in WWI template

0 Kudos

Hi,

I am trying to develop a GHS label in WWI in which i have to display the Hazard statements, Precautionary(General,Response,Storage and Disposal) statements. I was able to display all these statements. But i got a requirement from the client that i have to display only the Hazard statements in BOLD and rest of the statements in normal font.

I was able to bold all the statements but i couldn't set BOLD font for Hazard statements alone. Is there a way to achieve this or is this a limitation in WWI that we can't BOLD some specific symbol alone in a repeating group?

Thanks,

Mahidhar.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Mahidar,

Can you try to turn on paragraph marks (I do not see them in the code you provided).  Then highlight the paragraph mark that is associated to the symbols that you want to be bold and make sure that you mark the paragraph mark as bold.  Best way is if you have a heading (even if descriptor), highlight the paragraph mark and do a format painter (CTRL+SHIFT C), then highlight the paragraph mark that pertains to the Hazard Symbols you want to be bold and apply the format painter (CTRL+SHIFT V).  This should work.

Thanks,

Niraj

satya11719
Active Contributor
0 Kudos

Hi Mahidar,

With Specification symbol it is not possible cause your giving bold to symbol what ever present inside the symbol it will come as bold.

Ex: <01G1023096HS(;*)[D:Hazard Statements]>  if you bold this symbol in template out put will come as

Hazard Statements BOLD only you have to use descriptor symbol here to differentialte the BOLD and normal.



With in the same symbol BOLD &normal is not possible. Cause see the data will there inside the symbol


Example : Storage :  keep store locked. if your Making symbol of Storage <01G1023096P4(P;*)[D:Prec. Statements: Storage]> data inside symbol will come as bold.




Can you show out put of that coding above.

Thanks

Satya

0 Kudos

Hi all,

Thank you so much for the replies.

I cant use the EHS_L_TEST because its not a descriptor symbol, it a specification symbol.

I have tried BOLDing only the symbol that i want but it didn't work. I tried BOLDing the complete script then it was working but that's not what i need. Please look at the script that i have and suggest. The below is not working.

<100DYNTXT(3,12)><11BRG149(G;*)>

<13BNG505(*:01G1023096HS(P))>

<11BRG009(M,SAP_EHS_1023_096;*)><11BRG025(D;*)> <01G1023096HS(;*)[D:Hazard Statements]> <11ERG025><11ERG009>

<11BRG018(M,SAP_EHS_1023_096;*)><13BNG002(*:01G1023096PS(P))><11BRG020(D;*)> <01G1023096PS(P;*)[D:Prec. Statements: General]> <11ERG020> <13ENG002>

<13BNG004 (*:01G1023096P2(P))><11BRG021(D;*)> <01G1023096P2(P;*)[D:Prec. Statements: Prevention]> <11ERG021><13ENG004>

<13BNG005(*:01G1023096P3(P))><11BRG022(D;*)> <01G1023096P3(P;*)[D:Prec. Statements: Response]><11ERG022><13ENG005>

<13BNG006(*:01G1023096P3(P))><11BRG023(D;*)> <01G1023096P4(P;*)[D:Prec. Statements: Storage]>  <11ERG023><13ENG006>

<13BNG007(*:01G1023096P3(P))><11BRG024(D;*)> <01G1023096P1(P;*)[D:Prec. Statements: Disposal]><11ERG024><13ENG007><11ERG018>

<13CNG505>

<11BRG010(M,SAP_EHS_1023_096;*)><11BRG027(D;*)> <01G1023096RE><11ERG027><11ERG010>

<13ENG505>

<11ERG149>

christoph_bergemann
Active Contributor
0 Kudos

Dear Mahdhar

1.) there seems the need to use "dynamic font" adaption. Normally it should work as well with that; that means if a sysmbol is formatted as "bold" and a different as "not bold" even "dynamic font adaption" should work as this has only influence on the "size" and not on the format of the text

2.) Normally a "splightly" different WWI code could/would be used for such output.

3.) But if you make the "P" part using "normal" fonts it should work (in my opinion). I am not"100%" sure if you need as well to format "around"

E.g.

<11BRG009(M,SAP_EHS_1023_096;*)><11BRG025(D;*)> <01G1023096HS(;*)[D:Hazard Statements]> <11ERG025><11ERG009>

there might be the need to format this part as "bold"

<11BRG025(D;*)> <01G1023096HS(;*)[D:Hazard Statements]> <11ERG025>


and not only <01G1023096HS(;*)[D:Hazard Statements]>


According to my understanding: you have now formatted:

<<01G1023096HS(;*)[D:Hazard Statements]>

<01G1023096PS(P;*)[D:Prec. Statements: General]>


etc. as bold and then clearl you will get always "bold"


Just give a second try and format slightly different


C.B.


0 Kudos

Thanks Christoph.

I tried both the ways that you suggested but both of them didn't work for me.

I tried Bolding the text for Precautionary phrases alone and it worked. So came to know that the issue is with the Hazard phrases script.

I just made a small change to the above script and added the Hazard phrases script inside the inner Repeating group along with the Precautionary phrases and tried bolding only Hazard phrases and it surprisingly worked.

<100DYNTXT(3,12)><11BRG149(G;*)>

<13BNG505(*:01G1023096HS(P))>

<11BRG018(M,SAP_EHS_1023_096;*)><13BNG003(*:01G1023096HS(P))><11BRG021(D;*)> <01G1023096HS(P;*)[D:Hazard Statements]> <11ERG021> <13ENG003><13BNG002(*:01G1023096PS(P))><11BRG020(D;*)> <01G1023096PS(P;*)[D:Prec. Statements: General]> <11ERG020> <13ENG002>

<13BNG004 (*:01G1023096P2(P))><11BRG021(D;*)> <01G1023096P2(P;*)[D:Prec. Statements: Prevention]> <11ERG021><13ENG004><13BNG005(*:01G1023096P3(P))><11BRG022(D;*)> <01G1023096P3(P;*)[D:Prec. Statements: Response]><11ERG022><13ENG005>

<13BNG006(*:01G1023096P3(P))><11BRG023(D;*)> <01G1023096P4(P;*)[D:Prec. Statements: Storage]>  <11ERG023><13ENG006>

<13BNG007(*:01G1023096P3(P))><11BRG024(D;*)> <01G1023096P1(P;*)[D:Prec. Statements: Disposal]><11ERG024><13ENG007><11ERG018>

<13CNG505>

<11BRG010(M,SAP_EHS_1023_096;*)><11BRG027(D;*)> <01G1023096RE><11ERG027><11ERG010>

<13ENG505>

<11ERG149>

christoph_bergemann
Active Contributor
0 Kudos

Dear Mahidhar

this confirms what i have seen with other layouts. Sometimes the "trick" is the "correct" nesting of repeating groups etc. to get what you would like to get

C.B.

satya11719
Active Contributor
0 Kudos

Hi Mahinder,

Please use the table to make the required fond .

Storage (Descriptor symbol)EHS_L_TEXT       : if you want repeating group select RG also.

Response (Descriptor symbol)EHS_L_TEXT   :

After selecting in template

It may help you

Thanks

Satya

christoph_bergemann
Active Contributor
0 Kudos

Dear Mahidhar

you can assign to any report symbol own formating in WWI. So it should be possible (but never tried) to fulfill your demand (or demand of client)

That means e.g. for Hazard elemnt you should be able to use ARIEL 12, bolk italic, for  Precationary you can use e.g. ARIEL 12, no bold, no italic. So the "formatting" as assigned to report symbol and this formatting should be used in "expanding" the data.

C.B.

PS: teh issue is your "wording". (some specific symbol alone in a repeating group?) we have many repeating groups; te main group, teh discrete group etc. But the data should be passed to WWI and "presented" then using the formattinng used for the symbol as such,

I can not remember to have seen similar demand/discussion here. But check e.g.