Sync from remote server: 2025-10-12 18:56:41
This commit is contained in:
18
ATD/template_cover.m
Executable file
18
ATD/template_cover.m
Executable file
@@ -0,0 +1,18 @@
|
||||
function template_cover(rpt)
|
||||
|
||||
%% Intestazione e piè di pagina
|
||||
import mlreportgen.dom.*
|
||||
import mlreportgen.report.*
|
||||
|
||||
% If compiling, make the DOM compilable
|
||||
makeDOMCompilable()
|
||||
|
||||
% Construct the header
|
||||
header = PDFPageHeader();
|
||||
footer = PDFPageFooter();
|
||||
wm = Watermark('sfondo.png');
|
||||
|
||||
% %Adjust the space for the header and top page margin
|
||||
rpt.Layout.Watermark = wm;
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user