Ditaval Flagging Request

Are you missing a feature? Request it's implementation here.
JamesL
Posts: 16

Ditaval Flagging Request

Tue Nov 08, 2011 11:45 pm

For our internal documentation, we use the action="flag" with a color specified a lot. Even though we have external ditaval files, it would be nice if the Profiling set in Oxygen supported the flagging/color options also. This would make rendering via Oxygen much simpler for us (as we maintain many different profiles).
JamesL
Posts: 16

Re: Ditaval Flagging Request

Tue Nov 08, 2011 11:46 pm

Meant to also add that I am using 13.1.
sorin_ristache
Posts: 4144

Re: Ditaval Flagging Request

Wed Nov 09, 2011 6:38 pm

Hello,

By default the DITA profiling attributes are the ones recommended in the DITA 1.1 specification: audience, platform, product, otherprops. You can configure in Oxygen as profiling attribute any other attribute with any possible values (for example the action attribute with the possible values flag1, flag2, etc) to this set by going to menu Options -> Preferences -> Editor -> Edit modes -> Author -> Profiling/Conditional Text. There is a form of flagging in Author mode: mark each profile with a border that surrounds exactly the content of that profile and that specifies also the profile name on a colored background. You can switch this flagging on and off in Author mode with the popup menu that is triggered by the Profiling/Conditional Text button from the toolbar of the DITA Maps Manager view.


Regards,
Sorin
JamesL
Posts: 16

Re: Ditaval Flagging Request

Fri Nov 18, 2011 4:00 pm

My request was more for passing the action="flag" and color="..." on through to the rendering stage.

While we use a CMS to do our production renderings, I have been modifying the local Oxygen DITA-OT to give our authors a quick one-page rendering preview.
sorin_ristache
Posts: 4144

Re: Ditaval Flagging Request

Fri Nov 18, 2011 4:13 pm

What do you mean by passing to the rendering stage? Do you want to see different colors in Author editing mode for the content surrounded in elements with different values of the action and color attributes? Is that the preview that you want? Or do you want to see the colors rendered in a partial output format? Please give a short example.


Regards,
Sorin
JamesL
Posts: 16

Re: Ditaval Flagging Request

Fri Nov 18, 2011 4:26 pm

I mean passing it to the Transformation Scenarios, when the "Use current conditioning profile" option is selected for filtering. Right now to work around this, I need to use the "Use DITAVAL file" option and point to an external ditaval file.

The reason I am using the transform scenario is because we have developed a specialized DTD, and rendering it in a very distinct and compact way. While we have modified the CSS driving the Author editing mode, it is limited in how compact we can actually display the information.
sorin_ristache
Posts: 4144

Re: Ditaval Flagging Request

Fri Nov 18, 2011 5:02 pm

Now I understand. You are right, the flag action and the value of color cannot be set in an Oxygen profiling set. We will consider adding them to a profiling set and also passing them to the transformation scenario when the option Use current profiling condition set is selected in the transformation dialog box. I filed an enhancement request in our system.


Thank you,
Sorin
kirkilj
Posts: 61

Re: Ditaval Flagging Request

Sat Dec 07, 2013 1:51 am

Adding my whole-hearted support for this feature.
sorin_ristache
Posts: 4144

Re: Ditaval Flagging Request

Mon Dec 09, 2013 1:59 pm

Hi kirkilj,

We will consider adding this improvement for flagging actions and setting content colors (background and foreground colors) in these actions. I cannot tell you a precise future version number for this improvement but we have it on our to-do list.


Thank you for your request,
Sorin
Radu
Posts: 5690

Re: Ditaval Flagging Request

Fri Jun 20, 2014 2:05 pm

Hi,

Just to update this forum thread, Oxygen 16.0 has support for showing profiling colors and styles:

http://www.oxygenxml.com/demo/Colors_and_Styles_for_Profiled_Content.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
chrizzbee
Posts: 37

Re: Ditaval Flagging Request

Fri Oct 16, 2015 12:53 pm

hi radu

may i ask how far flagging of content in the output (pdf!!) has progressed? will there be options to include all this nice colour styling for the editor also in transformations? it would be very handy to have in the conditional profiling sets also the options to flag content and not just to include.
Radu
Posts: 5690

Re: Ditaval Flagging Request

Fri Oct 16, 2015 1:46 pm

Hi,

The default DITA Map to PDF processing will ignore the colors and styles you have set for profiling attributes inside Oxygen.
If you need this for review one possible workaround would be to open the DITA Map in the main editor area with resolved topics (there is a toolbar button for this in the DITA Maps Manager view) and use the File->Print functionality from inside the editor to print to a previously installed PDF printer like Win2PDF.
The PDF will not look identical to the final published one but you can use it for review.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
chrizzbee
Posts: 37

Re: Ditaval Flagging Request

Fri Oct 16, 2015 1:52 pm

hi radu

yes i know that and i am aware of this "workaround". but as sorin has quoted:

sorin_ristache wrote:Hi kirkilj,

We will consider adding this improvement for flagging actions and setting content colors (background and foreground colors) in these actions. I cannot tell you a precise future version number for this improvement but we have it on our to-do list.


Thank you for your request,
Sorin


so i wondered if there are any new developments in this area?

regards
chris.
Radu
Posts: 5690

Re: Ditaval Flagging Request

Fri Oct 16, 2015 4:42 pm

Hi Chris,

I found the opened issue, we have not yet approached it.
Could you tell me more about your use case?
How about if you define DITAVAL files which have flagging specified in them?
A profiling condition set in Oxygen can refer to such a DITAVAL file. If we apply a profiling condition set which refers to a DITAVAL file containing flagging information inside it, maybe the application could be improved to use that information to show those highlights also when editing.
So instead of defining those highlights in the profiling condition set you could define them in a DITAVAL and refer to the DITAVAL in the profiling condition set.
How would this approach serve your purpose?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
chrizzbee
Posts: 37

Re: Ditaval Flagging Request

Mon Oct 19, 2015 6:02 pm

dear radu

i don't have an urgent use case to solve right now. i was just wondering why there is no option to include the defined colours and styles for the editor also in the profiling sets or transformation scenarios.

so i searched the forum and found this thread.

the way you describe the possible solution with the DITAVAL sounds pragmatic. couldn't you provide an additional option either in the profiling condition set or transformation scenario (filtering tab) to include the colours and styles one has defined for the editor? i like the way how i can do this and as a consequent further step i would expect to be able to include this highlighting somewhere for the output ...

regards
chris.
Radu
Posts: 5690

Re: Ditaval Flagging Request

Tue Oct 20, 2015 12:19 pm

Hi Chris,

So the specific dialog which allows you to define a profiling condition set, besides having the choice between a DITAVAL and a set of included attribute values could have an additional checkbox, something like:

Flag matching elements using already defined color highlights.

?

This would apply both in the editor when you select such a profiling condition set (even if you have opted not to show the profiling colors and styles) and when possible in the published output.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
chrizzbee
Posts: 37

Re: Ditaval Flagging Request

Tue Oct 20, 2015 12:27 pm

sounds like a good plan to me!

Return to “Feature Request”

Who is online

Users browsing this forum: No registered users and 0 guests