I am now about to use PoDoFo to parse PDF.I have the source code pdofo-tools podofotxtextract
available here : podofotxtextract file TextExtractor.cpp
.
I would change this code for get the text coordinates, after reading this post : PoDoFo extract text and reading Adobe specification, to retrieve the contact information I need to use the operator Tm
, this operator is matrix.
So I added in the source code a new case like this
... other case in if( bTextBlock ) ....
else if( strcmp( pszToken, "Tm" ) == 0 )
{
std::cout << "I have matrix here Tm " << std::endl;
}
....
This code works but I do not know how to display the values of the matrix.
Adobe specifies :
If anyone can help me