CFx SDK Documentation  2020SP3
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
dst::OdSmSheetSet::getDefLabelBlk
virtual const OdSmDbBlockRecordReference * getDefLabelBlk() const =0
OdString
Definition: OdString.h:95
dst::OdSmSheetSet::getPromptForDwgName
virtual bool getPromptForDwgName() const =0
dst::OdSmSheetSet::setProjectMilestone
virtual void setProjectMilestone(const OdString &newVal)=0
dst::OdSmNamedDbObjectReference
Definition: SmNamedDbObjectReference.h:44
dst::OdSmSheetSet::setProjectPhase
virtual void setProjectPhase(const OdString &newVal)=0
dst::OdSmSheetSetPtr
OdSmartPtr< OdSmSheetSet > OdSmSheetSetPtr
Definition: SmSheetSet.h:112
dst::OdSmSheetSet
Definition: SmSheetSet.h:50
dst::OdSmSheetSet::getSheetSelSets
virtual OdSmSheetSelSets * getSheetSelSets()=0
dst::OdSmSheetSet::getProjectNumber
virtual OdString getProjectNumber() const =0
dst::OdSmSheetSet::getProjectPhase
virtual OdString getProjectPhase() const =0
dst::OdSmSheetSet::getCalloutBlocks
virtual OdSmCalloutBlocks * getCalloutBlocks()=0
dst::OdSmSheetSet::getViewCategories
virtual OdSmViewCategories * getViewCategories()=0
dst::OdSmSheetSet::getPublishOptions
virtual OdSmPublishOptions * getPublishOptions()=0
dst::OdSmEvents
Definition: SmEvents.h:75
dst::OdSmSheetSet::getViewCategories
virtual const OdSmViewCategories * getViewCategories() const =0
dst::OdSmSheetSet::setPromptForDwgName
virtual void setPromptForDwgName(bool askForName)=0
OdSmartPtr
Definition: SmartPtr.h:58
SmSubset.h
dst::OdSmCalloutBlocks
Definition: SmCalloutBlocks.h:48
dst::OdSmFileReference
Definition: SmFileReference.h:43
dst::OdSmSheetSet::setDefLabelBlk
virtual void setDefLabelBlk(OdSmDbBlockRecordReference *pLabelBlkRef)=0
dst::OdSmSheetSet::getProjectName
virtual OdString getProjectName() const =0
dst::OdSmSheetSelSets
Definition: SmSheetSelSets.h:43
dst::OdSmViewCategories
Definition: SmViewCategories.h:48
dst::OdSmSheetSet::getAltPageSetups
virtual const OdSmFileReference * getAltPageSetups() const =0
dst::OdSmSheetSet::setAltPageSetups
virtual void setAltPageSetups(OdSmFileReference *pDwtRef)=0
dst::OdSmSheetSet::unSubscribe
virtual void unSubscribe(long cookie)=0
dst
Definition: SmCalloutBlocks.h:39
SMDLL_EXPORT
#define SMDLL_EXPORT
Definition: SmExport.h:35
dst::OdSmSheetSet::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdSmSheetSet)
dst::OdSmSheetSet::getResources
virtual const OdSmResources * getResources() const =0
dst::OdSmDbBlockRecordReference
Definition: SmNamedDbObjectReference.h:59
dst::OdSmSheetSet::updateSheetCustomProps
virtual void updateSheetCustomProps()=0
dst::OdSmSheetSet::setProjectName
virtual void setProjectName(const OdString &newVal)=0
dst::OdSmResources
Definition: SmResources.h:47
dst::OdSmSheetSet::setProjectNumber
virtual void setProjectNumber(const OdString &newVal)=0
dst::OdSmSheetSet::getPublishOptions
virtual const OdSmPublishOptions * getPublishOptions() const =0
SmProjectPointLocations.h
dst::OdSmSheetSet::getProjectMilestone
virtual OdString getProjectMilestone() const =0
dst::OdSmSheetSet::getCalloutBlocks
virtual const OdSmCalloutBlocks * getCalloutBlocks() const =0
dst::OdSmSheetSet::setDefAltPageSetup
virtual void setDefAltPageSetup(OdSmNamedDbObjectReference *pAltPageSetup)=0
dst::OdSmSheetSet::getDefAltPageSetup
virtual const OdSmNamedDbObjectReference * getDefAltPageSetup() const =0
dst::OdSmSheetSet::subscribe
virtual long subscribe(OdSmEvents *eventHandler)=0
dst::OdSmSubset
Definition: SmSubset.h:51
dst::OdSmSheetSet::getResources
virtual OdSmResources * getResources()=0
dst::OdSmPublishOptions
Definition: SmPublishOptions.h:45
dst::OdSmSheetSet::getSheetSelSets
virtual const OdSmSheetSelSets * getSheetSelSets() const =0