How read all pages in PDF file element wise

Find specific element in PDF file…
And How can use variable in different sequences…