34#define MAX_LEADER_NUMBER 5000
35#define MAX_LEADERLINE_NUMBER 5000
66 kMoveContentAndDoglegPoints
101 kMTextUnderLineMark = kMTextMark + 1,
106 kToleranceMark = kMTextUnderLineMark + 1,
111 kBlockMark = kToleranceMark + 1,
116 kBlockAttribute = kBlockMark + 1
131 kLeaderLineColor = 1,
136 kLeaderLineTypeId = 2,
141 kLeaderLineWeight = 3,
186 kTextLeftAttachmentType = 12,
196 kTextAlignmentType = 14,
211 kEnableFrameText = 17,
241 kBlockConnectionType = 23,
251 kTextRightAttachmentType = 25,
256 kTextSwitchAlignmentType = 26,
261 kTextAttachmentDirection = 27,
266 kTextTopAttachmentType = 28,
271 kTextBottomAttachmentType = 29,
276 kExtendLeaderToText = 30,
281 kSize = kExtendLeaderToText + 1
386 bool isOverride =
true);
474 bool bAutoSwitchDogleg =
true);
494 void getLeaderIndexes(
520 int numLeaderLines();
526 void getLeaderLineIndexes(
537 int& leaderLineIndex);
550 int& leaderLineIndex);
560 void removeLeaderLine(
561 int leaderLineIndex);
581 int leaderLineIndex);
635 int leaderLineIndex);
721 void getLeaderLineIndexes(
731 void setDoglegDirection(
742 void getDoglegDirection(
755 void setLeaderLineType(
772 void setLeaderLineColor(
789 void setLeaderLineTypeId(
806 void setLeaderLineWeight(
807 OdDb::LineWeight leaderLineWeight);
812 OdDb::LineWeight leaderLineWeight() const;
829 double landingGap() const;
840 void setEnableLanding(
846 bool enableLanding() const;
857 void setEnableDogleg(
863 bool enableDogleg() const;
875 void setDoglegLength(
877 double dDoglegLength);
890 double doglegLength () const;
902 void setArrowSymbolId(
925 double arrowSize() const;
971 void setTextAttachmentType(
992 void setTextAngleType(
1009 void setTextAlignmentType(
1048 double textHeight() const;
1059 void setEnableFrameText(
1060 bool enableFrameText);
1065 bool enableFrameText() const;
1094 void setBlockContentId(
1145 void setBlockRotation(
1151 double blockRotation() const;
1163 void setBlockConnectionType(
1177 void setEnableAnnotationScale(
1178 bool enableAnnotationScale);
1183 bool enableAnnotationScale() const;
1190 void setMLeaderStyle(
1218 void* pContextDataManager);
1223 void* getContextDataManager() const;
1230 void setBlockPosition(
1238 void getBlockPosition(
1246 void setTextLocation(
1254 void getTextLocation(
1287 void setArrowSymbolId(
1288 int leaderLineIndex,
1297 int leaderLineIndex) const;
1302 bool hasContent() const;
1364 int leaderLineIndex) const;
1385 void setTextAttachmentDirection(
1401 kOverrideLeaderType = 0,
1421 kOverrideArrowSymbolId
1447 int leaderLineIndex,
1456 int leaderLineIndex)
const;
1469 int leaderLineIndex,
1478 int leaderLineIndex)
const;
1491 int leaderLineIndex,
1500 int leaderLineIndex)
const;
1513 int leaderLineIndex,
1522 int leaderLineIndex)
const;
1535 int leaderLineIndex,
1544 int leaderLineIndex)
const;
OdSmartPtr< OdDbMLeader > OdDbMLeaderPtr
#define MAX_LEADERLINE_NUMBER
OdUInt32 DBDIM_EXPORT OdDbMLeader_setRecomputeFlags(OdDbMLeader *pMLeader, OdUInt32 flags)
** { Secret } */
OdSmartPtr< OdDbMLeaderRecomputePE > OdDbMLeaderRecomputePEPtr
void DBENT_EXPORT OdDbObject_clearDatabase(OdDbObject *pObj)
** { Secret } */
void DBENT_EXPORT OdDbObject_setWorkingDatabase(OdDbObject *pObj, OdDbDatabase *pWrkDb)
** { Secret } */
DBDIM_EXPORT void fxMLeaderRecompute(OdDbMLeader *pMLeader)
OdGePoint3d DBENT_EXPORT OdDbMLeader_getPtInternal(OdDbMLeader *pMLeader, OdUInt32 index=0)
** { Secret } */
bool DBDIM_EXPORT OdDbMLeader_setAcadBehaviour(OdDbMLeader *pMLeader, OdUInt32 bug, bool bValue)
** { Secret } */
#define MAX_LEADER_NUMBER
OdCmColor leaderLineColor(int leaderLineIndex) const
OdDb::LineWeight leaderLineWeight(int leaderLineIndex) const
virtual OdResult dwgInFields(OdDbDwgFiler *filer) ODRX_OVERRIDE
virtual OdResult subGetSubentPathsAtGsMarker(OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &pickPoint, const OdGeMatrix3d &xfm, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack=0) const ODRX_OVERRIDE
void setLeaderLineWeight(int leaderLineIndex, OdDb::LineWeight leaderLineWeight)
void setLeaderLineColor(int leaderLineIndex, const OdCmColor &leaderLineColor)
OdDbMLeaderStyle::LeaderType leaderLineType(int leaderLineIndex) const
ODDB_DECLARE_MEMBERS(OdDbMLeader)
virtual void dxfOutFields(OdDbDxfFiler *filer) const ODRX_OVERRIDE
@ kMoveAllExceptArrowHeaderPoints
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const ODRX_OVERRIDE
virtual OdResult subMoveGripPointsAt(const OdIntArray &indices, const OdGeVector3d &offset)
void setArrowSize(int leaderLineIndex, double arrowSize)
void setLeaderLineType(int leaderLineIndex, OdDbMLeaderStyle::LeaderType leaderLineType)
bool extendLeaderToText() const
virtual OdResult dxfInFields(OdDbDxfFiler *filer) ODRX_OVERRIDE
void setLeaderLineTypeId(int leaderLineIndex, OdDbObjectId leaderLineTypeId)
virtual OdDbObjectPtr subDeepClone(OdDbIdMapping &ownerIdMap, OdDbObject *pObj, bool bPrimary) const ODRX_OVERRIDE
virtual void modified(const OdDbObject *pObj) ODRX_OVERRIDE
bool isOverride(int leaderLineIndex, LeaderLineOverrideType value)
virtual void subSetDatabaseDefaults(OdDbDatabase *pDb, bool doSubents) ODRX_OVERRIDE
virtual void dwgOutFields(OdDbDwgFiler *filer) const ODRX_OVERRIDE
virtual void copyFrom(const OdRxObject *pSource)
virtual OdDbObjectPtr subWblockClone(OdDbIdMapping &ownerIdMap, OdDbObject *pObj, bool bPrimary) const ODRX_OVERRIDE
virtual void subViewportDraw(OdGiViewportDraw *mode) const ODRX_OVERRIDE
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const ODRX_OVERRIDE
void setExtendLeaderToText(bool bSet)
virtual OdResult subTransformBy(const OdGeMatrix3d &xform) ODRX_OVERRIDE
OdDbObjectId leaderLineTypeId(int leaderLineIndex) const
double arrowSize(int leaderLineIndex) const
virtual OdResult recomputeBreakPoints(OdDbMLeader *pMLeader)=0
ODRX_DECLARE_MEMBERS(OdDbMLeaderRecomputePE)
GLuint GLsizei GLsizei GLint GLenum * type
GLsizei const GLfloat * value