Prev | Current Page 206 | Next

Marc Delisle

"Mastering phpMyAdmin 2.11 for Effective MySQL Management"


Data Dictionary Format: Here, we choose the printed orientation of
the dictionary.
Paper size: Changing this will influence the schema, and the scratchboard
dimensions.
In config.inc.php, the following parameters define the available paper sizes and
the default choice:
$cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter',
'legal');
$cfg['PDFDefaultPageSize'] = 'A4';
??? ??? ??? ??? ??? ??? ???
System Documentation
[ 236 ]
The following screenshot shows the last page of the generated report (the schema
page) in the PDF format. The first four pages contain the data dictionary with an
additional feature: on each page, the schema can be reached by clicking the table
name, and in the schema, each page in the data dictionary can be reached by clicking
the corresponding table.
Arrows point in the direction of the corresponding foreign table. If Show color has
been selected, primary keys are shown in gray, and display fields in black:
Here is another example generated from the same book PDF page definition, this
time with the grid but no color:
A Note about Fonts Used
All the text we see in the PDF schema is drawn using a specific font. phpMyAdmin
2.11.0 uses the DejaVuSans font (http://dejavu.sourceforge.net), which covers
a wide range of characters.
Chapter 15
[ 237 ]
For actual PDF generation, phpMyAdmin relies on the tcpdf library
(http://tcpdf.


Pages:
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218