home *** CD-ROM | disk | FTP | other *** search
- TABLE OF CONTENTS
-
- HTMLtext.mcc/HTMLtext.mcc
- HTMLtext.mcc/MUIA_HTMLtext_Contents
- HTMLtext.mcc/MUIA_HTMLtext_OpenURLHook
- HTMLtext.mcc/MUIA_HTMLtext_Path
- HTMLtext.mcc/MUIA_HTMLtext_Title
- HTMLtext.mcc/MUIM_HTMLtext_URL
- HTMLtext.mcc/HTMLtext.mcc HTMLtext.mcc/HTMLtext.mcc
-
- COPYRIGHT
-
- HTMLtext.mcc
- (C)opyright by Dirk Holtwick
-
- This product is Giftware and the source is available from
- the author and may be used and modified with explicit permission
- of the author Dirk Holtwick.
-
- The HTMLtext class may be used in every project.
-
- DECRIPTION
- The HTMLtext class for MUI dispalys a subset of HTML in a virtual group.
- You may put it into a ScrollgroupObject to move easier through
- the text.
-
- AUTHOR
- Dirk Holtwick
- Grenzdicker Str. 13
- D-47665 Sonsbeck
- dirco@uni-duisburg.de
- http://fsrinfo.uni-duisburg.de/~dirk/
-
- HTMLtext.mcc/MUIA_HTMLtext_Contents HTMLtext.mcc/MUIA_HTMLtext_Contents
-
- NAME
- MUIA_HTMLtext_Contents -- (V1 ) [ISG], STRPTR
-
- FUNCTION
- String to be displayed in the HTMLtext object.
-
- This string may content HTML tags and the equivalent
- closing tags (e.g. <b>..</b>. Not supported tags will not have any
- effect to the output. The structure defined by the HTML specifications
- have to be respected. See example for a simple HTML demo text.
- To know about the supported tags and attributes please refer to
- the documentation of the HTMLtext class.
-
- See also further documentation of the HTML language.
-
- EXAMPLE
- MUIA_HTMLtext_Contents,
- "<html>"
- " <head>"
- " <title>Example</title>"
- " </head>"
- " <body>"
- " <p>A simple example for the HTML class</p>"
- " </body>"
- "</html>"
-
- BUG
- If you set a text with background pattern in a not opened
- window the background may appear crippled. (Don't ask me why!)
-
- SEE ALSO
- MUIM_LoadContents, MUIA_Path, MUIA_Title
-
- HTMLtext.mcc/MUIA_HTMLtext_OpenURLHook HTMLtext.mcc/MUIA_HTMLtext_OpenURLHook
-
- NAME
- MUIA_HTMLtext_OpenURLHook -- [IS.], struct Hook *
-
- FUNCTION
- This hook will be called, always when an URL has to be loaded
- whose protocol is not supported. These URL's may come from
- hyperlinks, image or else.
- The hook function will receive a pointer to a structure described bellow
- in the register a1. In a0 is a pointer to the calling hook and in a2
- a pointer to the calling object.
-
- struct
- {
- char *URL;
- char *TmpFile;
- };
-
- The member 'URL' contains the full name of the URL. 'TmpFile' is the
- name of the file, where to the contents of the URL have to be written.
- HTMLtext will delete this file after use. You have to return FALSE if
- the loading failed.
-
- EXAMPLE
- moreHTML.c
-
- BUGS
- This attribute doesn't work very well. It is better to avoid it,
- until it works stabile in a later version. Image loading isn't done
- by this routine,yet.
-
- SEE ALSO
- MUIA_HTMLtext_URL
-
- HTMLtext.mcc/MUIA_HTMLtext_Path HTMLtext.mcc/MUIA_HTMLtext_Path
-
- NAME
- MUIA_HTMLtext_Path -- (V1 ) [ISG], STRPTR
-
- FUNCTION
- Sets the path to the used document. This value will be used, if
- there are images to load or links to follow and they not have
- a full path. If you use MUIA_HTMLtext_LoadContents, the path will
- be automatically set.
-
- SEE ALSO
- MUIA_HTMLtext_LoadContents
-
- HTMLtext.mcc/MUIA_HTMLtext_Title HTMLtext.mcc/MUIA_HTMLtext_Title
-
- NAME
- MUIA_HTMLtext_Title -- (V1 ) [..G], STRPTR
-
- FUNCTION
- Gets the title of the document currently active. The title has
- to be specified in the text between <title> and </title> tags.
-
- SEE ALSO
- MUIA_HTMLtext_Contents
-
- HTMLtext.mcc/MUIM_HTMLtext_URL HTMLtext.mcc/MUIM_HTMLtext_URL
-
- NAME
- MUIA_HTMLtext_URL -- [ISG], STRPTR
-
- FUNCTION
- Name of an URL to be loaded. If the URL is of an not supported
- protocol, the MUIA_HTMLtext_OpenURLHook will be called.
-
- The only supported protocol, yet, is "file:///". Names without
- any protocol specification will be handled as normal local filenames.
-
- SEE ALSO
- MUIA_HTMLtext_OpenURLHook, MUIM_LoadContents, MUIA_Path, MUIA_Title
-
-