27#ifndef OD_DBMLEADERSTYLE_H
28#define OD_DBMLEADERSTYLE_H
81 kDrawContentFirst = 0,
96 kDrawLeaderHeadFirst = 0,
101 kDrawLeaderTailFirst = 1
111 kInVisibleLeader = 0,
131 kAttachmentHorizontal = 0,
135 kAttachmentVertical = 1
145 kAttachmentTopOfTop = 0,
150 kAttachmentMiddleOfTop = 1,
155 kAttachmentMiddle = 2,
160 kAttachmentMiddleOfBottom = 3,
165 kAttachmentBottomOfBottom = 4,
170 kAttachmentBottomLine = 5,
175 kAttachmentBottomOfTopLine = 6,
180 kAttachmentBottomOfTop = 7,
185 kAttachmentAllLine = 8,
190 kAttachmentCenter = 9,
195 kAttachmentLinedCenter = 10
210 kHorizontalAngle = 1,
216 kAlwaysRightReadingAngle = 2
231 kCenterAlignment = 1,
421 int maxLeaderSegmentsPoints);
566 double doglegLength);
728 bool enableFrameText);
801 bool enableBlockScale);
828 bool enableBlockRotation);
OdSmartPtr< OdDbMLeaderStyle > OdDbMLeaderStylePtr
virtual void setDescription(const OdString &description)
double doglegLength() const
TextAlignmentType textAlignmentType() const
virtual void setName(const OdString &name)
void setAnnotative(bool isAnnotative)
void setDefaultMText(const OdDbMTextPtr defaultMText)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbObjectId postMLeaderStyleToDb(OdDbDatabase *pDb, const OdString &styleName)
void setArrowSymbolId(const OdString &name)
void setLeaderLineTypeId(OdDbObjectId leaderLineTypeId)
TextAttachmentDirection textAttachmentDirection() const
bool textAlignAlwaysLeft() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
void setDatabaseDefaults(OdDbDatabase *pDb)
DrawLeaderOrderType drawLeaderOrderType() const
void setBlockId(const OdString &name)
double blockRotation() const
SegmentAngleType secondSegmentAngleConstraint() const
ODDB_DECLARE_MEMBERS(OdDbMLeaderStyle)
void setMaxLeaderSegmentsPoints(int maxLeaderSegmentsPoints)
virtual bool annotative() const
OdCmColor blockColor() const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void setEnableFrameText(bool enableFrameText)
BlockConnectionType blockConnectionType() const
virtual OdString description() const
OdCmColor leaderLineColor() const
void setTextAttachmentDirection(TextAttachmentDirection direction)
void setLandingGap(double landingGap)
virtual double scale() const
TextAngleType textAngleType() const
virtual void setBitFlags(OdUInt32 flags)
void setLeaderLineType(LeaderType leaderLineType)
bool enableBlockRotation() const
void setTextAttachmentType(TextAttachmentType textAttachmentType, LeaderDirectionType leaderDirection)
void setBlockId(OdDbObjectId blockId)
void setTextAngleType(TextAngleType textAngleType)
virtual OdUInt32 bitFlags() const
void setBreakSize(double size)
void setBlockRotation(double rotation)
bool enableDogleg() const
OdDb::LineWeight leaderLineWeight() const
void setSecondSegmentAngleConstraint(SegmentAngleType angle)
void setTextAlignmentType(TextAlignmentType textAlignmentType)
bool enableLanding() const
void setTextStyleId(OdDbObjectId textStyleId)
void setExtendLeaderToText(bool bSet)
void setTextAlignAlwaysLeft(bool bAlwaysLeft)
OdDbObjectId textStyleId() const
OdDbObjectId blockId() const
void setAlignSpace(double alignSpace)
void setDrawMLeaderOrderType(DrawMLeaderOrderType drawMLeaderOrderType)
void setEnableBlockRotation(bool enableBlockRotation)
void setDrawLeaderOrderType(DrawLeaderOrderType drawLeaderOrderType)
OdCmColor textColor() const
void setFirstSegmentAngleConstraint(SegmentAngleType angle)
void setScale(double scale)
void setLeaderLineWeight(OdDb::LineWeight leaderLineWeight)
DrawMLeaderOrderType drawMLeaderOrderType() const
void setEnableLanding(bool enableLanding)
ContentType contentType() const
bool enableFrameText() const
OdDbObjectId arrowSymbolId() const
void setTextColor(const OdCmColor &textColor)
double textHeight() const
void setBlockColor(const OdCmColor &blockColor)
void setLeaderLineColor(const OdCmColor &leaderLineColor)
void setBlockScale(const OdGeScale3d &scale)
void setEnableBlockScale(bool enableBlockScale)
OdDbObjectId leaderLineTypeId() const
bool overwritePropChanged() const
bool extendLeaderToText() const
void setArrowSize(double arrowSize)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdString getName() const
void setDoglegLength(double doglegLength)
double alignSpace() const
double landingGap() const
OdResult subGetClassID(void *pClsid) const
bool enableBlockScale() const
void setEnableDogleg(bool enableDogleg)
TextAttachmentType textAttachmentType(LeaderDirectionType leaderDirection) const
LeaderType leaderLineType() const
SegmentAngleType firstSegmentAngleConstraint() const
int maxLeaderSegmentsPoints() const
void setArrowSymbolId(OdDbObjectId arrowSymbolId)
OdDbMTextPtr defaultMText() const
void setContentType(ContentType contentType)
void setBlockConnectionType(BlockConnectionType blockConnectionType)
void setTextHeight(double textHeight)
OdGeScale3d blockScale() const
GLuint const GLchar * name