Showing:

Annotations
Attributes
Facets

Table of Contents

Group by:

Resource hierarchy:

Main schema uci.xsd
Annotations

This schema documents the internal document structure that the RTF Importer module creates as its result.

uci schema design

Physical separation of out-of-flow from in-flow content

During development of the RTF Importer module, the following fundamental design decision was made: out-of-flow elements are located in a separate, out-of-flow container . This is different from most other common schemas like DocBook or HTML. Why did we do this?

One of upCast RT's focus is offering operators to bring legacy, often unstructured word-processing content into a useful structure. For this, we often need to work on the raw text and its formatting for operations like regular expressions or determining styling for a run of text. If we kept out-of-flow elements like footnotes, textboxes or annotations inline in the text flow, those operations would become much more complicated to use (or they would need to be equipped with some auto-magic). Let's have a look at an example:

<par>Java<footnote>A programming language formerly called Oak.</footnote>-based applications</par>

Suppose the user wanted "Java-based applications" to be a heading, but did not use a dedicated style for this and used local formatting overrides instead. Now, we need to detect this - but how? A straight-forward approach would be to define the following rule for headings: If a paragraph consists only of at max 35 characters that are 16pt bold, consider it a heading. If you'd apply that rule to the paragraph above, you'd find that string-length( string(self::par) ) is greater than 35 because it counts characters also in descendants. Additionally, the characters in the footnote would not be 16pt and bold, so the second condition would also not match.

If you had ever to deal with these kind of problems (excluding certain sub-trees in operations on elements), you know that this can become a nightmare. You must define logic to exclude those items at any level, keep the list of elements to exclude up-to-date, etc. Since these operations are fundamental, common operations in legacy document conversion, we decided to move lofical out-of-flow content also physically out of low. This means that the above turns conceptually into a structure like

<body><par>Java<contentref idref="id1"/>-based applications</par></body>

<extflow><footnote id="id1">A programming language formerly called Oak.</footnote><extflow>

Layout properties exposed as namespaced attributes

You often will want to access certain layout properties on elements. These CSS properties are exposed in the tree as synthesized attributes. However, their being synthesized dynamically at query time is a technical detail you can neglect for most operations, except that you cannot set them. They are only made real element attributes when you serialize the internal tree with the XML Exporter module (and they are not filtered by its attribute filter settings). The properties are exposed on elements in the three semantic namespaces css, csso and cssc. See the upCast RT manual for details on the semantics of these namespaces.

Document structure

Basic structure

The basic document structure looks as follows:

<uci:document>
                                    <uci:head>...</uci:head>
                                    <uci:body>...</uci:body>
                                    <uci:extflow>...</uci:extflow>
                                    </uci:document>
                                 

The uci:body element contains the all content that is within the regular document flow.

The uci:extflow element contains all out-of-flow element definitions like footnotes, endnotes, annotations, page headers and footers, binary objects, textboxes etc.

Tables

Tables are represented as a rectangular, regular grid of uci:cell objects, organized in uci:row objects, which are contained in an uci:table object. There are no elements to physically represent table header, table footer or row groups. Instead, this info is attached to uci:cell and uci:row objects as attributes. This simple, generic grid structure allows us to

  • easily programmatically change row-grouping structures by simply setting attributes instead of having to physically juggle with table elements (creation, moving, etc.)
  • be table-model independent: the XML Exporter will take care of serializing the generic internal table structure in one of (currently) three target models based solely on the attribute settings: HTML, CALS and native.
[ top ]
Element uci:document
Annotations

The document element is the root element. It corresponds to the entire original RTF document.

Model uci:head , uci:body , uci:extflow
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css http://www.infinity-loop.de/namespace/2006/upcast-cssoverride http://www.infinity-loop.de/namespace/2006/upcast-cssclass'
uci:class optional
The class attribute. The value is the same as @rawclass with the difference that spaces in the class name having been replaced by non-breaking space characters (U+00A0). This is necessary to make the class a single NMTOKEN.
uci:classStyle optional
This attribute lists all properties defined in the CSS class referenced by the class attribute.
uci:diffStyle optional
This attribute contains only those CSS properties that have changed compared to its parent or have been actively set on this element. This is CSS code.
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:rawclass optional
The name of the Word style (paragraph or character) without any transformation applied. This means the value can contain spaces.
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility. See RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry at http://www.iana.org/assignments/lang-tag-apps.htm for further information. The union allows for the 'un-declaration' of xml:lang with the empty string.
[ top ]
Element uci:head
Annotations
The document's metadata container.
Model uci:documentinfo{0,1} , uci:style{0,1}
[ top ]
Element uci:documentinfo
Annotations
Container for all properties (either pre-defined or custom) explicitly set in the Word document.
Model uci:property*
[ top ]
Element uci:property
Annotations
A single Word document property, either pre-defined or custom.
Attributes
QName Type Fixed Default Use Annotation
uci:name union of(restriction of xs:string, restriction of xs:string) required
name of the document property
uci:type restriction of xs:token required
the type of the property
uci:value required
the value of the property
[ top ]
Element uci:style
Annotations

This element contains inline CSS stylesheet code if the RTF Epxorter's Style information parameter is set to internal.

Note:This element is not present in the internal tree, but added dynamically based on that parameter by the RTF Exporter module.

Attributes
QName Type Fixed Default Use Annotation
uci:type restriction of xs:string optional
mime type of contained stylesheet code
[ top ]
Element uci:body
Annotations
The document's body content.
Model uci:part , (((uci:par | uci:list | uci:table | uci:toc | uci:pagebreak | uci:part)) | uci:contentref)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
[ top ]
Element uci:part
Annotations
A part corresponds to a Word/RTF document's section break. A document has at least one starting part which is required.
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css http://www.infinity-loop.de/namespace/2006/upcast-cssoverride http://www.infinity-loop.de/namespace/2006/upcast-cssclass'
uci:class optional
The class attribute. The value is the same as @rawclass with the difference that spaces in the class name having been replaced by non-breaking space characters (U+00A0). This is necessary to make the class a single NMTOKEN.
uci:classStyle optional
This attribute lists all properties defined in the CSS class referenced by the class attribute.
uci:diffStyle optional
This attribute contains only those CSS properties that have changed compared to its parent or have been actively set on this element. This is CSS code.
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:is-firstpart xs:boolean optional
true when this is the first part in the document, which then has not been generated by an explicit section break in Word, but holds the default settings for any following document content. This is a convenience attribute when applying XSLTs at some later pipeline step, allowing you to handle this special part element differently.
uci:pagefooterrefs xs:IDREFS optional
A list of IDs referring to extflow/pagefooter elements to be used in this part for page footer definitions.
uci:pageheaderrefs xs:IDREFS optional
A list of IDs referring to extflow/pageheader elements to be used in this part for page header definitions.
uci:rawclass optional
The name of the Word style (paragraph or character) without any transformation applied. This means the value can contain spaces.
[ top ]
Element uci:par
Annotations
a (layout-)paragraph
Model (uci:target | uci:endtarget | uci:gentext | uci:image | uci:contentref | uci:object | uci:link | uci:reference | uci:deleted | uci:inserted | uci:formcheckbox | uci:formtext | uci:formdropdown | uci:pagebreak | uci:linebreak | uci:columnbreak | uci:pagestart | uci:linestart | uci:highlight | uci:inline)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css http://www.infinity-loop.de/namespace/2006/upcast-cssoverride http://www.infinity-loop.de/namespace/2006/upcast-cssclass'
uci:class optional
The class attribute. The value is the same as @rawclass with the difference that spaces in the class name having been replaced by non-breaking space characters (U+00A0). This is necessary to make the class a single NMTOKEN.
uci:classStyle optional
This attribute lists all properties defined in the CSS class referenced by the class attribute.
uci:diffStyle optional
This attribute contains only those CSS properties that have changed compared to its parent or have been actively set on this element. This is CSS code.
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:heading-level optional
When this is greater 0, it identifies the heading level assigned to this paragraph.
uci:rawclass optional
The name of the Word style (paragraph or character) without any transformation applied. This means the value can contain spaces.
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility. See RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry at http://www.iana.org/assignments/lang-tag-apps.htm for further information. The union allows for the 'un-declaration' of xml:lang with the empty string.
[ top ]
Element uci:target
Annotations
Marks a specifc location in the document by name. This corresponds to a Word bookmarks start point of similar name.
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:id xs:ID required
id of this content span
uci:rawtarget required
The raw name of the Word bookmark. (The id attribute on this element holds an ID-sanitized version of that name.)
[ top ]
Element uci:endtarget
Annotations

