zjf
2023-03-10 abac8765bf6a1f400c2377b9999ce7495ba34a3f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/////////////////////////////////////////////////////////////////////////////// 
// Copyright (C) 2002-2016, Open Design Alliance (the "Alliance"). 
// All rights reserved. 
// 
// This software and its documentation and related materials are owned by 
// the Alliance. The software may only be incorporated into application 
// programs owned by members of the Alliance, subject to a signed 
// Membership Agreement and Supplemental Software License Agreement with the
// Alliance. The structure and organization of this software are the valuable  
// trade secrets of the Alliance and its suppliers. The software is also 
// protected by copyright law and international treaty provisions. Application  
// programs incorporating this software must include the following statement 
// with their copyright notices:
//   
//   This application incorporates Teigha(R) software pursuant to a license 
//   agreement with Open Design Alliance.
//   Teigha(R) Copyright (C) 2002-2016 by Open Design Alliance. 
//   All rights reserved.
//
// By use of this software, its documentation or related materials, you 
// acknowledge and accept the above terms.
///////////////////////////////////////////////////////////////////////////////
 
 
 
 
#ifndef _SmSheetSet_h_Included_
#define _SmSheetSet_h_Included_
 
#include "Sm/SmSubset.h"
#include "Sm/SmProjectPointLocations.h"
 
/** \details
  
    <group TD_Namespaces>
*/
namespace dst
{
  struct OdSmSheetSelSets;
  struct OdSmResources;
  struct OdSmCalloutBlocks;
  struct OdSmViewCategories;
  struct OdSmPublishOptions;
  
  /** \details
 
       
  */
  struct SMDLL_EXPORT OdSmSheetSet : OdSmSubset
  {
    ODRX_DECLARE_MEMBERS(OdSmSheetSet);
    // Retrieves the template containing alternative page setups
    virtual const OdSmFileReference* getAltPageSetups() const = 0;
    //
    virtual void setAltPageSetups ( OdSmFileReference * pDwtRef ) = 0;
    // Retrieves the default page setup within the template containing alternative page setups
    virtual const OdSmNamedDbObjectReference* getDefAltPageSetup() const = 0;
    //
    virtual void setDefAltPageSetup ( OdSmNamedDbObjectReference * pAltPageSetup ) = 0;
    //
    virtual bool getPromptForDwgName() const = 0;
    virtual void setPromptForDwgName( bool askForName ) = 0;
    // Returns a collection of the sheet selection sets associated with the sheet set.
    virtual OdSmSheetSelSets* getSheetSelSets() = 0;
    virtual const OdSmSheetSelSets* getSheetSelSets() const = 0;
    // Returns a collection of the resources associated with the sheet set
    virtual OdSmResources* getResources() = 0;
    virtual const OdSmResources* getResources() const = 0;
    // Returns a collection of callout block references that are associated with the sheet 
    virtual OdSmCalloutBlocks* getCalloutBlocks() = 0;
    virtual const OdSmCalloutBlocks* getCalloutBlocks() const = 0;
    // reserved
    virtual OdSmViewCategories* getViewCategories() = 0;
    virtual const OdSmViewCategories* getViewCategories() const = 0;
    // Returns the label block definition for the sheet set. 
    virtual const OdSmDbBlockRecordReference* getDefLabelBlk() const = 0;
    // sets the label block definition for the sheet set. 
    virtual void setDefLabelBlk ( OdSmDbBlockRecordReference* pLabelBlkRef ) = 0;
    // Returns the collection of the publish options contained in this sheet set.
    virtual OdSmPublishOptions* getPublishOptions() = 0;
    virtual const OdSmPublishOptions* getPublishOptions() const = 0;
    //
    virtual long subscribe( OdSmEvents * eventHandler ) = 0;
    virtual void unSubscribe( long cookie ) = 0;
    // internal
    virtual void updateSheetCustomProps() = 0;
 
    // New properties available in 1.1 version (AcSmComponents16)
 
    // Retrieves the Project Number this sheet set is associated with.
    virtual OdString getProjectNumber() const = 0;
    // "Set the Project Number this sheet set is associated with."
    virtual void setProjectNumber(const OdString& newVal) = 0;
    // "Retrieves the Project Name this sheet set is associated with."
    virtual OdString getProjectName() const = 0;
    // "Set the Project Name this sheet set is associated with."
    virtual void setProjectName(const OdString& newVal) = 0;
    // "Retrieves the Project Phase property."
    virtual OdString getProjectPhase() const = 0;
    // "Set the Project Phase property."
    virtual void setProjectPhase(const OdString& newVal) = 0;
    // "Retrieves the Project Milestone property."
    virtual OdString getProjectMilestone() const = 0;
    // "Set the Project Milestone property."
    virtual void setProjectMilestone(const OdString& newVal) = 0;
  };
  typedef OdSmartPtr<OdSmSheetSet> OdSmSheetSetPtr;
}
 
#endif