Important: The information in this document is obsolete and should not be used for new development.
Chapter 31 -
This chapter provides a recipe and sample code that demonstrate how to
Working With the Edition Manager
For a detailed overview of MacApp's Edition Manager support, including definitions of commonly used terms, see "Publish and Subscribe," beginning on page 184.
- use MacApp's Edition Manager support in your application to publish and subscribe to data
Chapter Contents
- Overview
- Basic Edition Manager Support
- Designating an Area in a Document
- Publisher and Subscriber Borders
- Section Apple Events
- Recipes--The Edition Manager
- Recipe--Adding Publish and Subscribe Support to Your Application
- Include MacApp Header Files for the Edition Manager
- Include Edition Manager Resources in Your Resource File
- Base Your Document Class on TEditionDocument
- Provide a Document Initialization Method
- Specify the Data Format for Your Subscriber Sections
- GetPublishPreference
- GetSubscriberFormatsMask
- Override the DoWriteData Method to Publish Data
- Override the DoReadData Method to Subscribe to Data
- Notify the Edition Manager When the User Selection Changes
- Override DoAddBorder to Supply a Border Adorner
- Add a Dependency to Trigger Publisher Updates