In our DTD we are using <emphasis> element for font styling which has a attributed variant=bold|italic|normal|bolditalic. I modified the textstyles in the DCF file to these elements. My question is how can I made bold and italic to the attribute value bolditalic i.e., when the user click both bold and italic it should tag <emphasis variant="bolditalic">. For underline we have another attribute called underline=yes|no. So when the user want bold and underline and if he clicks both bold and underline options in ArborText the tag should be <emphasis variant="bold" underline="yes">.
Thanks Brandon - Is it possible to do something like this. I have edited the editwindow.xml and added my new icon for bolditalic. Now I want to write something underneath that that will insert <emphasis variant="bolditalic">. I understand you cannot have bold and italic together. What I need is that the <emphasis>'s variant attribute value should be "bolditalic". I have stylesheet setup to show bold and italic.
Right now I manaully insert the tag around the text and then change the attribute via modify attributes. I would like this to do via the icon similar to how we do it for bold. Is that possible.