CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbAnnotativeObjectPE.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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#ifndef _DBANNOTATIVEOBJECTPE_H_INCLUDED_
25#define _DBANNOTATIVEOBJECTPE_H_INCLUDED_
26
27#include "RxObject.h"
28
29class OdDbViewport;
30
37{
38public:
39
41
47 virtual bool annotative(const OdDbObject* pObject) const = 0;
48
59 OdDbObject* pObject,
60 bool bAnnotative ) = 0;
61
73 OdDbObject* pObject,
74 bool& bUpdated) = 0;
75
80 virtual bool forceAnnoAllVisible(const OdDbObject* /*pObject*/) const { return false;} ;
81
86 virtual OdResult setForceAnnoAllVisible(OdDbObject* /*pObj*/, bool /*bForce*/) const {return eNotImplemented;}
87
92
96 virtual bool decompose(OdDbObject* /*pObj*/, OdDb::SaveType /*format*/, OdDb::DwgVersion /*version*/) { return false; }
97};
99
107{
108public:
109
111
117 virtual bool paperOrientation(OdDbObject* pObject) const = 0;
118
129 OdDbObject* pObject,
130 const bool bPaperOrientation ) = 0;
131
136 OdDbObject* /*pObject*/,
137 const OdDbViewport* /*pVport*/ ) const
138 { return eNotImplemented; }
139};
141
142#endif //_DBANNOTATIVEOBJECTPE_H_INCLUDED_
OdSmartPtr< OdDbAnnotativeObjectPE > OdDbAnnotativeObjectPEPtr
OdSmartPtr< OdDbPaperOrientationPE > OdDbPaperOrientationPEPtr
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
#define eNotImplemented
OdResult
Definition: OdResult.h:29
ODRX_DECLARE_MEMBERS(OdDbAnnotativeObjectPE)
virtual bool decompose(OdDbObject *, OdDb::SaveType, OdDb::DwgVersion)
virtual OdResult setForceAnnoAllVisible(OdDbObject *, bool) const
virtual OdResult setFromStyle(OdDbObject *pObject, bool &bUpdated)=0
virtual bool forceAnnoAllVisible(const OdDbObject *) const
virtual bool annotative(const OdDbObject *pObject) const =0
virtual OdResult resetScaleDependentProperties(OdDbObject *)
virtual OdResult setAnnotative(OdDbObject *pObject, bool bAnnotative)=0
virtual bool paperOrientation(OdDbObject *pObject) const =0
ODRX_DECLARE_MEMBERS(OdDbPaperOrientationPE)
virtual OdResult setPaperOrientation(OdDbObject *pObject, const bool bPaperOrientation)=0
virtual OdResult applyPaperOrientationTransform(OdDbObject *, const OdDbViewport *) const
DwgVersion
Definition: OdaDefs.h:47
SaveType
Definition: DbObject.h:152