uploaded PDF

fetch the above pdf and create document and handle it with other PDF doing merge operation then we loose the free text like below

can you please tell me how we can handle pdf as it's doing different operations like get page count pdf then merge with other pdf