User`s guide
Customized Stylesheets
8-31
Note: PDF reports only support bitmap (.bmp), jpeg (.jpg), and Scalable Vector
Graphics (.svg) images.
To include this image file in the center of each header in the body of a PDF report:
1
Open mfile-report.rpt by entering the following at the MATLAB command
prompt:
setedit mfile-report
2
Create a custom stylesheet.
a
Select Tools > Edit Stylesheet in the menu bar of the Report Explorer.
b
Click New FO (PDF) in the Properties pane on the right.
c
As the Display name, enter Logo stylesheet for PDF.
d
As Description, enter Company logo in center of header.
e
Save the stylesheet as logo_stylesheet.rgs in a folder on your MATLAB
path.
3
Open the cell group for editing.
a
Scroll through the Options pane on the left to the Pagination and General
Styles folder.
b
Double-click Header Content in the Options pane.
c
Click Body page – Center from the list of cells in the Properties pane on the
right.
The Properties pane appears as shown.