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