From e8bb290b211afcd5c1d3aed5ffda4b32672086d9 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 19 May 2005 06:07:05 +0000 Subject: added some stuff about the pseudo mime types used for finer control of the 2005-05-19 Not Zed * evolution-plugin-manual.xml: added some stuff about the pseudo mime types used for finer control of the formatter. svn path=/trunk/; revision=29383 --- doc/devel/evolution-plugin-manual.xml | 48 ++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 4 deletions(-) (limited to 'doc/devel/evolution-plugin-manual.xml') diff --git a/doc/devel/evolution-plugin-manual.xml b/doc/devel/evolution-plugin-manual.xml index aad93ef0f3..d184259ae4 100644 --- a/doc/devel/evolution-plugin-manual.xml +++ b/doc/devel/evolution-plugin-manual.xml @@ -1735,12 +1735,15 @@ Outputs pre-amble information. e.g. Flag-For-Followup - status. + status. The pre-amble renderer is chosen using the pseudo + mime-type x-evolution/message/prefix, and can be + overridden or added to by plugging in to that type. - Invokes format_message to begin the message - formatting. format_message displays the message header, then - looks up the content object. + Looks up a handler for the pseudo mime-type + x-evolution/message/rfc822 and invokes it + to begin message formatting. The default handler displays the + message headers and then formats the message contents. Using the mime-type of the content object (whether @@ -2329,6 +2332,43 @@ com.novell.evolution.mail.format:1.0. + + The mail formatter allows the rendering of attachments to be + overridden based on the mime-type of the attachment. There are + additional pseudo-mime-types which can be hooked on to to override + some basic functions. These types are invalid mime-types so cannot + occur in received messages. + + + + + + + + + x-evolution/message/prefix + If it exists, this handler will be called before any + other content is output. This can be used to display global + message-information, such as follow-up details. Normally + this handler should chain its call to the parent handler once + it is finished. + + + x-evolution/message/rfc822 + This handler is called to output messages, including + attached messages. The default handler will output the + user-desired message headers and then render the message + content. It also does some processing to do with secured + message validation contexts. As this is not a simple + handler, generally this hook point should only be used to + supplement the prefix output where it is desirable to operate + on attached messages. + + + + + + Base Formatter -- cgit