Cell element (Character Section) (Visio XML)

Specifies a formatting attribute for a shape's text run, such as font, color, style, case, position relative to the baseline, or point size.

Element information

Value
Element type
Cell_Type
Namespace
http://schemas.microsoft.com/office/visio/2012/main
Schema file
VisioSchema15.xsd
Document parts
document.xml, master#.xml, page#.xml

Definition

< xs:element name="Cell" type="Cell_Type" minOccurs="0" maxOccurs="unbounded" >
</xs:element >

Elements and attributes

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Parent elements

Element Type Description
Row element (Character Section)
CharacterRow_Type
Specifies a formatting attribute for a shape's text run, such as font, color, style, case, position relative to the baseline, or point size.

Child elements

Element Type Description
RefBy
RefBy_Type
Specifies a reference to a drawing page.

Attributes

Attribute Type Required Description Possible values
E
xsd:string
optional
Indicates that the formula evaluates to an error. The value of E is the current value (an error message string); the value of the V attribute is the last valid value. An error message string.
F
xsd:string
optional
Represents the element's formula. This attribute can contain one of the following strings:
'(some formula)' if the formula exists locally
No Formula if the formula is locally deleted or blocked
Inh if the formula is inherited.
A formula.
N
xsd:string
required
Represents the name of the ShapeSheet cell. The name of the ShapeSheet cell. See the Remarks section below.
U
xsd:string
optional
Represents a unit of measure The default is DL. The units of the cell.
V
xsd:string
optional
Represents the value of the cell. The value of the ShapeSheet cell.

Remarks

The N attribute of this Cell element must be one of a limited set of values that correspond to ShapeSheet cells. Refer to the table below to determine the values of the N attribute that are permitted for this Cell element.

Value Description More information
AsianFont
Contains the enumeration of the font used to format a text run containing Asian characters. AsianFont Cell (Character Section)
Case
Determines the case of a shape's text run. Case Cell (Character Section)
Color
Determines the color used for a shape's text run. Color Cell (Character Section)
ColorTrans
Determines the degree of transparency for a layer or shape's text run color, from 0 (completely opaque) to 1 (completely transparent). None.
ComplexScriptFont
Contains the number of the font used to format a text run composed of complex script characters. ComplexScriptFont Cell (Character Section)
ComplexScriptSize
The size of the font used to format a text run composed of complex script characters. ComplexScriptSize Cell (Character Section)
DblUnderline
Determines whether the range of a text run has a double underline below it. DoubleULine Cell (Character Section)
DoubleStrikethrough
Determines whether a text run is formatted as double strikethrough. DoubleStrikethrough Cell (Character Section)
Font
Represents the number of the font used to format a text run. Font Cell (Character Section)
FontScale
Specifies the font width. None.
LangID
Indicates the language in which a text run was entered. LangID Cell (Character Section)
Letterspace
Specifies the amount of space between two or more characters. Space can be added or subtracted in 1/20th point increments. None.
Overline
Determines whether a text run has a line above it. Overline Cell (Character Section)
Pos
Determines the position of a shape's text run relative to the baseline. Pos Cell (Character Section)
Size
Determines the size of a text run in the shape's text block. Size Cell (Character Section)
Strikethru
Determines whether a text run is formatted as strikethrough. Strikethru Cell (Character Section)
Style
Shows the character formatting applied to a range of a text run in the shape's text block. Style Cell (Character Section)