COM / ActiveX SDK Documentation  2022 SP0
OdSmX.idl
Go to the documentation of this file.
1 import "oaidl.idl";
2 import "ocidl.idl";
3 #include "TDVersion.h"
4 //FELIX_CHANGE_BEGIN
5 #ifdef WIN64
6  #if ( _MSC_VER == 1700 ) //Visual Studio 2012
7  #include "GUIDS_vc11_x64.h"
8  #elif ( _MSC_VER == 1900 ) //Visual Studio 2015
9  #include "GUIDS_vc14_x64.h"
10  #elif ( _MSC_VER >= 1910 && _MSC_VER < 1920) //Visual Studio 2017
11  #include "GUIDS_vc15_x64.h"
12  #elif ( _MSC_VER >= 1920 && _MSC_VER < 1930) //Visual Studio 2019
13  #include "GUIDS_vc16_x64.h"
14  #else
15  #error Invalid Visual Studio version!
16  #endif
17 #else
18  #if ( _MSC_VER == 1700 ) //Visual Studio 2012
19  #include "GUIDS_vc11_x86.h"
20  #elif ( _MSC_VER == 1900 ) //Visual Studio 2015
21  #include "GUIDS_vc14_x86.h"
22  #elif ( _MSC_VER >= 1910 && _MSC_VER < 1920) //Visual Studio 2017
23  #include "GUIDS_vc15_x86.h"
24  #elif ( _MSC_VER >= 1920 && _MSC_VER < 1930) //Visual Studio 2019
25  #include "GUIDS_vc16_x86.h"
26  #else
27  #error Invalid Visual Studio version!
28  #endif
29 #endif
30 
31 import "odax.idl";
32 
33 [
34  TD_LIBID_SM,
35  //FELIX_CHANGE_BEGIN
36  /*
37  TD_TYPELIB_VER(TD_MAJOR_VERSION,TD_MINOR_VERSION),
38 #ifdef WIN64
39  #if ( _MSC_VER == 1700 ) //Visual Studio 2012
40  helpstring("PCAD_SM_X " TD_SHORT_STRING_VER_S " (x64) (vc11) Type Library")
41  #elif ( _MSC_VER == 1900 ) //Visual Studio 2015
42  helpstring("PCAD_SM_X " TD_SHORT_STRING_VER_S " (x64) (vc14) Type Library")
43  #else
44  #error Invalid Visual Studio version!
45  #endif
46 #else
47  #if ( _MSC_VER == 1700 ) //Visual Studio 2012
48  helpstring("PCAD_SM_X " TD_SHORT_STRING_VER_S " (x86) (vc11) Type Library")
49  #elif ( _MSC_VER == 1900 ) //Visual Studio 2015
50  helpstring("PCAD_SM_X " TD_SHORT_STRING_VER_S " (x86) (vc14) Type Library")
51  #else
52  #error Invalid Visual Studio version!
53  #endif
54 #endif
55 */
56  TD_TYPELIB_VER( TD_MAJOR_VERSION , FX_VERSION ) ,
57 #ifdef WIN64
58  #if ( _MSC_VER == 1700 ) //Visual Studio 2012
59  helpstring( "PCAD_SM_X " TD_TYPELIB_VER_STR_S " (x64) (vc11) Type Library" )
60  #elif ( _MSC_VER == 1900 ) //Visual Studio 2015
61  helpstring( "PCAD_SM_X " TD_TYPELIB_VER_STR_S " (x64) (vc14) Type Library" )
62  #elif ( _MSC_VER >= 1910 && _MSC_VER < 1920 ) //Visual Studio 2017
63  helpstring( "PCAD_SM_X " TD_TYPELIB_VER_STR_S " (x64) (vc15) Type Library")
64  #elif ( _MSC_VER >= 1920 && _MSC_VER < 1930 ) //Visual Studio 2019
65  helpstring( "PCAD_SM_X " TD_TYPELIB_VER_STR_S " (x64) (vc16) Type Library")
66  #else
67  #error Invalid Visual Studio version!
68  #endif
69 #else
70  #if ( _MSC_VER == 1700 ) //Visual Studio 2012
71  helpstring( "PCAD_SM_X " TD_TYPELIB_VER_STR_S " (x86) (vc11) Type Library" )
72  #elif ( _MSC_VER == 1900 ) //Visual Studio 2015
73  helpstring( "PCAD_SM_X " TD_TYPELIB_VER_STR_S " (x86) (vc14) Type Library" )
74  #elif ( _MSC_VER >= 1910 && _MSC_VER < 1920 ) //Visual Studio 2017
75  helpstring( "PCAD_SM_X " TD_TYPELIB_VER_STR_S " (x64) (vc15) Type Library")
76  #elif ( _MSC_VER >= 1920 && _MSC_VER < 1930 ) //Visual Studio 2019
77  helpstring( "PCAD_SM_X " TD_TYPELIB_VER_STR_S " (x64) (vc16) Type Library")
78  #else
79  #error Invalid Visual Studio version!
80  #endif
81 #endif
82  //FELIX_CHANGE_END
83 ]
84 
85 library PCAD_SM_X
86 //FELIX_CHANGE_END
87 
88 {
89  interface IAcSmPersist;
90  interface IAcSmObjectId;
91  interface IAcSmComponent;
92  interface IAcSmSubset;
93  interface IAcSmSheetSet;
94  interface IAcSmSheet;
95  interface IAcSmViewCategories;
96  interface IAcSmSheetViews;
97  interface IAcSmEnumSheetView;
98  interface IAcSmSheetView;
99  interface IAcSmFiler;
100  interface IAcSmAcDbDatabase;
101  interface IAcSmDatabase;
102 
103  [object,uuid("ce030fd3-3646-4924-a445-a14982a96408"),hidden]
104  interface IAcSmDatabase_Internal : IUnknown
105  {
106  HRESULT SaveToFileForced();
107  HRESULT GetFileRevision([out] long* pfilerev);
108  HRESULT GetDbFingerPrint([out] BSTR* fingerprintguid);
109  };
110 
111  typedef [uuid(B9EB75EC-3432-4a18-AD38-4F41A0109350)]
112  enum
113  {
114  EMPTY = 0,
117  IS_CHILD = 4
118  }
120 
121  [object,uuid("0070c60f-987a-4349-9e0a-3acba0cc9c5b")]
122  interface IAcSmAcDbDatabase : IUnknown
123  {
124  [helpstring("Returns an IAcadDatabase, which is deleted when main refcount goes to zero."), helpcontext(0x00000001)]
125  HRESULT GetIAcadDatabase([out, retval] IAcadDatabase** pIAcadDatabase);
126  [helpstring("Returns an AcDbDatabase, which is deleted when main refcount goes to zero."), helpcontext(0x00000001)]
127  HRESULT GetAcDbDatabase([out, retval] void** ppAcDbDatabase);
128  };
129 
130  typedef [uuid(9646D733-C7EB-4306-99C5-A2F45DC7178A)]
131  enum
132  {
161  }
162  AcSmEvent;
163 
164  typedef [uuid("352629d3-ad04-45d5-9f78-73714132347f")]
165  enum
166  {
173  }
175 
176  typedef [uuid("5a943186-ffc1-4708-86c8-123029970629")]
177  enum
178  {
182 
183  [object,uuid("8e974876-ff7f-48d3-8435-a6328ccc496f"),
184  helpstring("Filer interface utilized by an IAcSmDatabase database.")]
185  interface IAcSmFiler : IUnknown
186  {
187  [helpstring("Reserved for future use. Filer initialization."), helpcontext(0x00000001)]
188  HRESULT Init(
189  [in] IUnknown* pUnk,
190  [in] IAcSmDatabase* pDb,
191  [in] VARIANT_BOOL bForWrite);
192  [helpstring("Reserved for future use. Explicit closing of the filer."), helpcontext(0x00000001)]
193  HRESULT Close([in] VARIANT_BOOL bSuccess);
194  [helpstring("Reserved for future use. Retrieve the associated IAcSmDatabase."), helpcontext(0x00000001)]
195  HRESULT GetDatabase([out, retval] IAcSmDatabase** ppDb);
196  [helpstring("Reserved for future use. Pushes the currently written object onto the filer's stack."), helpcontext(0x00000001)]
198  [helpstring("Reserved for future use. Completes the write transaction for the topmost object on the filer's stack."), helpcontext(0x00000001)]
199  HRESULT PopCurrentWriteObject([in] long bSuccess);
200  [helpstring("Reserved for future use. Pushes the currently read object onto the filer's stack."), helpcontext(0x00000001)]
201  HRESULT PushCurrentReadObject([in] IAcSmPersist* pObj);
202  [helpstring("Reserved for future use. Completes the read transaction for the topmost object on the filer's stack."), helpcontext(0x00000001)]
203  HRESULT PopCurrentReadObject([in] long bSuccess);
204  [helpstring("Reserved for future use. Retrieves the currently processed object."), helpcontext(0x00000001)]
205  HRESULT GetCurrentObject([out, retval] IAcSmPersist** pVal);
206  [helpstring("Reserved for future use. Retrieves header information for the currently processed object."), helpcontext(0x00000001)]
208  [out] SAFEARRAY** names,
209  [out] SAFEARRAY** values);
210  [helpstring("Reserved for future use. Retrieves the current revision number on disk."), helpcontext(0x00000001)]
211  HRESULT GetRevisionNumber([out, retval] long* pRevisionNum);
212  [helpstring("Reserved for future use. Read an IAcSmPersist object at the current position."), helpcontext(0x00000001)]
213  HRESULT ReadObject([out, retval] IAcSmPersist** ppObj);
214  [helpstring("Reserved for future use. Read a property (name and value) at the current position."), helpcontext(0x00000001)]
215  HRESULT ReadProperty(
216  [out] BSTR* ppPropname,
217  [out] VARIANT* pVal);
218  [helpstring("Reserved for future use. Read raw data at the current position. Used for proxy objects."), helpcontext(0x00000001)]
219  HRESULT ReadRawData(
220  [out] unsigned char** p,
221  [out] long* count);
222  [helpstring("Reserved for future use. Write out the provided IAcSmPersist object at the current position."), helpcontext(0x00000001)]
223  HRESULT WriteObject([in] IAcSmPersist* pObj);
224  [helpstring("Reserved for future use. Write out the provided property at the current position."), helpcontext(0x00000001)]
225  HRESULT WriteProperty(
226  [in] BSTR pPropname,
227  [in] VARIANT* pVal);
228  [helpstring("Reserved for future use. Write raw data at the current position. Used for proxy objects."), helpcontext(0x00000001)]
229  HRESULT WriteRawData(
230  [in] unsigned char* p,
231  [in] long count);
232  [restricted, hidden]
233  HRESULT ReadGuid([out, retval] GUID* pGuid);
234  [restricted, hidden]
235  HRESULT ReadInt([out, retval] long* pInt);
236  [restricted, hidden]
237  HRESULT ReadDouble([out, retval] double* pDbl);
238  [restricted, hidden]
239  HRESULT ReadString([out, retval] BSTR* pStr);
240  [restricted, hidden]
241  HRESULT ReadBytes(
242  [out] unsigned char** p,
243  [in, out] long* count);
244  [restricted, hidden]
245  HRESULT WriteGuid([in] GUID id);
246  [restricted, hidden]
247  HRESULT WriteInt([in] long pInt);
248  [restricted, hidden]
249  HRESULT WriteDouble([in] double pDbl);
250  [restricted, hidden]
251  HRESULT WriteString([in] BSTR s);
252  [restricted, hidden]
253  HRESULT WriteBytes(
254  [in] unsigned char* p,
255  [in] long count);
256  };
257 
258 
259  [object,uuid("ab9e4650-c3a8-4747-8d89-80731a4644a1")
260  ,helpstring("The persistence base interface utilized by an IAcSmDatabase database.")]
261  interface IAcSmPersist : IUnknown
262  {
263  [hidden, helpstring("The CLSID of the coClass that implements this persistable object."), helpcontext(0x00000001)]
264  HRESULT GetClassID([out, retval] GUID* p);
265  [helpstring("Is this object modified?"), helpcontext(0x00000001)]
266  HRESULT GetIsDirty([out, retval] VARIANT_BOOL* pVal);
267  [helpstring("Reserved for future use. Loads the object using the provided filer."), helpcontext(0x00000001)]
268  HRESULT Load([in] IAcSmFiler* pFiler);
269  [helpstring("Reserved for future use. Saves the object to the provided filer."), helpcontext(0x00000001)]
270  HRESULT Save([in] IAcSmFiler* pFiler);
271  [helpstring("Retrieves the coClass descriptive name. Mainly used by the filer."), helpcontext(0x00000001)]
272  HRESULT GetTypeName([out, retval] BSTR* pVal);
273  [helpstring("Initialization of a new instance."), helpcontext(0x00000001)]
274  HRESULT InitNew([in] IAcSmPersist* pOwner);
275  [helpstring("Retrieves the owning IAcSmPersist parent object."), helpcontext(0x00000001)]
276  HRESULT GetOwner([out, retval] IAcSmPersist** ppOwner);
277  [helpstring("Sets the owner IAcSmPersist object."), helpcontext(0x00000001)]
278  HRESULT SetOwner([in] IAcSmPersist* pOwner);
279  [helpstring("Retrieves the IAcSmDatabase that this object lives in."), helpcontext(0x00000001)]
280  HRESULT GetDatabase([out, retval] IAcSmDatabase** ppDb);
281  [helpstring("Retrieves the IAcSmObjectId of this object."), helpcontext(0x00000001)]
282  HRESULT GetObjectId([out, retval] IAcSmObjectId** ppId);
283  [helpstring("Reset the object and perform clean-up. Leaves object in an un-initialized state."), helpcontext(0x00000001)]
284  HRESULT Clear();
285  [helpstring("Returns an array of the directly owned objects."), helpcontext(0x00000001)]
286  HRESULT GetDirectlyOwnedObjects([out] SAFEARRAY** objects);
287  };
288 
289  [object,uuid("da800d3b-975c-4381-9531-358328792650")]
291  {
292  [helpstring("Retrieves the VARIANT value associated."), helpcontext(0x00000001)]
293  HRESULT GetValue([out, retval] VARIANT* value);
294  [helpstring("Sets the VARIANT value associated."), helpcontext(0x00000001)]
295  HRESULT SetValue([in] VARIANT value);
296  [helpstring("Retrieves the property flags associated with this value."), helpcontext(0x00000001)]
297  HRESULT GetFlags([out, retval] PropertyFlags* value);
298  [helpstring("Sets the property flags associated with this value."), helpcontext(0x00000001)]
299  HRESULT SetFlags([in] PropertyFlags value);
300  };
301 
302  [object,uuid("476cbb88-8878-419d-a8c5-a9ced89d5a37")]
303  interface IAcSmEnumProperty : IUnknown
304  {
305  [helpstring("Iterates to and returns the next element."), helpcontext(0x00000001)]
306  HRESULT Next(
307  [out] BSTR* propname,
308  [out] IAcSmCustomPropertyValue** ppValue);
309  [helpstring("Resets the enumerator before the first element."), helpcontext(0x00000001)]
310  HRESULT Reset();
311  };
312 
313  [object,uuid("fa893fe9-247c-44ec-b437-541c0f09f5fc")]
315  {
316  [helpstring("Retrieves the custom property value associated with the provided property name."), helpcontext(0x00000001)]
317  HRESULT GetProperty(
318  [in] BSTR name,
319  [out, retval] IAcSmCustomPropertyValue** value);
320  [helpstring("Sets a custom property value associated with the provided property name."), helpcontext(0x00000001)]
321  HRESULT SetProperty(
322  [in] BSTR name,
323  [in] IAcSmCustomPropertyValue* value);
324  [helpstring("Returns an enumerator on all contained properties."), helpcontext(0x00000001)]
325  HRESULT GetPropertyEnumerator([out, retval] IAcSmEnumProperty** enumerator);
326  };
327 
328  [object,
329  helpstring("The IAcSmComponent interface defines the basic behavior for every IAcSmDatabase related component."),
330  uuid("0e463002-12a4-4828-b4cf-28d8cbf8c768")]
332  {
333  [helpstring("Retrieves the name property of the component."), helpcontext(0x00000001)]
334  HRESULT GetName([out, retval] BSTR* name);
335  [helpstring("Sets/Modifies the name property of the component."), helpcontext(0x00000001)]
336  HRESULT SetName([in] BSTR name);
337  [helpstring("Retrieves the description associated with the component."), helpcontext(0x00000001)]
338  HRESULT GetDesc([out, retval] BSTR* desc);
339  [helpstring("Sets/Modifies the description associated with the component."), helpcontext(0x00000001)]
340  HRESULT SetDesc([in] BSTR desc);
341  [helpstring("Retrieves the custom property bag of this component."), helpcontext(0x00000001)]
342  HRESULT GetCustomPropertyBag([out, retval] IAcSmCustomPropertyBag** bag);
343  };
344 
345  [object,uuid("b86d90c3-7d13-4180-8f97-61c09fa15902")]
347  {
348  [helpstring("Sets/Modifies the filename that this reference object will reference."), helpcontext(0x00000001)]
349  HRESULT SetFileName([in] BSTR pValue);
350  [helpstring("Retrieves the filename property of this file reference."), helpcontext(0x00000001)]
351  HRESULT GetFileName([out, retval] BSTR* ppValue);
352  [helpstring("Attempts to locate the referenced file. Will return S_FALSE if the file cannot be located."), helpcontext(0x00000001)]
353  HRESULT ResolveFileName([out, retval] BSTR* pResult);
354  };
355 
356  [object,helpstring("This is the base interface for a reference to an AcDbObject."),uuid("25b22534-b1f7-402c-82d6-d36fac620d69")]
358  {
359  [helpstring("Sets/Modifies the AcDbHandle (as a string) that this object will reference."), helpcontext(0x00000001)]
360  HRESULT SetAcDbHandle([in] BSTR handle);
361  [helpstring("Retrieves the AcDbHandle (as a string) of the referenced AcDbObject."), helpcontext(0x00000001)]
362  HRESULT GetAcDbHandle([out, retval] BSTR* phandle);
363  [helpstring("Returns an opened AcSmAcDbDatabase in which the referenced AcDbObject resides."), helpcontext(0x00000001)]
364  HRESULT GetAcSmAcDbDatabase([out, retval] IAcSmAcDbDatabase** ppAcSmAcDbDatabase);
365  [helpstring("Sets/Modifies all relevant properties of this object reference from the provided AcDbObject pointer. This is the recommented way of initializing an IAcSmAcDbObjectReference."), helpcontext(0x00000001)]
366  HRESULT SetAcDbObject([in] IAcadObject* pAcDbObject);
367  [helpstring("Attempts to locate the referenced AcDbObject in the provided AcDbDatabase."), helpcontext(0x00000001)]
369  [in] IAcadDatabase* pAcDbDatabase,
370  [out, retval] BSTR* phandle);
371  };
372  [object, helpstring("This interface is a specialization of the IAcSmAcDbObjectReference for named objects."),
373  uuid("c5e0c361-9e43-4574-a0ab-defa483511e4")]
375  {
376  [helpstring("Sets/Modifies the name for the referenced object."), helpcontext(0x00000001)]
377  HRESULT SetName([in] BSTR name);
378  [helpstring("Retrieves the name associated with the referenced object."), helpcontext(0x00000001)]
379  HRESULT GetName([out, retval] BSTR* phandle);
380  [helpstring("Sets/Modifies the AcDbHandle (as a string) of the owning AcDbObject. This is needed since the name by itself doesn't provide enough information about the nature of the referenced AcDbObject."), helpcontext(0x00000001)]
381  HRESULT SetOwnerAcDbHandle([in] BSTR handle);
382  [helpstring("Retrieves the AcDbHandle (as a string) of the parent AcDbObject of the referenced object."), helpcontext(0x00000001)]
383  HRESULT GetOwnerAcDbHandle([out, retval] BSTR* phandle);
384  };
385 
386  [object,helpstring("Refers to a specific layout object within a drawing."),
387  uuid("c91d5f15-0faa-4787-8f12-89e2f514924e")]
389  {};
390 
391  [object,helpstring("IAcSmComponent object enumerator."),uuid("330cd4d2-73fe-43dc-85cc-48263863cfba")]
392  interface IAcSmEnumComponent : IUnknown
393  {
394  [helpstring("Iterates to and returns the next element."), helpcontext(0x00000001)]
395  HRESULT Next([out, retval] IAcSmComponent** comp);
396  [helpstring("Resets the enumerator before the first element."), helpcontext(0x00000001)]
397  HRESULT Reset();
398  };
399 
400  [object,helpstring("Refers to a specific view object within a drawing."),uuid("978f1c91-bb5f-46e8-bd7a-ac20d0052606")]
402  {};
403 
404  [object,helpstring("Refers to a specific block table record within a drawing."),uuid("e44501c6-a13f-487c-96a7-63da2085f4ea")]
406  {};
407 
408  [object,helpstring("IAcSmEnumAcDbBlockRecordReference object enumerator."),uuid("19c204ed-39d8-4060-8256-b5a2c81d6f25")]
410  {
411  [helpstring("Iterates to and returns the next element."), helpcontext(0x00000001)]
412  HRESULT Next([out, retval] IAcSmAcDbBlockRecordReference** ppRef);
413  [helpstring("Resets the enumerator before the first element."), helpcontext(0x00000001)]
414  HRESULT Reset();
415  };
416 
417  [object,helpstring("Callout blocks collection. A collection of IAcSmAcDbBlockRecordReference components."),uuid("cfbf491d-19c4-4893-9c4b-bc3dfb6d5e64")]
419  {
420  [helpstring("Appends the provided IAcSmAcDbBlockRecordReference component to the collection."), helpcontext(0x00000001)]
421  HRESULT Add([in] IAcSmAcDbBlockRecordReference* pBlkRef);
422  [helpstring("Removes the specified IAcSmAcDbBlockRecordReference component from the collection."), helpcontext(0x00000001)]
423  HRESULT Remove([in] IAcSmAcDbBlockRecordReference* pBlkRef);
424  [helpstring("Returns an enumerator of the contained IAcSmAcDbBlockRecordReference components in the collection."), helpcontext(0x00000001)]
425  HRESULT GetEnumerator([out, retval] IAcSmEnumAcDbBlockRecordReference** enumerator);
426  };
427 
428  [object,helpstring("Sheet selection set interface."),
429  uuid("1bea479e-ec3a-49b8-94e5-cfcee92c4afe")]
431  {
432  [helpstring("Adds the provided component to the selection set."), helpcontext(0x00000001)]
433  HRESULT Add([in] IAcSmComponent* comp);
434  [helpstring("Removes the specified component from the selection set."), helpcontext(0x00000001)]
435  HRESULT Remove([in] IAcSmComponent* comp);
436  [helpstring("Returns an enumerator of the components in the selection set."), helpcontext(0x00000001)]
437  HRESULT GetEnumerator([out, retval] IAcSmEnumComponent** enumerator);
438  };
439 
440  [object,helpstring("IAcSmEnumSheetSelSet object enumerator."),uuid("e8c8d548-3b80-4810-b866-617a7b916fe8")]
441  interface IAcSmEnumSheetSelSet : IUnknown
442  {
443  [helpstring("Iterates to and returns the next element."), helpcontext(0x00000001)]
444  HRESULT Next([out, retval] IAcSmSheetSelSet** selset);
445  [helpstring("Resets the enumerator before the first element."), helpcontext(0x00000001)]
446  HRESULT Reset();
447  };
448 
449  [object,helpstring("Collection of selection sets (IAcSmSheetSelSet components)."),
450  uuid("20786806-b251-4277-b119-94209c2ea7f9")]
452  {
453  [helpstring("Constructs a new selection set component (and adds it to the collection)."), helpcontext(0x00000001)]
454  HRESULT Add( [in]BSTR name, [in]BSTR desc, [out,retval]IAcSmSheetSelSet** selset);
455  [helpstring("Removes the specificed selection set from the collection."), helpcontext(0x00000001)]
456  HRESULT Remove([in] IAcSmSheetSelSet* selset);
457  [helpstring("Returns an enumerator of the selection sets in the collection."), helpcontext(0x00000001)]
458  HRESULT GetEnumerator([out, retval] IAcSmEnumSheetSelSet** enumerator);
459  };
460 
461  [object,helpstring("IAcSmEnumFileReference object enumerator."),uuid("73fcecfa-6343-4630-889b-d03cbfbc2431")]
462  interface IAcSmEnumFileReference : IUnknown
463  {
464  [helpstring("Iterates to and returns the next element."), helpcontext(0x00000001)]
465  HRESULT Next([out, retval] IAcSmFileReference** ppRef);
466  [helpstring("Resets the enumerator before the first element."), helpcontext(0x00000001)]
467  HRESULT Reset();
468  };
469 
470  [object,helpstring("Resources collection. A collection of IAcSmFileReference components."),uuid("b448171b-d56c-4834-bf45-3d2ed0a66229")]
472  {
473  [helpstring("Appends the provided IAcSmFileReference component to the collection."), helpcontext(0x00000001)]
474  HRESULT Add([in] IAcSmFileReference* pResource);
475  [helpstring("Removes the specified IAcSmFileReference component from the collection."), helpcontext(0x00000001)]
476  HRESULT Remove([in] IAcSmFileReference* pResource);
477  [helpstring("Returns an enumerator of the contained IAcSmFileReference components in the collection."), helpcontext(0x00000001)]
478  HRESULT GetEnumerator([out, retval] IAcSmEnumFileReference** enumerator);
479  };
480 
481  [object,helpstring("Publish options interface."),uuid("147981d1-af77-42a1-8b91-4994a16a59fd")]
483  {
484  [helpstring("Reserved for future use. Retrieves an IAcSmFileReference to the default output directory."), helpcontext(0x00000001)]
485  HRESULT GetDefaultOutputdir([out, retval] IAcSmFileReference** ppValue);
486  [helpstring("Reserved for future use. Sets/Modifies the default output directory."), helpcontext(0x00000001)]
488  [helpstring("Reserved for future use. Retrieves the DWF type property."), helpcontext(0x00000001)]
489  HRESULT GetDwfType([out, retval] VARIANT_BOOL* pValue);
490  [helpstring("Reserved for future use. Sets/Modifies the DWF type property."), helpcontext(0x00000001)]
491  HRESULT SetDwfType([in] VARIANT_BOOL value);
492  [helpstring("Reserved for future use. Retrieves the boolean flag that indicates if the application should prompt for name."), helpcontext(0x00000001)]
493  HRESULT GetPromptForName([out, retval] VARIANT_BOOL* pValue);
494  [helpstring("Reserved for future use. Sets/Modifies the boolean flag that indicates if the application should prompt for name."), helpcontext(0x00000001)]
495  HRESULT SetPromptForName([in] VARIANT_BOOL value);
496  [helpstring("Reserved for future use. Retrieves the boolean flag that indicates if a password should be used."), helpcontext(0x00000001)]
497  HRESULT GetUsePassword([out, retval] VARIANT_BOOL* pValue);
498  [helpstring("Reserved for future use. Sets/Modifies the boolean flag that indicates if a password should be used."), helpcontext(0x00000001)]
499  HRESULT SetUsePassword([in] VARIANT_BOOL value);
500  [helpstring("Reserved for future use. Retrieves the boolean flag that indicates if a password should be prompted for."), helpcontext(0x00000001)]
501  HRESULT GetPromptForPassword([out, retval] VARIANT_BOOL* pValue);
502  [helpstring("Reserved for future use. Sets/Modifies the boolean flag that indicates if a password should be prompted for."), helpcontext(0x00000001)]
503  HRESULT SetPromptForPassword([in] VARIANT_BOOL value);
504  [helpstring("Reserved for future use. Retrieves the boolean flag that indicates if layer info should be used."), helpcontext(0x00000001)]
505  HRESULT GetLayerInfo([out, retval] VARIANT_BOOL* pValue);
506  [helpstring("Reserved for future use. Sets/Modifies the boolean flag that indicates if layer info should be used."), helpcontext(0x00000001)]
507  HRESULT SetLayerInfo([in] VARIANT_BOOL value);
508  [helpstring("Reserved for future use. Gets the publish options 'Unregcognized Data' -- see publish apis for documentation and use."), helpcontext(0x00000001)]
509  HRESULT GetUnrecognizedData([out, retval] IAcSmCustomPropertyBag** bag);
510  [helpstring("Reserved for future use. Sets the publish options 'Unregcognized Data' -- see publish apis for documentation and use."), helpcontext(0x00000001)]
512  [helpstring("Reserved for future use. Gets the publish options 'Unregcognized Section Array' - see the AcPlDSDData publish API."), helpcontext(0x00000001)]
513  HRESULT GetUnrecognizedSections([out, retval] IAcSmCustomPropertyBag** sectionArray);
514  [helpstring("Reserved for future use. Sets the publish options 'Unregcognized Section Array' - see the AcPlDSDData publish API."), helpcontext(0x00000001)]
515  HRESULT SetUnrecognizedSections([in] IAcSmCustomPropertyBag* sectionArray);
516  };
517 
518  [object,helpstring("The callback interface used for event notifications."),uuid("56832073-a227-43f5-b5e9-bb4f0e4c7ad4")]
519  interface IAcSmEvents : IUnknown
520  {
521  [helpstring("Called to notify for the occurance of an event."), helpcontext(0x00000001)]
522  HRESULT OnChanged(
523  [in] AcSmEvent eventcode,
524  [in] IAcSmPersist* comp);
525  };
526 
527  [object,helpstring("IAcSmEnumPersist object enumerator."),uuid("746e7d4f-0024-44ae-8753-f1ccae44072c")]
528  interface IAcSmEnumPersist : IUnknown
529  {
530  [helpstring("Iterates to and returns the next element."), helpcontext(0x00000001)]
531  HRESULT Next([out, retval] IAcSmPersist** ppObject);
532  [helpstring("Resets the enumerator before the first element."), helpcontext(0x00000001)]
533  HRESULT Reset();
534  };
535 
536  [object,helpstring("Proxy component interface."),uuid("d5bb3e7e-2af7-4d10-94b3-213ffdaf16c8")]
538  {
539  [hidden, helpstring("Reserved for future use. Sets/Modifies the CLSID of the component that this proxy is impersonating."), helpcontext(0x00000001)]
540  HRESULT SetClassID([in] GUID classID);
541  [helpstring("Reserved for future use. Sets/Modifies the type name of the component that this proxy is impersonating."), helpcontext(0x00000001)]
542  HRESULT SetTypeName([in] BSTR value);
543  [hidden, helpstring("Reserved for future use. Retrieves the raw serialized data that this proxy is associated with."), helpcontext(0x00000001)]
544  HRESULT GetRawData(
545  [out] unsigned char** ppData,
546  [out] long* pBufSize);
547  };
548 
549  [object,helpstring("Object reference interface. Used to reference any IAcSmPersist object."),uuid("adf37497-a661-4306-b048-a703e842d2fa")]
551  {
552  [helpstring("Sets/Modifies what IAcSmPersist object should be referenced."), helpcontext(0x00000001)]
553  HRESULT SetReferencedObject([in] IAcSmPersist* pObject);
554  [helpstring("Retrieves the referenced IAcSmPersist object."), helpcontext(0x00000001)]
555  HRESULT GetReferencedObject([out, retval] IAcSmPersist** ppObject);
556  [helpstring("Retrieves the referencing flags that define the kind of referencing that this reference object should implement."), helpcontext(0x00000001)]
557  HRESULT GetReferenceFlags([out, retval] AcSmObjectReferenceFlags* value);
558  [helpstring("Sets/Modifies the referencing flags that define the kind of referencing that this reference object should implement."), helpcontext(0x00000001)]
560  };
561 
562  [object,uuid("0b79150e-c037-48ad-a93f-2ff6d3104d11"),hidden]
564  {
565  HRESULT GetName([out] BSTR* name);
566  HRESULT SetName([in] BSTR name);
567  HRESULT GetURL([out] BSTR* url);
568  HRESULT SetURL([in] BSTR url);
569  HRESULT GetFolder([out] BSTR* folder);
570  HRESULT SetFolder([in] BSTR folder);
571  HRESULT GetUsername([out] BSTR* username);
572  HRESULT SetUsername([in] BSTR username);
573  HRESULT GetPassword([out] BSTR* password);
574  HRESULT SetPassword([in] BSTR password);
575  };
576 
577  [object,uuid("af02d3b1-a2e4-44c7-85ae-01038365dec2")]
578  interface IAcSmEnumProjectPointLocation : IUnknown
579  {
580  HRESULT Next([out, retval] IAcSmProjectPointLocation** location);
581  HRESULT Reset();
582  };
583 
584  [object,uuid("2760e2a6-c735-4a97-8260-f1af212c8a4d")]
586  {
587  HRESULT GetLocation(
588  [in] BSTR locationName,
589  [out] IAcSmProjectPointLocation** location);
590  HRESULT RemoveLocation([in] IAcSmProjectPointLocation* location);
591  HRESULT AddNewLocation(
592  [in] BSTR name,
593  [in] BSTR url,
594  [in] BSTR folder,
595  [in] BSTR username,
596  [in] BSTR password,
597  [out] IAcSmProjectPointLocation** location);
598  HRESULT GetEnumerator([out, retval] IAcSmEnumProjectPointLocation** enumerator);
599  };
600 
601  [object, helpstring("The main database 'backbone' interface that provides multi-user and component inventoring services."),
602  uuid("5585723a-4859-4dd9-9913-996484d6060d")]
604  {
605  [helpstring("Loads or re-loads the database. The template filename can be used to initalize the db from another dst file, or it can be null to simply re-load."), helpcontext(0x00000001)]
606  HRESULT LoadFromFile([in, defaultvalue("0")] BSTR templateDstFileName);
607  [helpstring("Retrieves the physical filename that this database is persisted."), helpcontext(0x00000001)]
608  HRESULT GetFileName([out, retval] BSTR* pVal);
609  [helpstring("Set the physical filename for this database. Can be set only once."), helpcontext(0x00000001)]
610  HRESULT SetFileName([in] BSTR newVal);
611  [helpstring("Gets template dst filename that was passed to LoadFromFile to create this database. Read-only. Only set when db is first loaded from the template"), helpcontext(0x00000001)]
612  HRESULT GetTemplateDstFileName([out, retval] BSTR* filename);
613  [helpstring("Retrieve the IAcSmSheetSet component contained in the database."), helpcontext(0x00000001)]
614  HRESULT GetSheetSet([out, retval] IAcSmSheetSet** pVal);
615  [helpstring("Locks the database, allowing modification to its contained components."), helpcontext(0x00000001)]
616  HRESULT LockDb([in] IUnknown* pObject);
617  [helpstring("Unlocks the database. The bCommit parameter determines if any changes should be commited to disk."), helpcontext(0x00000001)]
618  HRESULT UnlockDb(
619  [in] IUnknown* pobject,
620  [in, defaultvalue(-1)] VARIANT_BOOL bCommit);
621  [helpstring("Retrieves the locking status of the database."), helpcontext(0x00000001)]
622  HRESULT GetLockStatus([out, retval] AcSmLockStatus* pLockStatus);
623  [helpstring("Returns information about the current lock owner (username and machine)."), helpcontext(0x00000001)]
625  [out] BSTR* pstrUserName,
626  [out] BSTR* pstrMachineName);
627  [helpstring("Retrieves the IAcSmObjectId for a given handle, or generates a new ID."), helpcontext(0x00000001)]
628  HRESULT GetNewObjectId(
629  [in] BSTR hand,
630  [out] long* idcookie,
631  [out, retval] IAcSmObjectId** ppId);
632  [helpstring("Provides the means for constructing component graphs. The idCookie is used as a security key."), helpcontext(0x00000001)]
633  HRESULT RegisterOwner(
634  [in] long idcookie,
635  [in] IAcSmPersist* pobject,
636  [in] IAcSmPersist* pOwner);
637  [helpstring("Returns an enumerator of all objects contained in the database."), helpcontext(0x00000001)]
638  HRESULT GetEnumerator([out, retval] IAcSmEnumPersist** ppEnum);
639  [helpstring("Registers a callback notification handler. Returns a unique cookie identifier for this handler."), helpcontext(0x00000001)]
640  HRESULT Register(
641  [in] IAcSmEvents* eventHandler,
642  [out, retval] long* cookie);
643  [helpstring("Unregisters a previously registered callback notification handler."), helpcontext(0x00000001)]
644  HRESULT Unregister([in] long cookie);
645  [helpstring("Forces a given notification to all registered notification handlers."), helpcontext(0x00000001)]
647  [in] AcSmEvent eventcode,
648  [in] IAcSmPersist* comp);
649  [helpstring("Locates an IAcSmPersist object based on the persisted object instance handle."), helpcontext(0x00000001)]
650  HRESULT FindObject(
651  [in] BSTR hand,
652  [out, retval] IAcSmPersist** ppObject);
653  [hidden, helpstring("Locates an array of IAcSmAcDbObjectReference objects that reference the provided AcDbObject."), helpcontext(0x00000001)]
655  [in] IAcadObject* pAcDbobject,
656  [out, retval] SAFEARRAY** ppObjects);
657  [helpstring("Updates the hints in the open drawings that are referenced by this database."), helpcontext(0x00000001)]
659  [helpstring("Retrieves a flag indicating a non-persisted database."), helpcontext(0x00000001)]
660  HRESULT GetIsTemporary([out, retval] VARIANT_BOOL* isTemporary);
661  [helpstring("Marks this database as non-persisted."), helpcontext(0x00000001)]
662  HRESULT SetIsTemporary();
663  [helpstring("Get database version number."), helpcontext(0x00000001)]
664  HRESULT GetDbVersion([out, retval] BSTR* bs);
665  };
666 
667  [object,helpstring("The IAcSmObjectId interface uniquely identifies each component."),uuid("42634426-cdfb-4e32-ad46-992ceb3b1596")]
668  interface IAcSmObjectId : IUnknown
669  {
670  [helpstring("Retrieves the persisted (unique) string handle."), helpcontext(0x00000001)]
671  HRESULT GetHandle([out, retval] BSTR* hand);
672  [helpstring("Returns the owning IAcSmDatabase."), helpcontext(0x00000001)]
673  HRESULT GetDatabase([out, retval] IAcSmDatabase** ppDb);
674  [helpstring("Returns the instance of the component that this IAcSmObjectId identifies."), helpcontext(0x00000001)]
675  HRESULT GetPersistObject([out, retval] IAcSmPersist** ppObj);
676  [helpstring("Retrieves the owning component."), helpcontext(0x00000001)]
677  HRESULT GetOwner([out, retval] IAcSmPersist** ppObj);
678  [helpstring("Compares this IAcSmObjectId with another one. Returns true if both IDs reference the same component."), helpcontext(0x00000001)]
679  HRESULT IsEqual(
680  [in] IAcSmObjectId* pId,
681  [out, retval] VARIANT_BOOL* pResult);
682  [helpstring("Is this IAcSmObjectId referencing the same component?"), helpcontext(0x00000001)]
683  HRESULT IsValid([out, retval] VARIANT_BOOL* pResult);
684  };
685 
686  [object,helpstring("IAcSmDatabase object enumerator."),
687  uuid("02aacc99-5c5a-4528-a00a-73f71c51439b")]
688  interface IAcSmEnumDatabase : IUnknown
689  {
690  [helpstring("Iterates to and returns the next element."), helpcontext(0x00000001)]
691  HRESULT Next([out, retval] IAcSmDatabase** db);
692  [helpstring("Resets the enumerator before the first element."), helpcontext(0x00000001)]
693  HRESULT Reset();
694  };
695 
696  [object,helpstring("Subset component interface."),uuid("8cceb838-acf5-4048-b9f0-09a843ca2ac4")]
698  {
699  [helpstring("Returns the IAcSmFileReference that points to the file system location where new sheets will be created."), helpcontext(0x00000001)]
700  HRESULT GetNewSheetLocation([out, retval] IAcSmFileReference** ppFileRef);
701  [helpstring("Sets the IAcSmFileReference that points to the file system location where new sheets will be created."), helpcontext(0x00000001)]
702  HRESULT SetNewSheetLocation([in] IAcSmFileReference* pFileRef);
703  [helpstring("Returns the IAcSmAcDbLayoutReference that points to the AcDbLayout to be used as a template for new sheet creation."), helpcontext(0x00000001)]
704  HRESULT GetDefDwtLayout([out, retval] IAcSmAcDbLayoutReference** ppLayoutRef);
705  [helpstring("Sets the IAcSmAcDbLayoutReference that points to the AcDbLayout to be used as a template for new sheet creation."), helpcontext(0x00000001)]
706  HRESULT SetDefDwtLayout([in] IAcSmAcDbLayoutReference* pLayoutRef);
707  [helpstring("Returns the boolean flag that indicates if the application should prompt for DWT file."), helpcontext(0x00000001)]
708  HRESULT GetPromptForDwt([out, retval] VARIANT_BOOL* askForDwt);
709  [helpstring("Sets the boolean flag that indicates if the application should prompt for DWT file."), helpcontext(0x00000001)]
710  HRESULT SetPromptForDwt([in] VARIANT_BOOL askForDwt);
711  [helpstring("Returns an enumerator of all components contained in this subset (ordered)."), helpcontext(0x00000001)]
712  HRESULT GetSheetEnumerator([out, retval] IAcSmEnumComponent** enumerator);
713  [helpstring("Constructs a new sheet component. The new sheet is NOT automatically inserted into the collection."), helpcontext(0x00000001)]
714  HRESULT AddNewSheet(
715  [in] BSTR name,
716  [in] BSTR desc,
717  [out, retval] IAcSmSheet** newSheet);
718  [helpstring("Inserts the provided object before the specified component."), helpcontext(0x00000001)]
720  [in] IAcSmComponent* newSheet,
721  [in] IAcSmComponent* beforeComp);
722  [helpstring("Inserts the provided object after the specified component."), helpcontext(0x00000001)]
724  [in] IAcSmComponent* newSheet,
725  [in] IAcSmComponent* afterComp);
726  [helpstring("Constructs a new sheet component that references the existing layout pointed by the provided IAcSmAcDbLayoutReference."), helpcontext(0x00000001)]
727  HRESULT ImportSheet(
728  [in] IAcSmAcDbLayoutReference* pLayoutRef,
729  [out, retval] IAcSmSheet** newSheet);
730  [helpstring("Removes the specified sheet component from the collection."), helpcontext(0x00000001)]
731  HRESULT RemoveSheet(IAcSmSheet* sheet);
732  [helpstring("Constructs a new subset component. The new subset is NOT automatically inserted into the collection."), helpcontext(0x00000001)]
733  HRESULT CreateSubset(
734  [in] BSTR name,
735  [in] BSTR desc,
736  [out, retval] IAcSmSubset** subset);
737  [helpstring("Removes the specified subset component from the collection."), helpcontext(0x00000001)]
738  HRESULT RemoveSubset([in] IAcSmSubset* subset);
739  [helpstring("Forces a given notification to all registered notification handlers."), helpcontext(0x00000001)]
741  [in] AcSmEvent eventcode,
742  [in] IAcSmPersist* comp);
743  [helpstring("Updates the hints in the open drawings that are referenced in this subset."), helpcontext(0x00000001)]
745  };
746 
747  [object,helpstring("The Sheet set component interface."),uuid("537476a6-e9e9-4e25-b6ea-fb5b8b086153")]
749  {
750  [helpstring("Returns the IAcSmFileReference component that references the drawing/template which contains the alternative page setups."), helpcontext(0x00000001)]
751  HRESULT GetAltPageSetups([out, retval] IAcSmFileReference** ppDwtRef);
752  [helpstring("Sets the IAcSmFileReference component referencing the drawing/template which contains the alternative page setups."), helpcontext(0x00000001)]
753  HRESULT SetAltPageSetups([in] IAcSmFileReference* pDwtRef);
754  [helpstring("Returns the IAcSmNamedAcDbObjectReference component that references the default page setup within the DWT that contains the alt. page setups."), helpcontext(0x00000001)]
755  HRESULT GetDefAltPageSetup([out, retval] IAcSmNamedAcDbObjectReference** ppAltPageSetup);
756  [helpstring("Sets the IAcSmNamedAcDbObjectReference component referencing the default page setup within the DWT that contains the alt. page setups."), helpcontext(0x00000001)]
757  HRESULT SetDefAltPageSetup([in] IAcSmNamedAcDbObjectReference* pAltPageSetup);
758  [helpstring("Retrieves the flag that indicates if the user interface should prompt for new drawing's name."), helpcontext(0x00000001)]
759  HRESULT GetPromptForDwgName([out, retval] VARIANT_BOOL* askForName);
760  [helpstring("Sets/Modifies the flag that indicates if the user interface should prompt for new drawing's name."), helpcontext(0x00000001)]
761  HRESULT SetPromptForDwgName([in] VARIANT_BOOL askForName);
762  [helpstring("Returns the collection of the sheet selection set components associated with this sheet set."), helpcontext(0x00000001)]
763  HRESULT GetSheetSelSets([out, retval] IAcSmSheetSelSets** ppSheetSelSets);
764  [helpstring("Returns the collection of the resources associated with this sheet set."), helpcontext(0x00000001)]
765  HRESULT GetResources([out, retval] IAcSmResources** ppResources);
766  [helpstring("Returns the collection of callout block references that are associated with this sheet set."), helpcontext(0x00000001)]
767  HRESULT GetCalloutBlocks([out, retval] IAcSmCalloutBlocks** ppCalloutBlocks);
768  [helpstring("Reserved for future use. Returns the collection of the view categories contained in this sheet set."), helpcontext(0x00000001)]
769  HRESULT GetViewCategories([out, retval] IAcSmViewCategories** ppViewCategories);
770  [helpstring("Returns the IAcSmAcDbBlockRecordReference component that references the label block definition for the sheet set."), helpcontext(0x00000001)]
771  HRESULT GetDefLabelBlk([out, retval] IAcSmAcDbBlockRecordReference** ppLabelBlkRef);
772  [helpstring("Sets the IAcSmAcDbBlockRecordReference component that references the label block definition for the sheet set."), helpcontext(0x00000001)]
773  HRESULT SetDefLabelBlk([in] IAcSmAcDbBlockRecordReference* pLabelBlkRef);
774  [helpstring("Returns the collection of the publish options contained in this sheet set."), helpcontext(0x00000001)]
775  HRESULT GetPublishOptions([out, retval] IAcSmPublishOptions** ppPublishOptions);
776  [helpstring("Updates the sheet view components in the sheet set that are related to the provided AcDbDatabase."), helpcontext(0x00000001)]
777  HRESULT Sync([in] IAcadDatabase* pXDb);
778  [helpstring("Registers a callback notification handler. Returns a unique cookie identifier for this handler."), helpcontext(0x00000001)]
779  HRESULT Register(
780  [in] IAcSmEvents* eventHandler,
781  [out, retval] long* cookie);
782  [helpstring("Unregisters a previously registered callback notification handler."), helpcontext(0x00000001)]
783  HRESULT Unregister([in] long cookie);
784  [helpstring("Updates properties of individual sheets after changes have been made to the SheetSet props."), helpcontext(0x00000001)]
786  };
787 
788  [object,helpstring("Sheet component interface."),uuid("59bc91bb-fad8-44f9-86f9-5c99fa6b4edd")]
790  {
791  [helpstring("Retrieves the number property of the sheet."), helpcontext(0x00000001)]
792  HRESULT GetNumber([out, retval] BSTR* num);
793  [helpstring("Sets/Modifies the number property of the sheet."), helpcontext(0x00000001)]
794  HRESULT SetNumber([in] BSTR num);
795  [helpstring("Retrieves the title property of the sheet."), helpcontext(0x00000001)]
796  HRESULT GetTitle([out, retval] BSTR* title);
797  [helpstring("Sets/Modifies the number property of the sheet."), helpcontext(0x00000001)]
798  HRESULT SetTitle([in] BSTR title);
799  [helpstring("Returns the IAcSmAcDbLayoutReference which references the AcDbLayout that is associated with this sheet component."), helpcontext(0x00000001)]
800  HRESULT GetLayout([out, retval] IAcSmAcDbLayoutReference** ppLayoutRef);
801  [helpstring("Sets the IAcSmAcDbLayoutReference which references the AcDbLayout that is associated with this sheet component."), helpcontext(0x00000001)]
802  HRESULT SetLayout([in] IAcSmAcDbLayoutReference* pLayoutRef);
803  [helpstring("Returns a boolean flag that signifies if this sheet should be skipped during plot/publish."), helpcontext(0x00000001)]
804  HRESULT GetDoNotPlot([out, retval] VARIANT_BOOL* doNotPlot);
805  [helpstring("Sets a boolean flag that signifies if this sheet should be skipped during plot/publish."), helpcontext(0x00000001)]
806  HRESULT SetDoNotPlot([in] VARIANT_BOOL doNotPlot);
807  [helpstring("Returns the sheet views collection of this sheet."), helpcontext(0x00000001)]
808  HRESULT GetSheetViews([out, retval] IAcSmSheetViews** sheetviews);
809  };
810 
811  [object,helpstring("Sheet set manager interface."),uuid("4cc6fc8f-f1c6-486d-b550-838b0234e03c")]
812  interface IAcSmSheetSetMgr : IUnknown
813  {
814  [helpstring("Constructs a new physical database and returns an IAcSmDatabase component that manages it."), helpcontext(0x00000001)]
815  HRESULT CreateDatabase(
816  [in] BSTR filename,
817  [in, defaultvalue("0")] BSTR templatefilename,
818  [in, defaultvalue(-1)] VARIANT_BOOL bAlwaysCreate,
819  [out, retval] IAcSmDatabase** db);
820  [helpstring("Opens an existing database and returns a newelly constructed IAcSmDatabase component to manage it."), helpcontext(0x00000001)]
821  HRESULT OpenDatabase(
822  [in] BSTR filename,
823  [in, defaultvalue(-1)] VARIANT_BOOL bFailIfAlreadyOpen,
824  [out, retval] IAcSmDatabase** db);
825  [helpstring("Performs a lookup in the currently open databases using the provided filename."), helpcontext(0x00000001)]
827  [in] BSTR filename,
828  [out, retval] IAcSmDatabase** ppDb);
829  [helpstring("Closes all currently open databases."), helpcontext(0x00000001)]
830  HRESULT CloseAll();
831  [helpstring("Closes the specified database."), helpcontext(0x00000001)]
832  HRESULT Close([in] IAcSmDatabase* db);
833  [helpstring("Registers a callback notification handler. Returns a unique cookie identifier for this handler."), helpcontext(0x00000001)]
834  HRESULT Register(
835  [in] IAcSmEvents* eventHandler,
836  [out, retval] long* cookie);
837  [helpstring("Unregisters a previously registered callback notification handler."), helpcontext(0x00000001)]
838  HRESULT Unregister([in] long cookie);
839  [helpstring("Attempts to locate a sheet set that references the provided drawing filename and layout. Saved drawing hints will be honored if present."), helpcontext(0x00000001)]
841  [in] BSTR dwg,
842  [in] BSTR layout,
843  [out] IAcSmSheetSet** sheetSet,
844  [out, retval] IAcSmDatabase** pSmDb);
845  [helpstring("Attempts to locate a sheet that references the provided layout."), helpcontext(0x00000001)]
847  [in] IAcadObject* pAcDbLayout,
848  [out] IAcSmSheet** sheet,
849  [out, retval] IAcSmDatabase** pSmDb);
850  [helpstring("Returns an enumerator of the currently open IAcSmDatabase components handled by the manager."), helpcontext(0x00000001)]
851  HRESULT GetDatabaseEnumerator([out, retval] IAcSmEnumDatabase** enumerator);
852  };
853 
854  [object,helpstring("Sheet view collection interface."),
855  uuid("5d2d1da2-97ca-48d9-93fd-bbc5b5852962")]
857  {
858  [helpstring("Returns an enumerator of the contained sheet views in the collection."), helpcontext(0x00000001)]
859  HRESULT GetEnumerator([out, retval] IAcSmEnumSheetView** enumerator);
860  [helpstring("Updates the sheet view components in the collection according to the provided IAcSmAcDbLayoutReference."), helpcontext(0x00000001)]
861  HRESULT Sync(
862  [in] IAcSmAcDbLayoutReference* pLayout,
863  [in] IAcadDatabase* pXDb);
864  };
865 
866  [object,helpstring("IAcSmEnumSheetView object enumerator."),uuid("07bb6db5-2198-4ea2-8752-e5a520d01a47")]
867  interface IAcSmEnumSheetView : IUnknown
868  {
869  [helpstring("Iterates to and returns the next element."), helpcontext(0x00000001)]
870  HRESULT Next([out, retval] IAcSmSheetView** sview);
871  [helpstring("Resets the enumerator before the first element."), helpcontext(0x00000001)]
872  HRESULT Reset();
873  };
874 
875  [object,helpstring("The IAcSmViewCategory interface, used for sheet view category components."),
876  uuid("a5b52086-a849-4a06-9b77-41d860e5a11b")]
878  {
879  [helpstring("Reserved for future use. Retrieve a sheet view enumarator of the IAcSmSheetView components that reference this category."), helpcontext(0x00000001)]
880  HRESULT GetSheetViewEnumerator([out, retval] IAcSmEnumSheetView** enumerator);
881  [helpstring("Reserved for future use. Returns a collection of the callout blocks that are referenced by this category."), helpcontext(0x00000001)]
882  HRESULT GetCalloutBlocks([out, retval] IAcSmCalloutBlocks** ppCalloutBlocks);
883  };
884 
885  [object,helpstring("Sheet view component interface."),uuid("f69ceaf1-819f-4b7a-b5e6-d39395415f55")]
887  {
888  [helpstring("Returns an IAcSmAcDbViewReference that points to the named AcDbView object on the sheet that is referenced by this sheet view component."), helpcontext(0x00000001)]
889  HRESULT GetNamedView([out, retval] IAcSmAcDbViewReference** ppViewRef);
890  [helpstring("Sets the IAcSmAcDbViewReference that points to the named AcDbView object on the sheet that is referenced by this sheet view component."), helpcontext(0x00000001)]
891  HRESULT SetNamedView([in] IAcSmAcDbViewReference* pViewRef);
892  [helpstring("Reserved for future use. Returns the view category component that this sheet view is associated with."), helpcontext(0x00000001)]
893  HRESULT GetCategory([out, retval] IAcSmViewCategory** ppViewCat);
894  [helpstring("Reserved for future use. Associates this sheet view with the provided view category component."), helpcontext(0x00000001)]
895  HRESULT SetCategory([in] IAcSmViewCategory* pViewCat);
896  [helpstring("Retrieves the number property of the sheet view."), helpcontext(0x00000001)]
897  HRESULT GetNumber([out, retval] BSTR* num);
898  [helpstring("Sets/Modifies the number property of the sheet view."), helpcontext(0x00000001)]
899  HRESULT SetNumber([in] BSTR num);
900  [helpstring("Retrieves the title property of the sheet view."), helpcontext(0x00000001)]
901  HRESULT GetTitle([out, retval] BSTR* title);
902  [helpstring("Sets/Modifies the title property of the sheet view."), helpcontext(0x00000001)]
903  HRESULT SetTitle([in] BSTR title);
904  };
905 
906  [object,helpstring("IAcSmEnumViewCategory object enumerator."),uuid("460b347f-c804-42f0-91d5-7ddd925e5058")]
907  interface IAcSmEnumViewCategory : IUnknown
908  {
909  [helpstring("Reserved for future use. Iterates to and returns the next element."), helpcontext(0x00000001)]
910  HRESULT Next([out, retval] IAcSmViewCategory** viewCat);
911  [helpstring("Reserved for future use. Resets the enumerator before the first element."), helpcontext(0x00000001)]
912  HRESULT Reset();
913  };
914 
915  [object,helpstring("Collection of IAcSmViewCategory components."),uuid("b28b23eb-ff5e-4910-8ca6-ad54931013f3")]
917  {
918  [helpstring("Reserved for future use. Returns an enumerator of the contained IAcSmViewCategory components."), helpcontext(0x00000001)]
919  HRESULT GetEnumerator([out, retval] IAcSmEnumViewCategory** enumerator);
920  [helpstring("Reserved for future use. Constructs a new IAcSmViewCategory component. The new component is NOT added to the collection."), helpcontext(0x00000001)]
922  [in] BSTR name,
923  [in] BSTR desc,
924  [in] BSTR id,
925  [out, retval] IAcSmViewCategory** viewCat);
926  [helpstring("Reserved for future use. Removes a given IAcSmViewCategory component from the collection."), helpcontext(0x00000001)]
927  HRESULT RemoveViewCategory([in] IAcSmViewCategory* viewCat);
928  [helpstring("Reserved for future use. Returns the 'default' IAcSmViewCategory component of the collection."), helpcontext(0x00000001)]
929  HRESULT GetDefaultViewCategory([out, retval] IAcSmViewCategory** ppItem);
930  };
931  [object,hidden,local,restricted,uuid("66512850-2BEB-4a6b-B471-2DECF76C876E")]
932  interface IOdSmInternal : IUnknown
933  {
934  HRESULT SetImpl( void* impl );
935  void* GetImpl();
936  };
937 
938  [
939  TD_CLSID_AcSmPersist,
940  helpstring("AcSmPersist Class")
941  ]
942  coclass CAcSmPersist
943  {
944  [default] interface IAcSmPersist;
945  interface IOdSmInternal;
946  };
947 
948  [
949  TD_CLSID_AcSmComponent,
950  helpstring("AcSmComponent Class")
951  ]
953  {
954  [default] interface IAcSmComponent;
955  interface IOdSmInternal;
956  };
957 
958  [
959  TD_CLSID_AcSmObjectId,
960  helpstring("AcSmObjectId Class")
961  ]
963  {
964  [default] interface IAcSmObjectId;
965  interface IOdSmInternal;
966  };
967 
968  [
969  TD_CLSID_AcSmEnumComponent,
970  helpstring("AcSmEnumComponent Class")
971  ]
973  {
974  [default] interface IAcSmEnumComponent;
975  interface IOdSmInternal;
976  };
977 
978  [
979  TD_CLSID_AcSmSubset,
980  helpstring("AcSmSubset Class")
981  ]
982  coclass CAcSmSubset
983  {
984  [default] interface IAcSmSubset;
985  interface IOdSmInternal;
986  };
987 
988  [
989  TD_CLSID_AcSmAcDbBlockRecordReference,
990  helpstring("AcSmAcDbBlockRecordReference Class")
991  ]
993  {
994  [default] interface IAcSmAcDbBlockRecordReference;
995  interface IOdSmInternal;
996  };
997 
998  [
999  TD_CLSID_AcSmAcDbDatabase,
1000  helpstring("AcSmAcDbDatabase Class")
1001  ]
1003  {
1004  [default] interface IAcSmAcDbDatabase;
1005  };
1006 
1007  [
1008  TD_CLSID_AcSmAcDbLayoutReference,
1009  helpstring("AcSmAcDbLayoutReference Class")
1010  ]
1012  {
1013  [default] interface IAcSmAcDbLayoutReference;
1014  interface IOdSmInternal;
1015  };
1016 
1017  [
1018  TD_CLSID_AcSmAcDbObjectReference,
1019  helpstring("AcSmAcDbObjectReference Class")
1020  ]
1022  {
1023  [default] interface IAcSmAcDbObjectReference;
1024  interface IOdSmInternal;
1025  };
1026 
1027  [
1028  TD_CLSID_AcSmAcDbViewReference,
1029  helpstring("AcSmAcDbViewReference Class")
1030  ]
1032  {
1033  [default] interface IAcSmAcDbViewReference;
1034  interface IOdSmInternal;
1035  };
1036  [
1037  TD_CLSID_AcSmCalloutBlocks,
1038  helpstring("AcSmCalloutBlocks Class")
1039  ]
1041  {
1042  [default] interface IAcSmCalloutBlocks;
1043  interface IOdSmInternal;
1044  };
1045  [
1046  TD_CLSID_AcSmCustomPropertyBag,
1047  helpstring("AcSmCustomPropertyBag Class")
1048  ]
1050  {
1051  [default] interface IAcSmCustomPropertyBag;
1052  interface IOdSmInternal;
1053  };
1054  [
1055  TD_CLSID_AcSmCustomPropertyValue,
1056  helpstring("AcSmCustomPropertyValue Class")
1057  ]
1059  {
1060  [default] interface IAcSmCustomPropertyValue;
1061  interface IOdSmInternal;
1062  };
1063  [
1064  TD_CLSID_AcSmDatabase,
1065  helpstring("AcSmDatabase Class")
1066  ]
1068  {
1069  [default] interface IAcSmDatabase;
1070  interface IOdSmInternal;
1071  };
1072  [
1073  TD_CLSID_AcSmSheetSet,
1074  helpstring("AcSmSheetSet Class")
1075  ]
1077  {
1078  [default] interface IAcSmSheetSet;
1079  interface IOdSmInternal;
1080  };
1081 
1082  [
1083  TD_CLSID_AcSmEnumAcDbBlockRecordReference,
1084  helpstring("AcSmEnumAcDbBlockRecordReference Class")
1085  ]
1087  {
1088  [default] interface IAcSmEnumAcDbBlockRecordReference;
1089  interface IOdSmInternal;
1090  };
1091 
1092  [
1093  TD_CLSID_AcSmEnumDatabase,
1094  helpstring("AcSmEnumDatabase Class")
1095  ]
1097  {
1098  [default] interface IAcSmEnumDatabase;
1099  interface IOdSmInternal;
1100  };
1101  [
1102  TD_CLSID_AcSmEnumFileReference,
1103  helpstring("AcSmEnumFileReference Class")
1104  ]
1106  {
1107  [default] interface IAcSmEnumFileReference;
1108  interface IOdSmInternal;
1109  };
1110 
1111  [
1112  TD_CLSID_AcSmNamedAcDbObjectReference,
1113  helpstring("AcSmNamedAcDbObjectReference Class")
1114  ]
1116  {
1117  [default] interface IAcSmNamedAcDbObjectReference;
1118  interface IOdSmInternal;
1119  };
1120  [
1121  TD_CLSID_AcSmProjectPointLocation,
1122  helpstring("AcSmProjectPointLocation Class")
1123  ]
1125  {
1126  [default] interface IAcSmProjectPointLocation;
1127  interface IOdSmInternal;
1128  };
1129  [
1130  TD_CLSID_AcSmProjectPointLocations,
1131  helpstring("AcSmProjectPointLocations Class")
1132  ]
1134  {
1135  [default] interface IAcSmProjectPointLocations;
1136  interface IOdSmInternal;
1137  };
1138  [
1139  TD_CLSID_AcSmPublishOptions,
1140  helpstring("AcSmPublishOptions Class")
1141  ]
1143  {
1144  [default] interface IAcSmPublishOptions;
1145  interface IOdSmInternal;
1146  };
1147  [
1148  TD_CLSID_AcSmResources,
1149  helpstring("AcSmResources Class")
1150  ]
1152  {
1153  [default] interface IAcSmResources;
1154  interface IOdSmInternal;
1155  };
1156  [
1157  TD_CLSID_AcSmSheet,
1158  helpstring("AcSmSheet Class")
1159  ]
1160  coclass CAcSmSheet
1161  {
1162  [default] interface IAcSmSheet;
1163  interface IOdSmInternal;
1164  };
1165  [
1166  TD_CLSID_AcSmSheetSelSet,
1167  helpstring("AcSmSheetSelSet Class")
1168  ]
1170  {
1171  [default] interface IAcSmSheetSelSet;
1172  interface IOdSmInternal;
1173  };
1174  [
1175  TD_CLSID_AcSmSheetSelSets,
1176  helpstring("AcSmSheetSelSets Class")
1177  ]
1179  {
1180  [default] interface IAcSmSheetSelSets;
1181  interface IOdSmInternal;
1182  };
1183  [
1184  TD_CLSID_AcSmSheetSetMgr,
1185  helpstring("AcSmSheetSetMgr Class")
1186  ]
1188  {
1189  [default] interface IAcSmSheetSetMgr;
1190  interface IOdSmInternal;
1191  };
1192  [
1193  TD_CLSID_AcSmSheetView,
1194  helpstring("AcSmSheetView Class")
1195  ]
1197  {
1198  [default] interface IAcSmSheetView;
1199  interface IOdSmInternal;
1200  };
1201  [
1202  TD_CLSID_AcSmSheetViews,
1203  helpstring("AcSmSheetViews Class")
1204  ]
1206  {
1207  [default] interface IAcSmSheetViews;
1208  interface IOdSmInternal;
1209  };
1210  [
1211  TD_CLSID_AcSmViewCategories,
1212  helpstring("AcSmViewCategories Class")
1213  ]
1215  {
1216  [default] interface IAcSmViewCategories;
1217  interface IOdSmInternal;
1218  };
1219 
1220  [
1221  TD_CLSID_AcSmViewCategory,
1222  helpstring("AcSmViewCategory Class")
1223  ]
1225  {
1226  [default] interface IAcSmViewCategory;
1227  interface IOdSmInternal;
1228  };
1229  [
1230  TD_CLSID_AcSmEnumPersist,
1231  helpstring("AcSmEnumPersist Class")
1232  ]
1234  {
1235  [default] interface IAcSmEnumPersist;
1236  interface IOdSmInternal;
1237  };
1238  [
1239  TD_CLSID_AcSmCalloutBlockReferences,
1240  helpstring("AcSmCalloutBlocks Class")
1241  ]
1243  {
1244  [default] interface IAcSmCalloutBlocks;
1245  interface IOdSmInternal;
1246  };
1247  [
1248  TD_CLSID_AcSmEnumProperty,
1249  helpstring("AcSmEnumProperty Class")
1250  ]
1252  {
1253  [default] interface IAcSmEnumProperty;
1254  interface IOdSmInternal;
1255  };
1256  [
1257  TD_CLSID_AcSmEnumViewCategory,
1258  helpstring("AcSmEnumViewCategory Class")
1259  ]
1261  {
1262  [default] interface IAcSmEnumViewCategory;
1263  interface IOdSmInternal;
1264  };
1265  [
1266  TD_CLSID_AcSmEnumSheetView,
1267  helpstring("AcSmEnumSheetView Class")
1268  ]
1270  {
1271  [default] interface IAcSmEnumSheetView;
1272  interface IOdSmInternal;
1273  };
1274 
1275  [
1276  TD_CLSID_AcSmEnumProjectPointLocation,
1277  helpstring("AcSmEnumProjectPointLocation Class")
1278  ]
1280  {
1281  [default] interface IAcSmEnumProjectPointLocation;
1282  interface IOdSmInternal;
1283  };
1284  [
1285  TD_CLSID_AcSmFileReference,
1286  helpstring("AcSmFileReference Class")
1287  ]
1289  {
1290  [default] interface IAcSmFileReference;
1291  interface IOdSmInternal;
1292  };
1293  [
1294  TD_CLSID_AcSmEnumSheetSelSet,
1295  helpstring("AcSmEnumSheetSelSet Class")
1296  ]
1298  {
1299  [default] interface IAcSmEnumSheetSelSet;
1300  interface IOdSmInternal;
1301  };
1302 }
HRESULT GetIAcadDatabase([out, retval] IAcadDatabase **pIAcadDatabase)
HRESULT GetAcDbDatabase([out, retval] void **ppAcDbDatabase)
HRESULT SetAcDbObject([in] IAcadObject *pAcDbObject)
HRESULT GetAcSmAcDbDatabase([out, retval] IAcSmAcDbDatabase **ppAcSmAcDbDatabase)
HRESULT SetAcDbHandle([in] BSTR handle)
HRESULT GetAcDbHandle([out, retval] BSTR *phandle)
HRESULT ResolveAcDbObject([in] IAcadDatabase *pAcDbDatabase, [out, retval] BSTR *phandle)
HRESULT Remove([in] IAcSmAcDbBlockRecordReference *pBlkRef)
HRESULT Add([in] IAcSmAcDbBlockRecordReference *pBlkRef)
HRESULT GetEnumerator([out, retval] IAcSmEnumAcDbBlockRecordReference **enumerator)
HRESULT SetName([in] BSTR name)
HRESULT GetName([out, retval] BSTR *name)
HRESULT GetDesc([out, retval] BSTR *desc)
HRESULT SetDesc([in] BSTR desc)
HRESULT GetCustomPropertyBag([out, retval] IAcSmCustomPropertyBag **bag)
HRESULT GetProperty([in] BSTR name, [out, retval] IAcSmCustomPropertyValue **value)
HRESULT SetProperty([in] BSTR name, [in] IAcSmCustomPropertyValue *value)
HRESULT GetPropertyEnumerator([out, retval] IAcSmEnumProperty **enumerator)
HRESULT SetFlags([in] PropertyFlags value)
HRESULT GetValue([out, retval] VARIANT *value)
HRESULT SetValue([in] VARIANT value)
HRESULT GetFlags([out, retval] PropertyFlags *value)
HRESULT GetFileRevision([out] long *pfilerev)
HRESULT GetDbFingerPrint([out] BSTR *fingerprintguid)
HRESULT NotifyRegisteredEventHandlers([in] AcSmEvent eventcode, [in] IAcSmPersist *comp)
HRESULT RegisterOwner([in] long idcookie, [in] IAcSmPersist *pobject, [in] IAcSmPersist *pOwner)
HRESULT GetDbVersion([out, retval] BSTR *bs)
HRESULT SetFileName([in] BSTR newVal)
HRESULT GetIsTemporary([out, retval] VARIANT_BOOL *isTemporary)
HRESULT GetTemplateDstFileName([out, retval] BSTR *filename)
HRESULT GetSheetSet([out, retval] IAcSmSheetSet **pVal)
HRESULT GetNewObjectId([in] BSTR hand, [out] long *idcookie, [out, retval] IAcSmObjectId **ppId)
HRESULT FindObject([in] BSTR hand, [out, retval] IAcSmPersist **ppObject)
HRESULT GetEnumerator([out, retval] IAcSmEnumPersist **ppEnum)
HRESULT LockDb([in] IUnknown *pObject)
HRESULT FindAcDbObjectReferences([in] IAcadObject *pAcDbobject, [out, retval] SAFEARRAY **ppObjects)
HRESULT GetFileName([out, retval] BSTR *pVal)
HRESULT GetLockOwnerInfo([out] BSTR *pstrUserName, [out] BSTR *pstrMachineName)
HRESULT LoadFromFile([in, defaultvalue("0")] BSTR templateDstFileName)
HRESULT GetLockStatus([out, retval] AcSmLockStatus *pLockStatus)
HRESULT Unregister([in] long cookie)
HRESULT Register([in] IAcSmEvents *eventHandler, [out, retval] long *cookie)
HRESULT UnlockDb([in] IUnknown *pobject, [in, defaultvalue(-1)] VARIANT_BOOL bCommit)
HRESULT UpdateInMemoryDwgHints()
HRESULT Next([out, retval] IAcSmAcDbBlockRecordReference **ppRef)
HRESULT Next([out, retval] IAcSmComponent **comp)
HRESULT Next([out, retval] IAcSmDatabase **db)
HRESULT Next([out, retval] IAcSmFileReference **ppRef)
HRESULT Next([out, retval] IAcSmPersist **ppObject)
HRESULT Next([out, retval] IAcSmProjectPointLocation **location)
HRESULT Next([out] BSTR *propname, [out] IAcSmCustomPropertyValue **ppValue)
HRESULT Next([out, retval] IAcSmSheetSelSet **selset)
HRESULT Next([out, retval] IAcSmSheetView **sview)
HRESULT Next([out, retval] IAcSmViewCategory **viewCat)
HRESULT OnChanged([in] AcSmEvent eventcode, [in] IAcSmPersist *comp)
HRESULT ResolveFileName([out, retval] BSTR *pResult)
HRESULT SetFileName([in] BSTR pValue)
HRESULT GetFileName([out, retval] BSTR *ppValue)
HRESULT ReadRawData([out] unsigned char **p, [out] long *count)
HRESULT WriteInt([in] long pInt)
HRESULT WriteProperty([in] BSTR pPropname, [in] VARIANT *pVal)
HRESULT WriteString([in] BSTR s)
HRESULT GetCurrentObjectHeaderInfo([out] SAFEARRAY **names, [out] SAFEARRAY **values)
HRESULT ReadProperty([out] BSTR *ppPropname, [out] VARIANT *pVal)
HRESULT ReadGuid([out, retval] GUID *pGuid)
HRESULT ReadBytes([out] unsigned char **p, [in, out] long *count)
HRESULT WriteRawData([in] unsigned char *p, [in] long count)
HRESULT ReadInt([out, retval] long *pInt)
HRESULT ReadString([out, retval] BSTR *pStr)
HRESULT GetRevisionNumber([out, retval] long *pRevisionNum)
HRESULT GetDatabase([out, retval] IAcSmDatabase **ppDb)
HRESULT PopCurrentReadObject([in] long bSuccess)
HRESULT PushCurrentWriteObject([in] IAcSmPersist *pObj)
HRESULT WriteObject([in] IAcSmPersist *pObj)
HRESULT PopCurrentWriteObject([in] long bSuccess)
HRESULT WriteBytes([in] unsigned char *p, [in] long count)
HRESULT Close([in] VARIANT_BOOL bSuccess)
HRESULT Init([in] IUnknown *pUnk, [in] IAcSmDatabase *pDb, [in] VARIANT_BOOL bForWrite)
HRESULT WriteGuid([in] GUID id)
HRESULT PushCurrentReadObject([in] IAcSmPersist *pObj)
HRESULT WriteDouble([in] double pDbl)
HRESULT ReadObject([out, retval] IAcSmPersist **ppObj)
HRESULT ReadDouble([out, retval] double *pDbl)
HRESULT GetCurrentObject([out, retval] IAcSmPersist **pVal)
HRESULT GetOwnerAcDbHandle([out, retval] BSTR *phandle)
HRESULT SetOwnerAcDbHandle([in] BSTR handle)
HRESULT GetName([out, retval] BSTR *phandle)
HRESULT GetHandle([out, retval] BSTR *hand)
HRESULT GetPersistObject([out, retval] IAcSmPersist **ppObj)
HRESULT IsValid([out, retval] VARIANT_BOOL *pResult)
HRESULT GetDatabase([out, retval] IAcSmDatabase **ppDb)
HRESULT GetOwner([out, retval] IAcSmPersist **ppObj)
HRESULT IsEqual([in] IAcSmObjectId *pId, [out, retval] VARIANT_BOOL *pResult)
HRESULT GetReferencedObject([out, retval] IAcSmPersist **ppObject)
HRESULT SetReferencedObject([in] IAcSmPersist *pObject)
HRESULT GetReferenceFlags([out, retval] AcSmObjectReferenceFlags *value)
HRESULT SetReferenceFlags([in] AcSmObjectReferenceFlags value)
HRESULT Save([in] IAcSmFiler *pFiler)
HRESULT InitNew([in] IAcSmPersist *pOwner)
HRESULT GetOwner([out, retval] IAcSmPersist **ppOwner)
HRESULT GetIsDirty([out, retval] VARIANT_BOOL *pVal)
HRESULT GetObjectId([out, retval] IAcSmObjectId **ppId)
HRESULT Load([in] IAcSmFiler *pFiler)
HRESULT GetTypeName([out, retval] BSTR *pVal)
HRESULT GetDatabase([out, retval] IAcSmDatabase **ppDb)
HRESULT GetClassID([out, retval] GUID *p)
HRESULT SetOwner([in] IAcSmPersist *pOwner)
HRESULT GetDirectlyOwnedObjects([out] SAFEARRAY **objects)
HRESULT GetRawData([out] unsigned char **ppData, [out] long *pBufSize)
HRESULT SetClassID([in] GUID classID)
HRESULT SetTypeName([in] BSTR value)
HRESULT SetName([in] BSTR name)
HRESULT GetName([out] BSTR *name)
HRESULT SetUsername([in] BSTR username)
HRESULT GetFolder([out] BSTR *folder)
HRESULT GetPassword([out] BSTR *password)
HRESULT SetPassword([in] BSTR password)
HRESULT SetFolder([in] BSTR folder)
HRESULT GetURL([out] BSTR *url)
HRESULT GetUsername([out] BSTR *username)
HRESULT GetLocation([in] BSTR locationName, [out] IAcSmProjectPointLocation **location)
HRESULT GetEnumerator([out, retval] IAcSmEnumProjectPointLocation **enumerator)
HRESULT AddNewLocation([in] BSTR name, [in] BSTR url, [in] BSTR folder, [in] BSTR username, [in] BSTR password, [out] IAcSmProjectPointLocation **location)
HRESULT RemoveLocation([in] IAcSmProjectPointLocation *location)
HRESULT SetUsePassword([in] VARIANT_BOOL value)
HRESULT GetDwfType([out, retval] VARIANT_BOOL *pValue)
HRESULT GetPromptForName([out, retval] VARIANT_BOOL *pValue)
HRESULT GetPromptForPassword([out, retval] VARIANT_BOOL *pValue)
HRESULT GetLayerInfo([out, retval] VARIANT_BOOL *pValue)
HRESULT GetDefaultOutputdir([out, retval] IAcSmFileReference **ppValue)
HRESULT SetUnrecognizedSections([in] IAcSmCustomPropertyBag *sectionArray)
HRESULT SetDwfType([in] VARIANT_BOOL value)
HRESULT GetUnrecognizedSections([out, retval] IAcSmCustomPropertyBag **sectionArray)
HRESULT GetUnrecognizedData([out, retval] IAcSmCustomPropertyBag **bag)
HRESULT SetLayerInfo([in] VARIANT_BOOL value)
HRESULT SetDefaultOutputdir([in] IAcSmFileReference *pValue)
HRESULT SetPromptForName([in] VARIANT_BOOL value)
HRESULT SetUnrecognizedData([in] IAcSmCustomPropertyBag *bag)
HRESULT GetUsePassword([out, retval] VARIANT_BOOL *pValue)
HRESULT SetPromptForPassword([in] VARIANT_BOOL value)
HRESULT Add([in] IAcSmFileReference *pResource)
HRESULT Remove([in] IAcSmFileReference *pResource)
HRESULT GetEnumerator([out, retval] IAcSmEnumFileReference **enumerator)
HRESULT GetSheetViews([out, retval] IAcSmSheetViews **sheetviews)
HRESULT SetLayout([in] IAcSmAcDbLayoutReference *pLayoutRef)
HRESULT GetTitle([out, retval] BSTR *title)
HRESULT SetDoNotPlot([in] VARIANT_BOOL doNotPlot)
HRESULT SetNumber([in] BSTR num)
HRESULT SetTitle([in] BSTR title)
HRESULT GetLayout([out, retval] IAcSmAcDbLayoutReference **ppLayoutRef)
HRESULT GetNumber([out, retval] BSTR *num)
HRESULT GetDoNotPlot([out, retval] VARIANT_BOOL *doNotPlot)
HRESULT GetEnumerator([out, retval] IAcSmEnumComponent **enumerator)
HRESULT Remove([in] IAcSmComponent *comp)
HRESULT Add([in] IAcSmComponent *comp)
HRESULT Add([in]BSTR name, [in]BSTR desc, [out, retval]IAcSmSheetSelSet **selset)
HRESULT GetEnumerator([out, retval] IAcSmEnumSheetSelSet **enumerator)
HRESULT Remove([in] IAcSmSheetSelSet *selset)
HRESULT Sync([in] IAcadDatabase *pXDb)
HRESULT SetPromptForDwgName([in] VARIANT_BOOL askForName)
HRESULT GetDefLabelBlk([out, retval] IAcSmAcDbBlockRecordReference **ppLabelBlkRef)
HRESULT SetAltPageSetups([in] IAcSmFileReference *pDwtRef)
HRESULT GetCalloutBlocks([out, retval] IAcSmCalloutBlocks **ppCalloutBlocks)
HRESULT GetResources([out, retval] IAcSmResources **ppResources)
HRESULT GetPublishOptions([out, retval] IAcSmPublishOptions **ppPublishOptions)
HRESULT GetSheetSelSets([out, retval] IAcSmSheetSelSets **ppSheetSelSets)
HRESULT GetViewCategories([out, retval] IAcSmViewCategories **ppViewCategories)
HRESULT GetPromptForDwgName([out, retval] VARIANT_BOOL *askForName)
HRESULT SetDefAltPageSetup([in] IAcSmNamedAcDbObjectReference *pAltPageSetup)
HRESULT GetAltPageSetups([out, retval] IAcSmFileReference **ppDwtRef)
HRESULT GetDefAltPageSetup([out, retval] IAcSmNamedAcDbObjectReference **ppAltPageSetup)
HRESULT Register([in] IAcSmEvents *eventHandler, [out, retval] long *cookie)
HRESULT SetDefLabelBlk([in] IAcSmAcDbBlockRecordReference *pLabelBlkRef)
HRESULT UpdateSheetCustomProps()
HRESULT Unregister([in] long cookie)
HRESULT Unregister([in] long cookie)
HRESULT Register([in] IAcSmEvents *eventHandler, [out, retval] long *cookie)
HRESULT OpenDatabase([in] BSTR filename, [in, defaultvalue(-1)] VARIANT_BOOL bFailIfAlreadyOpen, [out, retval] IAcSmDatabase **db)
HRESULT GetDatabaseEnumerator([out, retval] IAcSmEnumDatabase **enumerator)
HRESULT CreateDatabase([in] BSTR filename, [in, defaultvalue("0")] BSTR templatefilename, [in, defaultvalue(-1)] VARIANT_BOOL bAlwaysCreate, [out, retval] IAcSmDatabase **db)
HRESULT FindOpenDatabase([in] BSTR filename, [out, retval] IAcSmDatabase **ppDb)
HRESULT Close([in] IAcSmDatabase *db)
HRESULT GetParentSheetSet([in] BSTR dwg, [in] BSTR layout, [out] IAcSmSheetSet **sheetSet, [out, retval] IAcSmDatabase **pSmDb)
HRESULT GetSheetFromLayout([in] IAcadObject *pAcDbLayout, [out] IAcSmSheet **sheet, [out, retval] IAcSmDatabase **pSmDb)
HRESULT GetCategory([out, retval] IAcSmViewCategory **ppViewCat)
HRESULT SetTitle([in] BSTR title)
HRESULT GetNamedView([out, retval] IAcSmAcDbViewReference **ppViewRef)
HRESULT SetCategory([in] IAcSmViewCategory *pViewCat)
HRESULT SetNamedView([in] IAcSmAcDbViewReference *pViewRef)
HRESULT SetNumber([in] BSTR num)
HRESULT GetNumber([out, retval] BSTR *num)
HRESULT GetTitle([out, retval] BSTR *title)
HRESULT Sync([in] IAcSmAcDbLayoutReference *pLayout, [in] IAcadDatabase *pXDb)
HRESULT GetEnumerator([out, retval] IAcSmEnumSheetView **enumerator)
HRESULT InsertComponent([in] IAcSmComponent *newSheet, [in] IAcSmComponent *beforeComp)
HRESULT RemoveSheet(IAcSmSheet *sheet)
HRESULT CreateSubset([in] BSTR name, [in] BSTR desc, [out, retval] IAcSmSubset **subset)
HRESULT RemoveSubset([in] IAcSmSubset *subset)
HRESULT SetNewSheetLocation([in] IAcSmFileReference *pFileRef)
HRESULT SetPromptForDwt([in] VARIANT_BOOL askForDwt)
HRESULT GetSheetEnumerator([out, retval] IAcSmEnumComponent **enumerator)
HRESULT UpdateInMemoryDwgHints()
HRESULT NotifyRegisteredEventHandlers([in] AcSmEvent eventcode, [in] IAcSmPersist *comp)
HRESULT GetPromptForDwt([out, retval] VARIANT_BOOL *askForDwt)
HRESULT ImportSheet([in] IAcSmAcDbLayoutReference *pLayoutRef, [out, retval] IAcSmSheet **newSheet)
HRESULT InsertComponentAfter([in] IAcSmComponent *newSheet, [in] IAcSmComponent *afterComp)
HRESULT GetNewSheetLocation([out, retval] IAcSmFileReference **ppFileRef)
HRESULT GetDefDwtLayout([out, retval] IAcSmAcDbLayoutReference **ppLayoutRef)
HRESULT AddNewSheet([in] BSTR name, [in] BSTR desc, [out, retval] IAcSmSheet **newSheet)
HRESULT SetDefDwtLayout([in] IAcSmAcDbLayoutReference *pLayoutRef)
HRESULT GetEnumerator([out, retval] IAcSmEnumViewCategory **enumerator)
HRESULT RemoveViewCategory([in] IAcSmViewCategory *viewCat)
HRESULT GetDefaultViewCategory([out, retval] IAcSmViewCategory **ppItem)
HRESULT CreateViewCategory([in] BSTR name, [in] BSTR desc, [in] BSTR id, [out, retval] IAcSmViewCategory **viewCat)
HRESULT GetSheetViewEnumerator([out, retval] IAcSmEnumSheetView **enumerator)
HRESULT GetCalloutBlocks([out, retval] IAcSmCalloutBlocks **ppCalloutBlocks)
HRESULT SetImpl(void *impl)
PropertyFlags
Definition: OdSmX.idl:113
@ IS_CHILD
Definition: OdSmX.idl:117
@ CUSTOM_SHEET_PROP
Definition: OdSmX.idl:116
@ CUSTOM_SHEETSET_PROP
Definition: OdSmX.idl:115
@ SHEET_VIEW_DELETED
Definition: OdSmX.idl:140
@ ACSM_DATABASE_INITNEW_FAILED
Definition: OdSmX.idl:156
@ ACSM_DATABASE_LOAD_COMPLETE
Definition: OdSmX.idl:160
@ SHEET_DELETED
Definition: OdSmX.idl:134
@ ACSM_DATABASE_INITNEW_COMPLETE
Definition: OdSmX.idl:157
@ SHEET_VIEW_CATEGORY_DELETED
Definition: OdSmX.idl:142
@ SHEETS_RENUMBERED
Definition: OdSmX.idl:147
@ SHEET_VIEW_CREATED
Definition: OdSmX.idl:139
@ ACSM_DATABASE_WATCH_ERROR
Definition: OdSmX.idl:151
@ SHEET_SELECTION_SET_CREATED
Definition: OdSmX.idl:137
@ ACSM_DATABASE_INITNEW_BEGIN
Definition: OdSmX.idl:155
@ ACSM_DATABASE_LOCKED
Definition: OdSmX.idl:152
@ CALLOUT_BLOCK_DELETED
Definition: OdSmX.idl:146
@ ACSM_DATABASE_LOAD_BEGIN
Definition: OdSmX.idl:158
@ ACSM_DATABASE_UNLOCKED
Definition: OdSmX.idl:153
@ SHEET_ADDED
Definition: OdSmX.idl:133
@ ACSM_DATABASE_IS_CLOSING
Definition: OdSmX.idl:150
@ SHEET_SELECTION_SET_DELETED
Definition: OdSmX.idl:138
@ ACSM_DATABASE_LOAD_FAILED
Definition: OdSmX.idl:159
@ ACSM_DATABASE_OPENED
Definition: OdSmX.idl:149
@ MODEL_RESOURCE_DELETED
Definition: OdSmX.idl:144
@ CALLOUT_BLOCK_ADDED
Definition: OdSmX.idl:145
@ MODEL_RESOURCE_ADDED
Definition: OdSmX.idl:143
@ SHEET_SUBSET_CREATED
Definition: OdSmX.idl:135
@ SHEET_SUBSET_DELETED
Definition: OdSmX.idl:136
@ ACSM_DATABASE_CREATED
Definition: OdSmX.idl:148
@ ACSM_DATABASE_CHANGED
Definition: OdSmX.idl:154
@ SHEET_VIEW_CATEGORY_CREATED
Definition: OdSmX.idl:141
AcSmLockStatus
Definition: OdSmX.idl:166
@ AcSmLockStatus_Locked_Remote
Definition: OdSmX.idl:169
@ AcSmLockStatus_Locked_NotConnected
Definition: OdSmX.idl:171
@ AcSmLockStatus_Locked_ReadOnly
Definition: OdSmX.idl:170
@ AcSmLockStatus_UnLocked
Definition: OdSmX.idl:167
@ AcSmLockStatus_Locked_Local
Definition: OdSmX.idl:168
@ AcSmLockStatus_Locked_AccessDenied
Definition: OdSmX.idl:172
AcSmObjectReferenceFlags
Definition: OdSmX.idl:178
@ AcSmObjectReference_HardPointer
Definition: OdSmX.idl:180
@ AcSmObjectReference_SoftPointer
Definition: OdSmX.idl:179