Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > ebb1914cf182a88528b4547490db1dd8 > files > 1263

kdewebdev-quanta-doc-3.5.9-2mdv2008.1.x86_64.rpm

<HTML
><HEAD
><TITLE
>PDF_close</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
REL="HOME"
TITLE="PHP Manual"
HREF="manual.html"><LINK
REL="UP"
TITLE="PDF functions"
HREF="ref.pdf.html"><LINK
REL="PREVIOUS"
TITLE="PDF_open"
HREF="function.pdf-open.html"><LINK
REL="NEXT"
TITLE="PDF_begin_page"
HREF="function.pdf-begin-page.html"></HEAD
><BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.pdf-open.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.pdf-begin-page.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.pdf-close"
>PDF_close</A
></H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN21371"
></A
>PDF_close -- Closes a pdf document</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN21374"
></A
><H2
>Description</H2
><DIV
CLASS="funcsynopsis"
><P
></P
><CODE
CLASS="FUNCDEF"
>void pdf_close</CODE
>(int pdf document);<P
></P
></DIV
><P
>&#13;     The <B
CLASS="function"
>PDF_close()</B
> function closes the pdf document.

    <DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Note: </B
>Due to an unclean implementation of the pdflib 0.6 the
     internal closing of the document also closes the file. This should
     not be done because pdflib did not open the file, but expects an
     already open file when <B
CLASS="function"
>PDF_open()</B
> is called.
     Consequently it shouldn't close the file. In order to fix this
     just take out line 190 of the file p_basic.c in the pdflib 0.6
     source distribution until the next release of pdflib will fix
     this.
    </P
></BLOCKQUOTE
></DIV
>

    <DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Note: </B
>
     This function works properly without any patches to pdflib if 
     pdflib 2.0 support is activated.
    </P
></BLOCKQUOTE
></DIV
></P
><P
>&#13;     See also <B
CLASS="function"
>PDF_open()</B
>,
              <A
HREF="function.fclose.html"
><B
CLASS="function"
>fclose()</B
></A
>.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.pdf-open.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="manual.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.pdf-begin-page.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>PDF_open</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.pdf.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>PDF_begin_page</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>