/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2002-2025, Open Design Alliance (the "Alliance"). // All rights reserved. // // This software and its documentation and related materials are owned by // the Alliance. The software may only be incorporated into application // programs owned by members of the Alliance, subject to a signed // Membership Agreement and Supplemental Software License Agreement with the // Alliance. The structure and organization of this software are the valuable // trade secrets of the Alliance and its suppliers. The software is also // protected by copyright law and international treaty provisions. Application // programs incorporating this software must include the following statement // with their copyright notices: // // This application incorporates Open Design Alliance software pursuant to a license // agreement with Open Design Alliance. // Open Design Alliance Copyright (C) 2002-2025 by Open Design Alliance. // All rights reserved. // // By use of this software, its documentation or related materials, you // acknowledge and accept the above terms. /////////////////////////////////////////////////////////////////////////////// #ifndef __DGTEXTNODEPROPS__H__ #define __DGTEXTNODEPROPS__H__ #include "DgProperties.h" #include "DgTextNode.h" // Class OdDgTextNode2d properties. Category "TextNode2d Properties": // Category "TextNode2d Properties" /* 1 - LineSpacing */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, LineSpacing, double, "TextNode2d Properties", 1, "Line spacing", ""); /* 2 - Italics */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, Italics, bool, "TextNode2d Properties", 2, "Italics", ""); /* 3 - FirstLineIndentation */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, FirstLineIndentation, double, "TextNode2d Properties", 3, "First line indentation", ""); /* 4 - ParagraphIndentation */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, ParagraphIndentation, double, "TextNode2d Properties", 4, "Paragraph indentation", ""); /* 5 - TabStopArray */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgTextNode2d, TabStopArray, OdDouble, "TextNode2d Properties", 5, "Tab stop array", ""); /* 6 - DefaultTabStep */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode2d, DefaultTabStep, double, "TextNode2d Properties", 6, "Default tab step"); /* 7 - StartSpecialSymbols */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgTextNode2d, StartSpecialSymbols, OdDgTextExtendedProperties::OdDgSpecialSymbol, "TextNode2d Properties", 7, "Start special symbols", ""); /* 8 - Font */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode2d, Font, OdDgElementId, "TextNode2d Properties", 8, "Font"); /* 9 - MaxLength */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, MaxLength, OdUInt16, "TextNode2d Properties", 9, "Max length", ""); /* 10 - Justification */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, Justification, OdDg::TextJustification, "TextNode2d Properties", 10, "Justification", ""); /* 11 - TextNodeNumber */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, TextNodeNumber, OdUInt32, "TextNode2d Properties", 11, "Text node number", ""); /* 12 - AnnotationScaleFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, AnnotationScaleFlag, bool, "TextNode2d Properties", 12, "Annotation scale flag", ""); /* 13 - AnnotationScale */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, AnnotationScale, double, "TextNode2d Properties", 13, "Annotation scale", ""); /* 14 - Rotation */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, Rotation, double, "TextNode2d Properties", 14, "Rotation", ""); /* 15 - Origin */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, Origin, OdGePoint2d, "TextNode2d Properties", 15, "Origin", ""); /* 16 - BoundingPoints */ ODRX_DECLARE_RX_PROPERTY_COLLECTION(OdDgTextNode2d, BoundingPoints, OdGePoint2d, "TextNode2d Properties", 16, "Bounding points"); /* 17 - UpsideDownFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, UpsideDownFlag, bool, "TextNode2d Properties", 17, "Upside down flag", ""); /* 18 - LineSpacingType */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, LineSpacingType, OdDgTextExtendedProperties::LineSpacingType, "TextNode2d Properties", 18, "Line spacing type", ""); /* 19 - StackedFractionAlign */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, StackedFractionAlign, OdUInt8, "TextNode2d Properties", 19, "Stacked fraction align", ""); /* 20 - StackedFractionSection */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, StackedFractionSection, OdUInt8, "TextNode2d Properties", 20, "Stacked fraction section", ""); /* 21 - StackedFractionType */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, StackedFractionType, OdUInt8, "TextNode2d Properties", 21, "Stacked fraction type", ""); /* 22 - Slant */ ODRX_DECLARE_RX_PROPERTY_ANGLE(OdDgTextNode2d, Slant, double, "TextNode2d Properties", 22, "Slant", ""); /* 23 - UnderlineSpacing */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, UnderlineSpacing, double, "TextNode2d Properties", 23, "Underline spacing", ""); /* 24 - LineOffset */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, LineOffset, OdGePoint2d, "TextNode2d Properties", 24, "Line offset", ""); /* 25 - CodePage */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, CodePage, OdUInt32, "TextNode2d Properties", 25, "Code page", ""); /* 26 - ShxBigFont */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode2d, ShxBigFont, OdDgElementId, "TextNode2d Properties", 26, "Shx big font"); /* 27 - BackgroundLineStyle */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode2d, BackgroundLineStyle, OdDgElementId, "TextNode2d Properties", 27, "Background linestyle"); /* 28 - BackgroundLineWeight */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode2d, BackgroundLineWeight, OdUInt32, "TextNode2d Properties", 28, "Background line weight"); /* 29 - BackgroundColor */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode2d, BackgroundColor, OdCmEntityColor, "TextNode2d Properties", 29, "Background color"); /* 30 - BackgroundFillColor */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode2d, BackgroundFillColor, OdCmEntityColor, "TextNode2d Properties", 30, "Background fill color"); /* 31 - BackgroundBorder */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode2d, BackgroundBorder, OdGePoint2d, "TextNode2d Properties", 31, "Background border"); /* 32 - OverlineSpacing */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, OverlineSpacing, double, "TextNode2d Properties", 32, "Overline spacing", ""); /* 33 - TextStyle */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode2d, TextStyle, OdDgElementId, "TextNode2d Properties", 33, "Text style"); /* 34 - UnderlineColor */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode2d, UnderlineColor, OdCmEntityColor, "TextNode2d Properties", 34, "Underline color"); /* 35 - UnderlineLineStyle */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode2d, UnderlineLineStyle, OdDgElementId, "TextNode2d Properties", 35, "Underline linestyle"); /* 36 - UnderlineLineWeight */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode2d, UnderlineLineWeight, OdUInt32, "TextNode2d Properties", 36, "Underline line weight"); /* 37 - OverlineColor */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode2d, OverlineColor, OdCmEntityColor, "TextNode2d Properties", 37, "Overline color"); /* 38 - OverlineLineStyle */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode2d, OverlineLineStyle, OdDgElementId, "TextNode2d Properties", 38, "Overline linestyle"); /* 39 - OverlineLineWeight */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode2d, OverlineLineWeight, OdUInt32, "TextNode2d Properties", 39, "Overline line weight"); /* 40 - TextnodeWordWrapLength */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, TextnodeWordWrapLength, double, "TextNode2d Properties", 40, "Textnode word wrap length", ""); /* 41 - CrCount */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, CrCount, OdUInt8, "TextNode2d Properties", 41, "Cr count", ""); /* 42 - Color */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, Color, OdCmEntityColor, "TextNode2d Properties", 42, "Color", "/ColorPalette"); /* 43 - LengthMultiplier */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, LengthMultiplier, double, "TextNode2d Properties", 43, "Length multiplier", ""); /* 44 - HeightMultiplier */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode2d, HeightMultiplier, double, "TextNode2d Properties", 44, "Height multiplier", ""); /* 45 - Elements */ ODRX_DECLARE_RX_PROPERTY_COLLECTION_TREE(OdDgTextNode2d, Elements, OdDgElementId, "TextNode2d Properties", 45, "Elements", "Entity"); // Class OdDgTextNode3d properties. Category "TextNode3d Properties": // Category "TextNode3d Properties" /* 1 - LineSpacing */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, LineSpacing, double, "TextNode3d Properties", 1, "Line spacing", ""); /* 2 - Italics */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, Italics, bool, "TextNode3d Properties", 2, "Italics", ""); /* 3 - FirstLineIndentation */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, FirstLineIndentation, double, "TextNode3d Properties", 3, "First line indentation", ""); /* 4 - ParagraphIndentation */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, ParagraphIndentation, double, "TextNode3d Properties", 4, "Paragraph indentation", ""); /* 5 - TabStopArray */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgTextNode3d, TabStopArray, OdDouble, "TextNode3d Properties", 5, "Tab stop array", ""); /* 6 - DefaultTabStep */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode3d, DefaultTabStep, double, "TextNode3d Properties", 6, "Default tab step"); /* 7 - StartSpecialSymbols */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgTextNode3d, StartSpecialSymbols, OdDgTextExtendedProperties::OdDgSpecialSymbol, "TextNode3d Properties", 7, "Start special symbols", ""); /* 8 - Font */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode3d, Font, OdDgElementId, "TextNode3d Properties", 8, "Font"); /* 9 - MaxLength */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, MaxLength, OdUInt16, "TextNode3d Properties", 9, "Max length", ""); /* 10 - Justification */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, Justification, OdDg::TextJustification, "TextNode3d Properties", 10, "Justification", ""); /* 11 - TextNodeNumber */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, TextNodeNumber, OdUInt32, "TextNode3d Properties", 11, "Text node number", ""); /* 12 - AnnotationScaleFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, AnnotationScaleFlag, bool, "TextNode3d Properties", 12, "Annotation scale flag", ""); /* 13 - AnnotationScale */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, AnnotationScale, double, "TextNode3d Properties", 13, "Annotation scale", ""); /* 14 - Rotation */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, Rotation, OdGeQuaternion, "TextNode3d Properties", 14, "Rotation", ""); /* 15 - Origin */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, Origin, OdGePoint3d, "TextNode3d Properties", 15, "Origin", ""); /* 16 - BoundingPoints */ ODRX_DECLARE_RX_PROPERTY_COLLECTION(OdDgTextNode3d, BoundingPoints, OdGePoint3d, "TextNode3d Properties", 16, "Bounding points"); /* 17 - UpsideDownFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, UpsideDownFlag, bool, "TextNode3d Properties", 17, "Upside down flag", ""); /* 18 - LineSpacingType */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, LineSpacingType, OdDgTextExtendedProperties::LineSpacingType, "TextNode3d Properties", 18, "Line spacing type", ""); /* 19 - StackedFractionAlign */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, StackedFractionAlign, OdUInt8, "TextNode3d Properties", 19, "Stacked fraction align", ""); /* 20 - StackedFractionSection */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, StackedFractionSection, OdUInt8, "TextNode3d Properties", 20, "Stacked fraction section", ""); /* 21 - StackedFractionType */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, StackedFractionType, OdUInt8, "TextNode3d Properties", 21, "Stacked fraction type", ""); /* 22 - Slant */ ODRX_DECLARE_RX_PROPERTY_ANGLE(OdDgTextNode3d, Slant, double, "TextNode3d Properties", 22, "Slant", ""); /* 23 - UnderlineSpacing */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, UnderlineSpacing, double, "TextNode3d Properties", 23, "Underline spacing", ""); /* 24 - LineOffset */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, LineOffset, OdGePoint2d, "TextNode3d Properties", 24, "Line offset", ""); /* 25 - CodePage */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, CodePage, OdUInt32, "TextNode3d Properties", 25, "Code page", ""); /* 26 - ShxBigFont */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode3d, ShxBigFont, OdDgElementId, "TextNode3d Properties", 26, "Shx big font"); /* 27 - BackgroundLineStyle */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode3d, BackgroundLineStyle, OdDgElementId, "TextNode3d Properties", 27, "Background linestyle"); /* 28 - BackgroundLineWeight */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode3d, BackgroundLineWeight, OdUInt32, "TextNode3d Properties", 28, "Background line weight"); /* 29 - BackgroundColor */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode3d, BackgroundColor, OdCmEntityColor, "TextNode3d Properties", 29, "Background color"); /* 30 - BackgroundFillColor */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode3d, BackgroundFillColor, OdCmEntityColor, "TextNode3d Properties", 30, "Background fill color"); /* 31 - BackgroundBorder */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode3d, BackgroundBorder, OdGePoint2d, "TextNode3d Properties", 31, "Background border"); /* 32 - OverlineSpacing */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, OverlineSpacing, double, "TextNode3d Properties", 32, "Overline spacing", ""); /* 33 - TextStyle */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode3d, TextStyle, OdDgElementId, "TextNode3d Properties", 33, "Text style"); /* 34 - UnderlineColor */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode3d, UnderlineColor, OdCmEntityColor, "TextNode3d Properties", 34, "Underline color"); /* 35 - UnderlineLineStyle */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode3d, UnderlineLineStyle, OdDgElementId, "TextNode3d Properties", 35, "Underline linestyle"); /* 36 - UnderlineLineWeight */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode3d, UnderlineLineWeight, OdUInt32, "TextNode3d Properties", 36, "Underline line weight"); /* 37 - OverlineColor */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode3d, OverlineColor, OdCmEntityColor, "TextNode3d Properties", 37, "Overline color"); /* 38 - OverlineLineStyle */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode3d, OverlineLineStyle, OdDgElementId, "TextNode3d Properties", 38, "Overline linestyle"); /* 39 - OverlineLineWeight */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTextNode3d, OverlineLineWeight, OdUInt32, "TextNode3d Properties", 39, "Overline line weight"); /* 40 - TextnodeWordWrapLength */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, TextnodeWordWrapLength, double, "TextNode3d Properties", 40, "Textnode word wrap length", ""); /* 41 - CrCount */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, CrCount, OdUInt8, "TextNode3d Properties", 41, "Cr count", ""); /* 42 - Color */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, Color, OdCmEntityColor, "TextNode3d Properties", 42, "Color", "/ColorPalette"); /* 43 - LengthMultiplier */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, LengthMultiplier, double, "TextNode3d Properties", 43, "Length multiplier", ""); /* 44 - HeightMultiplier */ ODRX_DECLARE_RX_PROPERTY(OdDgTextNode3d, HeightMultiplier, double, "TextNode3d Properties", 44, "Height multiplier", ""); /* 45 - Elements */ ODRX_DECLARE_RX_PROPERTY_COLLECTION_TREE(OdDgTextNode3d, Elements, OdDgElementId, "TextNode3d Properties", 45, "Elements", "Entity"); #endif // __DGTEXTNODEPROPS__H__