OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Extending Mozilla Tutorial

[ Lists Home | Date Index | Thread Index ]
  • From: "Heikki Toivonen" <heikki@citec.fi>
  • To: <xml-dev@ic.ac.uk>, <XML-L@LISTSERV.HEANET.IE>, <xml-app@sunsite.auc.dk>
  • Date: Tue, 16 Mar 1999 14:06:08 +0200

Extending Mozilla Tutorial

Me (Heikki Toivonen) and Johnny Stenback presented a tutorial
called "Extending Mozilla or How To Do The Impossible" at the
XTech'99 in San Jose, California (March 7).

This tutorial is now online at:

http://www.doczilla.com/development/index.html

We are correcting and updating the handout, which should appear
there shortly. The sample code is downloadable already.

We plan to keep this tutorial up to date so that when the APIs
change we will change our samples as well. This should be the
definitive place to find out how to write XPCOM modules and plugins
and especially how to embed and extend Mozilla in various ways.

All comments are welcome. We would be really interested to know if
there are any errors etc. in this material.

We hope you will find this material useful.


Sample Code


XPCOM Hello World

We created an XPCOM component that can automatically register itself. 
The component's only functionality is that it writes "Hello World!" 
to standard output, but it is the only up to date sample application 
on how to use XPCOM. A sample test program is also provided.


Embedding MozillaControl ActiveX Component

In this sample we have created a simple HTML/XML editor with preview. 
The preview is handled by the MozillaControl. Another tool in this 
sample is a double browser, which has both MozillaControl and the
Microsoft IE ActiveX control side by side. It is easy to check that 
pages you have created will look okay with both products. We used 
Microsoft Access for this sample, which you will need to get something out
of this sample.


Frankenbrowser with DOM Tree View

This sample includes an MFC dialog that shows the documents structure 
in a tree view. It is possible to view a node's content in the tree 
view and also delete nodes in the tree view. Deletions get reflected back
in the viewer.


Embedding NGLayout Programmatically

In this sample we have embedded a web shell in an MFC dialog application. 
It shows how easy it is to add web browser support to any application 
on any platform, although we used only MFC on Windows.


XPCOM Plugin

We are working on an XPCOM plugin sample. It is not yet available.

--
  Heikki Toivonen
  http://www.doczilla.com
  http://www.citec.fi

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS