show grid

This commit is contained in:
Marc Delisle
2002-05-14 16:58:40 +00:00
parent ce2d6e3cee
commit dd1d1a9a27
47 changed files with 50 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ $Source$
Documentation.html: new feature: pdf schema output,
thanks to Maxime Delorme (delorme.maxime at free.fr)
and to Olivier Plathey (www.fpdf.org)
(todo: checkboxes for grid, color and show coordinates)
(todo: checkboxes for color and show coordinates)
2002-05-13 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* left.php3, libraries/common.lib.php3: fixed xhtml bugs and optimized the

View File

@@ -452,6 +452,8 @@ if ( PMA_PHP_INT_VERSION >= 40000
echo ' ' . $strDisplayPDF . '&nbsp;:<br />' . "\n";
echo ' ' . $strPageNumber . '&nbsp;' . "\n";
echo ' ' . '<input type="text" name="pdf_page_number" size="3" class="textfield" />' . "\n";
echo ' ' . $strShowGrid . '&nbsp;' . "\n";
echo ' ' . '<input type="checkbox" name="show_grid" />' . "\n";
echo ' ' . '&nbsp;<input type="submit" value="' . $strGo . '" />' . "\n";
?>
</form>

View File

@@ -366,4 +366,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -364,4 +364,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -365,4 +365,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -365,4 +365,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -363,4 +363,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -363,4 +363,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -365,4 +365,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -365,4 +365,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -361,4 +361,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -359,4 +359,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -359,4 +359,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -358,4 +358,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -364,4 +364,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Les coordonn
$strScaleFactorSmall = 'Veuillez augmenter l\'<27>chelle car le sch<63>ma d<>borde la page ';
$strDisplayPDF = 'Afficher le sch<63>ma en PDF';
$strPageNumber = 'Page n<>:';
$strShowGrid = 'Afficher la grille';
?>

View File

@@ -364,4 +364,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -369,4 +369,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -361,4 +361,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -359,4 +359,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -366,4 +366,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -369,4 +369,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -369,4 +369,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -361,4 +361,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -364,4 +364,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -364,4 +364,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -367,4 +367,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -361,4 +361,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -365,4 +365,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -365,4 +365,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -366,4 +366,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -363,4 +363,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -363,4 +363,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -358,4 +358,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -367,4 +367,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
$strDisplayPDF = 'Display PDF schema'; //to translate
$strPageNumber = 'Page number:'; //to translate
$strShowGrid = 'Show grid'; //to translate
?>

View File

@@ -347,9 +347,9 @@ class rt_table {
if (!isset($pdf_page_number)){
$pdf_page_number = 1;
}
if (!isset($show_grid)){
$show_grid = 0;
}
$show_grid = (isset($show_grid) && $show_grid=='on')? 1:0;
$rt = new RT("auto",$pdf_page_number,0,1,$show_grid);
?>