How to change the default icon in generated PDF
Posted: Tue Oct 29, 2019 5:33 am
Hi experts,
We have one question that we need to customrize the warning icon in generated PDF. We use the DITA Map PDF - based on HTML5 & CSS transformation scenario and set the args.css attribute to the CSS file we have created such like:
Then the result is as below:
1. map.merged.html in dita map output folder: there are two icons before "Warning" word in the HTML file. One icon is our customrized icon, the other is the default one warning icon.
2. generated PDF: there is only one icon before "Warning". And the icon is the default waring icon, and not the one we wanted.
Could you please help us to figure out how to change the default icon in generated PDF.
Thanks a lot.
We have one question that we need to customrize the warning icon in generated PDF. We use the DITA Map PDF - based on HTML5 & CSS transformation scenario and set the args.css attribute to the CSS file we have created such like:
Code: Select all
*[class = "- topic/note note warning note_warning"]:before {
content: url('https://xxxxxxxxx/picture%2Fwarning.png?response-content-disposition=attachment%3Bfilename%3Dwarning.png');
}
1. map.merged.html in dita map output folder: there are two icons before "Warning" word in the HTML file. One icon is our customrized icon, the other is the default one warning icon.
2. generated PDF: there is only one icon before "Warning". And the icon is the default waring icon, and not the one we wanted.
Could you please help us to figure out how to change the default icon in generated PDF.
Thanks a lot.