cvs: /phpdoc/functions hw.sgml pdf.sgml
| From: | Uwe Steinmann | Date: | Wed, 27 Oct 1999 05:54:39 +0000 |
| Subject: | cvs: /phpdoc/functions hw.sgml pdf.sgml | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11934@lists.php.net to get a copy of this message | ||
steinm Wed Oct 27 01:54:39 1999 EDT
Modified files:
/phpdoc/functions hw.sgml pdf.sgml
Log:
- documented hw_mapid
- some more comments to prevent common problems with pdf module
Index: phpdoc/functions/hw.sgml
diff -u phpdoc/functions/hw.sgml:1.10 phpdoc/functions/hw.sgml:1.11
--- phpdoc/functions/hw.sgml:1.10 Wed Oct 20 18:41:42 1999
+++ phpdoc/functions/hw.sgml Wed Oct 27 01:54:38 1999
@@ -1381,6 +1381,37 @@
</refsect1>
</refentry>
+ <refentry id="function.hw-mapid">
+ <refnamediv>
+ <refname>hw_mapid</refname>
+ <refpurpose>Maps global id on virtual local id</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>int <function>hw_mapid</function></funcdef>
+ <paramdef>int <parameter>connection</parameter></paramdef>
+ <paramdef>int <parameter>server id</parameter></paramdef>
+ <paramdef>int <parameter>object id</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ Maps a global object id on any hyperwave server, even those
+ you did not connect to with <function>hw_connect</function>,
+ onto a virtual object id. This virtual object id can then be
+ used as any other object id, e.g. to obtain the object record
+ with <function>hw_getobject</function>. The server id is the
+ first part of the global object id (GOid) of the object which
+ is actually the IP number as an integer.</para>
+ <para>
+ Note: In order to use this function you will have to set
+ the F_DISTRIBUTED flag, which can currently only be set at
+ compile time in hg_comm.c. It is not set by default. Read
+ the comment at the beginning of hg_comm.c
+ </para>
+ </refsect1>
+ </refentry>
+
+
<refentry id="function.hw-modifyobject">
<refnamediv>
<refname>hw_Modifyobject</refname>
Index: phpdoc/functions/pdf.sgml
diff -u phpdoc/functions/pdf.sgml:1.12 phpdoc/functions/pdf.sgml:1.13
--- phpdoc/functions/pdf.sgml:1.12 Wed Oct 20 18:41:42 1999
+++ phpdoc/functions/pdf.sgml Wed Oct 27 01:54:38 1999
@@ -596,7 +596,9 @@
<para>
The <function>PDF_begin_page</function> function starts a new
page with height <parameter>height</parameter> and width
- <parameter>width</parameter>.</para>
+ <parameter>width</parameter>. In order to create a valid
+ document you must call this function and
+ <function>PDF_end_page</function>.</para>
<para>
See also <function>PDF_end_page</function>.</para>
@@ -700,6 +702,12 @@
An encoding greater than 4 and less than 0 will default to winansi.
winansi is often a good choice. If the last parameter is set to
1 the font is embedded into the pdf document otherwise it is not.
+
+ <note><simpara>
+ This function has to be called after
+ <function>PDF_begin_page</function> in order to create a
+ valid pdf document.
+ </simpara></note>
<note><simpara>
This function does not need the afm files for winansi encoding if