The PDF report only prints the value of Image
- Log in to post comments
The PDF report only prints the value of Image
Enrico,
Using write !,"<PostInfo>My GE: "_$c(8805)_"</PostInfo>" had corrected the issue.
Thank you for your time on this.
Would it be that ZEN PDF reports can't print 16bit codes like $c(8805)
it's ≥
Enrico,
I tried that but the PDF report prints %ge; and not the symbol.
Enrico,
Unfortunately the character on the PDF was not visible. The font is set to Arial
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 :
<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 :
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) =
It's the >= that I need to transform to the single character
If there is no way to add image to the XSLT template, is it possible to add ↑ for up arrow?
Thank you for your time on this.
George,
With reference the PDF errors and does not appear at all.
Con
Thanks George but unfortunately the pdf fails to render.
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.
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?
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.
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.
Thanks Marc,
That worked very well
Thanks Marc,
That worked very well
Marc,
Could you give me an example please.
Marc,
I'm trying to use
Do you know of a widget that can be applied to ZEN PDF reports.
Thank you Sergei, your suggestion worked really well.