i have a document with a table and i want to fill the second columns with my text.
which method can help me?
i have a document with a table and i want to fill the second columns with my text.
which method can help me?
Hello,
All DOCXPath methods (https://www.phpdocx.com/documentation/introduction/docxpath) allow choosing specific positions in a DOCX without using phpdocx template placeholders.
You can use insertWordFragment (https://www.phpdocx.com/api-documentation/docx-path/insert-elements-in-docx) to insert WordFragments in specific positions such as cells in a table.
We recommend you check the samples included in the package. For example, DocxPath/insertWordFragment/sample_8.php illustrates how to insert a content in cells.
Regards.