test_pdf_utils Module



Functions

public function find_subsequence(arr, n, pat, start_idx) result(pos)

Arguments

Type IntentOptional Attributes Name
character(len=1), intent(in) :: arr(n)
integer(kind=int64), intent(in) :: n
character(len=*), intent(in) :: pat
integer, intent(in) :: start_idx

Return Value integer


Subroutines

public subroutine extract_pdf_stream_text(filename, stream_text, status)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=:), intent(out), allocatable :: stream_text
integer, intent(out) :: status

public subroutine append_string(target, chunk)

Arguments

Type IntentOptional Attributes Name
character(len=:), intent(inout), allocatable :: target
character(len=*), intent(in) :: chunk

public subroutine bytes_to_string(bytes, text)

Arguments

Type IntentOptional Attributes Name
integer(kind=int8), intent(in) :: bytes(:)
character(len=*), intent(out) :: text