EDIT WORD TEXT PHP
Primer ver como
Añadir variables en un documento word
https://doc.viafirma.com/documents/formsguide/latest/es/forms-add-variables-to-word.html
despues tendria que editar esas variables por php
Como? comparto enlace:
How to edit word documents with php?
https://stackoverflow.com/questions/34975256/how-to-edit-word-documents-with-php$templateProcessor = new \PhpOffice\PhpWord\TemplateProcessor("incident.docx");$templateProcessor->setValue('nombre', $name);$templateProcessor->setValue('comunicado', $comunicado);$templateProcessor->saveAs($filename);header("Location: incident.docx");
Si quiere editar imagenes usar,
INCLUDEPICTURE Word field
Comentarios
Publicar un comentario