Read and modify existing text in document using PHPWORD
Posted: Thu Oct 08, 2015 1:07 pm
Hi ,
I want to read and modify the existing text of an RTF document. I have seen sample 28 in the official documentation of the PHPword but. it only reads the text and writes it. The problem I am having is that i cannot find the text within the document.
From what i have understood . there is SECTION-->ELEMENT. but inside element where is text ?.
I have read the source classes but cannot find anything that contains text. Therefore If someone has experience with phpword , kindly guide me here.
Any help is appriciated in advance.
I want to read and modify the existing text of an RTF document. I have seen sample 28 in the official documentation of the PHPword but. it only reads the text and writes it. The problem I am having is that i cannot find the text within the document.
From what i have understood . there is SECTION-->ELEMENT. but inside element where is text ?.
I have read the source classes but cannot find anything that contains text. Therefore If someone has experience with phpword , kindly guide me here.
Any help is appriciated in advance.