Parameters |
Description |
const OdString& fieldCode |
[in] Field code. |
OdDbField::FieldCodeFlag flags = (OdDbField::FieldCodeFlag) 0 |
[in] Field code flags. |
OdDbFieldArray* pChildFields = 0 |
[in] Pointer to an array of child fields. |
Sets the field code of this Field object in the specified form.
Child fields are the embedded fields of text fields, and nested fields of non-text fields.
flags must be a combination of one or more of the following:
Name |
Value |
Description |
kFieldCode |
0x01 |
Returns the raw field code. Ignored. |
kEvaluatedText |
0x02 |
Returns the evaluated text. Ignored. |
kEvaluatedChildren |
0x04 |
Returns the field code with evaluated text for child fields. Ignored. |
kObjectReference |
0x08 |
Returns the field code as an object reference. Ignored. |
kAddMarkers |
0x10 |
Includes markers around field codes. Ignored. |
kEscapeBackslash |
0x20 |
Converts single backslashes to double backslashes. Ignored. |
kStripOptions |
0x40 |
Strips the standard options from the field code. Ignored. |
kPreserveFields |
0x80 |
Internal use only. |
kTextField |
0x100 |
Treats the field as text with embedded fields. |
Copyright © 2002–2021. Open Design Alliance. All rights reserved.
|