Function pdfs::parsePDFLegacy
Defined in File PDFFileParser.hpp
Function Documentation
-
auto pdfs::parsePDFLegacy(const std::string &fileName) -> PDF
Construct a PDF object from a legacy-format PDF descriptor file.
Parses a PDF descriptor file in this library’s original, custom (pre-toml) file format. Most callers should prefer parsePDFDescriptor(), which also accepts this format, in addition to the newer toml-based one.
- Parameters:
fileName – Name of the file
- Returns:
A PDF object constructed from the file