
    @wg                     `    d dl mZ ddlmZ ddlmZmZ ddlmZ  G d dee      Z	 ed       Z
y)	    )ABC   )AnnotationFlag)
NameObjectNumberObject)DictionaryObjectc                   X    e Zd ZddZedefd       Zej                  deddfd       Zy)AnnotationDictionaryreturnNc                 2    ddl m}  |d      |  |d      <   y )Nr   )r   z/Annotz/Type)generic._baser   )selfr   s     N/var/www/horilla/myenv/lib/python3.12/site-packages/pypdf/annotations/_base.py__init__zAnnotationDictionary.__init__	   s    . %/x$8Z !    c                 J    | j                  t        d      t        d            S )N/Fr   )getr   r   )r   s    r   flagszAnnotationDictionary.flags   s    xx
4(.*;<<r   valuec                 2    t        |      | t        d      <   y )Nr   )r   r   )r   r   s     r   r   zAnnotationDictionary.flags   s    !-e!4Zr   )r   N)__name__
__module____qualname__r   propertyr   r   setter r   r   r
   r
      sH    9 =~ = = \\5> 5d 5 5r   r
   N)abcr   	constantsr   genericr   r   generic._data_structuresr   r
   NO_FLAGSr   r   r   <module>r#      s,     & . 75+S 5& !r   