27 #ifndef OD_DBMLEADERSTYLE_H
28 #define OD_DBMLEADERSTYLE_H
83 kDrawContentFirst = 0,
98 kDrawLeaderHeadFirst = 0,
103 kDrawLeaderTailFirst = 1
113 kInVisibleLeader = 0,
133 kAttachmentHorizontal = 0,
137 kAttachmentVertical = 1
147 kAttachmentTopOfTop = 0,
152 kAttachmentMiddleOfTop = 1,
157 kAttachmentMiddle = 2,
162 kAttachmentMiddleOfBottom = 3,
167 kAttachmentBottomOfBottom = 4,
172 kAttachmentBottomLine = 5,
177 kAttachmentBottomOfTopLine = 6,
182 kAttachmentBottomOfTop = 7,
187 kAttachmentAllLine = 8,
192 kAttachmentCenter = 9,
197 kAttachmentLinedCenter = 10
212 kHorizontalAngle = 1,
218 kAlwaysRightReadingAngle = 2
233 kCenterAlignment = 1,
423 int maxLeaderSegmentsPoints);
568 double doglegLength);
730 bool enableFrameText);
803 bool enableBlockScale);
830 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)
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)
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