Web Author - Outline side view

Are you missing a feature? Request its implementation here.
leensmits
Posts: 8
Joined: Mon Jan 16, 2017 1:18 pm

Web Author - Outline side view

Post by leensmits »

Hi,
We are using Web Author as part of the Ixiasoft Web CCMS.
The current outline shows all topicrefs? Or can you filter them?
For relationship tables, it might be more an outline/summary to only show the first column topicref(s).
Could that be changed? Or how can I customize this view?
image.png
image.png (119.31 KiB) Viewed 439 times
cosminef
Site Admin
Posts: 199
Joined: Wed Aug 30, 2023 2:33 pm

Re: Web Author - Outline side view

Post by cosminef »

Hello,

More information on how to configure the displayed names of elements in the Outline pane can be found here [1].
The default configuration of the Outline for the DITA framework can be found in webAuthorOutlineConfig.xml file: oxygen-xml-web-author\tomcat\work\Catalina\localhost\oxygen-xml-web-author\frameworks\dita\web-author-additional-classpath
For relationship tables, it might be more an outline/summary to only show the first column topicref(s).
Regarding your use case, to filter certain topicref(s), I'm not sure if XPath expressions like this are supported. I will consult with my colleagues from development and get back to you with an answer.

[1] https://www.oxygenxml.com/doc/versions/ ... 5s_mtk_slb

Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
cosminef
Site Admin
Posts: 199
Joined: Wed Aug 30, 2023 2:33 pm

Re: Web Author - Outline side view

Post by cosminef »

Hello,

In the current Outline configuration, we do not support XPath with indexes.
As a workaround, in the configuration file webAuthorOutlineConfig.xml please add "relrow" to the names attribute in the <elements> tag, for example: <elements names="topicref section topichead reltable relrow chapter mapref"/>
The output should look something like this:
reltable.png
reltable.png (114.53 KiB) Viewed 386 times
Do you think this approach will help?

Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
leensmits
Posts: 8
Joined: Mon Jan 16, 2017 1:18 pm

Re: Web Author - Outline side view

Post by leensmits »

I searched for this filename and I could only find this in the xhtml framework.
Using that I have:
<outline>
<structureMode editable="yes" default="no">
<preferredAttributes names="id xml:id"/>
</structureMode>
<tocMode editable="no" default="yes">
<elements names="topicref section topichead reltable relrow chapter appendix mapref"/>
</tocMode>
</outline>
I copied that to dita-ixia, and restarted our Dev Web CCMS. Maybe messed things up.
image.png
image.png (65.3 KiB) Viewed 378 times
Before it was like:

image.png
image.png (70.49 KiB) Viewed 378 times
cosminef
Site Admin
Posts: 199
Joined: Wed Aug 30, 2023 2:33 pm

Re: Web Author - Outline side view

Post by cosminef »

Hello,

The file webAuthorOutlineConfig.xml is located in the DITA framework folder, within the Web Author installation folder: oxygen-xml-web-author\tomcat\work\Catalina\localhost\oxygen-xml-web-author\frameworks\dita\web-author-additional-classpath

Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
Post Reply