% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extract_metadata_from_pdf.R
\name{extract_doi_from_pdf}
\alias{extract_doi_from_pdf}
\title{Extract DOI from PDF Metadata (Legacy Function)}
\usage{
extract_doi_from_pdf(pdf_path, return_all = FALSE)
}
\arguments{
\item{pdf_path}{Character. Path to the PDF file.}

\item{return_all}{Logical. If TRUE, returns all DOIs found.}
}
\value{
Character string with DOI or NA_character_.
}
\description{
Legacy wrapper function for backward compatibility. Use extract_pdf_metadata()
for more functionality.
}
\seealso{
\code{\link{extract_pdf_metadata}}
}
