Using a custom Word styles to DITA tags mapping

Use a catalog to add a style-to-tag map configuration file to your Word to DITA pipeline configuration.
You must have created an Alfresco pipeline configuration based on the Word-to-DITA pipeline definition.
The provided Word-to-DITA pipeline definition uses default styles to tags mapping, which is called a style-to-tag map configuration file. You can create your own style-to-tag map configuration file to better match the WordML (docx) documents you need to process, then add it to you pipeline configuration.
  1. Import your custom style-to-tag map configuration file into a dedicated customization space in Alfresco.
    Your custom configuration file could be named as follows: Customization/word2dita/style2tagmap-custom.xml
  2. Open your Customization/catalog.xml customization catalog or create a new one.
  3. Add an URI reference to style2tagmap-custom.xml into your customization catalog, where style2tagmap-custom.xml is the name of your custom style-to-tag map configuration file.
    <group xml:base="word2dita/">
      <uri name="cpnz:dita:dita4publishers:word2dita:custom:xml:style2tagmap.xml" uri="style2tagmap-custom.xml" />
    </group>
  4. Add the catalog aspect to the catalog.xml file.
  5. Open your Word to DITA pipeline configuration in Alfresco.
  6. Add your customization catalog file to the list of catalogs.
Your custom style-to-tag map configuration file is added to the Word to DITA pipeline configuration. Changes will be applied every time you launch the Word to DITA output processing on a WordML (docx) document.