Compartir a través de


Calendar Element (Visio XML Reference)

Determines the calendar that is used for custom properties, text fields, and element formulas.

Value

Description

0

Western

1

Arabic Hijiri

2

Hebrew Lunar

3

Taiwan Calendar

4

Japanese Emperor Reign

5

Thai Buddhist

6

Korean Danki

7

Saka Era

8

English transliterated

9

French transliterated

Syntax

<Calendar
    [Unit]
    [F]
    [Err]>
</Calendar>

Attributes

Unit

Optional string. Represents a unit of measure. The default is NUM. For details about NUM, see Units of measure.

F

Optional string. Represents the element's formula. This attribute can contain one of the following strings: "someFormula" if the formula exists locally, "No Formula" if the formula is locally deleted or blocked, or "Inh" if the formula is inherited.

If the attribute is not present, the element's formula is a simple constant. For example, <element>5</element>.

Err

Optional string. Indicates that the formula evaluates to an error. The value of Err is the current value (an error message string); the value of the element is the last valid value.

Element properties

Property

Value

Name

Calendar

Minimum Occurences

0

Maximum Occurences

1

Element information

Parent elements

Misc

Field

Prop

Child elements

None

When the Calendar element is contained in the Misc element, it determines the calendar that is used when an element formula contains Date information.

When the Calendar element is contained in the Field element, it determines the calendar that is used for a text field when the data type is Date.

When the Calendar element is contained in the Prop element, it determines the calendar that is used for custom properties when the data type is Date.

See also

Calendar cell (Custom Properties section)

Calendar cell (Miscellaneous section)

Calendar cell (Text Fields section)