Contents Up Previous Next

wxPMDocumentListener

Listener interface for receiving document-management related notifications

Derived from

No base class

Data structures

Members

wxPMDocumentListener::OnClosingDocument
wxPMDocumentListener::OnDocumentChangesDiscarded
wxPMDocumentListener::OnDocumentClosed
wxPMDocumentListener::OnDocumentOpened
wxPMDocumentListener::OnDocumentSaved
wxPMDocumentListener::OnDocumentsSwitched
wxPMDocumentListener::OnOpeningDocument
wxPMDocumentListener::OnWorkplaceClosing
wxPMDocumentListener::OnWorkplaceOpened


wxPMDocumentListener::OnClosingDocument

bool OnClosingDocument(wxPMDocument& doc, wxOutputStream* s, wxPMSerializer* ser)

methods which allow listeners storing/loading their extra data data which they have associated with a particular document RETURN: FALSE if operation should fail


wxPMDocumentListener::OnDocumentChangesDiscarded

void OnDocumentChangesDiscarded(wxPMDocument& doc)


wxPMDocumentListener::OnDocumentClosed

void OnDocumentClosed(wxPMDocument& doc, bool saved)


wxPMDocumentListener::OnDocumentOpened

void OnDocumentOpened(wxPMDocument& doc, bool created)


wxPMDocumentListener::OnDocumentSaved

void OnDocumentSaved(wxPMDocument& doc)

state-related events between opening and closing


wxPMDocumentListener::OnDocumentsSwitched

void OnDocumentsSwitched(wxPMDocument* fromDoc, wxPMDocument* toDoc)


wxPMDocumentListener::OnOpeningDocument

bool OnOpeningDocument(wxPMDocument& doc, wxInputStream* s, wxPMSerializer* ser)


wxPMDocumentListener::OnWorkplaceClosing

void OnWorkplaceClosing(wxPMWorkplace& workplace)


wxPMDocumentListener::OnWorkplaceOpened

void OnWorkplaceOpened(wxPMWorkplace& workplace)