CSS to PDF - Style one string set in footer
Posted: Tue Feb 08, 2022 5:52 pm
Hi all,
Is it possible to style differently string sets that are in the same margin box?
I would like to put in bold the string(maptitle), and I cannot figure out how to do this.
The only thing I have come up with was to write the map title in the code as an oxy_label, but not sure this is the best to do in the long term because this stylesheet will be reused for other maps.
Here is my footer when using the string-set:
When using the oxy-label:
Thank you.
Is it possible to style differently string sets that are in the same margin box?
I would like to put in bold the string(maptitle), and I cannot figure out how to do this.
The only thing I have come up with was to write the map title in the code as an oxy_label, but not sure this is the best to do in the long term because this stylesheet will be reused for other maps.
Here is my footer when using the string-set:
Code: Select all
@bottom-center {
content: string(maptitle) " | " string(mapvrm) string(chaptertitle) ;
}
Code: Select all
@bottom-center {
content: oxy_label(text, “Name of the guide”, styles, "font-weight:bold") " | " string(mapvrm) string(chaptertitle) ;
}