#!/usr/bin/env python3
#
# Copyright (c) 2026 Stormux
# Copyright (c) 2010-2012 The Orca Team
# Copyright (c) 2012 Igalia, S.L.
# Copyright (c) 2005-2010 Sun Microsystems Inc.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., Franklin Street, Fifth Floor,
# Boston MA  02110-1301 USA.
#
# Forked from Orca screen reader.
# Cthulhu project: https://git.stormux.org/storm/cthulhu

"""Shared role key constants for formatting and generators."""

__id__        = "$Id$"
__version__   = "$Revision$"
__date__      = "$Date$"
__copyright__ = "Copyright (c) 2005-2008 Sun Microsystems Inc."
__license__   = "LGPL"

# Custom role keys used by formatting and role override logic.
ROLE_ARTICLE_IN_FEED = 'ROLE_ARTICLE_IN_FEED'
ROLE_CONTENT_DELETION = 'ROLE_CONTENT_DELETION'
ROLE_CONTENT_ERROR = 'ROLE_CONTENT_ERROR'
ROLE_CONTENT_INSERTION = 'ROLE_CONTENT_INSERTION'
ROLE_CONTENT_MARK = 'ROLE_CONTENT_MARK'
ROLE_CONTENT_SUGGESTION = 'ROLE_CONTENT_SUGGESTION'
ROLE_DPUB_LANDMARK = 'ROLE_DPUB_LANDMARK'
ROLE_DPUB_SECTION = 'ROLE_DPUB_SECTION'
ROLE_FEED = 'ROLE_FEED'
ROLE_MATH_ENCLOSED = 'ROLE_MATH_ENCLOSED'
ROLE_MATH_FENCED = 'ROLE_MATH_FENCED'
ROLE_MATH_MULTISCRIPT = 'ROLE_MATH_MULTISCRIPT'
ROLE_MATH_SCRIPT_SUBSUPER = 'ROLE_MATH_SCRIPT_SUBSUPER'
ROLE_MATH_SCRIPT_UNDEROVER = 'ROLE_MATH_SCRIPT_UNDEROVER'
ROLE_MATH_TABLE = 'ROLE_MATH_TABLE'
ROLE_MATH_TABLE_ROW = 'ROLE_MATH_TABLE_ROW'
ROLE_REGION = 'ROLE_REGION'
ROLE_SWITCH = 'ROLE_SWITCH'
ROLE_SPREADSHEET_CELL = 'ROLE_SPREADSHEET_CELL'

# Formatting override keys (not real Atspi roles).
REAL_ROLE_TABLE_CELL = 'REAL_ROLE_TABLE_CELL'
REAL_ROLE_SCROLL_PANE = 'REAL_ROLE_SCROLL_PANE'
