CFx SDK Documentation  2020SP3
SmSheet.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 _SmSheet_h_Included_
28 #define _SmSheet_h_Included_
29 
30 #include "Sm/SmComponent.h"
32 
37 namespace dst
38 {
39  struct OdSmSheetViews;
40 
45  {
47  // Retrieves the number property of the sheet
48  virtual OdString getNumber() = 0;
49  // Sets/Modifies the number property of the sheet
50  virtual void setNumber(const OdString&) = 0;
51  // Retrieves the title property of the sheet
52  virtual OdString getTitle() = 0;
53  // Sets/Modifies the number property of the sheet
54  virtual void setTitle (const OdString&) = 0;
55  // Returns the OdSmDbLayoutReference which references the OdDbLayout that is associated with this sheet component.
57  // Sets the OdSmDbLayoutReference which references the OdDbLayout that is associated with this sheet component.
58  virtual void setLayout( OdSmDbLayoutReference* pLayoutRef ) = 0;
59  // Returns a boolean flag that signifies if this sheet should be skipped during plot/publish.
60  virtual bool getDoNotPlot() = 0;
61  // Sets a boolean flag that signifies if this sheet should be skipped during plot/publish.
62  virtual void setDoNotPlot( bool doNotPlot ) = 0;
63  virtual OdSmSheetViews* getSheetViews() = 0;
64 
65  // New properties added in 1.1
66 
67  // Retrieves the Revision Number this sheet is associated with.
68  virtual OdString getRevisionNumber() const = 0;
69  // Set the Revision Number this sheet is associated with.
70  virtual void setRevisionNumber(const OdString& newVal) = 0;
71  // Retrieves the Revision Date property.
72  virtual OdString getRevisionDate() const = 0;
73  // Set the Revision Date property.
74  virtual void setRevisionDate(const OdString& newVal) = 0;
75  // Retrieves the Issue Purpose property.
76  virtual OdString getIssuePurpose() const = 0;
77  // Set the Issue Purpose property.
78  virtual void setIssuePurpose(const OdString& newVal) = 0;
79  // Retrieves the Category property.
80  virtual OdString getCategory() const = 0;
81  // Set the Category property.
82  virtual void setCategory(const OdString& newVal) = 0;
83  };
85 }
86 
87 #endif //_SmSheet_h_Included_
dst::OdSmSheet::setTitle
virtual void setTitle(const OdString &)=0
OdString
Definition: OdString.h:95
dst::OdSmSheet::setRevisionDate
virtual void setRevisionDate(const OdString &newVal)=0
dst::OdSmSheet::getCategory
virtual OdString getCategory() const =0
SmComponent.h
dst::OdSmSheet::getDoNotPlot
virtual bool getDoNotPlot()=0
dst::OdSmSheet::getTitle
virtual OdString getTitle()=0
dst::OdSmSheet::setDoNotPlot
virtual void setDoNotPlot(bool doNotPlot)=0
dst::OdSmSheet::getLayout
virtual OdSmDbLayoutReference * getLayout()=0
dst::OdSmSheet::setNumber
virtual void setNumber(const OdString &)=0
dst::OdSmSheet::setLayout
virtual void setLayout(OdSmDbLayoutReference *pLayoutRef)=0
OdSmartPtr
Definition: SmartPtr.h:58
dst::OdSmSheetPtr
OdSmartPtr< OdSmSheet > OdSmSheetPtr
Definition: SmSheet.h:84
dst::OdSmComponent
Definition: SmComponent.h:47
dst::OdSmSheet::getIssuePurpose
virtual OdString getIssuePurpose() const =0
dst::OdSmSheet::getSheetViews
virtual OdSmSheetViews * getSheetViews()=0
dst::OdSmSheet::setCategory
virtual void setCategory(const OdString &newVal)=0
dst::OdSmSheet::setRevisionNumber
virtual void setRevisionNumber(const OdString &newVal)=0
dst
Definition: SmCalloutBlocks.h:39
SMDLL_EXPORT
#define SMDLL_EXPORT
Definition: SmExport.h:35
SmNamedDbObjectReference.h
dst::OdSmSheet::getRevisionDate
virtual OdString getRevisionDate() const =0
dst::OdSmDbLayoutReference
Definition: SmNamedDbObjectReference.h:77
dst::OdSmSheet::setIssuePurpose
virtual void setIssuePurpose(const OdString &newVal)=0
dst::OdSmSheetViews
Definition: SmSheetViews.h:46
dst::OdSmSheet::getNumber
virtual OdString getNumber()=0
dst::OdSmSheet
Definition: SmSheet.h:45
dst::OdSmSheet::getRevisionNumber
virtual OdString getRevisionNumber() const =0
dst::OdSmSheet::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdSmSheet)