plugin-extension-points-general.html 7.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!DOCTYPE html
  2. SYSTEM "about:legacy-compat">
  3. <html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="UTF-8"><meta name="copyright" content="(C) Copyright 2018"><meta name="DC.rights.owner" content="(C) Copyright 2018"><meta name="DC.Type" content="reference"><meta name="description" content="These extension points enable you to extend the DITA-OT. You can add Ant targets or imports; add a Java library to the classpath parameter; add a new transformation type; extend a catalog file; add new diagnostic messages, and more."><meta name="DC.Relation" scheme="URI" content="../extension-points/plugin-extension-points.html"><meta name="DC.Relation" scheme="URI" content="../extension-points/extension-points-in-org.dita.base.html"><meta name="DC.Format" content="HTML5"><meta name="DC.Identifier" content="plugin-general-extension-points"><link rel="stylesheet" type="text/css" href="../css/commonltr.css"><link rel="stylesheet" type="text/css" href="../css/dita-ot-doc.css"><title>General extension points</title></head><body id="plugin-general-extension-points"><header role="banner"><div class="header">
  4. <p>DITA Open Toolkit</p>
  5. <hr>
  6. </div></header><nav role="toc"><ul><li><a href="../index.html">DITA Open Toolkit 3.0</a></li><li><a href="../release-notes/index.html">Release Notes</a></li><li><a href="../topics/installing-client.html">Installing DITA-OT</a></li><li><a href="../topics/alternative-input-formats.html">Authoring formats</a></li><li><a href="../topics/building-output.html">Building output</a></li><li><a href="../parameters/index.html">Setting parameters</a></li><li><a href="../topics/extending-the-ot.html">Customizing DITA-OT</a><ul><li><a href="../topics/html-customization.html">Customizing HTML</a></li><li><a href="../topics/pdf-customization.html">Customizing PDF</a></li><li><a href="../topics/globalization.html">Globalizing DITA content</a></li><li><a href="../topics/custom-plugins.html">Custom plug-ins</a></li><li><a href="../extension-points/plugin-extension-points.html">Extension points</a><ul><li><a href="../extension-points/all-extension-points.html">All extension points</a></li><li class="active"><a href="../extension-points/plugin-extension-points-general.html">General extension points</a></li><li><a href="../extension-points/plugin-extension-points-pre-processing.html">Pre-processing extension points</a></li><li><a href="../extension-points/plugin-extension-points-xslt-import.html">XSLT-import extension points</a></li><li><a href="../extension-points/plugin-extension-points-xslt-parameters.html">XSLT-parameter extension points</a></li><li><a href="../extension-points/plugin-extension-points-support.html">Version and support information</a></li><li><a href="../extension-points/extension-points-by-plugin.html">Plug-in extension points</a></li></ul></li><li><a href="../topics/migration.html">Migrating customizations</a></li><li><a href="../topics/rebuilding-the-dita-ot-documentation.html">Rebuilding documentation</a></li></ul></li><li><a href="../topics/troubleshooting-overview.html">Troubleshooting</a></li><li><a href="../reference/index.html">Reference</a></li><li><a href="../topics/dita-and-dita-ot-resources.html">Resources</a></li></ul></nav><main role="main"><article role="article" aria-labelledby="ariaid-title1">
  7. <h1 class="title topictitle1" id="ariaid-title1">General extension points</h1>
  8. <div class="body refbody"><p class="shortdesc">These extension points enable you to extend the DITA-OT. You can add Ant targets or imports; add a Java
  9. library to the <span class="keyword parmname">classpath</span> parameter; add a new transformation type; extend a catalog file; add
  10. new diagnostic messages, and more.</p>
  11. <section class="section">
  12. <dl class="dl">
  13. <dt class="dt dlterm" id="plugin-general-extension-points__ant.import"><span class="keyword parmname">ant.import</span></dt>
  14. <dd class="dd">Adds an Ant import to the main Ant build file.</dd>
  15. <dt class="dt dlterm"><span class="keyword parmname">dita.conductor.lib.import</span></dt>
  16. <dd class="dd">Adds a Java
  17. library to the DITA-OT classpath.</dd>
  18. <dt class="dt dlterm"><span class="keyword parmname">dita.conductor.target</span></dt>
  19. <dd class="dd">Adds an Ant
  20. import to the main Ant build file.
  21. <div class="p">
  22. <div class="note attention note_attention"><span class="note__title">Attention:</span> This extension point is deprecated; use
  23. <code class="ph codeph">dita.conductor.target.relative</code> or <code class="ph codeph">ant.import</code> instead.</div>
  24. </div>
  25. </dd>
  26. <dt class="dt dlterm"><span class="keyword parmname">dita.conductor.target.relative</span></dt>
  27. <dd class="dd">Adds
  28. an Ant import to the main Ant build file.
  29. <div class="p">
  30. <div class="note tip note_tip"><span class="note__title">Tip:</span> As of DITA-OT 3.0, the <code class="ph codeph">ant.import</code> extension point can be used
  31. instead.</div>
  32. </div>
  33. </dd>
  34. <dt class="dt dlterm"><span class="keyword parmname">dita.conductor.transtype.check</span></dt>
  35. <dd class="dd">Adds a
  36. new value to the list of valid transformation types.</dd>
  37. <dt class="dt dlterm"><span class="keyword parmname">dita.specialization.catalog</span></dt>
  38. <dd class="dd">Adds the
  39. content of a catalog file to the main DITA-OT catalog file. <div class="note attention note_attention"><span class="note__title">Attention:</span> This extension point is
  40. deprecated; use <code class="ph codeph">dita.specialization.catalog.relative</code> instead.</div></dd>
  41. <dt class="dt dlterm"><span class="keyword parmname">dita.specialization.catalog.relative</span></dt>
  42. <dd class="dd">Adds the content of a catalog file to the main DITA-OT catalog file.</dd>
  43. <dt class="dt dlterm"><span class="keyword parmname">dita.transtype.print</span></dt>
  44. <dd class="dd">Defines a
  45. transformation as a print type.</dd>
  46. <dt class="dt dlterm"><span class="keyword parmname">dita.xsl.messages</span></dt>
  47. <dd class="dd">Adds new diagnostic
  48. messages to the DITA-OT.</dd>
  49. <dt class="dt dlterm"><span class="keyword parmname">org.dita.pdf2.catalog.relative</span></dt>
  50. <dd class="dd">Adds
  51. the content of a catalog file to the main catalog file for the PDF plug-in.</dd>
  52. </dl>
  53. </section>
  54. </div>
  55. <nav role="navigation" class="related-links"><div class="familylinks"><div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../extension-points/plugin-extension-points.html" title="The DITA Open Toolkit provides a series of extension points that can be used to integrate changes into the core code. Extension points are defined in the plugin.xml file for each plug-in. When plug-ins are installed, the DITA-OT makes each extension visible to the rest of the toolkit.">Extension points</a></div></div><div class="linklist relinfo relref"><strong>Related reference</strong><br><ul class="linklist"><li class="linklist"><a class="link" href="../extension-points/extension-points-in-org.dita.base.html" title="The org.dita.base plug-in provides common extension points that are available to extend processing in all transformations that are supported by the DITA Open Toolkit.">Extension points in org.dita.base</a></li></ul></div></nav></article></main></body></html>