Question: is the full tags view stylable?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
liujason
Posts: 1
Joined: Thu Feb 16, 2012 6:22 pm

Question: is the full tags view stylable?

Post by liujason »

Hi,

I'm using Oxygen XML component in Eclipse for editing DITA XML topics. Is there a way to style the tags in the Full Tags with Attributes view?

For example, when there are many DITA conditional processing attributes on a long topic, it is difficult to spot where are the attributes specified.

Thanks,

Jason
mihaela
Posts: 515
Joined: Wed May 20, 2009 2:40 pm

Re: Question: is the full tags view stylable?

Post by mihaela »

Hi Jason,

If you select the Show Profiling Attributes option from DITA menu > Profiling/Conditional Text (or from the toolbar Profiling menu) a light green border is painted around profiled text. Also, all profiling attributes set on the current element are listed at the end of the highlighted block and in its tooltip message.

The tags presented when "Full Tags with Attributes" mode is set cannot be styled but you could change the DITA CSS to present the profiling attributes at the start of the profiled elements.

For example you could use the following CSS fragment to highlight a node that has the "audience" profiling attribute set:

Code: Select all


*[audience]:before {
content:" Audience: [" attr(audience) "] ";
background-color:#cafe2e;
}
The DITA css files are placed in the css directory of DITA framework:
[oxygen_plugin_directory]/frameworks/dita/css.
The full path of the DITA frameworks directory is presented on the tooltip of the DITA document type entry from Eclipse Preferences > oXygen > Document Type Association.
You could add your CSS modifications in topic.css if you want to be applied in all DITA topics.

Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
Post Reply