G P K D wrote:
Can we get the topic title as the file name for the converted files using the
converter? Currently, it is assigning a unique file name to the converted
topics.
Yes. Simply pass w2x the following command-line option:
-p edit.ids.generate-section-ids yes
for that.
Reference:
https://www.xmlmind.com/w2x/_distrib/doc/manual/index.html#edit_step
---
Global variable defined in w2x:xed/ids.xed.
Ensure that all the sections found in the semantic XHTML resulting from
the conversion of a DOCX file have a unique ID.
When this ID is missing, it is computed using the content of the h1, h2,
..., h6 heading which is the first child of the section. Example:
<div class="role-section2"
id="Title_of_this_section">
<h2>Title of this section</h2>
...
Setting ids.generate-section-ids to yes is especially useful when
converting a DOCX file to a DITA map or bookmap. With this parameter,
the filenames of the topics referenced by the generated map are
guaranteed to have meaningful values (e.g. "Introduction.dita" rather
than "d0e35.dita").
---
In w2x-app, it's even simpler. Use the "wizard"
(https://www.xmlmind.com/w2x/_distrib/doc/w2x_app_help/options_wizard.html)
to set the above option.
--
XMLmind Word To XML Support List
w2x-support@xmlmind.com
https://www.xmlmind.com/mailman/listinfo/w2x-support