Export (0) Print
Expand All
Expand Minimize

2.9.317 TCGRF

Office

A TCGRF structure specifies the text layout and cell merge properties for a single cell in a table.


0

1

2

3

4

5

6

7

8

9
1
0

1

2

3

4

5

6

7

8

9
2
0

1

2

3

4

5

6

7

8

9
3
0

1

A

B

C

D

E

F

G

H

I

A - horzMerge (2 bits): A value that specifies how this cell merges horizontally with the neighboring cells in the same row. This value MUST be one of the following.

Value

Meaning

0

The cell is not merged with the cells on either side of it.

1

The cell is one of a set of horizontally merged cells. It contributes its layout region to the set and its own contents are not rendered.

2, 3

The cell is the first cell in a set of horizontally merged cells. The contents and formatting of this cell extend into any consecutive cells following it that are designated as part of the merged set.

B - textFlow (3 bits): A value from the TextFlow enumeration that specifies rotation settings for the text in the cell.

C - vertMerge (2 bits): A value from the VerticalMergeFlag enumeration that specifies how this cell merges vertically with the cells above or below it.

D - vertAlign (2 bits): A value from the VerticalAlign enumeration that specifies how contents inside this cell are aligned.

E - ftsWidth (3 bits): An Fts value that specifies the unit of measurement for the wWidth field in the TC80 structure.

F - fFitText (1 bit): Specifies whether the contents of the cell are to be stretched out such that the full cell width is used.

G - fNoWrap (1 bit): When set, specifies that the preferred layout of the contents of this cell is as a single line and that cell widths can be adjusted to accommodate long lines. This preference is ignored when the preferred width of this cell is set to ftsDxa.

H - fHideMark (1 bit): When set, specifies that this cell is rendered with no height if all cells in the row are empty.

I - fUnused (1 bit): This bit MUST be ignored.

Show:
© 2014 Microsoft