From d6134e0d28527b2b7e02dac2c397b4a2b78d1849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 6 Jun 2003 13:16:42 +0000 Subject: [PATCH] User can select paper size for pdf (RFE #631551). --- ChangeLog | 3 +++ config.inc.php3 | 7 +++++++ db_details_structure.php3 | 18 +++++++++++++++--- lang/afrikaans-iso-8859-1.inc.php3 | 1 + lang/afrikaans-utf-8.inc.php3 | 1 + lang/albanian-iso-8859-1.inc.php3 | 1 + lang/albanian-utf-8.inc.php3 | 1 + lang/arabic-utf-8.inc.php3 | 1 + lang/arabic-windows-1256.inc.php3 | 1 + lang/brazilian_portuguese-iso-8859-1.inc.php3 | 1 + lang/brazilian_portuguese-utf-8.inc.php3 | 1 + lang/bulgarian-koi8-r.inc.php3 | 1 + lang/bulgarian-utf-8.inc.php3 | 1 + lang/bulgarian-windows-1251.inc.php3 | 1 + lang/catalan-iso-8859-1.inc.php3 | 1 + lang/catalan-utf-8.inc.php3 | 1 + lang/chinese_big5-utf-8.inc.php3 | 1 + lang/chinese_big5.inc.php3 | 1 + lang/chinese_gb-utf-8.inc.php3 | 1 + lang/chinese_gb.inc.php3 | 1 + lang/croatian-iso-8859-2.inc.php3 | 1 + lang/croatian-utf-8.inc.php3 | 1 + lang/croatian-windows-1250.inc.php3 | 1 + lang/czech-iso-8859-2.inc.php3 | 1 + lang/czech-utf-8.inc.php3 | 1 + lang/czech-windows-1250.inc.php3 | 1 + lang/danish-iso-8859-1.inc.php3 | 1 + lang/danish-utf-8.inc.php3 | 1 + lang/dutch-iso-8859-1.inc.php3 | 1 + lang/dutch-utf-8.inc.php3 | 1 + lang/english-iso-8859-1.inc.php3 | 1 + lang/english-utf-8.inc.php3 | 1 + lang/estonian-iso-8859-1.inc.php3 | 1 + lang/estonian-utf-8.inc.php3 | 1 + lang/finnish-iso-8859-1.inc.php3 | 1 + lang/finnish-utf-8.inc.php3 | 1 + lang/french-iso-8859-1.inc.php3 | 1 + lang/french-utf-8.inc.php3 | 1 + lang/galician-iso-8859-1.inc.php3 | 1 + lang/galician-utf-8.inc.php3 | 1 + lang/georgian-utf-8.inc.php3 | 1 + lang/german-iso-8859-1.inc.php3 | 1 + lang/german-utf-8.inc.php3 | 1 + lang/greek-iso-8859-7.inc.php3 | 1 + lang/greek-utf-8.inc.php3 | 1 + lang/hebrew-iso-8859-8-i.inc.php3 | 1 + lang/hindi-utf-8.inc.php3 | 1 + lang/hungarian-iso-8859-2.inc.php3 | 1 + lang/hungarian-utf-8.inc.php3 | 1 + lang/indonesian-iso-8859-1.inc.php3 | 1 + lang/indonesian-utf-8.inc.php3 | 1 + lang/italian-iso-8859-1.inc.php3 | 1 + lang/italian-utf-8.inc.php3 | 1 + lang/japanese-euc.inc.php3 | 1 + lang/japanese-sjis.inc.php3 | 1 + lang/japanese-utf-8.inc.php3 | 1 + lang/korean-ks_c_5601-1987.inc.php3 | 1 + lang/latvian-utf-8.inc.php3 | 1 + lang/latvian-windows-1257.inc.php3 | 1 + lang/lithuanian-utf-8.inc.php3 | 1 + lang/lithuanian-windows-1257.inc.php3 | 1 + lang/malay-iso-8859-1.inc.php3 | 1 + lang/malay-utf-8.inc.php3 | 1 + lang/norwegian-iso-8859-1.inc.php3 | 1 + lang/norwegian-utf-8.inc.php3 | 1 + lang/polish-iso-8859-2.inc.php3 | 1 + lang/polish-utf-8.inc.php3 | 1 + lang/portuguese-iso-8859-1.inc.php3 | 1 + lang/portuguese-utf-8.inc.php3 | 1 + lang/romanian-iso-8859-1.inc.php3 | 1 + lang/romanian-utf-8.inc.php3 | 1 + lang/russian-dos-866.inc.php3 | 1 + lang/russian-koi8-r.inc.php3 | 1 + lang/russian-utf-8.inc.php3 | 1 + lang/russian-windows-1251.inc.php3 | 1 + lang/serbian-utf-8.inc.php3 | 1 + lang/serbian-windows-1250.inc.php3 | 1 + lang/slovak-iso-8859-2.inc.php3 | 1 + lang/slovak-utf-8.inc.php3 | 1 + lang/slovak-windows-1250.inc.php3 | 1 + lang/slovenian-iso-8859-2.inc.php3 | 1 + lang/slovenian-utf-8.inc.php3 | 1 + lang/slovenian-windows-1250.inc.php3 | 1 + lang/spanish-iso-8859-1.inc.php3 | 1 + lang/spanish-utf-8.inc.php3 | 1 + lang/swedish-iso-8859-1.inc.php3 | 1 + lang/swedish-utf-8.inc.php3 | 1 + lang/thai-tis-620.inc.php3 | 1 + lang/thai-utf-8.inc.php3 | 1 + lang/turkish-iso-8859-9.inc.php3 | 1 + lang/turkish-utf-8.inc.php3 | 1 + lang/ukrainian-utf-8.inc.php3 | 1 + lang/ukrainian-windows-1251.inc.php3 | 1 + libraries/config_import.lib.php3 | 6 ++++++ pdf_pages.php3 | 14 +++++++++++++- pdf_schema.php3 | 7 ++++--- 96 files changed, 138 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index ed0120573..18cb0e042 100755 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,9 @@ $Source$ (RFE #742123). * pdf_pages.php3: Fixed undefined index warnings, don't attemt to edit/display deleted page just after deleting. + * libraries/config_import.lib.php3, lang/*, config.inc.php3, + db_details_structure.php3, pdf_pages.php3, pdf_schema.php3: User can + select paper size for pdf (RFE #631551). 2003-06-05 Marc Delisle * Documentation.html: new faq 6.20 about CREATE TEMPORARY TABLES diff --git a/config.inc.php3 b/config.inc.php3 index 846328e95..6a9316e09 100755 --- a/config.inc.php3 +++ b/config.inc.php3 @@ -290,6 +290,13 @@ $cfg['MySQLManualBase'] = 'http://www.mysql.com/doc/en'; $cfg['MySQLManualType'] = 'searchable'; +/** + * PDF options + */ +$cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal'); +$cfg['PDFDefaultPageSize'] = 'A4'; + + /** * Language and charset conversion settings */ diff --git a/db_details_structure.php3 b/db_details_structure.php3 index 2dd407a95..1e543ac73 100644 --- a/db_details_structure.php3 +++ b/db_details_structure.php3 @@ -620,9 +620,21 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) { -    - +
+ +
+    + diff --git a/lang/afrikaans-utf-8.inc.php3 b/lang/afrikaans-utf-8.inc.php3 index 1d7882554..5d11a0cc2 100644 --- a/lang/afrikaans-utf-8.inc.php3 +++ b/lang/afrikaans-utf-8.inc.php3 @@ -657,4 +657,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/albanian-iso-8859-1.inc.php3 b/lang/albanian-iso-8859-1.inc.php3 index 22d1ab1ba..e63445cfc 100644 --- a/lang/albanian-iso-8859-1.inc.php3 +++ b/lang/albanian-iso-8859-1.inc.php3 @@ -648,4 +648,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/albanian-utf-8.inc.php3 b/lang/albanian-utf-8.inc.php3 index a7ecd2406..94f7a0358 100644 --- a/lang/albanian-utf-8.inc.php3 +++ b/lang/albanian-utf-8.inc.php3 @@ -649,4 +649,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/arabic-utf-8.inc.php3 b/lang/arabic-utf-8.inc.php3 index ffc0a4e50..8d03d6f4f 100644 --- a/lang/arabic-utf-8.inc.php3 +++ b/lang/arabic-utf-8.inc.php3 @@ -671,4 +671,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/arabic-windows-1256.inc.php3 b/lang/arabic-windows-1256.inc.php3 index 572a5b3e6..ff27ade9f 100644 --- a/lang/arabic-windows-1256.inc.php3 +++ b/lang/arabic-windows-1256.inc.php3 @@ -670,4 +670,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/brazilian_portuguese-iso-8859-1.inc.php3 b/lang/brazilian_portuguese-iso-8859-1.inc.php3 index 5e982473a..4d4ce30a6 100644 --- a/lang/brazilian_portuguese-iso-8859-1.inc.php3 +++ b/lang/brazilian_portuguese-iso-8859-1.inc.php3 @@ -670,4 +670,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/brazilian_portuguese-utf-8.inc.php3 b/lang/brazilian_portuguese-utf-8.inc.php3 index 1a57aced7..fdd44fa96 100644 --- a/lang/brazilian_portuguese-utf-8.inc.php3 +++ b/lang/brazilian_portuguese-utf-8.inc.php3 @@ -671,4 +671,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/bulgarian-koi8-r.inc.php3 b/lang/bulgarian-koi8-r.inc.php3 index 9cce1a7c6..b3a7fe5cb 100644 --- a/lang/bulgarian-koi8-r.inc.php3 +++ b/lang/bulgarian-koi8-r.inc.php3 @@ -650,4 +650,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/bulgarian-utf-8.inc.php3 b/lang/bulgarian-utf-8.inc.php3 index 570beb57b..3308bd55a 100644 --- a/lang/bulgarian-utf-8.inc.php3 +++ b/lang/bulgarian-utf-8.inc.php3 @@ -651,4 +651,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/bulgarian-windows-1251.inc.php3 b/lang/bulgarian-windows-1251.inc.php3 index a83881037..d70116137 100644 --- a/lang/bulgarian-windows-1251.inc.php3 +++ b/lang/bulgarian-windows-1251.inc.php3 @@ -650,4 +650,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/catalan-iso-8859-1.inc.php3 b/lang/catalan-iso-8859-1.inc.php3 index ea5ee8c2b..1fd25cbcb 100644 --- a/lang/catalan-iso-8859-1.inc.php3 +++ b/lang/catalan-iso-8859-1.inc.php3 @@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/catalan-utf-8.inc.php3 b/lang/catalan-utf-8.inc.php3 index 24aaa0d4b..6f09f75f1 100644 --- a/lang/catalan-utf-8.inc.php3 +++ b/lang/catalan-utf-8.inc.php3 @@ -645,4 +645,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/chinese_big5-utf-8.inc.php3 b/lang/chinese_big5-utf-8.inc.php3 index 2fb126b9b..49b293b9f 100644 --- a/lang/chinese_big5-utf-8.inc.php3 +++ b/lang/chinese_big5-utf-8.inc.php3 @@ -670,4 +670,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/chinese_big5.inc.php3 b/lang/chinese_big5.inc.php3 index c9f9704db..5bdabd976 100644 --- a/lang/chinese_big5.inc.php3 +++ b/lang/chinese_big5.inc.php3 @@ -669,4 +669,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/chinese_gb-utf-8.inc.php3 b/lang/chinese_gb-utf-8.inc.php3 index 0a1fcf26c..f42fb6c5c 100644 --- a/lang/chinese_gb-utf-8.inc.php3 +++ b/lang/chinese_gb-utf-8.inc.php3 @@ -646,4 +646,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/chinese_gb.inc.php3 b/lang/chinese_gb.inc.php3 index 6511b0860..5d470a1dd 100644 --- a/lang/chinese_gb.inc.php3 +++ b/lang/chinese_gb.inc.php3 @@ -646,4 +646,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/croatian-iso-8859-2.inc.php3 b/lang/croatian-iso-8859-2.inc.php3 index 635cbe781..0ee6d3617 100644 --- a/lang/croatian-iso-8859-2.inc.php3 +++ b/lang/croatian-iso-8859-2.inc.php3 @@ -669,4 +669,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/croatian-utf-8.inc.php3 b/lang/croatian-utf-8.inc.php3 index 0e87d7544..927354784 100644 --- a/lang/croatian-utf-8.inc.php3 +++ b/lang/croatian-utf-8.inc.php3 @@ -670,4 +670,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/croatian-windows-1250.inc.php3 b/lang/croatian-windows-1250.inc.php3 index d645f630c..67967d20b 100644 --- a/lang/croatian-windows-1250.inc.php3 +++ b/lang/croatian-windows-1250.inc.php3 @@ -669,4 +669,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/czech-iso-8859-2.inc.php3 b/lang/czech-iso-8859-2.inc.php3 index 011c91514..39a80b3c3 100644 --- a/lang/czech-iso-8859-2.inc.php3 +++ b/lang/czech-iso-8859-2.inc.php3 @@ -649,4 +649,5 @@ $strZip = '"zazipov // To translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/czech-utf-8.inc.php3 b/lang/czech-utf-8.inc.php3 index ee9595671..b7d188881 100644 --- a/lang/czech-utf-8.inc.php3 +++ b/lang/czech-utf-8.inc.php3 @@ -650,4 +650,5 @@ $strZip = '"zazipováno"'; // To translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/czech-windows-1250.inc.php3 b/lang/czech-windows-1250.inc.php3 index 69921a58c..cc84ec5c0 100644 --- a/lang/czech-windows-1250.inc.php3 +++ b/lang/czech-windows-1250.inc.php3 @@ -649,4 +649,5 @@ $strZip = '"zazipov // To translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/danish-iso-8859-1.inc.php3 b/lang/danish-iso-8859-1.inc.php3 index c0d9c2555..61beb92b1 100644 --- a/lang/danish-iso-8859-1.inc.php3 +++ b/lang/danish-iso-8859-1.inc.php3 @@ -664,4 +664,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/danish-utf-8.inc.php3 b/lang/danish-utf-8.inc.php3 index d53e4ff8b..28736e75c 100644 --- a/lang/danish-utf-8.inc.php3 +++ b/lang/danish-utf-8.inc.php3 @@ -665,4 +665,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/dutch-iso-8859-1.inc.php3 b/lang/dutch-iso-8859-1.inc.php3 index 26337e63f..8b7d34669 100644 --- a/lang/dutch-iso-8859-1.inc.php3 +++ b/lang/dutch-iso-8859-1.inc.php3 @@ -659,4 +659,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/dutch-utf-8.inc.php3 b/lang/dutch-utf-8.inc.php3 index 72fdfada7..abf2c2019 100644 --- a/lang/dutch-utf-8.inc.php3 +++ b/lang/dutch-utf-8.inc.php3 @@ -660,4 +660,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/english-iso-8859-1.inc.php3 b/lang/english-iso-8859-1.inc.php3 index e8316036e..665bee90c 100644 --- a/lang/english-iso-8859-1.inc.php3 +++ b/lang/english-iso-8859-1.inc.php3 @@ -642,4 +642,5 @@ $strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the l $strZip = '"zipped"'; $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/english-utf-8.inc.php3 b/lang/english-utf-8.inc.php3 index 0263d6d4f..ebcd21a7c 100644 --- a/lang/english-utf-8.inc.php3 +++ b/lang/english-utf-8.inc.php3 @@ -643,4 +643,5 @@ $strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the l $strZip = '"zipped"'; $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/estonian-iso-8859-1.inc.php3 b/lang/estonian-iso-8859-1.inc.php3 index d40d12451..f5cf83253 100644 --- a/lang/estonian-iso-8859-1.inc.php3 +++ b/lang/estonian-iso-8859-1.inc.php3 @@ -643,4 +643,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/estonian-utf-8.inc.php3 b/lang/estonian-utf-8.inc.php3 index 9793a3251..9a1456b05 100644 --- a/lang/estonian-utf-8.inc.php3 +++ b/lang/estonian-utf-8.inc.php3 @@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/finnish-iso-8859-1.inc.php3 b/lang/finnish-iso-8859-1.inc.php3 index 1bd3c3b56..749fbc324 100644 --- a/lang/finnish-iso-8859-1.inc.php3 +++ b/lang/finnish-iso-8859-1.inc.php3 @@ -666,4 +666,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/finnish-utf-8.inc.php3 b/lang/finnish-utf-8.inc.php3 index 25a6c49df..94e351c80 100644 --- a/lang/finnish-utf-8.inc.php3 +++ b/lang/finnish-utf-8.inc.php3 @@ -667,4 +667,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/french-iso-8859-1.inc.php3 b/lang/french-iso-8859-1.inc.php3 index 886f179cc..6c1ccb59d 100644 --- a/lang/french-iso-8859-1.inc.php3 +++ b/lang/french-iso-8859-1.inc.php3 @@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/french-utf-8.inc.php3 b/lang/french-utf-8.inc.php3 index fb287a8ca..68140671c 100644 --- a/lang/french-utf-8.inc.php3 +++ b/lang/french-utf-8.inc.php3 @@ -645,4 +645,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/galician-iso-8859-1.inc.php3 b/lang/galician-iso-8859-1.inc.php3 index b46067082..114907e5b 100644 --- a/lang/galician-iso-8859-1.inc.php3 +++ b/lang/galician-iso-8859-1.inc.php3 @@ -650,4 +650,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/galician-utf-8.inc.php3 b/lang/galician-utf-8.inc.php3 index d845c5f34..80f0bd4a1 100644 --- a/lang/galician-utf-8.inc.php3 +++ b/lang/galician-utf-8.inc.php3 @@ -651,4 +651,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/georgian-utf-8.inc.php3 b/lang/georgian-utf-8.inc.php3 index fef064f3d..00e2c64a7 100644 --- a/lang/georgian-utf-8.inc.php3 +++ b/lang/georgian-utf-8.inc.php3 @@ -669,4 +669,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/german-iso-8859-1.inc.php3 b/lang/german-iso-8859-1.inc.php3 index fa2c14ab5..fcd89b750 100644 --- a/lang/german-iso-8859-1.inc.php3 +++ b/lang/german-iso-8859-1.inc.php3 @@ -650,4 +650,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/german-utf-8.inc.php3 b/lang/german-utf-8.inc.php3 index acca4c514..7e69c54c0 100644 --- a/lang/german-utf-8.inc.php3 +++ b/lang/german-utf-8.inc.php3 @@ -651,4 +651,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/greek-iso-8859-7.inc.php3 b/lang/greek-iso-8859-7.inc.php3 index d1367bb2a..755f73fbb 100644 --- a/lang/greek-iso-8859-7.inc.php3 +++ b/lang/greek-iso-8859-7.inc.php3 @@ -668,4 +668,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/greek-utf-8.inc.php3 b/lang/greek-utf-8.inc.php3 index 902590876..e90ac1f7f 100644 --- a/lang/greek-utf-8.inc.php3 +++ b/lang/greek-utf-8.inc.php3 @@ -669,4 +669,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/hebrew-iso-8859-8-i.inc.php3 b/lang/hebrew-iso-8859-8-i.inc.php3 index 84d1c004a..e90921360 100644 --- a/lang/hebrew-iso-8859-8-i.inc.php3 +++ b/lang/hebrew-iso-8859-8-i.inc.php3 @@ -666,4 +666,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/hindi-utf-8.inc.php3 b/lang/hindi-utf-8.inc.php3 index 465bb9e09..8897b2f74 100644 --- a/lang/hindi-utf-8.inc.php3 +++ b/lang/hindi-utf-8.inc.php3 @@ -680,4 +680,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/hungarian-iso-8859-2.inc.php3 b/lang/hungarian-iso-8859-2.inc.php3 index e1ce8585d..12a8232a1 100644 --- a/lang/hungarian-iso-8859-2.inc.php3 +++ b/lang/hungarian-iso-8859-2.inc.php3 @@ -654,4 +654,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/hungarian-utf-8.inc.php3 b/lang/hungarian-utf-8.inc.php3 index ff0e6ecdf..04fd15757 100644 --- a/lang/hungarian-utf-8.inc.php3 +++ b/lang/hungarian-utf-8.inc.php3 @@ -655,4 +655,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/indonesian-iso-8859-1.inc.php3 b/lang/indonesian-iso-8859-1.inc.php3 index 26fd2e9bb..c123d50e4 100644 --- a/lang/indonesian-iso-8859-1.inc.php3 +++ b/lang/indonesian-iso-8859-1.inc.php3 @@ -643,4 +643,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/indonesian-utf-8.inc.php3 b/lang/indonesian-utf-8.inc.php3 index bda682807..516eab5c1 100644 --- a/lang/indonesian-utf-8.inc.php3 +++ b/lang/indonesian-utf-8.inc.php3 @@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/italian-iso-8859-1.inc.php3 b/lang/italian-iso-8859-1.inc.php3 index 88531cba1..02db3f94a 100644 --- a/lang/italian-iso-8859-1.inc.php3 +++ b/lang/italian-iso-8859-1.inc.php3 @@ -648,4 +648,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/italian-utf-8.inc.php3 b/lang/italian-utf-8.inc.php3 index 3daad2b01..09022d96c 100644 --- a/lang/italian-utf-8.inc.php3 +++ b/lang/italian-utf-8.inc.php3 @@ -649,4 +649,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/japanese-euc.inc.php3 b/lang/japanese-euc.inc.php3 index 4dcfb159e..6d1f40347 100644 --- a/lang/japanese-euc.inc.php3 +++ b/lang/japanese-euc.inc.php3 @@ -654,4 +654,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/japanese-sjis.inc.php3 b/lang/japanese-sjis.inc.php3 index 9afcbd59f..8250d4814 100644 --- a/lang/japanese-sjis.inc.php3 +++ b/lang/japanese-sjis.inc.php3 @@ -654,4 +654,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/japanese-utf-8.inc.php3 b/lang/japanese-utf-8.inc.php3 index 41dde7040..ba9e39fb1 100644 --- a/lang/japanese-utf-8.inc.php3 +++ b/lang/japanese-utf-8.inc.php3 @@ -655,4 +655,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/korean-ks_c_5601-1987.inc.php3 b/lang/korean-ks_c_5601-1987.inc.php3 index 675651a02..23bce9cfd 100644 --- a/lang/korean-ks_c_5601-1987.inc.php3 +++ b/lang/korean-ks_c_5601-1987.inc.php3 @@ -664,4 +664,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/latvian-utf-8.inc.php3 b/lang/latvian-utf-8.inc.php3 index cbef39d57..662a7aff2 100644 --- a/lang/latvian-utf-8.inc.php3 +++ b/lang/latvian-utf-8.inc.php3 @@ -648,4 +648,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/latvian-windows-1257.inc.php3 b/lang/latvian-windows-1257.inc.php3 index 4eeddfd59..293d029be 100644 --- a/lang/latvian-windows-1257.inc.php3 +++ b/lang/latvian-windows-1257.inc.php3 @@ -647,4 +647,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/lithuanian-utf-8.inc.php3 b/lang/lithuanian-utf-8.inc.php3 index ffc411372..5e238baba 100644 --- a/lang/lithuanian-utf-8.inc.php3 +++ b/lang/lithuanian-utf-8.inc.php3 @@ -645,4 +645,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/lithuanian-windows-1257.inc.php3 b/lang/lithuanian-windows-1257.inc.php3 index ba230ed9e..c2f9903b0 100644 --- a/lang/lithuanian-windows-1257.inc.php3 +++ b/lang/lithuanian-windows-1257.inc.php3 @@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/malay-iso-8859-1.inc.php3 b/lang/malay-iso-8859-1.inc.php3 index df2cb9a16..83095ab59 100644 --- a/lang/malay-iso-8859-1.inc.php3 +++ b/lang/malay-iso-8859-1.inc.php3 @@ -665,4 +665,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/malay-utf-8.inc.php3 b/lang/malay-utf-8.inc.php3 index 59e74b902..b2521223f 100644 --- a/lang/malay-utf-8.inc.php3 +++ b/lang/malay-utf-8.inc.php3 @@ -666,4 +666,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/norwegian-iso-8859-1.inc.php3 b/lang/norwegian-iso-8859-1.inc.php3 index 04471ece9..4bf24a728 100644 --- a/lang/norwegian-iso-8859-1.inc.php3 +++ b/lang/norwegian-iso-8859-1.inc.php3 @@ -647,4 +647,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/norwegian-utf-8.inc.php3 b/lang/norwegian-utf-8.inc.php3 index 1d7403255..976893f0d 100644 --- a/lang/norwegian-utf-8.inc.php3 +++ b/lang/norwegian-utf-8.inc.php3 @@ -648,4 +648,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/polish-iso-8859-2.inc.php3 b/lang/polish-iso-8859-2.inc.php3 index 7683c539b..37024f2a4 100644 --- a/lang/polish-iso-8859-2.inc.php3 +++ b/lang/polish-iso-8859-2.inc.php3 @@ -643,4 +643,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/polish-utf-8.inc.php3 b/lang/polish-utf-8.inc.php3 index 6e98611fe..2723616cd 100644 --- a/lang/polish-utf-8.inc.php3 +++ b/lang/polish-utf-8.inc.php3 @@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/portuguese-iso-8859-1.inc.php3 b/lang/portuguese-iso-8859-1.inc.php3 index 738d17ebd..2fbe27a76 100644 --- a/lang/portuguese-iso-8859-1.inc.php3 +++ b/lang/portuguese-iso-8859-1.inc.php3 @@ -665,4 +665,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/portuguese-utf-8.inc.php3 b/lang/portuguese-utf-8.inc.php3 index 2c08a5632..e54b5017c 100644 --- a/lang/portuguese-utf-8.inc.php3 +++ b/lang/portuguese-utf-8.inc.php3 @@ -666,4 +666,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/romanian-iso-8859-1.inc.php3 b/lang/romanian-iso-8859-1.inc.php3 index 8e2c900e8..4bd25147a 100644 --- a/lang/romanian-iso-8859-1.inc.php3 +++ b/lang/romanian-iso-8859-1.inc.php3 @@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/romanian-utf-8.inc.php3 b/lang/romanian-utf-8.inc.php3 index 7139ea1ab..5c3e08091 100644 --- a/lang/romanian-utf-8.inc.php3 +++ b/lang/romanian-utf-8.inc.php3 @@ -645,4 +645,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/russian-dos-866.inc.php3 b/lang/russian-dos-866.inc.php3 index b1dd9ffef..2af906273 100644 --- a/lang/russian-dos-866.inc.php3 +++ b/lang/russian-dos-866.inc.php3 @@ -652,4 +652,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/russian-koi8-r.inc.php3 b/lang/russian-koi8-r.inc.php3 index afc09d2a6..6a8d41394 100644 --- a/lang/russian-koi8-r.inc.php3 +++ b/lang/russian-koi8-r.inc.php3 @@ -650,4 +650,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/russian-utf-8.inc.php3 b/lang/russian-utf-8.inc.php3 index 27895d960..1d12cff28 100644 --- a/lang/russian-utf-8.inc.php3 +++ b/lang/russian-utf-8.inc.php3 @@ -651,4 +651,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/russian-windows-1251.inc.php3 b/lang/russian-windows-1251.inc.php3 index 55949767d..612f5ac7d 100644 --- a/lang/russian-windows-1251.inc.php3 +++ b/lang/russian-windows-1251.inc.php3 @@ -650,4 +650,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/serbian-utf-8.inc.php3 b/lang/serbian-utf-8.inc.php3 index 17f932a2a..88f4eb609 100644 --- a/lang/serbian-utf-8.inc.php3 +++ b/lang/serbian-utf-8.inc.php3 @@ -672,4 +672,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/serbian-windows-1250.inc.php3 b/lang/serbian-windows-1250.inc.php3 index f60eb3f4e..986f6f5f3 100644 --- a/lang/serbian-windows-1250.inc.php3 +++ b/lang/serbian-windows-1250.inc.php3 @@ -671,4 +671,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/slovak-iso-8859-2.inc.php3 b/lang/slovak-iso-8859-2.inc.php3 index 4aa71586a..357446771 100644 --- a/lang/slovak-iso-8859-2.inc.php3 +++ b/lang/slovak-iso-8859-2.inc.php3 @@ -645,4 +645,5 @@ $strZip = '"zo zipovan $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/slovak-utf-8.inc.php3 b/lang/slovak-utf-8.inc.php3 index ae817d959..27d1dfcbd 100644 --- a/lang/slovak-utf-8.inc.php3 +++ b/lang/slovak-utf-8.inc.php3 @@ -646,4 +646,5 @@ $strZip = '"zo zipovanĂ©"'; $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/slovak-windows-1250.inc.php3 b/lang/slovak-windows-1250.inc.php3 index 32fce33a2..50112e9e5 100644 --- a/lang/slovak-windows-1250.inc.php3 +++ b/lang/slovak-windows-1250.inc.php3 @@ -645,4 +645,5 @@ $strZip = '"zo zipovan $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/slovenian-iso-8859-2.inc.php3 b/lang/slovenian-iso-8859-2.inc.php3 index 744b6bdab..ac272b982 100644 --- a/lang/slovenian-iso-8859-2.inc.php3 +++ b/lang/slovenian-iso-8859-2.inc.php3 @@ -649,4 +649,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/slovenian-utf-8.inc.php3 b/lang/slovenian-utf-8.inc.php3 index 19adb1de2..509910da6 100644 --- a/lang/slovenian-utf-8.inc.php3 +++ b/lang/slovenian-utf-8.inc.php3 @@ -650,4 +650,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/slovenian-windows-1250.inc.php3 b/lang/slovenian-windows-1250.inc.php3 index 4745692ca..00f639410 100644 --- a/lang/slovenian-windows-1250.inc.php3 +++ b/lang/slovenian-windows-1250.inc.php3 @@ -649,4 +649,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/spanish-iso-8859-1.inc.php3 b/lang/spanish-iso-8859-1.inc.php3 index e3cacc06a..04b4adc21 100644 --- a/lang/spanish-iso-8859-1.inc.php3 +++ b/lang/spanish-iso-8859-1.inc.php3 @@ -647,4 +647,5 @@ $strReplaceNULLBy = 'Replace NULL by'; //to translate $strUpdComTab = 'Please see Documentation on how to update your Column_comments Table'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/spanish-utf-8.inc.php3 b/lang/spanish-utf-8.inc.php3 index eacf9ceba..dc073ebf7 100644 --- a/lang/spanish-utf-8.inc.php3 +++ b/lang/spanish-utf-8.inc.php3 @@ -648,4 +648,5 @@ $strReplaceNULLBy = 'Replace NULL by'; //to translate $strUpdComTab = 'Please see Documentation on how to update your Column_comments Table'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/swedish-iso-8859-1.inc.php3 b/lang/swedish-iso-8859-1.inc.php3 index 5e5122f7c..b79b97108 100644 --- a/lang/swedish-iso-8859-1.inc.php3 +++ b/lang/swedish-iso-8859-1.inc.php3 @@ -643,4 +643,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/swedish-utf-8.inc.php3 b/lang/swedish-utf-8.inc.php3 index 118879cf9..74913ee91 100644 --- a/lang/swedish-utf-8.inc.php3 +++ b/lang/swedish-utf-8.inc.php3 @@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/thai-tis-620.inc.php3 b/lang/thai-tis-620.inc.php3 index 95dd7b5e1..4df953ae7 100644 --- a/lang/thai-tis-620.inc.php3 +++ b/lang/thai-tis-620.inc.php3 @@ -654,4 +654,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/thai-utf-8.inc.php3 b/lang/thai-utf-8.inc.php3 index 2f29b1fe3..46d79b2dc 100644 --- a/lang/thai-utf-8.inc.php3 +++ b/lang/thai-utf-8.inc.php3 @@ -655,4 +655,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/turkish-iso-8859-9.inc.php3 b/lang/turkish-iso-8859-9.inc.php3 index fd0962dec..2a0321438 100644 --- a/lang/turkish-iso-8859-9.inc.php3 +++ b/lang/turkish-iso-8859-9.inc.php3 @@ -665,4 +665,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/turkish-utf-8.inc.php3 b/lang/turkish-utf-8.inc.php3 index 6eb410e79..2191584a0 100644 --- a/lang/turkish-utf-8.inc.php3 +++ b/lang/turkish-utf-8.inc.php3 @@ -666,4 +666,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/ukrainian-utf-8.inc.php3 b/lang/ukrainian-utf-8.inc.php3 index d9f7d0eef..1d3feb81b 100644 --- a/lang/ukrainian-utf-8.inc.php3 +++ b/lang/ukrainian-utf-8.inc.php3 @@ -645,4 +645,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/lang/ukrainian-windows-1251.inc.php3 b/lang/ukrainian-windows-1251.inc.php3 index 0620708a2..78820888f 100644 --- a/lang/ukrainian-windows-1251.inc.php3 +++ b/lang/ukrainian-windows-1251.inc.php3 @@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate $strExcelOptions = 'Excel options'; //to translate $strReplaceNULLBy = 'Replace NULL by'; //to translate $strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate +$strPaperSize = 'Paper size'; //to translate ?> diff --git a/libraries/config_import.lib.php3 b/libraries/config_import.lib.php3 index c8824ef84..cc2e95feb 100644 --- a/libraries/config_import.lib.php3 +++ b/libraries/config_import.lib.php3 @@ -1070,6 +1070,12 @@ if (!defined('PMA_CONFIG_IMPORT_LIB_INCLUDED')) { if (!isset($cfg['GD2Available'])) { $cfg['GD2Available'] = 'auto'; } + if (!isset($cfg['PDFPageSizes'])) { + $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal'); + } + if (!isset($cfg['PDFDefaultPageSize'])) { + $cfg['PDFDefaultPageSize'] = 'A4'; + } if (!isset($cfg['CtrlArrowsMoving'])) { $cfg['CtrlArrowsMoving'] = TRUE; } diff --git a/pdf_pages.php3 b/pdf_pages.php3 index aed2f3596..2ea6377f0 100755 --- a/pdf_pages.php3 +++ b/pdf_pages.php3 @@ -429,7 +429,19 @@ if ($cfgRelation['pdfwork']) { +
+ +
   same_wide = $all_tab_same_wide; // Initializes a new document - $pdf = new PMA_PDF('L'); + $pdf = new PMA_PDF('L', 'mm', $paper); $pdf->title = sprintf($GLOBALS['strPdfDbSchema'], $GLOBALS['db'], $which_rel); $pdf->cMargin = 0; $pdf->Open(); @@ -1527,7 +1527,8 @@ $show_table_dimension = (isset($show_table_dimension) && $show_table_dimension = $all_tab_same_wide = (isset($all_tab_same_wide) && $all_tab_same_wide == 'on') ? 1 : 0; $with_doc = (isset($with_doc) && $with_doc == 'on') ? 1 : 0; $orientation = (isset($orientation) && $orientation == 'P') ? 'P' : 'L'; +$paper = isset($paper) ? $paper : 'A4'; PMA_mysql_select_db($db); -$rt = new PMA_RT($pdf_page_number, $show_table_dimension, $show_color, $show_grid, $all_tab_same_wide, $orientation); +$rt = new PMA_RT($pdf_page_number, $show_table_dimension, $show_color, $show_grid, $all_tab_same_wide, $orientation, $paper); ?>