Contents Up Previous Next

wxPMDocManager

we need our own doc-manager derivative to handle functional enhancements which are not present or differ from that in wxDocManager TBD:: ideas...

Derived from

wxDocManager

Data structures

Members

wxPMDocManager::wxPMDocManager
wxPMDocManager::~wxPMDocManager
wxPMDocManager::ActivateDocument
wxPMDocManager::ActivatePMView
wxPMDocManager::AddListener
wxPMDocManager::CloseDocument
wxPMDocManager::CloseWorkplace
wxPMDocManager::CreateDocument
wxPMDocManager::CreatePMDocument
wxPMDocManager::CreateProjectByClass
wxPMDocManager::DoCloseDocument
wxPMDocManager::DoCreateWorkplace
wxPMDocManager::DoSaveDocumentRecursively
wxPMDocManager::FindProjectForOtherFiles
wxPMDocManager::FindTemplateForDocClass
wxPMDocManager::FindTemplateForDocType
wxPMDocManager::FindTemplateForDocument
wxPMDocManager::FindTemplateForPath
wxPMDocManager::GetDocClass
wxPMDocManager::GetMergableMenuChain
wxPMDocManager::NewProject
wxPMDocManager::NewWorkplace
wxPMDocManager::OnCloseAll
wxPMDocManager::OnCloseFile
wxPMDocManager::OnCloseWorkplace
wxPMDocManager::OnDocumentsSwitched
wxPMDocManager::OnNew
wxPMDocManager::OnOpenFile
wxPMDocManager::OnOpenProject
wxPMDocManager::OnOpenURL
wxPMDocManager::OnOpenWorkplace
wxPMDocManager::OnSave
wxPMDocManager::OnSaveAll
wxPMDocManager::OnSaveAs
wxPMDocManager::OnSaveAsURL
wxPMDocManager::OnSaveWorkplace
wxPMDocManager::OpenDocument
wxPMDocManager::OpenProject
wxPMDocManager::OpenWorkplace
wxPMDocManager::RemoveListener
wxPMDocManager::SaveDocument
wxPMDocManager::StartAssociatedServices
wxPMDocManager::StopAssociatedServices


wxPMDocManager::wxPMDocManager

wxPMDocManager(long flags = wxDEFAULT_DOCMAN_FLAGS, bool initialize = TRUE)


wxPMDocManager::~wxPMDocManager

~wxPMDocManager()


wxPMDocManager::ActivateDocument

void ActivateDocument(wxPMDocument* pDoc)


wxPMDocManager::ActivatePMView

void ActivatePMView(wxPMView* pView)


wxPMDocManager::AddListener

void AddListener(wxPMDocumentListener* listener)


wxPMDocManager::CloseDocument

bool CloseDocument(wxPMDocument* pDoc)

-/-


wxPMDocManager::CloseWorkplace

bool CloseWorkplace()


wxPMDocManager::CreateDocument

wxDocument* CreateDocument(const wxString& path, long flags = 0)

overriden methods of wxDocManager


wxPMDocManager::CreatePMDocument

wxPMDocument* CreatePMDocument(const wxPMFileInfo& finfo, long flags = 0, wxDocTemplate* pSingleTemplate = NULL, wxPMDocument* pParentDoc = NULL, bool activate = TRUE)


wxPMDocManager::CreateProjectByClass

wxPMProject* CreateProjectByClass(wxClassInfo* pPrjClass)


wxPMDocManager::DoCloseDocument

bool DoCloseDocument(wxPMDocument* pDoc, bool wasSaved)


wxPMDocManager::DoCreateWorkplace

bool DoCreateWorkplace(wxPMProject* pFirstPrj)


wxPMDocManager::DoSaveDocumentRecursively

bool DoSaveDocumentRecursively(wxPMDocument* pDoc, PMClassInfoListT& docsToSkip, bool closeFlag)


wxPMDocManager::FindProjectForOtherFiles

wxPMProject* FindProjectForOtherFiles()


wxPMDocManager::FindTemplateForDocClass

wxDocTemplate* FindTemplateForDocClass(wxClassInfo* pDocClass)


wxPMDocManager::FindTemplateForDocType

wxDocTemplate* FindTemplateForDocType(const wxString& docTypeName)

some helpers


wxPMDocManager::FindTemplateForDocument

wxDocTemplate* FindTemplateForDocument(wxPMDocument* pDoc)


wxPMDocManager::FindTemplateForPath

wxDocTemplate* FindTemplateForPath(const wxString& path)


wxPMDocManager::GetDocClass

wxClassInfo* GetDocClass(wxDocTemplate* pTempl)


wxPMDocManager::GetMergableMenuChain

wxPMMergableMenuChain* GetMergableMenuChain()


wxPMDocManager::NewProject

void NewProject(wxPMFileInfo& location, wxDocTemplate& templ)

API-level commands


wxPMDocManager::NewWorkplace

void NewWorkplace(wxPMFileInfo& location, wxDocTemplate& templ)


wxPMDocManager::OnCloseAll

void OnCloseAll(wxCommandEvent& event)


wxPMDocManager::OnCloseFile

void OnCloseFile(wxCommandEvent& event)


wxPMDocManager::OnCloseWorkplace

void OnCloseWorkplace(wxCommandEvent& event)


wxPMDocManager::OnDocumentsSwitched

void OnDocumentsSwitched(wxPMDocument* fromDoc, wxPMDocument* toDoc)

notificiation received from MDIframe class (then is delegated to listeners)


wxPMDocManager::OnNew

void OnNew(wxCommandEvent& event)

command-event handlers **


wxPMDocManager::OnOpenFile

void OnOpenFile(wxCommandEvent& event)


wxPMDocManager::OnOpenProject

void OnOpenProject(wxCommandEvent& event)


wxPMDocManager::OnOpenURL

void OnOpenURL(wxCommandEvent& event)


wxPMDocManager::OnOpenWorkplace

void OnOpenWorkplace(wxCommandEvent& event)


wxPMDocManager::OnSave

void OnSave(wxCommandEvent& event)


wxPMDocManager::OnSaveAll

void OnSaveAll(wxCommandEvent& event)


wxPMDocManager::OnSaveAs

void OnSaveAs(wxCommandEvent& event)


wxPMDocManager::OnSaveAsURL

void OnSaveAsURL(wxCommandEvent& event)


wxPMDocManager::OnSaveWorkplace

void OnSaveWorkplace(wxCommandEvent& event)


wxPMDocManager::OpenDocument

wxPMDocument* OpenDocument(const wxPMFileInfo& finfo, wxPMDocument* pParentDoc, bool activate = TRUE)

opens document from file, or activates it if already opened


wxPMDocManager::OpenProject

wxPMProject* OpenProject(const wxPMFileInfo& location)


wxPMDocManager::OpenWorkplace

wxPMWorkplace* OpenWorkplace(const wxPMFileInfo& location)


wxPMDocManager::RemoveListener

void RemoveListener(wxPMDocumentListener* listener)


wxPMDocManager::SaveDocument

bool SaveDocument(wxPMDocument* pDoc)

pDoc can be workplace or project or any other derivative of wxPMDocument


wxPMDocManager::StartAssociatedServices

void StartAssociatedServices(wxPMDocument& doc)

TBD:: comments...


wxPMDocManager::StopAssociatedServices

void StopAssociatedServices(wxPMDocument& doc)