I use this code for custom export of a PDF. I want to do the same thing with word but I don’t know how. I use phpmaker2024 and in the documentation it is specified that it does not work with export to word$doc - The object of the export class. You can set the properties of the object. The content of the export document is $doc->Text (except PhpSpreadsheet/PHPWord).how can I do custom export to word in phpmaker2024 without using external libraries?
public function rowExport($doc, $rs)
{
if ($this->isExport("pdf")){
$idrapp=$this->idrapporto->CurrentValue;
$rappo=testouffcompdf($idrapp,1);
$testo=$rappo;
$doc->Text .= $testo;
}