PoDoFo 1.2.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
PoDoFo::PdfTokenizer::ParsingOptions Struct Referencefinal

#include <PdfTokenizer.h>

Public Attributes

bool ThrowOnError: 1
 If set, malformed content raises an exception in the current call.
 
bool Strict: 1
 PdfTokenizerFlags::StrictParsing at the time of the entry-point call so internal paths can react to strict mode without touching the tokenizer state again.
 

Detailed Description

Remarks
Default initialization for bitfields is not available in C++17 (it was introduced in C++20), so always use full aggregate initialization

Member Data Documentation

◆ ThrowOnError

bool PoDoFo::PdfTokenizer::ParsingOptions::ThrowOnError

If set, malformed content raises an exception in the current call.

Otherwise the offending method logs a message and returns false so the caller can bail out early.


The documentation for this struct was generated from the following file: