MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Podręcznik Użytkownika Strona 916

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 986
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 915
13 Create a Report Program
13-64
append(rpt, ca);
close(rpt);
rptview(rpt.OutputPath);
Format a Table Using Microsoft Word Style Sheets
You can format tables using an existing Word styles in a template or a template style
that you modify or add.
To define a table style in a Word template, start by using these steps.
1
Open the Word template used with the report.
2
Open the Styles pane.
3
Click the Manage Styles button .
4
Click New Style.
5
In the Create New Style from Formatting dialog box, set Style type to Table.
For more information about using Word styles with DOM objects, see “Modify Styles in a
Microsoft Word Template” on page 13-117.
Format a Table Using an HTML Style Sheet
You can format tables using an HTML style defined in the template used to generate the
report.
To define a table style in an HTML template, define the style as a table style. For
example:
table.MyTable {
border-bottom-color: rgb(128, 128, 128);
border-bottom-width: thin;
border-collapse: collapse;
}
Tip Use the CSS parent (>) selector to specify the format of the children of a table to be
formatted with your table style. For example, this CSS code specifies the format of the
table entries (td elements) of a table whose style is MyTable.
table.MyTable > tr > td {
Przeglądanie stron 915
1 2 ... 911 912 913 914 915 916 917 918 919 920 921 ... 985 986

Komentarze do niniejszej Instrukcji

Brak uwag