Important: The information in this document is obsolete and should not be used for new development.
Creating and Registering a Section
You use theNewSection
function to create a new section (either publisher or subscriber) and alias record (which is a reference to the edition container from the document containing the publisher or subscriber section).The
NewSection
function registers a section much as theRegisterSection
function informs the Edition Manager about a section (except that theNewSection
function does not resolve an alias to find the edition container).When a section needs to be disposed of because the document containing the section is being closed or because the user has canceled the section, you need to call the
UnRegisterSection
function before disposing of the section.Using the
IsRegisteredSection
function, your application must verify that each event received is for a registered section. This is necessary because your application may have just calledUnRegisterSection
while the event was already being held in the event queue.If a user saves a document that contains sections under another name (using Save As) or pastes a portion of a document that contains a section into another document, use the
AssociateSection
function to update the section's alias record.
Subtopics
- NewSection
- RegisterSection
- UnRegisterSection
- IsRegisteredSection
- AssociateSection