Date: 03/30/01
- Next message: ohrn <email protected>: "[PHP-DEV] PHP 4.0 Bug #9774 Updated: OCIColumnType() returns similar, but non-specific datatypes"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #10079 Updated: Header Function Within IF construct"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 9821
Updated by: ohrn
Reported By: sigurd <email protected>
Old-Status: Assigned
Status: Closed
Old-Bug Type: Feature/Change Request
Bug Type: ClibPDF related
Assigned To:
Comments:
Fixed in CVS.
Previous Comments:
---------------------------------------------------------------------------
[2001-03-18 14:57:01] ohrn <email protected>
I'll look into it.
---------------------------------------------------------------------------
[2001-03-18 14:45:32] sigurd <email protected>
Just thought I'd leave my small patch for making the cpdf_set_viewer_preferences work a bit. I can't seem
to find anywhere else to leave it.
----BEGIN PATCH
--- php-4.0.4pl1/ext/cpdf/cpdf.c Wed Oct 25 19:43:49 2000
+++ php-4.0.4pl1/ext/cpdf/cpdf.c Tue Mar 6 19:51:41 2001
@@ -338,6 +339,7 @@
/* {{{ proto void cpdf_set_viewer_preferences(int pdfdoc, int pagemode)
How to show the document by the viewer */
PHP_FUNCTION(cpdf_set_viewer_preferences) {
+ CPDFviewerPrefs vP = { 0, 0, 0, 0, 0, 0, 0, 0 };
pval *argv[6];
int id, type, pagemode;
int argc;
@@ -361,6 +363,9 @@
}
/* cpdf_setViewerPreferences(pdf, pagemode, 0, 0, 0, 0, 0, 0, pagemode); */
+ vP.pageMode=pagemode;
+ vP.nonFSPageMode=pagemode;
+ cpdf_setViewerPreferences(pdf, &vP);
RETURN_TRUE;
}
---END PATCH
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9821&edit=2
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: ohrn <email protected>: "[PHP-DEV] PHP 4.0 Bug #9774 Updated: OCIColumnType() returns similar, but non-specific datatypes"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #10079 Updated: Header Function Within IF construct"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

