当创建现有pdf的多个副本时,我想在itext pdf页面中添加页眉和页码。 代码示例
template::create([
'paperTitle' => $request->paperTitle,
'markedElementOne' => $request->markedElementOne,
'scoreOne' => $request-> scoreOne,
'markedElementTwo' => $request->markedElementTwo,
'scoreTwo' => $request-> scoreTwo,
'staffmembers_id'=>\Session::get('staffmembers_id'),
]);
module::create([
'moduleName' => $request->moduleName,
'moduleCode' => $request->moduleCode,
'year' => $request->year,
'templates_id'=>('templates_id'),
]);