1# 2# Gramps - a GTK+/GNOME based genealogy program 3# 4# Copyright (C) 2002-2006 Donald N. Allingham 5# Copyright (C) 2007 Brian G. Matherly 6# 7# This program is free software; you can redistribute it and/or modify 8# it under the terms of the GNU General Public License as published by 9# the Free Software Foundation; either version 2 of the License, or 10# (at your option) any later version. 11# 12# This program is distributed in the hope that it will be useful, 13# but WITHOUT ANY WARRANTY; without even the implied warranty of 14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15# GNU General Public License for more details. 16# 17# You should have received a copy of the GNU General Public License 18# along with this program; if not, write to the Free Software 19# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 20# 21 22""" 23Package providing filter rules for Gramps. 24""" 25 26from ._allnotes import AllNotes 27from ._hasidof import HasIdOf 28from ._regexpidof import RegExpIdOf 29from ._matchesregexpof import MatchesRegexpOf 30from ._matchessubstringof import MatchesSubstringOf 31from ._hasreferencecountof import HasReferenceCountOf 32from ._noteprivate import NotePrivate 33from ._matchesfilter import MatchesFilter 34from ._hasnote import HasNote 35from ._changedsince import ChangedSince 36from ._hastag import HasTag 37from ._hastype import HasType 38 39editor_rule_list = [ 40 AllNotes, 41 HasIdOf, 42 RegExpIdOf, 43 HasNote, 44 MatchesRegexpOf, 45 HasReferenceCountOf, 46 NotePrivate, 47 MatchesFilter, 48 ChangedSince, 49 HasTag, 50 HasType, 51] 52