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, pdfSetTextSimpleLayoutMode, pdfSetTextSimple2LayoutMode, pdfSetTextTableLayoutMode, pdfSetTextLinePrinterMode, or pdfSetTextRawMode can be selected.

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

C:
pdfSetTextPhysicalLayoutMode(1);
pdfSetTextReadingOrderMode
pdfSetTextSimpleLayoutMode
pdfSetTextSimple2LayoutMode
pdfSetTextTableLayoutMode
pdfSetTextLinePrinterMode
pdfSetTextRawMode