[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ContentControlType

Enum ContentControlType

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Specifies the type of content control.

public enum ContentControlType

Fields

Bibliography = 11

Specifies that the content control shall be of type bibliography. This setting does not require or imply that the contents of the content control shall contain only a field of type BIBLIOGRAPHY, it shall only be used to specify that the content control is of this kind, which can be used by an application as desired. NOTE: This type is ignored by Microsoft Word.

BuildingBlock = 6

Specifies that the content control shall be of a building block type. This setting does not require or imply that the contents of the control shall contain only the exact contents of a buildin block of the specified gallery and category which is present on the current machine, it shall only be used to specify that the content control is of this kind, which shall be used by an application to present the possible list of choices for insertion into the content control. This type differs from the BuildingBlockGallery in that it can be used to semantically tag a set of block-level objects in a document without requiring the ability to specify a category and gallery of objects which can be swapped with it via the user interface. NOTE: This type is ignored by Microsoft Word.

BuildingBlockGallery = 5

Specifies that the content control shall be of a building block gallery type. This setting does not require or imply that the contents of control shall contain only the exact contents of a building block of the specified gallery and category which is present on the current machine, it shall only be used to specify that the content control is of this kind, which shall be used by an application to present the possible list of choices for insertion into the content control.

CheckBox = 9

Specifies that the content control is a checkbox when displayed in the document. The control contents MUST contain a single character.

Citation = 12

Specifies that the content control shall be of type citation. This setting does not require or imply that the contents of the structured document tag shall contain only a field of type CITATION, it shall only be used to specify that the content control is of this type, which can be used by an application as desired. NOTE: This type is ignored by Microsoft Word.

ComboBox = 3

Specifies that the content control shall be a combo box when displayed in the document. This setting specifies that the behavior for this content control shall be as follows: The property DropdownList specify choices which shall be displayed in a standard drop-down list format. Formatting applied to any part of this control contents shall apply to its entire contents. As well, the content control shall satisfy the following restraints: The contents shall only be contain a single run (one set of formatting properties). The contents shall not contain more than a single paragraph or table cell and shall not contain a table row or table.

Date = 7

Specifies that the content control shall be a date picker when displayed in the document. This setting specifies that the behavior for this content control shall be as follows: Formatting applied to any part of this control contents shall apply to its entire contents. As well, the content control shall satisfy the following restraints: The contents shall only be contain a single run (one set of formatting properties). The contents shall not contain more than a single paragraph or table cell and shall not contain a table row or table cell.

DropdownList = 4

Specifies that the content control shall be a drop-down list when displayed in the document. This setting specifies that the behavior for this content control shall be as follows: The contents shall not be editable when displayed by a hosting application regardless of the locking properties. The property DropdownList specify choices which shall be displayed in a standard drop-down list format. As well, the content control shall satisfy the following restraints: The contents shall only be contain a single run (one set of formatting properties). The contents shall not contain more than a single paragraph or table cell and shall not contain a table row or table.

Equation = 10

Specifies that the content control shall be of type equation. This setting does not require or imply that the contents of the structured document tag shall contain only an equation or associated placeholder text, it shall only be used to specify that the content control is of this kind, which can be used by an application as desired.

ExternalContentEntityPicker = 15

Specifies that the content control allows the user to select an instance of an external content type when displayed in the document. This setting specifies that the behavior for this content control shall be as follows: Formatting applied to any part of this control contents shall apply to its entire contents. As well, the content control shall satisfy the following restraints: The contents shall only be contain a single run (one set of formatting properties) with exceptions for soft carriage returns via the MultiLine property on this control. The contents shall not contain more than a single paragraph or table cell and shall not contain a table row or table. The content control MUST specifiy XmlMapping property. The document MUST contain a custom XML data part whose root namespace is "http://schemas.microsoft.com/office/2006/metadata/properties", and whose identifier matches the value specified by the CustomXmlPartId property. The XPath property MUST specify the path to an element within that custom XML data part. The document MUST also contain a custom XML data part whose root namespace is "http://schemas.microsoft.com/office/2006/metadata/contentType". This custom XML data part contains a schema element (in the "http://www.w3.org/2001/XMLSchema" namespace) that specifies an XML Schema for the element specified by the XPath property.

Group = 8

Specifies that the content control shall be a restricted grouping when displayed in the document. This setting specifies that the behavior for this content control shall be as follows: The contents of this control shall not be editable when displayed by a hosting application regardless of the locking properties. This restriction can be superseded by any content control contained within the group, as each content control specifies the locking properties for its own content.

Picture = 2

Specifies that the content control shall be a picture when displayed in the document. This setting specifies that the behavior for this content control shall be as follows: The contents shall always be restricted to a single picture. As well, the content control shall satisfy the following restraints: The contents shall only be a single picture. The contents shall not contain more than a single paragraph or table cell and shall not contain a table row or table.

RepeatingSection = 13

Specifies that the content control is a container for repeated items. The content control MUST contain only content controls with RepeatingSectionItem type. If XmlMapping is specified and the binding results in finding XML elements then the numerical relation between the number of elements matched and the number of child content controls contained MUST be maintained. NOTE: This type is ignored by Microsoft Word.

RepeatingSectionItem = 14

Specifies that the content control is a repeated item. The content control MUST be contained within a content control with RepeatingSection type and MUST be either level Block, Row, or Cell.

RichText = 0

Specifies that the content control shall be a rich text box when displayed in the document.

Text = 1

Specifies that the content control shall be a plain text box when displayed in the document. This setting specifies that the behavior for this content control shall be as follows: Formatting applied to any part of this control contents shall apply to its entire contents. As well, the content control shall satisfy the following restraints: The contents shall only be contain a single run (one set of formatting properties) with exceptions for soft carriage returns via the MultiLine property on this control. The contents shall not contain more than a single paragraph or table cell and shall not contain a table row or table.