LibreOffice Module shell (master) 1
spsupp.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3* This file is part of the LibreOffice project.
4*
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*/
9
10[
11 uuid(580411ED-80EC-4834-BA1F-2EB07A49C80B),
12 version(0.1),
13 helpstring("LibreOffice SharePoint Client Support Type Library v.0.1")
14]
15library spsupp
16{
17 // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046}
18 importlib("stdole2.tlb");
19
20 // Forward declare all types defined in this typelib
21 interface IOWSNewDocument;
22 interface IOWSNewDocument2;
23 interface IOWSNewDocument3;
24
25 [
26 odl,
27 uuid(7B678CDE-D71C-4954-ACC7-A92A96BF70DB),
28 helpstring("IOWSNewDocument Interface"),
29 dual,
30 oleautomation
31 ]
32 interface IOWSNewDocument : IDispatch {
33 [id(0x60020000)]
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);
43 };
44
45 [
46 odl,
47 uuid(470D72F8-C6E2-40D1-B844-4FF73DB69EC5),
48 helpstring("IOWSNewDocument2 Interface"),
49 dual,
50 oleautomation
51 ]
53 [id(0x60030000)]
54 HRESULT ViewDocument(
55 [in] BSTR bstrDocumentLocation,
56 [in, optional] VARIANT varProgID,
57 [out, retval] VARIANT_BOOL* pbResult);
58 [id(0x60030001)]
60 [in] IDispatch* pdisp,
61 [in] BSTR bstrDocumentLocation,
62 [in, optional] VARIANT varProgID,
63 [out, retval] VARIANT_BOOL* pbResult);
64 [id(0x60030002)]
66 [in] IDispatch* pdisp,
67 [in] BSTR bstrDocumentLocation,
68 [in, optional] VARIANT varProgID,
69 [out, retval] VARIANT_BOOL* pbResult);
70 [id(0x60030003)]
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);
78 };
79
80 [
81 odl,
82 uuid(4D144CA3-2336-4E15-A7D1-A4B151D07CC7),
83 helpstring("IOWSNewDocument3 Interface"),
84 dual,
85 oleautomation
86 ]
88 [id(0x60040000)]
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)]
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)]
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)]
118 [in] BSTR bstrDocumentLocationRaw,
119 [in] VARIANT_BOOL fEditAfterCheckout,
120 [in, optional] VARIANT varProgID,
121 [out, retval] VARIANT_BOOL* pbResult);
122 [id(0x60040005)]
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);
134 };
135
136 [
137 uuid(4AD14812-2807-48B1-A27F-BA836D874E45),
138 helpstring("COMOpenDocuments Class")
139 ]
141 [default] interface IOWSNewDocument;
142 interface IOWSNewDocument2;
143 interface IOWSNewDocument3;
144 };
145};
146
147/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
struct _ADOColumn Column
HRESULT ViewDocument2([in] IDispatch *pdisp, [in] BSTR bstrDocumentLocation, [in, optional] VARIANT varProgID, [out, retval] VARIANT_BOOL *pbResult)
HRESULT CreateNewDocument2([in] IDispatch *pdisp, [in] BSTR bstrTemplateLocation, [in] BSTR bstrDefaultSaveLocation, [out, retval] VARIANT_BOOL *pbResult)
HRESULT PromptedOnLastOpen([out, retval] VARIANT_BOOL *pbResult)
HRESULT ViewDocument([in] BSTR bstrDocumentLocation, [in, optional] VARIANT varProgID, [out, retval] VARIANT_BOOL *pbResult)
HRESULT EditDocument2([in] IDispatch *pdisp, [in] BSTR bstrDocumentLocation, [in, optional] VARIANT varProgID, [out, retval] VARIANT_BOOL *pbResult)
HRESULT NewBlogPost([in] BSTR bstrProviderId, [in] BSTR bstrBlogUrl, [in] BSTR bstrBlogName)
HRESULT EditDocument3([in] IDispatch *pdisp, [in] BSTR bstrDocumentLocation, [in] VARIANT_BOOL fUseLocalCopy, [in, optional] VARIANT varProgID, [out, retval] VARIANT_BOOL *pbResult)
HRESULT CheckinDocument([in] BSTR bstrDocumentLocation, [in] int CheckinType, [in] BSTR CheckinComment, [in, defaultvalue(FALSE)] VARIANT_BOOL bKeepCheckout, [out, retval] VARIANT_BOOL *pbResult)
HRESULT CheckoutDocumentPrompt([in] BSTR bstrDocumentLocationRaw, [in] VARIANT_BOOL fEditAfterCheckout, [in, optional] VARIANT varProgID, [out, retval] VARIANT_BOOL *pbResult)
HRESULT DiscardLocalCheckout([in] BSTR bstrDocumentLocationRaw, [out, retval] VARIANT_BOOL *pbResult)
HRESULT ViewDocument3([in] IDispatch *pdisp, [in] BSTR bstrDocumentLocation, [in] int OpenType, [in, optional] VARIANT varProgID, [out, retval] VARIANT_BOOL *pbResult)
HRESULT ViewInExcel([in] BSTR SiteUrl, [in] BSTR FileName, [in] BSTR SessionId, [in] BSTR Cmd, [in] BSTR Sheet, [in] int Row, [in] int Column, [in, optional] VARIANT varProgID)
HRESULT CreateNewDocument([in] BSTR bstrTemplateLocation, [in] BSTR bstrDefaultSaveLocation, [out, retval] VARIANT_BOOL *pbResult)
HRESULT EditDocument([in] BSTR bstrDocumentLocation, [in, optional] VARIANT varProgID, [out, retval] VARIANT_BOOL *pbResult)
CFUUIDRef uuid
importlib("stdole2.tlb")