Marks the end of a portion of a document that was started by a target element with the same ID earlier.

Background info: Word allows creating so called bookmarks over arbitrary ranges of content in a document. Specifically, these ranges need not be properly nested in any way. Since we cannot express this faithfully in XML which requires wellformedness, the endtarget element mechanism is a way to at least indicate what portion of the original document was part of that named bookmark (span).

Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:id xs:IDREF required
points to the id of the corresponding target element
uci:rawtarget required
The raw name of the Word bookmark this is the end position of. (The id attribute on this element holds an IDREF-sanitized version of that name.)
[ top ]
Element uci:gentext
Annotations
This element represents a Word field. Nested fields in Word are flattened to a single definition.
Model (uci:target | uci:endtarget | uci:gentext | uci:image | uci:contentref | uci:object | uci:link | uci:reference | uci:deleted | uci:inserted | uci:formcheckbox | uci:formtext | uci:formdropdown | uci:pagebreak | uci:linebreak | uci:columnbreak | uci:pagestart | uci:linestart | uci:highlight | uci:inline)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:data optional
Contains the data part (parameters etc.) of the field instruction. The specification follows the Word syntax.
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:notenumber xs:int optional
(only when uci:type="upcast-NOTENUMBER":) index of the parent footnote or endnote; in conjunction with the uci:numberingstyle attribute, you can use this number for calculating the actual numbering string this gentext element should generate
uci:numberingstyle xs:string optional
(only when uci:type="upcast-NOTENUMBER":) numbering style to use for the footnote or endnote number; values are the same as for the CSS property list-style-type
uci:type required
The filed type specification (like PAGE, INDEX, etc.). The following special values /created by upCast) are also possible:
upcast-NOTENUMBER
a placeholder for the number of this footnote or endnote
[ top ]
Element uci:image
Annotations
represents an image
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css http://www.infinity-loop.de/namespace/2006/upcast-cssoverride http://www.infinity-loop.de/namespace/2006/upcast-cssclass'
uci:class optional
The class attribute. The value is the same as @rawclass with the difference that spaces in the class name having been replaced by non-breaking space characters (U+00A0). This is necessary to make the class a single NMTOKEN.
uci:classStyle optional
This attribute lists all properties defined in the CSS class referenced by the class attribute.
uci:description optional
holds descriptive text for this image (alternative text). The source for this attribute is Word's "Alt Text" field for the image.
uci:diffStyle optional
This attribute contains only those CSS properties that have changed compared to its parent or have been actively set on this element. This is CSS code.
uci:filehash optional
Holds a MD5 hash value over the external image file this image element points to. This can be used for image file normalization, when e.g. the source document included the same image file multiple times into the document. Image elements with the same hash value in this attribute are very likely to reference the same image.
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:height optional
the height of the image (incl. unit identifier)
uci:height_px optional
describes the image height in integer units of pixel. For calculation of that value from the physical image size, the RTF Importer's Outgoing images rendering resolution parameter value (in dpi) is used.
uci:href required
an URL pointing to the image file
uci:rawclass optional
The name of the Word style (paragraph or character) without any transformation applied. This means the value can contain spaces.
uci:source required
contains the absolute source location of the image, if that can be determined
uci:sourcetype restriction of xs:NMTOKENS required
specified where the image originated from
uci:specified-source optional
contains the raw source location as specified in the source document; this may be a location that is not actually accessible or correct for the current location of the document
uci:width optional
the width of the image (incl. unit identifier)
uci:width_px optional
describes the image width in integer units of a pixel. For calculation of that value from the physical image size, the RTF Importer's Outgoing images rendering resolution parameter value (in dpi) is used.
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility. See RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry at http://www.iana.org/assignments/lang-tag-apps.htm for further information. The union allows for the 'un-declaration' of xml:lang with the empty string.
[ top ]
Element uci:contentref
Annotations
This element is generic "pointer" of "reference" element that points to out-of-flow content (like footnotes, annotations, textboxes etc.). These elements are gathered in their respective grouping containers in the document's extflow element.
Attributes
QName Type Fixed Default Use Annotation
uci:action restriction of xs:string optional
the action type associated with this element when it is clicked on
uci:id xs:ID optional
The ID of this element. This is is used for back-linking to here from the actual content that this element points to for convenience.
uci:idref xs:IDREF required
Reference to the ID of the out-of-flow element this contentref element refers to.
uci:refdisplay restriction of xs:string required
indicates the style (or format) how the referenced element should be displayed at the reference location in the document body. For example, indicates whether the element's content is placed inline, or if the element is referenced by formatted number or text representing a relative reference (like "above" or "below").
uci:role restriction of xs:string optional
The type (semantics) of this reference.
uci:targettype restriction of xs:string required
The type of out-of-flow element this contentref points to.
[ top ]
Element uci:object
Annotations
A container for alternative representations of a Word object (e.g. an OLE object).
Model uci:image{0,1} , uci:contentref{0,1} , uci:extobject
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:subtype required
The object's subtype.
uci:type required
The main object type.
[ top ]
Element uci:extobject
Annotations

This element represents a reference to an external (often binary) object representation of a Word OLE object. These binary representations are extracted from the embedded OLE data object by specifically implemented data extractors for each supported data type. Please refer to the upCast RT documentation for an up-to-date list of currently supported Word OLE data types.

Note that this is different from the ole element, which is a representation of the full Word OLE data in base64 encoding and serves solely for re-creating that exact Word OLE representation when roundtripping the document to RTF. This element, however, references an unwrapped data object suitable for being opened/edited in the creating or different application directly.

Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:mimetype xs:string optional
the mime type of the externalized data object (file), e.g. application/octet-stream.
uci:rawtarget xs:string required
The raw file path to the extern file in local file system notation.
xlink:href xlink:hrefType optional
xlink:show xlink:showType embed optional
xlink:type xlink:typeType simple optional
[ top ]
Element uci:link
Annotations
Model (uci:target | uci:endtarget | uci:gentext | uci:image | uci:contentref | uci:object | uci:link | uci:reference | uci:deleted | uci:inserted | uci:formcheckbox | uci:formtext | uci:formdropdown | uci:pagebreak | uci:linebreak | uci:columnbreak | uci:pagestart | uci:linestart | uci:highlight | uci:inline)
Attributes
[ top ]
Element uci:deleted
Annotations
this element groups content that has been marked as deleted
Model (uci:target | uci:endtarget | uci:gentext | uci:image | uci:contentref | uci:object | uci:link | uci:reference | uci:deleted | uci:inserted | uci:formcheckbox | uci:formtext | uci:formdropdown | uci:pagebreak | uci:linebreak | uci:columnbreak | uci:pagestart | uci:linestart | uci:highlight | uci:inline)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:authorname optional
the name of the author who deleted the content
uci:date optional
the date when the content was deleted as an RFC 822, section 5 conforming date string
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
[ top ]
Element uci:formcheckbox
Annotations
a checkbox form, as available through Word's forms palette
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css http://www.infinity-loop.de/namespace/2006/upcast-cssoverride http://www.infinity-loop.de/namespace/2006/upcast-cssclass'
uci:class optional
The class attribute. The value is the same as @rawclass with the difference that spaces in the class name having been replaced by non-breaking space characters (U+00A0). This is necessary to make the class a single NMTOKEN.
uci:classStyle optional
This attribute lists all properties defined in the CSS class referenced by the class attribute.
uci:default-value optional
the default value for this form field
uci:diffStyle optional
This attribute contains only those CSS properties that have changed compared to its parent or have been actively set on this element. This is CSS code.
uci:fieldname optional
the name of the form field
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:help-text optional
help text to display to the user for this form
uci:rawclass optional
The name of the Word style (paragraph or character) without any transformation applied. This means the value can contain spaces.
uci:selected-value required
the value that currently is selected in this form
uci:statusline-text optional
text to display in the status line of the viewer when in this form
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility. See RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry at http://www.iana.org/assignments/lang-tag-apps.htm for further information. The union allows for the 'un-declaration' of xml:lang with the empty string.
[ top ]
Element uci:formtext
Annotations
a text field form, as available through Word's forms palette
Model (uci:par | uci:list | uci:table | uci:toc | uci:pagebreak | uci:part)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css http://www.infinity-loop.de/namespace/2006/upcast-cssoverride http://www.infinity-loop.de/namespace/2006/upcast-cssclass'
uci:class optional
The class attribute. The value is the same as @rawclass with the difference that spaces in the class name having been replaced by non-breaking space characters (U+00A0). This is necessary to make the class a single NMTOKEN.
uci:classStyle optional
This attribute lists all properties defined in the CSS class referenced by the class attribute.
uci:default-value optional
the default value for this form field
uci:diffStyle optional
This attribute contains only those CSS properties that have changed compared to its parent or have been actively set on this element. This is CSS code.
uci:fieldname optional
the name of the form field
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:help-text optional
help text to display to the user for this form
uci:rawclass optional
The name of the Word style (paragraph or character) without any transformation applied. This means the value can contain spaces.
uci:statusline-text optional
text to display in the status line of the viewer when in this form
uci:stylename xs:string optional
text style to apply (not used anywhere in upCast)
uci:textlength xs:int optional
the maximum text length allowed as input into this field
uci:texttype restriction of xs:string required
the content text type for this field
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility. See RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry at http://www.iana.org/assignments/lang-tag-apps.htm for further information. The union allows for the 'un-declaration' of xml:lang with the empty string.
[ top ]
Element uci:formdropdown
Annotations
a popup menu form, as available through Word's forms palette
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:choicelistref xs:IDREF required
The id of the referenced choicelist element to use for this dropdown.
uci:default-value optional
the default value for this form field
uci:fieldname optional
the name of the form field
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:help-text optional
help text to display to the user for this form
uci:id xs:ID required
the ID of this dropdown menu
uci:listbox xs:boolean required
determines whether a list box is hown for this form
uci:selected-value required
the value that currently is selected in this form
uci:statusline-text optional
text to display in the status line of the viewer when in this form
[ top ]
Element uci:pagebreak
Annotations
Empty element specifying that there was a hard pagebreak in the original document.
[ top ]
Element uci:linebreak
Annotations
indicates the position of a hard line break in the source document
Attributes
QName Type Fixed Default Use Annotation
uci:type restriction of xs:string optional
the type of the linebreak
[ top ]
Element uci:columnbreak
Annotations
element indicating the position of a hard column break in the source document
[ top ]
Element uci:pagestart
Annotations

This element will only ever be written when you pre-process your documents with WordLink and have the option Mark up layout pagebreaks using >pagestart/< turned on.

It then identifies the places in the document where at WordLink processing time, the dynamically calculated, numbered page breaks were located (and where an upCast custom macro placed identifying markers into the document using a VBA script).

Be warned that this is a fragile information, which might depend on the configuration of the machine where you run upCast and the configuration of attached printers to that machine. Normally, there's no way for upCast to determine where a physical, dynamic page break will occur when the document is rendered.

Attributes
QName Type Fixed Default Use Annotation
uci:pagenumber required
the page number in the document (1-based)
[ top ]
Element uci:linestart
Annotations

This element will only ever be written when you pre-process your documents with WordLink and have the option Mark up layout linebreaks using <linestart/> turned on.

It then identifies the places in the document where at WordLink processing time, the dynamically calculated, numbered lines were located (and where an upCast custom macro placed identifying markers into the document using a VBA script).

Be warned that this is a fragile information, which might depend on the configuration of the machine where you run upCast and the configuration of attached printers to that machine. Normally, there's no way for upCast to determine where a physical, dynamic line break will occur when the document is rendered.

Attributes
QName Type Fixed Default Use Annotation
uci:linenumber required
the line number in the source document (1-based)
[ top ]
Element uci:highlight
Annotations
This element marks up text runs that used Word's "highlight" function.
Model (uci:target | uci:endtarget | uci:gentext | uci:image | uci:contentref | uci:object | uci:link | uci:reference | uci:deleted | uci:inserted | uci:formcheckbox | uci:formtext | uci:formdropdown | uci:pagebreak | uci:linebreak | uci:columnbreak | uci:pagestart | uci:linestart | uci:highlight | uci:inline)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:color required
the color used for highlighting, as HTML hex color #rrggbb
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
[ top ]
Element uci:inline
Annotations
an inline element for specifying local style properties for its contents
Model (uci:target | uci:endtarget | uci:gentext | uci:image | uci:contentref | uci:object | uci:link | uci:reference | uci:deleted | uci:inserted | uci:formcheckbox | uci:formtext | uci:formdropdown | uci:pagebreak | uci:linebreak | uci:columnbreak | uci:pagestart | uci:linestart | uci:highlight | uci:inline)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css http://www.infinity-loop.de/namespace/2006/upcast-cssoverride http://www.infinity-loop.de/namespace/2006/upcast-cssclass'
uci:class optional
The class attribute. The value is the same as @rawclass with the difference that spaces in the class name having been replaced by non-breaking space characters (U+00A0). This is necessary to make the class a single NMTOKEN.
uci:classStyle optional
This attribute lists all properties defined in the CSS class referenced by the class attribute.
uci:diffStyle optional
This attribute contains only those CSS properties that have changed compared to its parent or have been actively set on this element. This is CSS code.
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:rawclass optional
The name of the Word style (paragraph or character) without any transformation applied. This means the value can contain spaces.
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility. See RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry at http://www.iana.org/assignments/lang-tag-apps.htm for further information. The union allows for the 'un-declaration' of xml:lang with the empty string.
[ top ]
Element uci:inserted
Annotations
encapsulates content as having been inderted
Model (uci:target | uci:endtarget | uci:gentext | uci:image | uci:contentref | uci:object | uci:link | uci:reference | uci:deleted | uci:inserted | uci:formcheckbox | uci:formtext | uci:formdropdown | uci:pagebreak | uci:linebreak | uci:columnbreak | uci:pagestart | uci:linestart | uci:highlight | uci:inline)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:authorname optional
name of the author who inserted the content
uci:date optional
date when the content was inserted as an RFC 822, section 5 conforming date string
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
[ top ]
Element uci:reference
Annotations
A reference to some element within this document, where the reference text is dynamically calculated (e.g. Chapter 5 or a reference to page 42)
Model (uci:target | uci:endtarget | uci:gentext | uci:image | uci:contentref | uci:object | uci:link | uci:reference | uci:deleted | uci:inserted | uci:formcheckbox | uci:formtext | uci:formdropdown | uci:pagebreak | uci:linebreak | uci:columnbreak | uci:pagestart | uci:linestart | uci:highlight | uci:inline)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:action restriction of xs:string required
the action type associated with this element when it is clicked on
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:href xs:anyURI required
Specified the target (as URL) the reference should be created for
uci:rawtarget required
the target location as actually specified in the source document
uci:refdisplay required

specifies how the reference to the target should be displayed in text form. The available values are formed in some sort of regular pattern and correspond to the available field options of Word's REF resp. PAGEREF field. The pattern structure:

['rel'|''] ['page'|'context'|'note'|''] ['number'|'docvariable'] ['notext']

Please confer this table for available combinations:

Word REF/ PAGEREF switches and translations
w t r n p h embed attribute value
x
contextnumber
x
number (same as \w, but reference to user textmarker)
x
number (same as \w, but reference to user textmarker)
x
x
relcontextnumber
x
x
relnumber
x
x
relnumber
x
x
contextnumbernotext
x
x
numbernotext (same as \w, but reference to user textmarker)
x
x
numbernotext (same as \w, but reference to user textmarker)
x
x
x
relcontextnumbernotext
x
x
x
relnumbernotext
x
x
x
relnumbernotext
pagenumber (when field type = PAGEREF)
x
relpagenumber (when field type = PAGEREF)
docvariable (when type = REF)
x
reldocvariable (when type = REF)
notenumber (generated by NOTEREF field type)
x
relnotenumber (generated by NOTEREF field type)
x
sets action attribute to value jump
[ top ]
Element uci:list
Annotations
This element groups list items into a list. Styling determines the type (numbered/unnumbered).
Model uci:item+
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css http://www.infinity-loop.de/namespace/2006/upcast-cssoverride http://www.infinity-loop.de/namespace/2006/upcast-cssclass'
uci:class optional
The class attribute. The value is the same as @rawclass with the difference that spaces in the class name having been replaced by non-breaking space characters (U+00A0). This is necessary to make the class a single NMTOKEN.
uci:classStyle optional
This attribute lists all properties defined in the CSS class referenced by the class attribute.
uci:diffStyle optional
This attribute contains only those CSS properties that have changed compared to its parent or have been actively set on this element. This is CSS code.
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:rawclass optional
The name of the Word style (paragraph or character) without any transformation applied. This means the value can contain spaces.
[ top ]
Element uci:item
Annotations
a list item
Model (uci:par | uci:list | uci:table | uci:toc | uci:pagebreak | uci:part)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:numberingtext optional
the actual marker text as used in the source document for this item (even if it was calculated)
[ top ]
Element uci:table
Annotations

A table.

A table in upCast is always a rectangular grid of cells.

