2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2004-08-18 14:15:21 +00:00
|
|
|
<!-- $Revision: 1.5 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<!-- splitted from ./en/functions/cpdf.xml, last change in rev 1.2 -->
|
|
|
|
<refentry id="function.cpdf-set-page-animation">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>cpdf_set_page_animation</refname>
|
|
|
|
<refpurpose>Sets duration between pages</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
<methodsynopsis>
|
2003-08-15 14:29:05 +00:00
|
|
|
<type>bool</type><methodname>cpdf_set_page_animation</methodname>
|
2003-02-12 18:05:23 +00:00
|
|
|
<methodparam><type>int</type><parameter>pdf_document</parameter></methodparam>
|
2002-04-15 00:12:54 +00:00
|
|
|
<methodparam><type>int</type><parameter>transition</parameter></methodparam>
|
|
|
|
<methodparam><type>float</type><parameter>duration</parameter></methodparam>
|
2004-08-18 14:15:21 +00:00
|
|
|
<methodparam><type>float</type><parameter>direction</parameter></methodparam>
|
|
|
|
<methodparam><type>int</type><parameter>orientation</parameter></methodparam>
|
|
|
|
<methodparam><type>int</type><parameter>inout</parameter></methodparam>
|
2002-04-15 00:12:54 +00:00
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
|
|
|
The <function>cpdf_set_page_animation</function> function set the
|
2003-08-15 14:29:05 +00:00
|
|
|
transition between following pages. &return.success;
|
2002-04-15 00:12:54 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
The value of <parameter>transition</parameter>
|
|
|
|
can be
|
|
|
|
<simplelist>
|
|
|
|
<member>0 for none,</member>
|
|
|
|
<member>
|
|
|
|
1 for two lines sweeping across the screen reveal the page,
|
|
|
|
</member>
|
|
|
|
<member>
|
|
|
|
2 for multiple lines sweeping across the screen reveal the page,
|
|
|
|
</member>
|
|
|
|
<member>3 for a box reveals the page,</member>
|
|
|
|
<member>
|
|
|
|
4 for a single line sweeping across the screen reveals the page,
|
|
|
|
</member>
|
|
|
|
<member>5 for the old page dissolves to reveal the page,</member>
|
|
|
|
<member>
|
|
|
|
6 for the dissolve effect moves from one screen edge to another,
|
|
|
|
</member>
|
|
|
|
<member>
|
|
|
|
7 for the old page is simply replaced by the new page (default)
|
|
|
|
</member>
|
|
|
|
</simplelist>
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
The value of <parameter>duration</parameter> is the number of seconds
|
|
|
|
between page flipping.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|