# Addon output file format and document generation

**URL:** <https://gramps.discourse.group/t/addon-output-file-format-and-document-generation/848>\
**Category:** Development\
**Tags:** plugin-catalog\
**Created:** [October 21, 2020, 10:02am UTC](https://gramps.discourse.group/t/addon-output-file-format-and-document-generation/848 "2020-10-21T10:02:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mattkmmr](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/mattkmmr/32/410_2.png) [@Mattkmmr](https://gramps.discourse.group/u/Mattkmmr)\
**Post date:** [October 21, 2020, 10:02am UTC](https://gramps.discourse.group/t/addon-output-file-format-and-document-generation/848/1 "2020-10-21T10:02:02Z")

</div>

Is it possible for a addons e.g. text reports to change/overwrite the output file formats and add your own document generation to it? I’d like to remove standard ones and use my own, but I wasn’t able to find any addons already doing that.

---

<div class="post-metadata">

**Author:** ![prculley](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/prculley/32/41_2.png) [@prculley](https://gramps.discourse.group/u/prculley)\
**Post date:** [October 21, 2020, 2:34pm UTC](https://gramps.discourse.group/t/addon-output-file-format-and-document-generation/848/2 "2020-10-21T14:34:39Z")

</div>

You should be able to create an addon to add additional document types. We have no addon examples, however Gramps includes the standard types as plugins in the “gramps/plugins/docgen” directory. The docgen.gpr.py includes example gpr for several different document types which are also present in the directory. I suspect you could use one of those as a starting place for your needs.

Since an addon is a plugin, you should be able to make your version an addon.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [November 20, 2020, 2:34pm UTC](https://gramps.discourse.group/t/addon-output-file-format-and-document-generation/848/3 "2020-11-20T14:34:40Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
