Con Skordis · Jan 18, 2023 go to post

Enrico,

Using write !,"<PostInfo>My GE: "_$c(8805)_"</PostInfo>" had corrected the issue.

Thank you for your time on this.

Con Skordis · Jan 18, 2023 go to post

Would it be that ZEN PDF reports can't print 16bit codes like $c(8805)

Con Skordis · Jan 18, 2023 go to post

Enrico,

I tried that but the PDF report prints %ge; and not the symbol.

Con Skordis · Jan 16, 2023 go to post

Enrico,

Unfortunately the character on the PDF was not visible. The font is set to Arial 

Con Skordis · Jan 16, 2023 go to post

Thank you.

I'm trying to embed in a table cell a string of text that needs the >= character as a single character.

The ZEN table :

<container ifexpression="%report.TestProfilePostInfoFlag(3)=1">
<table orient="col" class="borderless" width='#($g(^||Page("TotalRowWidth")))#in' group="PostInfoData3">
<item field="PostInfo" width='#($g(^||Page("TotalRowWidth")))#in' style='#(..Style("TestProfilePostInfoCell",3))#' stylecall="HighLight" styleparams="Zebra1" styleparamNames="Value"></item>
</table>
</container>
</table>
</table>

The code that populates this is :

 set r=""
 for {
 set r=$o(^||TestProfile("Table",p,"PostInfo",r))
 if r="" quit
 write !,"<PostInfoData"_p_">"
 set zebra=..Zebra(1) if zebra=0,PostSolidBackGround=1 set zebra=1
 set text=^||TestProfile("Table",p,"PostInfo",r)
 if (text=BlankChar)||($zstrip(text,"<>w")="") {set enh=100,text=BlankChar}
   elseif $l(text)<210 {set enh=..GetEnhancement(CDRCode,"TestProfile",p,0,text)+zebra}  
 else {set enh=zebra}
 write !,"<PostInfo>"_$zcvt(text,"O","XML")_"</PostInfo>"
 write !,"<Zebra1>"_enh_"</Zebra1>"
 write !,"</PostInfoData"_p_">"
     }

where ^||TestProfile("Table",p,"PostInfo",r) =  "* As defined by incident diabetic kidney disease (eGFR <60mL/min/1.73m"_$c(178)_" in the next four years. Note: If eGFR level at the time of the test is already <60mL/min/1.73m"_$c(178)_" , then the risk of a further decline in kidney function is defined as an eGFR decline >= 30% in the next four years."
 

It's the >= that I need to transform to the single character

Con Skordis · Jan 26, 2022 go to post

If there is no way to add image to the XSLT template, is it possible to add &#8593; for up arrow?

Con Skordis · Sep 10, 2021 go to post

Julie,

I have installed them under c:\windows\fonts and the fonts are only accessible if I reference them exactly.

For example the is the Aileron fonts but to access the bold type i have to specify the font-family as Aileron Black and not Aileron with a font-weight of bold.

Con Skordis · Sep 7, 2021 go to post

Julie,

I'm not getting any error but no matter what font family I select other than Arial, the PDF is generated with Times Roman.

Do I need to run a n install script for the above to take affect?

Con Skordis · Jul 21, 2021 go to post

Thanks Julie.

I was hoping to use some type of page variable to drive what type of header to use but if that variable is not accessible I will have to use some other logic within the Zen template.

Con Skordis · Jul 21, 2021 go to post

Thanks Julie.

I was hoping to use some type of page variable to drive what type of header to use but if that variable is not accessible I will have to use some other logic within the Zen template.

Con Skordis · May 5, 2021 go to post

Marc,

I'm trying to use  backgroundlinear-gradient(to right, red,orange, yellow, green) to do this but ZEN PDF errors

Do you know of a widget that can be applied to ZEN PDF reports.