o
    gi                     @   s"   d Z ddlZG dd dejZdS )u  
In turn, each PDF/A standard supports different conformance levels (a & b for PDF/A-1; and a, b & u for PDF/A-2 and -3).
These conformance levels control the “accessibility” requirements of a file that impact the ability of machines and people to understand the content.
    Nc                   @   sL   e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
efddZd
efddZdS )ConformanceLevelu   
    In turn, each PDF/A standard supports different conformance levels (a & b for PDF/A-1; and a, b & u for PDF/A-2 and -3).
    These conformance levels control the “accessibility” requirements of a file that impact the ability of machines and people to understand the content.
                            returnc                 C   sD   | t jt jfv r
dS | t jt jt jfv rdS | t jt jfv r dS J )z
        This function returns the conformance-level (non-numeric part) of this ConformanceLevel
        :return:    the non-numeric part of this ConformanceLevel (A, B, U)
        ABU)r   PDFA_1APDFA_2APDFA_1BPDFA_2BPDFA_3BPDFA_2UPDFA_3Uself r   S/home/ubuntu/.local/lib/python3.10/site-packages/borb/io/write/conformance_level.pyget_conformance_level'   s   z&ConformanceLevel.get_conformance_levelc                 C   sH   | t jt jfv r
dS | t jt jt jfv rdS | t jt jt jfv r"dS J )z
        This function returns the standard (the numeric part) of this ConformanceLevel
        :return:    the numeric part of this ConformanceLevel (1, 2, 3)
           r   r   )	r   r   r   r   r   r   PDFA_3Ar   r   r   r   r   r   get_standard8   s   zConformanceLevel.get_standardN)__name__
__module____qualname____doc__r   r   r   r   r   r   r   r   strr   intr   r   r   r   r   r      s    r   )r!   enumEnumr   r   r   r   r   <module>   s   