Browse Source

Added note about creating PDF documents in memory.

This is not quite complete, due to a bug in pdflib 3.0.
PHP-4.0.5
Joey Smith 26 years ago
parent
commit
b952c2c95a
  1. 8
      ext/pdf/pdf.c

8
ext/pdf/pdf.c

@ -438,8 +438,9 @@ PHP_FUNCTION(pdf_set_info_keywords) {
/* }}} */
/* {{{ proto int pdf_open(int filedesc)
Opens a new pdf document */
/* {{{ proto int pdf_open([int filedesc])
Opens a new pdf document. If filedesc is NULL, document is created in memory. This is not yet fully supported.*/
PHP_FUNCTION(pdf_open) {
pval **file;
int id;
@ -475,9 +476,11 @@ PHP_FUNCTION(pdf_open) {
id = zend_list_insert(pdf,PDF_GLOBAL(le_pdf));
RETURN_LONG(id);
}
/* }}} */
/* {{{ proto void pdf_close(int pdfdoc)
Closes the pdf document */
PHP_FUNCTION(pdf_close) {
pval *arg1;
@ -501,6 +504,7 @@ PHP_FUNCTION(pdf_close) {
RETURN_TRUE;
}
/* }}} */
/* {{{ proto void pdf_begin_page(int pdfdoc, double width, double height)

Loading…
Cancel
Save