pdfSetTextPhysicalLayoutMode

Set text extraction mode to "physical layout".
void pdfSetTextPhysicalLayoutMode(int physLayout)
If physLayout is non-zero, sets the text extraction mode to "physical layout". XpdfText will maintain, as much as possible, the original text layout, including columns, hyphenation, etc.

Only one mode, from pdfSetTextReadingOrderMode, pdfSetTextPhysicalLayoutMode, pdfSetTextTableLayoutMode, pdfSetTextLinePrinterMode, or pdfSetTextRawMode can be selected.

This setting is global - it applies to all PDF handles.

C:
pdfSetTextPhysicalLayoutMode(1);
pdfSetTextReadingOrderMode
pdfSetTextTableLayoutMode
pdfSetTextLinePrinterMode
pdfSetTextRawMode