C# Class OneNoteJournal.OneNoteProvider

Mostra file Open project: richie5um/OneNoteJournal

Private Properties

Property Type Description
GetOneNoteXML string
GetRestrictedHierarchyFromId string
OpenHierarchy void

Public Methods

Method Description
CreatePageFromParentId ( string _strParentId, string _strPageName ) : string
CreateSectionFromParentId ( string _strParentId, string _strName ) : string
CreateSectionGroupFromParentId ( string _strParentId, string _strName ) : string
GetNotebookIdFromName ( string _strName ) : string
GetPageContentFromId ( string _strPageId ) : string
GetPageIdFromParentIdAndPageName ( string _strSectionId, string _strPageName ) : string
GetPathFromId ( string _strId ) : string
GetSectionGroupIdFromParentIdAndName ( string _strParentId, string _strName ) : string
GetSectionIdFromParentIdAndName ( string _strParentId, string _strName ) : string
NavigateToId ( string _strPageId ) : void
OneNoteProvider ( ) : System

Constructor. Create instance of Microsoft.Office.Interop.OneNote.Application and get XML hierarchy.

UpdatePageNameFromPageId ( string _strPageId, string _strPageName ) : void

Private Methods

Method Description
GetOneNoteXML ( string _strStartID, HierarchyScope _hierarchyScope ) : string
GetRestrictedHierarchyFromId ( string _strId, string _strType ) : string
OpenHierarchy ( string strPath, string strRelativeToObjectID, string &strObjectID, CreateFileType createFileType ) : void

Method Details

CreatePageFromParentId() public method

public CreatePageFromParentId ( string _strParentId, string _strPageName ) : string
_strParentId string
_strPageName string
return string

CreateSectionFromParentId() public method

public CreateSectionFromParentId ( string _strParentId, string _strName ) : string
_strParentId string
_strName string
return string

CreateSectionGroupFromParentId() public method

public CreateSectionGroupFromParentId ( string _strParentId, string _strName ) : string
_strParentId string
_strName string
return string

GetNotebookIdFromName() public method

public GetNotebookIdFromName ( string _strName ) : string
_strName string
return string

GetPageContentFromId() public method

public GetPageContentFromId ( string _strPageId ) : string
_strPageId string
return string

GetPageIdFromParentIdAndPageName() public method

public GetPageIdFromParentIdAndPageName ( string _strSectionId, string _strPageName ) : string
_strSectionId string
_strPageName string
return string

GetPathFromId() public method

public GetPathFromId ( string _strId ) : string
_strId string
return string

GetSectionGroupIdFromParentIdAndName() public method

public GetSectionGroupIdFromParentIdAndName ( string _strParentId, string _strName ) : string
_strParentId string
_strName string
return string

GetSectionIdFromParentIdAndName() public method

public GetSectionIdFromParentIdAndName ( string _strParentId, string _strName ) : string
_strParentId string
_strName string
return string

NavigateToId() public method

public NavigateToId ( string _strPageId ) : void
_strPageId string
return void

OneNoteProvider() public method

Constructor. Create instance of Microsoft.Office.Interop.OneNote.Application and get XML hierarchy.
public OneNoteProvider ( ) : System
return System

UpdatePageNameFromPageId() public method

public UpdatePageNameFromPageId ( string _strPageId, string _strPageName ) : void
_strPageId string
_strPageName string
return void