Application::OpenDocument

Section: ET++ method description (n)
Updated: automatically Fri Mar 1 10:58:03 1991
Index Return to Main Contents
 

NAME

Application::OpenDocument - instance method  

TEMPLATE

void OpenDocument(char * docName)  

SPECIFIERS

public virtual  

DESCRIPTION

OpenDocument is called by the method Open when the user selected the document with name docName and also at application startup to open documents specified on the command line.
First it is checked whether the document can be opened at all through the method CanOpenDocument. If so a new document is created by the method DoMakeDocuments and added to the applications's list of documents. Then the windows of the document are opened by the method Document::OpenWindows and the document's data is read in by the method Document::Load. Method is rarely overridden.  

ARGUMENTS

char * docName

the name of the document to be opened (with or without a leading path name)
 

RETURN ARGUMENT

void

 

CATEGORIES

document handling, overrider interface

 

FIRST DEFINITION

class Application  

FILES

implementation:
Application.C


 

Index

NAME
TEMPLATE
SPECIFIERS
DESCRIPTION
ARGUMENTS
RETURN ARGUMENT
CATEGORIES
FIRST DEFINITION
FILES

This document was created by man2html, using the manual pages.
Time: 00:40:32 GMT, March 30, 2022