Model uci:row+
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css http://www.infinity-loop.de/namespace/2006/upcast-cssoverride http://www.infinity-loop.de/namespace/2006/upcast-cssclass'
uci:class optional
The class attribute. The value is the same as @rawclass with the difference that spaces in the class name having been replaced by non-breaking space characters (U+00A0). This is necessary to make the class a single NMTOKEN.
uci:classStyle optional
This attribute lists all properties defined in the CSS class referenced by the class attribute.
uci:columns required
The number of columns in this table.
uci:diffStyle optional
This attribute contains only those CSS properties that have changed compared to its parent or have been actively set on this element. This is CSS code.
uci:frame restriction of xs:string required
An attribute specifying where the table's outer borders are visible.
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:halign restriction of xs:string required
the horizontal alignment of the whole table
uci:rawclass optional
The name of the Word style (paragraph or character) without any transformation applied. This means the value can contain spaces.
uci:table-model restriction of xs:string optional
request to have this table serialized in a specific one of the supported table models
uci:tablecolwidths required
(READ ONLY) The value of this attribute is a mangled value of the individual column widths of this table. You should not use this value directly as it is subject to change.
uci:tablecolwidths-percent required
(READ ONLY) The value of this attribute is a mangled value of the individual column widths of this table expressed in percent of the total table width. You should not use this value directly as it is subject to change.
[ top ]
Element uci:row
Annotations
A table row.
Model uci:cell+
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css http://www.infinity-loop.de/namespace/2006/upcast-cssoverride http://www.infinity-loop.de/namespace/2006/upcast-cssclass'
uci:class optional
The class attribute. The value is the same as @rawclass with the difference that spaces in the class name having been replaced by non-breaking space characters (U+00A0). This is necessary to make the class a single NMTOKEN.
uci:classStyle optional
This attribute lists all properties defined in the CSS class referenced by the class attribute.
uci:diffStyle optional
This attribute contains only those CSS properties that have changed compared to its parent or have been actively set on this element. This is CSS code.
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:rawclass optional
The name of the Word style (paragraph or character) without any transformation applied. This means the value can contain spaces.
uci:rowisheader uci:zeroone required
Specifies whether this row is part of the table header. This information is used by the XML Exporter later to generate thead elements appropriately.
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility. See RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry at http://www.iana.org/assignments/lang-tag-apps.htm for further information. The union allows for the 'un-declaration' of xml:lang with the empty string.
[ top ]
Element uci:cell
Annotations
A table cell.
Model (uci:par | uci:list | uci:table | uci:toc | uci:pagebreak | uci:part)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css http://www.infinity-loop.de/namespace/2006/upcast-cssoverride http://www.infinity-loop.de/namespace/2006/upcast-cssclass'
uci:class optional
The class attribute. The value is the same as @rawclass with the difference that spaces in the class name having been replaced by non-breaking space characters (U+00A0). This is necessary to make the class a single NMTOKEN.
uci:classStyle optional
This attribute lists all properties defined in the CSS class referenced by the class attribute.
uci:colsep uci:zeroone required
Identifies whether the table cell has a bottom border. This attribute mirrors the CALS rowsep attribute.
uci:colspan xs:int 1 optional
The number of columns this cell spans.
uci:diffStyle optional
This attribute contains only those CSS properties that have changed compared to its parent or have been actively set on this element. This is CSS code.
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:invisible xs:boolean optional
When true, this table cell is not visible (e.g., it is spanned by other cells).
uci:rawclass optional
The name of the Word style (paragraph or character) without any transformation applied. This means the value can contain spaces.
uci:rotate xs:int optional
Table cell content rotation in degrees. Supported values are 0, 90 and 270.
uci:rowsep uci:zeroone required
Identifies whether the table cell has a bottom border. This attribute mirrors the CALS rowsep attribute.
uci:rowspan xs:int 1 optional
The number of rows this table cell spans.
uci:valign xs:string required
Verzical content alignment of the table cell as specified in Word for this cell.
uci:visible-width xs:long required
This table cell's visible width (in pixels). The visible width is the perceived width of the cell including any horizontal column spans. For calculating the pixel value from the absolute physical size, the dpi setting for Image output resolution of the RTF Importer is used.
uci:width xs:long required
This table cell's width (in pixels). For calculating the pixel value from the absolute physical size, the dpi setting for Image output resolution of the RTF Importer is used.
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility. See RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry at http://www.iana.org/assignments/lang-tag-apps.htm for further information. The union allows for the 'un-declaration' of xml:lang with the empty string.
[ top ]
Element uci:toc
Annotations
This element wraps a Table Of Contents field of the original document.
Model (uci:par | uci:list | uci:table | uci:toc | uci:pagebreak | uci:part)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:data xs:string required
any additional formatting instructions for the ToC; this field is the equivalent to gentext's data attribute
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:id xs:ID required
The ID of the out-of-flow element. This is used for referencing it from a contentref element.
uci:idref xs:IDREF optional
Refers to the ID of the contentref element that links to this element.
uci:rawtarget required
contains a duplicate of the @id attribute (for symmetry reasons)
[ top ]
Element uci:extflow
Annotations
The container for all out-of-flow content. Elements herein are referenced using ID/IDREF linking from empty contentref elements in the document body.
Model uci:footnotes , uci:endnotes , uci:annotations , uci:boxes , uci:tocs , uci:indextargets , uci:choicelists , uci:binaries , uci:pageheaders , uci:pagefooters
[ top ]
Element uci:footnotes
Annotations
container for all footnote elements in this document
Model uci:footnote*
[ top ]
Element uci:footnote
Annotations
This element represents a footnote.
Type uci:note
Model uci:reference , uci:content
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:id xs:ID required
The ID of the out-of-flow element. This is used for referencing it from a contentref element.
uci:idref xs:IDREF optional
Refers to the ID of the contentref element that links to this element.
uci:numbering restriction of xs:string optional
the numbering mode for that note
uci:rawtarget required
contains a duplicate of the @id attribute (for symmetry reasons)
[ top ]
Element uci:note / uci:reference
Annotations
The reference content as displayed in the document flow to refer to the parent out-of-flow element (like a footnote or annotation).
Model (uci:target | uci:endtarget | uci:gentext | uci:image | uci:contentref | uci:object | uci:link | uci:reference | uci:deleted | uci:inserted | uci:formcheckbox | uci:formtext | uci:formdropdown | uci:pagebreak | uci:linebreak | uci:columnbreak | uci:pagestart | uci:linestart | uci:highlight | uci:inline)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css http://www.infinity-loop.de/namespace/2006/upcast-cssoverride http://www.infinity-loop.de/namespace/2006/upcast-cssclass'
uci:class optional
The class attribute. The value is the same as @rawclass with the difference that spaces in the class name having been replaced by non-breaking space characters (U+00A0). This is necessary to make the class a single NMTOKEN.
uci:classStyle optional
This attribute lists all properties defined in the CSS class referenced by the class attribute.
uci:diffStyle optional
This attribute contains only those CSS properties that have changed compared to its parent or have been actively set on this element. This is CSS code.
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:rawclass optional
The name of the Word style (paragraph or character) without any transformation applied. This means the value can contain spaces.
[ top ]
Element uci:content
Annotations
The content of an out-of-flow element.
Model (uci:par | uci:list | uci:table | uci:toc | uci:pagebreak | uci:part)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
[ top ]
Element uci:endnotes
Annotations
This element is a container for all endnotes of the document.
Model uci:endnote*
[ top ]
Element uci:endnote
Annotations
This element represents an endnote.
Type uci:note
Model uci:reference , uci:content
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:id xs:ID required
The ID of the out-of-flow element. This is used for referencing it from a contentref element.
uci:idref xs:IDREF optional
Refers to the ID of the contentref element that links to this element.
uci:numbering restriction of xs:string optional
the numbering mode for that note
uci:rawtarget required
contains a duplicate of the @id attribute (for symmetry reasons)
[ top ]
Element uci:annotations
Annotations
Container element for all annotations of the source document.
Model uci:annotation*
[ top ]
Element uci:annotation
Annotations
Represents a Word comment.
Type extension of uci:note
Model uci:reference , uci:content
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:authorid required
The author ID of the author who created the annotation. This is an abbreviation or short form for the authorname.
uci:authorname required
The full name of the author of the annotation.
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:id xs:ID required
The ID of the out-of-flow element. This is used for referencing it from a contentref element.
uci:idref xs:IDREF optional
Refers to the ID of the contentref element that links to this element.
uci:numbering restriction of xs:string optional
the numbering mode for that note
uci:rawtarget required
contains a duplicate of the @id attribute (for symmetry reasons)
[ top ]
Element uci:boxes
Annotations
Container element for all text boxes of the source document.
Model uci:box*
[ top ]
Element uci:box
Annotations
Represents a textbox in the Word document.
Model (uci:par | uci:list | uci:table | uci:toc | uci:pagebreak | uci:part)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css http://www.infinity-loop.de/namespace/2006/upcast-cssoverride http://www.infinity-loop.de/namespace/2006/upcast-cssclass'
uci:class optional
The class attribute. The value is the same as @rawclass with the difference that spaces in the class name having been replaced by non-breaking space characters (U+00A0). This is necessary to make the class a single NMTOKEN.
uci:classStyle optional
This attribute lists all properties defined in the CSS class referenced by the class attribute.
uci:diffStyle optional
This attribute contains only those CSS properties that have changed compared to its parent or have been actively set on this element. This is CSS code.
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:id xs:ID required
The ID of the out-of-flow element. This is used for referencing it from a contentref element.
uci:idref xs:IDREF optional
Refers to the ID of the contentref element that links to this element.
uci:rawclass optional
The name of the Word style (paragraph or character) without any transformation applied. This means the value can contain spaces.
uci:rawtarget required
contains a duplicate of the @id attribute (for symmetry reasons)
[ top ]
Element uci:tocs
Annotations
Container for all Table of Contents elements in the document.
Model uci:toc*
[ top ]
Element uci:indextargets
Annotations
Container element for all index targets (entries) defined in the source document.
Model uci:indextarget*
[ top ]
Element uci:indextarget
Annotations
A single index target (entry) in the source document.
Model uci:indexentry+ , uci:see{0,1}
Attributes
QName Type Fixed Default Use Annotation
uci:id xs:ID required
The ID of the out-of-flow element. This is used for referencing it from a contentref element.
uci:idref xs:IDREF optional
Refers to the ID of the contentref element that links to this element.
uci:rawtarget required
contains a duplicate of the @id attribute (for symmetry reasons)
uci:significance list of restriction of xs:string required
specifies the type or significance of this index entry
[ top ]
Element uci:indexentry
Annotations
Represents one specific level of an index entry. The level is available in the uci:indexlevel attribute.
Model (uci:target | uci:endtarget | uci:gentext | uci:image | uci:contentref | uci:object | uci:link | uci:reference | uci:deleted | uci:inserted | uci:formcheckbox | uci:formtext | uci:formdropdown | uci:pagebreak | uci:linebreak | uci:columnbreak | uci:pagestart | uci:linestart | uci:highlight | uci:inline)
Attributes
QName Type Fixed Default Use Annotation
uci:indexlevel required
The level of the indexentry. Word supports more than 2 hierarchy levels within an index entry.
[ top ]
Element uci:see
Annotations
Alternate textual reference for an index entry. Instead of referring to a certain location in the document, this text refers the user to a different entry in the index.
Model (uci:target | uci:endtarget | uci:gentext | uci:image | uci:contentref | uci:object | uci:link | uci:reference | uci:deleted | uci:inserted | uci:formcheckbox | uci:formtext | uci:formdropdown | uci:pagebreak | uci:linebreak | uci:columnbreak | uci:pagestart | uci:linestart | uci:highlight | uci:inline)
[ top ]
Element uci:choicelists
Annotations
Container element for all choice element definitions in the document.
Model uci:choicelist*
[ top ]
Element uci:choicelist
Annotations
A choicelist (popup) element definition allowing the user to pick one of a list of pre-defined values in a form element.
Model uci:choice+
Attributes
QName Type Fixed Default Use Annotation
uci:id xs:ID required
The ID of the out-of-flow element. This is used for referencing it from a contentref element.
uci:idref xs:IDREF optional
Refers to the ID of the contentref element that links to this element.
uci:rawtarget required
contains a duplicate of the @id attribute (for symmetry reasons)
[ top ]
Element uci:choice
Annotations
A single option in a choicelist.
Model
Attributes
QName Type Fixed Default Use Annotation
uci:dropdown-index required
The id of this choice. Used for identifying it as the currents election and for referring to it for the default value in the corresponding formdropdown element.
[ top ]
Element uci:binaries
Annotations
Container element for all binary data objects.
Model uci:ole*
[ top ]
Element uci:ole
Annotations
The data of an embedded OLE object in the source document. The binary data is embedded in base64 encoding.
Model
Attributes
QName Type Fixed Default Use Annotation
uci:height optional
the height of the object as specified in the Word document
uci:id xs:ID required
The ID of the out-of-flow element. This is used for referencing it from a contentref element.
uci:idref xs:IDREF optional
Refers to the ID of the contentref element that links to this element.
uci:name optional
the name of the object
uci:objectclass optional
The OLE object class name.
uci:rawtarget required
contains a duplicate of the @id attribute (for symmetry reasons)
uci:scale-x optional
scale value to be applied in horizontal direction
uci:scale-y optional
scale value to be applied in vertical direction
uci:type required
the type of the object
uci:width optional
the width of the object as specified in the Word document
[ top ]
Element uci:pageheaders
Annotations
Container element for all page header specifications in the document.
Model uci:pageheader*
[ top ]
Element uci:pageheader
Annotations
A page header definition.
Model (uci:par | uci:list | uci:table | uci:toc | uci:pagebreak | uci:part)
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:id xs:ID required
The ID of the out-of-flow element. This is used for referencing it from a contentref element.
uci:idref xs:IDREF optional
Refers to the ID of the contentref element that links to this element.
uci:rawtarget required
contains a duplicate of the @id attribute (for symmetry reasons)
uci:type restriction of xs:string required
Specifies where this page header should be displayed.
[ top ]
Element uci:pagefooters
Annotations
Container element for all page footer specifications in the document.
Model uci:pagefooter*
[ top ]
Element uci:pagefooter
Annotations
Model (uci:par | uci:list | uci:table | uci:toc | uci:pagebreak | uci:part)
Attributes
[ top ]
Complex Type uci:note
Model uci:reference , uci:content
Attributes
QName Type Fixed Default Use Annotation
ANY attribute from namespace 'http://www.infinity-loop.de/namespace/2006/upcast-css'
uci:fullStyle optional
This attribute contains the full style information set and valid for the element as a CSS string.
uci:id xs:ID required
The ID of the out-of-flow element. This is used for referencing it from a contentref element.
uci:idref xs:IDREF optional
Refers to the ID of the contentref element that links to this element.
uci:numbering restriction of xs:string optional
the numbering mode for that note
uci:rawtarget required
contains a duplicate of the @id attribute (for symmetry reasons)
[ top ]
Attribute uci:property / @uci:name
Annotations
name of the document property
Type union of(restriction of xs:string, restriction of xs:string)
[ top ]
Attribute uci:property / @uci:type
Annotations
the type of the property
Type restriction of xs:token
Facets
enumeration text
text value
enumeration date
an RFC 822, section 5 conforming date string
enumeration integer
an integer number
enumeration templateref
the value is a path to a document template the source document relies upon. upCast generates a property name of DocumentTemplateRef for that variable.
enumeration docvar
defines a document variable; only accessible via VB(A) scripts
enumeration boolean
a string representing a boolean value and which is acceptable to the java.lang.Boolean(String) constructor (see also for semantics)
[ top ]
Attribute uci:property / @uci:value
Annotations
the value of the property
[ top ]
Attribute uci:style / @uci:type
Annotations
mime type of contained stylesheet code
Type restriction of xs:string
Facets
enumeration text/css
upCast CSS stylesheet
[ top ]
Attribute uci:part / @uci:is-firstpart
Annotations
true when this is the first part in the document, which then has not been generated by an explicit section break in Word, but holds the default settings for any following document content. This is a convenience attribute when applying XSLTs at some later pipeline step, allowing you to handle this special part element differently.
Type xs:boolean
[ top ]
Attribute uci:part / @uci:pageheaderrefs
Annotations
A list of IDs referring to extflow/pageheader elements to be used in this part for page header definitions.
Type xs:IDREFS
[ top ]
Attribute uci:part / @uci:pagefooterrefs
Annotations
A list of IDs referring to extflow/pagefooter elements to be used in this part for page footer definitions.
Type xs:IDREFS
[ top ]
Attribute uci:target / @uci:id
Annotations
id of this content span
Type xs:ID
[ top ]
Attribute uci:target / @uci:rawtarget
Annotations
The raw name of the Word bookmark. (The id attribute on this element holds an ID-sanitized version of that name.)
[ top ]
Attribute uci:endtarget / @uci:id
Annotations
points to the id of the corresponding target element
Type xs:IDREF
[ top ]
Attribute uci:endtarget / @uci:rawtarget
Annotations
The raw name of the Word bookmark this is the end position of. (The id attribute on this element holds an IDREF-sanitized version of that name.)
[ top ]
Attribute uci:image / @uci:height
Annotations
the height of the image (incl. unit identifier)
[ top ]
Attribute uci:image / @uci:width
Annotations
the width of the image (incl. unit identifier)
[ top ]
Attribute uci:image / @uci:sourcetype
Annotations
specified where the image originated from
Type restriction of xs:NMTOKENS
Facets
enumeration embed
the image was embedded in the source document
enumeration reference
the image was referenced from the document
[ top ]
Attribute uci:image / @uci:source
Annotations
contains the absolute source location of the image, if that can be determined
[ top ]
Attribute uci:image / @uci:specified-source
Annotations
contains the raw source location as specified in the source document; this may be a location that is not actually accessible or correct for the current location of the document
[ top ]
Attribute uci:image / @uci:href
Annotations
an URL pointing to the image file
[ top ]
Attribute uci:image / @uci:width_px
Annotations
describes the image width in integer units of a pixel. For calculation of that value from the physical image size, the RTF Importer's Outgoing images rendering resolution parameter value (in dpi) is used.
[ top ]
Attribute uci:image / @uci:height_px
Annotations
describes the image height in integer units of pixel. For calculation of that value from the physical image size, the RTF Importer's Outgoing images rendering resolution parameter value (in dpi) is used.
[ top ]
Attribute uci:image / @uci:description
Annotations
holds descriptive text for this image (alternative text). The source for this attribute is Word's "Alt Text" field for the image.
[ top ]
Attribute uci:image / @uci:filehash
Annotations
Holds a MD5 hash value over the external image file this image element points to. This can be used for image file normalization, when e.g. the source document included the same image file multiple times into the document. Image elements with the same hash value in this attribute are very likely to reference the same image.
[ top ]
Attribute uci:contentref / @uci:id
Annotations
The ID of this element. This is is used for back-linking to here from the actual content that this element points to for convenience.
Type xs:ID
[ top ]
Attribute uci:contentref / @uci:idref
Annotations
Reference to the ID of the out-of-flow element this contentref element refers to.
Type xs:IDREF
[ top ]
Attribute uci:contentref / @uci:refdisplay
Annotations
indicates the style (or format) how the referenced element should be displayed at the reference location in the document body. For example, indicates whether the element's content is placed inline, or if the element is referenced by formatted number or text representing a relative reference (like "above" or "below").
Type restriction of xs:string
Facets
enumeration inflow
the referenced content is displayed inline in the normal document flow
enumeration numberwithstyle
the reference in the document flow is displayed as a (usually) continuous number, with respective style settings applied (e.g. for footnotes, endnotes)
enumeration number
the reference in the document flow is displayed as a (usually) continuous number (e.g. for footnotes, endnotes)
enumeration relnumber
the reference in the document flow is displayed as a (usually) continuous number (e.g. for footnotes, endnotes), with the text being a relative reference like "above" or "below" where this is possible (i.e., when it's on the same page, for example)
enumeration relnumberwithstyle
the reference in the document flow is displayed as a (usually) continuous number (e.g. for footnotes, endnotes), with the text being a relative reference like "above" or "below" where this is possible (i.e., when it's on the same page, for example); styling is applied as specified in respective properties
[ top ]
Attribute uci:contentref / @uci:targettype
Annotations
The type of out-of-flow element this contentref points to.
Type restriction of xs:string
Facets
enumeration footnote
enumeration endnote
enumeration annotation
enumeration box
enumeration toc
enumeration indextarget
enumeration choicelist
enumeration bindata
reference to binary data like an ole element
enumeration pageheader
enumeration pagefooter
[ top ]
Attribute uci:contentref / @uci:role
Annotations
The type (semantics) of this reference.
Type restriction of xs:string
Facets
enumeration definition
this content reference is the one where in the source document, the definition of the out-of-flow content was specified; consider this the primary reference to the content
enumeration reference
Identifies this content reference as a secondary reference to some content that was already defined elsewhere (meaning: at some other contentref element where the role attribute is 'reference'). An example would be a secondary reference to an earlier (or later) defined footnote in the document.
[ top ]
Attribute uci:contentref / @uci:action
Annotations
the action type associated with this element when it is clicked on
Type restriction of xs:string
Facets
enumeration none
just display, do nothing when clicked on
enumeration jump
when clicked, jump to the target location
[ top ]
Attribute uci:extobject / @uci:mimetype
Annotations
the mime type of the externalized data object (file), e.g. application/octet-stream.
Type xs:string
[ top ]
Attribute uci:extobject / @uci:rawtarget
Annotations
The raw file path to the extern file in local file system notation.
Type xs:string
[ top ]
Attribute uci:object / @uci:type
Annotations
The main object type.
[ top ]
Attribute uci:object / @uci:subtype
Annotations
The object's subtype.
[ top ]
Attribute uci:formcheckbox / @uci:selected-value
Annotations
the value that currently is selected in this form
[ top ]
Attribute uci:formtext / @uci:stylename
Annotations
text style to apply (not used anywhere in upCast)
Type xs:string
[ top ]
Attribute uci:formtext / @uci:textlength
Annotations
the maximum text length allowed as input into this field
Type xs:int
[ top ]
Attribute uci:formtext / @uci:texttype
Annotations
the content text type for this field
Type restriction of xs:string
Facets
enumeration regular
enumeration number
enumeration date
enumeration currentDate
enumeration currentTime
enumeration calculation
[ top ]
Attribute uci:formdropdown / @uci:id
Annotations
the ID of this dropdown menu
Type xs:ID
[ top ]
Attribute uci:formdropdown / @uci:choicelistref
Annotations
The id of the referenced choicelist element to use for this dropdown.
Type xs:IDREF
[ top ]
Attribute uci:formdropdown / @uci:selected-value
Annotations
the value that currently is selected in this form
[ top ]
Attribute uci:formdropdown / @uci:listbox
Annotations
determines whether a list box is hown for this form
Type xs:boolean
[ top ]
Attribute uci:linebreak / @uci:type
Annotations
the type of the linebreak
Type restriction of xs:string
Facets
enumeration clearleft
a forced line break in the current paragraph, moving down until the left side is cleared
enumeration clearright
forced line break in the current paragraph, moving down until the right side is cleared
enumeration clearall
forced line break in the current paragraph, moving down until both the left and right side are cleared
[ top ]
Attribute uci:pagestart / @uci:pagenumber
Annotations
the page number in the document (1-based)
[ top ]
Attribute uci:linestart / @uci:linenumber
Annotations
the line number in the source document (1-based)
[ top ]
Attribute uci:highlight / @uci:color
Annotations
the color used for highlighting, as HTML hex color #rrggbb
[ top ]
Attribute uci:deleted / @uci:authorname
Annotations
the name of the author who deleted the content
[ top ]
Attribute uci:deleted / @uci:date
Annotations
the date when the content was deleted as an RFC 822, section 5 conforming date string
[ top ]
Attribute uci:inserted / @uci:authorname
Annotations
name of the author who inserted the content
[ top ]
Attribute uci:inserted / @uci:date
Annotations
date when the content was inserted as an RFC 822, section 5 conforming date string
[ top ]
Attribute uci:link / @uci:base-url
Annotations
[ top ]
Attribute uci:link / @uci:description
Annotations
[ top ]
Attribute uci:link / @uci:fragment
Annotations
[ top ]
Attribute uci:link / @uci:href
Annotations
[ top ]
Attribute uci:link / @uci:rawfragment
Annotations
[ top ]
Attribute uci:link / @uci:rawtarget
Annotations
[ top ]
Attribute uci:reference / @uci:action
Annotations
the action type associated with this element when it is clicked on
Type restriction of xs:string
Facets
enumeration none
just display, do nothing when clicked on
enumeration jump
when clicked, jump to the target location
[ top ]
Attribute uci:reference / @uci:href
Annotations
Specified the target (as URL) the reference should be created for
Type xs:anyURI
[ top ]
Attribute uci:reference / @uci:rawtarget
Annotations
the target location as actually specified in the source document
[ top ]
Attribute uci:reference / @uci:refdisplay
Annotations

specifies how the reference to the target should be displayed in text form. The available values are formed in some sort of regular pattern and correspond to the available field options of Word's REF resp. PAGEREF field. The pattern structure:

['rel'|''] ['page'|'context'|'note'|''] ['number'|'docvariable'] ['notext']

Please confer this table for available combinations:

Word REF/ PAGEREF switches and translations
w t r n p h embed attribute value
x
contextnumber
x
number (same as \w, but reference to user textmarker)
x
number (same as \w, but reference to user textmarker)
x
x
relcontextnumber
x
x
relnumber
x
x
relnumber
x
x
contextnumbernotext
x
x
numbernotext (same as \w, but reference to user textmarker)
x
x
numbernotext (same as \w, but reference to user textmarker)
x
x
x
relcontextnumbernotext
x
x
x
relnumbernotext
x
x
x
relnumbernotext
pagenumber (when field type = PAGEREF)
x
relpagenumber (when field type = PAGEREF)
docvariable (when type = REF)
x
reldocvariable (when type = REF)
notenumber (generated by NOTEREF field type)
x
relnotenumber (generated by NOTEREF field type)
x
sets action attribute to value jump
[ top ]
Attribute uci:gentext / @uci:data
Annotations
Contains the data part (parameters etc.) of the field instruction. The specification follows the Word syntax.
[ top ]
Attribute uci:gentext / @uci:notenumber
Annotations
(only when uci:type="upcast-NOTENUMBER":) index of the parent footnote or endnote; in conjunction with the uci:numberingstyle attribute, you can use this number for calculating the actual numbering string this gentext element should generate
Type xs:int
[ top ]
Attribute uci:gentext / @uci:numberingstyle
Annotations
(only when uci:type="upcast-NOTENUMBER":) numbering style to use for the footnote or endnote number; values are the same as for the CSS property list-style-type
Type xs:string
[ top ]
Attribute uci:gentext / @uci:type
Annotations
The filed type specification (like PAGE, INDEX, etc.). The following special values /created by upCast) are also possible:
upcast-NOTENUMBER
a placeholder for the number of this footnote or endnote
[ top ]
Attribute uci:par / @uci:heading-level
Annotations
When this is greater 0, it identifies the heading level assigned to this paragraph.
[ top ]
Attribute uci:item / @uci:numberingtext
Annotations
the actual marker text as used in the source document for this item (even if it was calculated)
[ top ]
Attribute uci:cell / @uci:colsep
Annotations
Identifies whether the table cell has a bottom border. This attribute mirrors the CALS rowsep attribute.
Type uci:zeroone
Facets
enumeration 0
enumeration 1
[ top ]
Attribute uci:cell / @uci:colspan
Annotations
The number of columns this cell spans.
Type xs:int
[ top ]
Attribute uci:cell / @uci:invisible
Annotations
When true, this table cell is not visible (e.g., it is spanned by other cells).
Type xs:boolean
[ top ]
Attribute uci:cell / @uci:rotate
Annotations
Table cell content rotation in degrees. Supported values are 0, 90 and 270.
Type xs:int
[ top ]
Attribute uci:cell / @uci:rowsep
Annotations
Identifies whether the table cell has a bottom border. This attribute mirrors the CALS rowsep attribute.
Type uci:zeroone
Facets
enumeration 0
enumeration 1
[ top ]
Attribute uci:cell / @uci:rowspan
Annotations
The number of rows this table cell spans.
Type xs:int
[ top ]
Attribute uci:cell / @uci:valign
Annotations
Verzical content alignment of the table cell as specified in Word for this cell.
Type xs:string
[ top ]
Attribute uci:cell / @uci:visible-width
Annotations
This table cell's visible width (in pixels). The visible width is the perceived width of the cell including any horizontal column spans. For calculating the pixel value from the absolute physical size, the dpi setting for Image output resolution of the RTF Importer is used.
Type xs:long
[ top ]
Attribute uci:cell / @uci:width
Annotations
This table cell's width (in pixels). For calculating the pixel value from the absolute physical size, the dpi setting for Image output resolution of the RTF Importer is used.
Type xs:long
[ top ]
Attribute uci:row / @uci:rowisheader
Annotations
Specifies whether this row is part of the table header. This information is used by the XML Exporter later to generate thead elements appropriately.
Type uci:zeroone
Facets
enumeration 0
enumeration 1
[ top ]
Attribute uci:table / @uci:columns
Annotations
The number of columns in this table.
[ top ]
Attribute uci:table / @uci:frame
Annotations
An attribute specifying where the table's outer borders are visible.
Type restriction of xs:string
Facets
enumeration all
all borders (top, bottom, left, right) are visible on this table
enumeration bottom
only the bottom border of the table is visible
enumeration topbot
only top and bottom borders are visible on the table
enumeration sides
only left and right borders of the table are visible
enumeration none
no borders are visible around the table
enumeration top
only the top border is visible on the table
[ top ]
Attribute uci:table / @uci:halign
Annotations
the horizontal alignment of the whole table
Type restriction of xs:string
Facets
enumeration left
table is left aligned with respect to the column it is in
enumeration right
table is right aligned with respect to the column it is in
enumeration center
table is centered with respect to the column it is in
[ top ]
Attribute uci:table / @uci:tablecolwidths
Annotations
(READ ONLY) The value of this attribute is a mangled value of the individual column widths of this table. You should not use this value directly as it is subject to change.
[ top ]
Attribute uci:table / @uci:tablecolwidths-percent
Annotations
(READ ONLY) The value of this attribute is a mangled value of the individual column widths of this table expressed in percent of the total table width. You should not use this value directly as it is subject to change.
[ top ]
Attribute uci:table / @uci:table-model
Annotations
request to have this table serialized in a specific one of the supported table models
Type restriction of xs:string
Facets
enumeration HTML
request to have this table serialized as HTML table in the XML Exporter module, regardless of the module-global setting for the serialization table model to use
enumeration CALS
request to have this table serialized as CALS table in the XML Exporter module, regardless of the module-global setting for the serialization table model to use
enumeration native
request to have this table serialized in upCast's native, internal table model in the XML Exporter module, regardless of the module-global setting for the serialization table model to use
[ top ]
Attribute uci:toc / @uci:data
Annotations
any additional formatting instructions for the ToC; this field is the equivalent to gentext's data attribute
Type xs:string
[ top ]
Attribute uci:note / @uci:numbering
Annotations
the numbering mode for that note
Type restriction of xs:string
Facets
enumeration auto
the number display for this annotation is created automatically by Word on display, taking into account the annotation numbering properties
enumeration manual
the numbering string for this annotation is statically user-defined as specified in the reference child element
[ top ]
Attribute uci:annotation / @uci:authorname
Annotations
The full name of the author of the annotation.
[ top ]
Attribute uci:annotation / @uci:authorid
Annotations
The author ID of the author who created the annotation. This is an abbreviation or short form for the authorname.
[ top ]
Attribute uci:indexentry / @uci:indexlevel
Annotations
The level of the indexentry. Word supports more than 2 hierarchy levels within an index entry.
[ top ]
Attribute uci:indextarget / @uci:significance
Annotations
specifies the type or significance of this index entry
Type list of restriction of xs:string
[ top ]
Attribute uci:choice / @uci:dropdown-index
Annotations
The id of this choice. Used for identifying it as the currents election and for referring to it for the default value in the corresponding formdropdown element.
[ top ]
Attribute uci:ole / @uci:height
Annotations
the height of the object as specified in the Word document
[ top ]
Attribute uci:ole / @uci:objectclass
Annotations
The OLE object class name.
[ top ]
Attribute uci:ole / @uci:type
Annotations
the type of the object
[ top ]
Attribute uci:ole / @uci:width
Annotations
the width of the object as specified in the Word document
[ top ]
Attribute uci:ole / @uci:scale-x
Annotations
scale value to be applied in horizontal direction
[ top ]
Attribute uci:ole / @uci:scale-y
Annotations
scale value to be applied in vertical direction
[ top ]
Attribute uci:ole / @uci:name
Annotations
the name of the object
[ top ]
Attribute uci:pageheader / @uci:type
Annotations
Specifies where this page header should be displayed.
Type restriction of xs:string
Facets
enumeration all
display on all pages; this definition is used when page setup is not set to facing pages layout
enumeration firstpage
show only on the first page of the section
enumeration evenpages
show only on even (left) pages
enumeration oddpages
show only on odd (right) pages
[ top ]
Attribute uci:pagefooter / @uci:type
Annotations
Type restriction of xs:string
Facets
[ top ]