text:conditional-text
Element information
Namespace: urn:oasis:names:tc:opendocument:xmlns:text:1.0
Schema document: OpenDocument-schema-v1.1.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Any text (mixed) content
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
text:condition | [1..1] | text:formula | from group text:text-conditional-text-attlist | |
text:string-value-if-true | [1..1] | text:string | from group text:text-conditional-text-attlist | |
text:string-value-if-false | [1..1] | text:string | from group text:text-conditional-text-attlist | |
text:current-value | [0..1] | text:boolean | from group text:text-conditional-text-attlist |
Used in
- Group text:paragraph-content
- Anonymous type of element text:a via reference to text:paragraph-content
- Anonymous type of element text:h via reference to text:paragraph-content
- Anonymous type of element text:p via reference to text:paragraph-content
- Anonymous type of element text:ruby-base via reference to text:paragraph-content
- Anonymous type of element text:span via reference to text:paragraph-content
Sample instance
<text:conditional-text text:condition="string" text:string-value-if-true="string" text:string-value-if-false="string">Any text</text:conditional-text>