Including customized profiling attributes and styles with framework
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 6
- Joined: Tue Oct 08, 2019 3:00 am
Including customized profiling attributes and styles with framework
Our framework supports multiple document types, most of which have profiling attributes. We'd like to have consistent presentation of this profiling. What can we add to our framework to define the profiling attributes and colors/styles to be used with those profiling attributes.
I can see that the data is stored in author.profiling.styles and related settings including profiling.conditions but I don't see where to add those to our framework.
Thanks,
Lee
I can see that the data is stored in author.profiling.styles and related settings including profiling.conditions but I don't see where to add those to our framework.
Thanks,
Lee
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Including customized profiling attributes and styles with framework
Hi Lee,
Oxygen does not have the possibility to store profiling settings at framework level. We have an issue for this and if we implement it in a future version I will update this forum thread.
A couple of alternatives for you:
1) You can define the profiling attributes and their values in a subject scheme map which would be part of your DITA content:
https://www.oxygenxml.com/doc/versions/ ... e-map.html
but the problem would still exist for the colors and styles as they cannot be defined in the subject scheme map.
2) Both the Editor / Edit Modes / Author / Profiling/Conditional Text and Editor / Edit Modes / Author / Profiling/Conditional Text / Colors and Styles pages have a "Project Options" radio button. When checked, these settings will be saved at project level. This means that you could share with everybody your custom "project.xpr" and if they all have it opened in their Oxygen "Project" view the settings will be used from it.
3) An Oxygen plugin can be used to impose a set of fixed options:
https://github.com/oxygenxml/wsaccess-j ... se-options
The plugin folder can either be copied to the "OXYGEN_INSTALL_DIR\plugins" folder or installed as an add-on from an internal web site which you may have:
https://www.oxygenxml.com/doc/versions/ ... ddons.html
An Oxygen plugin can also contain a custom framework folder:
https://www.oxygenxml.com/doc/versions/ ... nsion.html
So you could have a plugin which has both a framework and imposes the options and have that plugin packed as an add-on.
Regards,
Radu
Oxygen does not have the possibility to store profiling settings at framework level. We have an issue for this and if we implement it in a future version I will update this forum thread.
A couple of alternatives for you:
1) You can define the profiling attributes and their values in a subject scheme map which would be part of your DITA content:
https://www.oxygenxml.com/doc/versions/ ... e-map.html
but the problem would still exist for the colors and styles as they cannot be defined in the subject scheme map.
2) Both the Editor / Edit Modes / Author / Profiling/Conditional Text and Editor / Edit Modes / Author / Profiling/Conditional Text / Colors and Styles pages have a "Project Options" radio button. When checked, these settings will be saved at project level. This means that you could share with everybody your custom "project.xpr" and if they all have it opened in their Oxygen "Project" view the settings will be used from it.
3) An Oxygen plugin can be used to impose a set of fixed options:
https://github.com/oxygenxml/wsaccess-j ... se-options
The plugin folder can either be copied to the "OXYGEN_INSTALL_DIR\plugins" folder or installed as an add-on from an internal web site which you may have:
https://www.oxygenxml.com/doc/versions/ ... ddons.html
An Oxygen plugin can also contain a custom framework folder:
https://www.oxygenxml.com/doc/versions/ ... nsion.html
So you could have a plugin which has both a framework and imposes the options and have that plugin packed as an add-on.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 6
- Joined: Tue Oct 08, 2019 3:00 am
Re: Including customized profiling attributes and styles with framework
1) None of the content is DITA so we don't use a subject schema map.
2) Squirreling them into project files will do for now. The downside is that when the project settings are imported they seem to overwrite all of the existing settings, rather than merge in.
3) A fixed set of options also has problems; different writing teams have different standard values that they want to give unique colors and not just the ANY color.
Thank you for your quick response.
Lee
2) Squirreling them into project files will do for now. The downside is that when the project settings are imported they seem to overwrite all of the existing settings, rather than merge in.
3) A fixed set of options also has problems; different writing teams have different standard values that they want to give unique colors and not just the ANY color.
Thank you for your quick response.
Lee
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Including customized profiling attributes and styles with framework
Hi Lee,
About (3), you could have distinct add-ons, one for each team, each add-on with a specific XML options file.
Regards,
Radu
About (3), you could have distinct add-ons, one for each team, each add-on with a specific XML options file.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 42
- Joined: Wed Jun 20, 2018 11:30 am
Re: Including customized profiling attributes and styles with framework
Post by pieterjan_vdw »
Hi Radu,
Is there already an update on adding the profiling attributes to the Framework?
Kind regards,
Pieterjan
Is there already an update on adding the profiling attributes to the Framework?
Kind regards,
Pieterjan
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Including customized profiling attributes and styles with framework
Hi Pieterjan,
No, we do not yet have a feature to save custom profiling attribute values at framework level. If you want this for DITA XML, maybe you can use a custom Subject Scheme Map.
Regards,
Radu
No, we do not yet have a feature to save custom profiling attribute values at framework level. If you want this for DITA XML, maybe you can use a custom Subject Scheme Map.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service