Configuring the insert tag selector
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 48
- Joined: Sat Jan 04, 2020 1:17 am
Configuring the insert tag selector
Hello,
By the insert tag selector, I am referring to this:
Will
By the insert tag selector, I am referring to this:
image.png
Some questions:
- Can it be stretched out more than shown here? That was the biggest I could get it. We've had a request to see if it can show all available tags in a given context.
- Can it be configured so it always opens up at it's maximum openness?
- Can it be configured to hide, not just gray out, invalid tags?
- Can it be configured to insert the selected tag with just one mouse click?
Will
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Configuring the insert tag selector
Hi Will,
Please see some answers below:
We do have a side view with the same functionality named "Elements", it can be shown from the "Window->Show view" main menu. Maybe you can use that side view instead, dock it on the side so that it spans from the top of the editor to the bottom.
Regards,
Radu
Please see some answers below:
No, it has a maximum height limit.Can it be stretched out more than shown here? That was the biggest I could get it. We've had a request to see if it can show all available tags in a given context.
It should preserve this height during the editing session, but probably will not preserve it after restarting Oxygen.Can it be configured so it always opens up at it's maximum openness?
We do have a side view with the same functionality named "Elements", it can be shown from the "Window->Show view" main menu. Maybe you can use that side view instead, dock it on the side so that it spans from the top of the editor to the bottom.
Yes, there is a setting for this in the Oxygen Preferences->"Editor / Edit Modes / Author / Schema-Aware" page. The setting is named "Show all possible elements in the content completion list".Can it be configured to hide, not just gray out, invalid tags?
No, you need to double click or press ENTER. Same for the elements view. One click insertion would make it quite hard to select elements just to find out more information about them in the documentation window or just to move the selection while scrolling the list.Can it be configured to insert the selected tag with just one mouse click?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 168
- Joined: Fri Feb 28, 2020 4:02 pm
Re: Configuring the insert tag selector
Post by vishwavaranasi »
Hi Radu,
what is the parameter name for this "showAllPossibleElementsInCCList" to make "false" using pluginWorkspaceAccess.setGlobalObjectProperty?
Thanks,
vishwa
what is the parameter name for this "showAllPossibleElementsInCCList" to make "false" using pluginWorkspaceAccess.setGlobalObjectProperty?
Thanks,
vishwa
Thanks,
vishwa
vishwa
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Configuring the insert tag selector
Hi,
The code would be something like:
or you can use our API to impose options from an XML options file:
The XML options file can be generated using our main menu "Options->Export Global Options" action.
Regards,
Radu
The code would be something like:
Code: Select all
AuthorSchemaAwareOptions schemaAwareOptions = new AuthorSchemaAwareOptions();
schemaAwareOptions.setShowAllPossibleElementsInCCList(false);
PluginWorkspaceProvider.getPluginWorkspace().setGlobalObjectProperty("author.editing.mode", schemaAwareOptions);
Code: Select all
PluginWorkspaceProvider.getPluginWorkspace().importGlobalOptions(optionsFile)
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 168
- Joined: Fri Feb 28, 2020 4:02 pm
Re: Configuring the insert tag selector
Post by vishwavaranasi »
Thanks Radu , that worked for us.
Thanks,
vishwa
vishwa
Return to “DITA (Editing and Publishing DITA Content)”
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