CSS-Based PDF: Uppercase/lowercase CAUTION vs Warning
Posted: Thu Aug 16, 2018 2:35 am
Using the new HTML5 CSS-based PDF.
I notice that note type="caution" produces a "CAUTION", while note type="warning" produces a "Warning". I can't figure out why this is.
I found the file com.oxygenxml.pdf.css\css\core\-i18n-en.css which says:
*[class ~= "topic/note"][type = "caution"]:before {
content: url('../../img/caution.png') " Caution: ";
}
So this should NOT be coming out in all uppercase.
That file has a similar declaration:
*[class ~= "hazard-d/hazardstatement"][type = "caution"]:before {
content: url("../img/warning-black30.png") " " "CAUTION";
}
which is all uppercase, but I'm definitely not using that element type. Is it possible some processor is mixing these up?
Mark
I notice that note type="caution" produces a "CAUTION", while note type="warning" produces a "Warning". I can't figure out why this is.
I found the file com.oxygenxml.pdf.css\css\core\-i18n-en.css which says:
*[class ~= "topic/note"][type = "caution"]:before {
content: url('../../img/caution.png') " Caution: ";
}
So this should NOT be coming out in all uppercase.
That file has a similar declaration:
*[class ~= "hazard-d/hazardstatement"][type = "caution"]:before {
content: url("../img/warning-black30.png") " " "CAUTION";
}
which is all uppercase, but I'm definitely not using that element type. Is it possible some processor is mixing these up?
Mark