Cell element (Paragraph Section) (Visio XML)

Specifies a paragraph formatting attribute for the shape's text, such as indents, line spacing, bullets, or horizontal alignment of paragraphs.

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 (Paragraph Section)
ParagraphRow_Type
Specifies a paragraph formatting attribute for the shape's text, such as indents, line spacing, bullets, or horizontal alignment of paragraphs.

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
Bullet
Determines the bullet style. Bullet Cell (Paragraph Section)
BulletFont
Represents the number of the font used to format the text when a custom bullet string is specified and the value in the Bullet cell is non-zero. BulletFont Cell (Paragraph Section)
BulletFontSize
Specifies the size of a bullet. BulletSize Cell (Paragraph Section)
BulletStr
Allows you to create a custom bullet style. BulletString Cell (Paragraph Section)
Flags
Indicates whether the text direction is left to right or right to left. Flags Cell (Paragraph Section)
HorzAlign
Determines the horizontal alignment of text in the shape's text block. HAlign Cell (Paragraph Section)
IndFirst
Represents the distance the first line of each paragraph in the shape's text block is indented from the left indent of the paragraph. This value is independent of the scale of the drawing. If the drawing is scaled, the first line indent remains the same. IndFirst Cell (Paragraph Section)
IndLeft
Represents the distance all lines of text in a paragraph are indented from the left margin of the text block. This value is independent of the scale of the drawing. If the drawing is scaled, the left indent remains the same. IndLeft Cell (Paragraph Section)
IndRight
Represents the distance all lines of text in a paragraph are indented from the right margin of the text block. This value is independent of the scale of the drawing. If the drawing is scaled, the right indent remains the same. IndRight Cell (Paragraph Section)
SpAfter
Determines the amount of space inserted after each paragraph in the shape's text block, in addition to any space from the SpLine cell and, if it is the last paragraph in a text block, the BottomMargin cell. SpAfter Cell (Paragraph Section)
SpBefore
Determines the amount of space inserted before each paragraph in the shape's text block, in addition to any space from the SpLine cell if it is the first paragraph in a text block, the TopMargin cell. SpBefore Cell (Paragraph Section)
SpLine
Determines the distance between one line of text and the next, expressed as a percentage, where 100% is the height of a text line. SpLine Cell (Paragraph Section)
TextPosAfterBullet
Represents the distance between the first line of the paragraph and the bullet. TextPosAfterBullet Cell (Paragraph Section)