greenshot/GreenshotOfficePlugin/OfficeInterop/OneNote/IOneNoteApplication.cs
Krom, Robertus bef29df3db Fixed plugin loading
Moved all office interop types in their own file.
2020-02-18 15:10:37 +01:00

19 lines
No EOL
1.1 KiB
C#

using System;
using Greenshot.Interop;
namespace GreenshotOfficePlugin.OfficeInterop.OneNote
{
[ComProgId("OneNote.Application")]
public interface IOneNoteApplication : ICommon {
/// <summary>
/// Make sure that the out variables are filled with a string, e.g. "", otherwise a type error occurs.
/// For more info on the methods: http://msdn.microsoft.com/en-us/library/gg649853.aspx
/// </summary>
void GetHierarchy(string startNode, HierarchyScope scope, out string notebookXml, XMLSchema schema);
void GetSpecialLocation(SpecialLocation specialLocation, out string specialLocationPath);
void UpdatePageContent(string pageChangesXml, DateTime dateExpectedLastModified, XMLSchema schema, bool force);
void GetPageContent(string pageId, out string pageXml, PageInfo pageInfoToExport, XMLSchema schema);
void NavigateTo(string hierarchyObjectID, string objectId, bool newWindow);
void CreateNewPage(string sectionID, out string pageID, NewPageStyle newPageStyle);
}
}