pub fn from_path<P: AsRef<Path>>(path: P) -> Result<Self, LoaderError> {
        let document = lopdf::Document::load(path)?;
        Ok(Self { document })
    }
Creates a new PdfLoader from a path to a PDF file.
This loads the PDF document and creates a PdfLoader from it.

# Example

```rust,ignore
let loader = LoPdfLoader::from_path("/path/to/my.pdf")?;
```
src/document_loaders/pdf_loader/lo_loader.rs