如何在itext pdf页面上添加页眉和页脚

时间:2018-09-28 15:13:25

标签: java

当创建现有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'),
]);

0 个答案:

没有答案