Embperl - building dynamic websites with Perl


Methods
[ << Prev: Example for generating a serial letter from a database ] [ Content ] [ Next: Author >> ]

Embperl::Syntax::RTF defines the following methods:



Embperl::Syntax::RTF -> new / $self -> newtop

Create a new syntax class. This method should only be called inside a constructor of a derived class.



AddRTFCmd ($cmdname, $procinfo)top

Add a new RTF command with name $cmdname and use processor info from $procinfo. See Embperl::Syntax for a definition of procinfo.



AddRTFCmdWithEnd ($cmdname, $endname, $procinfo)top

Add a new RTF command with name $cmdname and use processor info from $procinfo. Addtionaly specify that a matching $endname RTF command must be found to end the block, that is started by this RTF command. See Embperl::Syntax for a definition of procinfo.



AddRTFCmdBlock ($cmdname, $endname, $procinfostart, $procinfoend)top

Add a new RTF command with name $cmdname and and a second RTF command $endname which ends the block that is started by $cmdname. Use processor info from $procinfo. See Embperl::Syntax for a definition of procinfo.


[ << Prev: Example for generating a serial letter from a database ] [ Content ] [ Next: Author >> ]


© 1997-2023 Gerald Richter / actevy