calc: on editing invalidation of view with different zoom is wrong
[LibreOffice.git] / shell / source / win32 / spsupp / spsupp.idl
blob45d5f47b13a1c066526ba389e2d2d10e941f15b2
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
11 uuid(580411ED-80EC-4834-BA1F-2EB07A49C80B),
12 version(0.1),
13 helpstring("LibreOffice SharePoint Client Support Type Library v.0.1")
15 library spsupp
17 // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046}
18 importlib("stdole2.tlb");
20 // Forward declare all types defined in this typelib
21 interface IOWSNewDocument;
22 interface IOWSNewDocument2;
23 interface IOWSNewDocument3;
26 odl,
27 uuid(7B678CDE-D71C-4954-ACC7-A92A96BF70DB),
28 helpstring("IOWSNewDocument Interface"),
29 dual,
30 oleautomation
32 interface IOWSNewDocument : IDispatch {
33 [id(0x60020000)]
34 HRESULT CreateNewDocument(
35 [in] BSTR bstrTemplateLocation,
36 [in] BSTR bstrDefaultSaveLocation,
37 [out, retval] VARIANT_BOOL* pbResult);
38 [id(0x60020001)]
39 HRESULT EditDocument(
40 [in] BSTR bstrDocumentLocation,
41 [in, optional] VARIANT varProgID,
42 [out, retval] VARIANT_BOOL* pbResult);
46 odl,
47 uuid(470D72F8-C6E2-40D1-B844-4FF73DB69EC5),
48 helpstring("IOWSNewDocument2 Interface"),
49 dual,
50 oleautomation
52 interface IOWSNewDocument2 : IOWSNewDocument {
53 [id(0x60030000)]
54 HRESULT ViewDocument(
55 [in] BSTR bstrDocumentLocation,
56 [in, optional] VARIANT varProgID,
57 [out, retval] VARIANT_BOOL* pbResult);
58 [id(0x60030001)]
59 HRESULT ViewDocument2(
60 [in] IDispatch* pdisp,
61 [in] BSTR bstrDocumentLocation,
62 [in, optional] VARIANT varProgID,
63 [out, retval] VARIANT_BOOL* pbResult);
64 [id(0x60030002)]
65 HRESULT EditDocument2(
66 [in] IDispatch* pdisp,
67 [in] BSTR bstrDocumentLocation,
68 [in, optional] VARIANT varProgID,
69 [out, retval] VARIANT_BOOL* pbResult);
70 [id(0x60030003)]
71 HRESULT CreateNewDocument2(
72 [in] IDispatch* pdisp,
73 [in] BSTR bstrTemplateLocation,
74 [in] BSTR bstrDefaultSaveLocation,
75 [out, retval] VARIANT_BOOL* pbResult);
76 [id(0x60030004)]
77 HRESULT PromptedOnLastOpen([out, retval] VARIANT_BOOL* pbResult);
81 odl,
82 uuid(4D144CA3-2336-4E15-A7D1-A4B151D07CC7),
83 helpstring("IOWSNewDocument3 Interface"),
84 dual,
85 oleautomation
87 interface IOWSNewDocument3 : IOWSNewDocument2 {
88 [id(0x60040000)]
89 HRESULT ViewDocument3(
90 [in] IDispatch* pdisp,
91 [in] BSTR bstrDocumentLocation,
92 [in] int OpenType,
93 [in, optional] VARIANT varProgID,
94 [out, retval] VARIANT_BOOL* pbResult);
95 [id(0x60040001)]
96 HRESULT CheckinDocument(
97 [in] BSTR bstrDocumentLocation,
98 [in] int CheckinType,
99 [in] BSTR CheckinComment,
100 [in, defaultvalue(FALSE)] VARIANT_BOOL bKeepCheckout,
101 [out, retval] VARIANT_BOOL* pbResult);
102 [id(0x60040002)]
103 HRESULT DiscardLocalCheckout(
104 [in] BSTR bstrDocumentLocationRaw,
105 [out, retval] VARIANT_BOOL* pbResult);
106 [id(0x60040003)]
107 HRESULT ViewInExcel(
108 [in] BSTR SiteUrl,
109 [in] BSTR FileName,
110 [in] BSTR SessionId,
111 [in] BSTR Cmd,
112 [in] BSTR Sheet,
113 [in] int Row,
114 [in] int Column,
115 [in, optional] VARIANT varProgID);
116 [id(0x60040004)]
117 HRESULT CheckoutDocumentPrompt(
118 [in] BSTR bstrDocumentLocationRaw,
119 [in] VARIANT_BOOL fEditAfterCheckout,
120 [in, optional] VARIANT varProgID,
121 [out, retval] VARIANT_BOOL* pbResult);
122 [id(0x60040005)]
123 HRESULT EditDocument3(
124 [in] IDispatch* pdisp,
125 [in] BSTR bstrDocumentLocation,
126 [in] VARIANT_BOOL fUseLocalCopy,
127 [in, optional] VARIANT varProgID,
128 [out, retval] VARIANT_BOOL* pbResult);
129 [id(0x60040006)]
130 HRESULT NewBlogPost(
131 [in] BSTR bstrProviderId,
132 [in] BSTR bstrBlogUrl,
133 [in] BSTR bstrBlogName);
137 uuid(4AD14812-2807-48B1-A27F-BA836D874E45),
138 helpstring("COMOpenDocuments Class")
140 coclass COMOpenDocuments {
141 [default] interface IOWSNewDocument;
142 interface IOWSNewDocument2;
143 interface IOWSNewDocument3;
147 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */