[Next] [Last]


COMPOSER PLUG-IN GUIDE

This guide tells you how to develop plug-ins that extend the HTML-editing functionality of the Composer and Mail Compose windows in Communicator 4.0. It is a developer's guide and complete reference to the Composer Plug-in API, which is written in Java.

Communicator 4.0 -- September 1997


Contents

About This Guide

Conventions Used in This Guide
The Composer Plug-in Development Kit
Developer Products and Support

Chapter 1. Composer Plug-in Basics

How You Can Use Composer Plug-ins
How Composer Plug-ins Work
Using the Composer Plug-in API
Using the Sample Plug-ins

Chapter 2. Development Overview

Using the Composer Plug-in Class Library
Writing Composer Plug-ins
Internationalizing and Localizing Plug-ins
Composer Plug-ins and Security
Registering a Plug-in as a Menu Option or Event Handler
Compiling Plug-ins
Running Plug-ins in the Testbed
Debugging
Troubleshooting
Packaging Composer Plug-ins
Using a Batch File to Create a Zip Archive
Using the JARscript Packager
Installing Composer Plug-ins

Chapter 3. Reading and Writing HTML Tokens

Reading HTML Tokens
Writing HTML Tokens

Chapter 4. Selecting Text

Finding the Start and End Points of a Selection
Creating the Start and End Points of a Selection
Selecting Raw HTML

Chapter 5. Reading and Writing Raw HTML

Reading HTML from the Document
Writing HTML to the Document

Chapter 6. Inserting Images and Local Data Files

Adding Image Files
Adding Local Data Files
Removing Image and Local Data Files

Chapter 7. Working with URLs in a Document

Getting Document and Directory URLs
Opening a URL For Editing

Chapter 8. Displaying Dialog Boxes

User Interface Guidelines
AWT and IFC
Displaying a Dialog Box with AWT
Displaying a Dialog Box with IFC

Chapter 9. Event Handler Plug-ins

How Composer Plug-ins Handle Events
Composer Plug-in Events
Order for Calling Event Handlers
Canceling an Operation
Finding the Trigger Event
Redirecting the Edit Event

Chapter 10. Writing and Using Image Encoders

How the Image Encoder Works in the UI
Image Encoders and Other Composer Plug-ins
Writing an Image Encoder

Chapter 11. Composer Plug-in API Reference

Plug-in Composer Package Classes
IO Package Classes
Testbed Package Classes

Composer Plug-in Kit Download

Copyright


[Next] [Last]

Last Updated: 07/16/97 14:36:53


Copyright © 1997 Netscape Communications Corporation