Skip to content

Commit 981043b

Browse files
Mattkmmrsam-m888
authored andcommitted
[MediaReport] A media text report [gramps51] (#218)
The Media Report is a text report for images. The report allows custom headings and custom notes as well as the image data like notes, citations, tags, attributes and people references. * Wiki dokumentation here: https://gramps-project.org/wiki/index.php/Addon:MediaReport * Issue #11239 on Bugtracker https://gramps-project.org/bugs/view.php?id=11239 * Checks for valid menu options before report generation
1 parent f2b7d8b commit 981043b

File tree

2 files changed

+528
-0
lines changed

2 files changed

+528
-0
lines changed

MediaReport/media_report.gpr.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#
2+
# Gramps - a GTK+/GNOME based genealogy program
3+
#
4+
# Copyright (C) 2019 Matthias Kemmer <[email protected]>
5+
#
6+
# This program is free software; you can redistribute it and/or modify
7+
# it under the terms of the GNU General Public License as published by
8+
# the Free Software Foundation; either version 2 of the License, or
9+
# (at your option) any later version.
10+
#
11+
# This program is distributed in the hope that it will be useful,
12+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
# GNU General Public License for more details.
15+
#
16+
# You should have received a copy of the GNU General Public License
17+
# along with this program; if not, write to the Free Software
18+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19+
#
20+
21+
register(REPORT,
22+
id = 'MediaReport',
23+
name = _("Media Report"),
24+
description = _("Generates report including images, image data"
25+
" and notes."),
26+
version = '1.0.0',
27+
gramps_target_version = "5.1",
28+
status = STABLE,
29+
fname = "media_report.py",
30+
authors = ["Matthias Kemmer"],
31+
authors_email = ["[email protected]"],
32+
category = CATEGORY_TEXT,
33+
reportclass = 'MediaReport',
34+
optionclass = 'ReportOptions',
35+
report_modes = [REPORT_MODE_CLI, REPORT_MODE_GUI],
36+
)

0 commit comments

Comments
 (0)