Provides an overview of the namespace for the table description.
This chapter provides a discussion of an overview of the namespace for the table description, and its elements and attributes.
Provides an overview of the namespace for the table description.
The namespace for describing tables.
The namespace's URI reference of the table description is http://xmlns.xfytec.com/table. In the descriptions below, we use the namespace prefix table: for an element used in table descriptions.
Also, we use the following namespaces and their prefixes in the descriptions below.
xvcd: as the namespace prefix. This section provides a discussion about elements, attributes, and events defined in the namespace for the table description.
Elements and attributes used to describe the table in the table description's namespace are listed below.
table:table ElementInvolves the description of the entire table.
The maximum value of the row-index attribute of the table:row element described within the element determines the number of table rows. Likewise, the maximum value of the table:column element, column-index attribute of the table:cell element described within the element determines the number of table columns.
class
Gives an element a class name. It can be a string.
If omitted, an attribute value is not assumed to be set.
id
Gives an element a unique identifier. It can be an ID value.
If omitted, an attribute value is not assumed to be set.
title
Used to give supplementary information to an element. It can be a string.
If omitted, an attribute value is not assumed to be set.
style
Used to describe a style sheet as an attribute value. It can be CSS format.
If omitted, an attribute value is not assumed to be set.
fix-row-height
Sets whether each row's height can be changed using the mouse. It can be a true/false value. If true is specified, you are unable to change the row height by using the mouse. If false is specified, you are able to change the row height by using the mouse.
If omitted, false is assumed to be set.
fix-column-width
Sets whether each column's width can be changed using the mouse. It can be a true/false value. If true is specified, you are unable to change the column width by using the mouse. If false is specified, you are able to change the column width by using the mouse.
If omitted, false is assumed to be set.
show-row-label
Sets whether row labels are displayed. It can be a true/false value. If true is specified, the row label is displayed. If false is specified, the row label is hidden.
If omitted, true is assumed to be set.
show-column-label
Sets whether column labels are displayed. It can be a true/false value. If true is specified, the column label is displayed. If false is specified, the column label is hidden.
If omitted, true is assumed to be set.
cell-border-color
Sets the cell border color. Describes the attribute in the same way as the color for CSS is specified.
If omitted, silver is assumed to be set.
row-label-width
Specifies the row label width in pixels. The value must be a positive number.
If omitted, 50 is assumed to be set.
column-label-height
Specifies the column label height in pixels. The value must be a positive number.
If omitted, 14.2 is assumed to be set.
row-height
Specifies the row height in pixels. The value must be a positive number. If the width attribute is specified within the table:row attribute described within the element, it takes precedence.
If omitted, 14.2 is assumed to be set.
column-width
Specifies the column width in pixels. The value must be a positive number. If the width attribute is specified within the table:column attribute described within the element, it takes precedence.
If omitted, 80 is assumed to be set.
The table:table element can contain the following elements.
table:head Element
table:column Element table:row Element
table:head ElementDefines the style sheet, which is applied to the heading of a table and a table, as meta information.
class
Gives an element a class name. It can be a string.
If omitted, an attribute value is not assumed to be set.
id
Gives an element a unique identifier. It can be an ID value.
If omitted, an attribute value is not assumed to be set.
title
Used to give supplementary information to an element. It can be a string.
If omitted, an attribute value is not assumed to be set.
The table:head element can contain the following elements.
table:title Element
table:style Element
table:title ElementDescribes the table heading.
class
Gives an element a class name. It can be a string.
If omitted, an attribute value is not assumed to be set.
id
Gives an element a unique identifier. It can be an ID value.
If omitted, an attribute value is not assumed to be set.
title
Used to give supplementary information to an element. It can be a string.
If omitted, an attribute value is not assumed to be set.
Within the table:title element, describe the table heading using PCDATA string.
table:style ElementDescribes the style sheet applied to the table.
class
Gives an element a class name. It can be a string.
If omitted, an attribute value is not assumed to be set.
id
Gives an element a unique identifier. It can be an ID value.
If omitted, an attribute value is not assumed to be set.
title
Used to give supplementary information to an element. It can be a string.
If omitted, an attribute value is not assumed to be set.
type
Specifies the type of style sheet language. It can be a MIME-type string.
If omitted, text/css is assumed to be specified.
Within the table:style element, describes the style sheet applied to a table. Describes the style sheet using style sheet language specified within the type attribute.
table:column ElementUsed to assign a label and column format to the table column.
class
Gives an element a class name. It can be a string.
If omitted, an attribute value is not assumed to be set.
id
Gives an element a unique identifier. It can be an ID value.
If omitted, an attribute value is not assumed to be set.
title
Used to give supplementary information to an element. It can be a string.
If omitted, an attribute value is not assumed to be set.
style
Used to describe a style sheet as an attribute value. It can be CSS format.
If omitted, an attribute value is not assumed to be set.
column-index
Specifies column index indicative of the column position. This can be an integer value greater than 1.
If omitted, the column index of the previous table:column element plus one is assumed to be set.
width
Specifies column width. It can be a positive number.
If omitted, the value specified within the column-width attribute of table:table element is applied.
The elements that can be specified within the table:column element are listed below.
table:label Element
table:row ElementUsed to assign a label and row format to the table row.
class
Gives an element a class name. It can be a string.
If omitted, an attribute value is not assumed to be set.
id
Gives an element a unique identifier. It can be an ID value.
If omitted, an attribute value is not assumed to be set.
title
Used to give supplementary information to an element. It can be a string.
If omitted, an attribute value is not assumed to be set.
style
Used to describe a style sheet as an attribute value. It can be CSS format.
If omitted, an attribute value is not assumed to be set.
row-index
Specifies row index indicative of the row position. This can be an integer value greater than 1.
If omitted, the row index of the previous table:row element plus one is assumed to be set.
height
Sets row height. The value must be a positive number.
If omitted, the value specified within the row-height attribute of table:table element is applied.
The table:row element can contain the following elements.
table:label Element
table:cell Element
table:label ElementUsed to set a label to table's row and column.
class
Gives an element a class name. It can be a string.
If omitted, an attribute value is not assumed to be set.
id
Gives an element a unique identifier. It can be an ID value.
If omitted, an attribute value is not assumed to be set.
title
Used to give supplementary information to an element. It can be a string.
If omitted, an attribute value is not assumed to be set.
style
Used to describe a style sheet as an attribute value. It can be CSS format.
If omitted, an attribute value is not assumed to be set.
Within the table:label element, describe the string which will be assigned to table's row and column as a label.
table:cell ElementElement indicative of a cell in the table.
class
Gives an element a class name. It can be a string.
If omitted, an attribute value is not assumed to be set.
id
Gives an element a unique identifier. It can be an ID value.
If omitted, an attribute value is not assumed to be set.
title
Used to give supplementary information to an element. It can be a string.
If omitted, an attribute value is not assumed to be set.
style
Used to describe a style sheet as an attribute value. It can be CSS format.
If omitted, an attribute value is not assumed to be set.
column-index
Specifies column index of the column to which cell belongs. This can be an integer value greater than 1.
If omitted, the column index of the previous table:cell element plus one is assumed to be set.
Within the table:cell element, you can repeat any number of times to describe the combination of the following contents:
table:span Element
table:a Element
table:img Element
table:br Element
table:span ElementElement available generally for any string.
class
Gives an element a class name. It can be a string.
If omitted, an attribute value is not assumed to be set.
id
Gives an element a unique identifier. It can be an ID value.
If omitted, an attribute value is not assumed to be set.
title
Used to give supplementary information to an element. It can be a string.
If omitted, an attribute value is not assumed to be set.
style
Used to describe a style sheet as an attribute value. It can be CSS format.
If omitted, an attribute value is not assumed to be set.
Within the table:span element, you can repeat any number of times to describe the combination of the following contents:
table:span Element
table:a Element
table:img element can be specified, if needed. table:br Element
table:a ElementUsed to set a link anchor.
class
Gives an element a class name. It can be a string.
If omitted, an attribute value is not assumed to be set.
id
Gives an element a unique identifier. It can be an ID value.
If omitted, an attribute value is not assumed to be set.
title
Used to give supplementary information to an element. It can be a string.
If omitted, an attribute value is not assumed to be set.
style
Used to describe a style sheet as an attribute value. It can be CSS format.
If omitted, an attribute value is not assumed to be set.
href
Specifies the linked document and the position of the document. It can be a URL string. It is not required to set the source for a link.
If omitted, an attribute value is not assumed to be set.
target
Specifies the name of the target frame which opens the destination document.
If omitted, it opens the destination document in the current frame. (If the current document is being edited, it may be opened in a new window. )
The following content can be specified within the table:a element:
table:span Element
table:img Element
table:br Element
table:img ElementUsed to embed image data.
class
Gives an element a class name. It can be a string.
If omitted, an attribute value is not assumed to be set.
id
Gives an element a unique identifier. It can be an ID value.
If omitted, an attribute value is not assumed to be set.
title
Used to give supplementary information to an element. It can be a string.
If omitted, an attribute value is not assumed to be set.
style
Used to describe a style sheet as an attribute value. It can be CSS format.
If omitted, an attribute value is not assumed to be set.
src (mandatory)
Specifies the location where image data, which will be embedded in the document, exists. It can be a URL string.
align
Specifies the spatial relationship between an image data and a string. Specify one of the following:
top
middle
bottom
left
right
If omitted, bottom is assumed to be set.
width
Specifies the image data width in pixels. The value must be a positive number.
If omitted, the width of the image data is retrieved and used to determine the width.
height
Specifies the height of image data in pixels. The value must be a positive number.
If omitted, the height of the image data is retrieved and used to determine the width.
border
Specifies the thickness of the frame displayed around image data in pixels. The value must be a positive number.
If omitted, 0 is assumed to be set.
hspace
Specifies the size of area at the right and the left of image data in pixels. The value must be a positive number.
If omitted, 0 is assumed to be set.
vspace
Specifies the size of area at the top and the down of image data in pixels. The value must be a positive number.
If omitted, 0 is assumed to be set.
The table:img element is empty.
table:br ElementUsed to break a line within a cell.
No attributes for the element.
The table:br element is empty.
The event elements defined in the table description namespace are listed below. You don't write an event element to describe your XVCD. Describes the event elements with platform.
table:column-width-changed event Indicates that the table's column width is changed. This event occurs in the table:table element.
column-index (mandatory)
Specifies the column index whose column width is changed. This can be an integer value greater than 1.
width (mandatory)
Sets the changed column width in pixels. The value must be a positive number.
The table:column-width-changed element is empty.
table:row-height-changed event Indicates that the table's row height is changed. This event occurs in the table:table element.
row-index (mandatory)
Specifies the row index whose row height is changed. This can be an integer value greater than 1.
height (mandatory)
Sets the changed row height in pixels. The value must be a positive number.
The table:row-height-changed element is empty.