
    )i>                     ,    S SK JrJr  SrSrSrS rS rg)    )	add_input	get_inputrangeboundeda  Note that PDFium outputs CRLF (\r\n) style line breaks.
This may be undesirable or confusing in some situations, e.g. when processing the output with an (unaware) parser on the command line.
If this is an issue, run e.g. `dos2unix` on the output, or use the Python API.c                 X    [        U SS9  U R                  S[        [        [        4SS9  g )NT)pagesz
--strategyz1PDFium text extraction strategy (range, bounded).)defaultchoiceshelp)r   add_argumentEXTRACT_RANGEEXTRACT_BOUNDED)parsers    [/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/pypdfium2/_cli/extract_text.pyattachr      s0    fD!
 /2B	      c                 8   [        U 5      nSnU R                   H}  nX   nUR                  5       nU R                  [        :X  a  UR                  5       nO'U R                  [        :X  a  UR                  5       nO e[        USUS-    S3-   U-   5        SnM     g )N z# Page    
)	r   r   get_textpagestrategyr   get_text_ranger   get_text_boundedprint)argspdfsepipagetextpagetexts          r   mainr#      s    
D/C
CZZv$$& ==M)**,D]]o-,,.D5cgacU"%%,- r   N)pypdfium2._cli._parsersr   r   r   r   PARSER_DESCr   r#    r   r   <module>r'      s%    9r   